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