修改:部分页面的搜索框背景修改为读取远程,本地不在存储该图片
This commit is contained in:
parent
2dcd6012d0
commit
e654482b2a
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<view class="custom-content">
|
||||
<!--顶部搜索框-->
|
||||
<view class="search-content">
|
||||
<view class="search-content" :style="'background-image:url('+ custom_top_bg +')'">
|
||||
<view class="search-box">
|
||||
<text class="iconfont icon-sousuo" @click="getStaffList(1)"></text>
|
||||
<input class="search-input" type='text' placeholder='请输入客户经理名称' v-model="search.keyword" @input="getStaffList(1)" />
|
||||
|
|
@ -47,6 +47,7 @@
|
|||
<script>
|
||||
import {mapGetters} from "vuex";
|
||||
import {getStaffList,delStaff,staffInviteQrCode} from "@/api/service";
|
||||
import { HTTP_REQUEST_URL } from '@/config/app.js';
|
||||
export default {
|
||||
name: 'custom',
|
||||
components: {},
|
||||
|
|
@ -65,6 +66,7 @@ export default {
|
|||
},
|
||||
// 二维码
|
||||
qrCode: '',
|
||||
custom_top_bg: '',
|
||||
}
|
||||
},
|
||||
onLoad: function(options) {
|
||||
|
|
@ -81,6 +83,9 @@ export default {
|
|||
// 获取用户列表
|
||||
this.getStaffList(1);
|
||||
},
|
||||
onReady() {
|
||||
this.custom_top_bg = `${HTTP_REQUEST_URL}/static/images/mer/custom_top_bg.jpg`;
|
||||
},
|
||||
methods: {
|
||||
// 提货记录
|
||||
getStaffList(page) {
|
||||
|
|
@ -175,7 +180,7 @@ export default {
|
|||
// 搜索框
|
||||
.search-content{
|
||||
width: 100vw;
|
||||
background: url("@/static/images/custom/custom_top_bg.jpg") no-repeat;
|
||||
background-repeat: no-repeat;
|
||||
padding: 20rpx 30rpx;
|
||||
|
||||
.search-box{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<view class="custom-content">
|
||||
<!--顶部搜索框-->
|
||||
<view class="search-content">
|
||||
<view class="search-content" :style="'background-image:url('+ custom_top_bg +')'">
|
||||
<view class="search-box">
|
||||
<text class="iconfont icon-sousuo" @click="searchCustom()"></text>
|
||||
<input class="search-input" type='text' placeholder='请输入会员昵称' v-model="search.nickname" @input="searchCustom()" />
|
||||
|
|
@ -91,7 +91,8 @@ export default {
|
|||
number: '',// 变更数量
|
||||
voucher_image: '',// 积分变更凭证
|
||||
},
|
||||
imgName: ""
|
||||
imgName: "",
|
||||
custom_top_bg: '',
|
||||
}
|
||||
},
|
||||
computed: { },
|
||||
|
|
@ -109,6 +110,9 @@ export default {
|
|||
// 获取用户列表
|
||||
this.getCustom();
|
||||
},
|
||||
onReady() {
|
||||
this.custom_top_bg = `${HTTP_REQUEST_URL}/static/images/mer/custom_top_bg.jpg`;
|
||||
},
|
||||
methods: {
|
||||
// 获取用户列表
|
||||
getCustom(isRefresh = false) {
|
||||
|
|
@ -259,7 +263,7 @@ export default {
|
|||
// 搜索框
|
||||
.search-content{
|
||||
width: 100vw;
|
||||
background: url("@/static/images/custom/custom_top_bg.jpg") no-repeat;
|
||||
background-repeat: no-repeat;
|
||||
padding: 20rpx 30rpx;
|
||||
|
||||
.search-box{
|
||||
|
|
|
|||
|
|
@ -188,6 +188,8 @@
|
|||
import Loading from '@/components/Loading/index'
|
||||
import PriceChange from '@/components/PriceChange/index'
|
||||
import { isMoney } from '@/utils/validate.js'
|
||||
import { HTTP_REQUEST_URL } from '@/config/app';
|
||||
|
||||
export default {
|
||||
name: "AdminOrderList",
|
||||
components: {
|
||||
|
|
|
|||
|
|
@ -91,6 +91,8 @@
|
|||
import Loading from '@/components/Loading/index.vue';
|
||||
import { boughtLstApi, collectLstApi, browseLstApi } from "@/api/community";
|
||||
import { mapGetters } from "vuex";
|
||||
import { HTTP_REQUEST_URL } from '@/config/app';
|
||||
|
||||
export default {
|
||||
props:{
|
||||
checkedObj: {
|
||||
|
|
|
|||
|
|
@ -71,6 +71,8 @@
|
|||
import { refundList,refundDel } from '@/api/order.js'
|
||||
import { mapGetters } from "vuex";
|
||||
import { configMap } from '@/utils';
|
||||
import { HTTP_REQUEST_URL } from '@/config/app';
|
||||
|
||||
export default{
|
||||
computed:{
|
||||
...mapGetters(['viewColor']),
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 23 KiB |
Loading…
Reference in New Issue