diff --git a/App.vue b/App.vue index 3b3e356..43ab1d3 100644 --- a/App.vue +++ b/App.vue @@ -18,7 +18,6 @@ data() { return { StatusBar: Vue.prototype.StatusBar, - CustomBar: Vue.prototype.CustomBar, windowHeight: Vue.prototype.windowHeight, LOADING: false diff --git a/pages/index/consumer/index.vue b/pages/index/consumer/index.vue index a3f0edb..fb40112 100644 --- a/pages/index/consumer/index.vue +++ b/pages/index/consumer/index.vue @@ -9,8 +9,15 @@ 输入客户姓名/手机号 - + + + @@ -71,10 +78,10 @@ - 挖掘执行:{{item.wordFraction||0}}% + 挖掘执行:{{item.wordFraction||0}}% - - 挖掘成功:{{item.wordFinishFraction||0}}% + + 挖掘成功:{{item.wordFinishFraction||0}}% @@ -270,7 +277,7 @@ - + @@ -290,7 +297,7 @@ 自定义 - + @@ -344,11 +351,11 @@ data() { return { keywordsIds: [], // 画像标签 - sourceList: [],//客户来源 + sourceList: [], //客户来源 templateList: [], // 销讲业务 showTemplate: true, // 展示销讲业务 agentIdtext: '接待顾问', - phaseList: [],// 客户阶段 + phaseList: [], // 客户阶段 huaxiangShow: false, wajueArrow: true, jieduanArrow: true, @@ -544,6 +551,11 @@ } }, + computed: { + showFilterOption() { + return this.sortFilter !== '排序' || this.arriveFilter !== '接待时间' || this.agentIdtext !== '接待顾问' + } + }, onLoad(options) { this.LOADING = true @@ -573,7 +585,7 @@ onShow() { this.buildingID = uni.getStorageSync('buildingID').id; this.updatebuildingID = uni.getStorageSync('updatebuildingID') - if (this.isnorefresh != 'refresh'||this.updatebuildingID=='updatebuildingID') { + if (this.isnorefresh != 'refresh' || this.updatebuildingID == 'updatebuildingID') { this.nextPage = 1; this.recordList = [] this.getMyCustom() @@ -665,7 +677,7 @@ if (res > 0) { uni.setTabBarBadge({ //显示数字 index: 4, //tabbar下标 - text: `${res}`//数字 + text: `${res}` //数字 }) } else { uni.removeTabBarBadge({ @@ -732,7 +744,7 @@ this.arriveFilter = this.screen.staTime + '-' + this.screen.endTime this.getMyCustom(); }, - + choice(item) { item.isShow = !item.isShow; }, @@ -813,7 +825,7 @@ } }) parames.query.marketingBusiness = ars.join(',') - + this.$u.post("/customer/customerManagement", parames) .then((data) => { this.LOADING = false; @@ -945,20 +957,20 @@ this.huaxiangList = res; }); }, - + //选择顾问 actionSelectCallback(e) { console.log(e) - if(e[0].label=='全部'){ + if (e[0].label == '全部') { this.agentIdtext = '接待顾问' - this.screen.agentId= '' - }else{ - this.screen.agentId = e[0].value; + this.screen.agentId = '' + } else { + this.screen.agentId = e[0].value; this.agentIdtext = e[0].label; } }, - - //重置 + + //重置 reset() { this.screen = { agentId: "", @@ -1083,67 +1095,68 @@ background: #F8F8F8; display: flex; flex-direction: column; - .top-search { - display: flex; - align-items: center; - justify-content: space-between; - background: #fff; - padding-right: 30rpx; - - .filter-icon { - width: 40rpx; - height: 40rpx; - padding: 15rpx; - } - .search-box { - width: 670rpx; - height: 102rpx; - background: #ffffff; + .top-search { display: flex; align-items: center; - justify-content: center; + justify-content: space-between; + background: #fff; + padding-right: 30rpx; + + .filter-icon { + width: 40rpx; + height: 40rpx; + padding: 15rpx; + } - .search { - width: 94%; - height: 70rpx; + .search-box { + width: 670rpx; + height: 102rpx; + background: #ffffff; display: flex; align-items: center; - background: #f8f8f8; - border-radius: 33rpx; + justify-content: center; - .search-img { - width: 26rpx; - height: 30rpx; - margin-left: 20rpx; + .search { + width: 94%; + height: 70rpx; + display: flex; + align-items: center; + background: #f8f8f8; + border-radius: 33rpx; - .search-img1 { - width: 100%; - height: 100%; - margin-top: 2rpx; + .search-img { + width: 26rpx; + height: 30rpx; + margin-left: 20rpx; + + .search-img1 { + width: 100%; + height: 100%; + margin-top: 2rpx; + } } - } - .search-text { - font-size: 28rpx; - font-weight: 400; - color: #999999; - margin-left: 10rpx; + .search-text { + font-size: 28rpx; + font-weight: 400; + color: #999999; + margin-left: 10rpx; + } } - } - .search-screen { - width: 40rpx; - height: 40rpx; - margin-left: 30rpx; + .search-screen { + width: 40rpx; + height: 40rpx; + margin-left: 30rpx; - .search-screen1 { - width: 100%; - height: 100%; + .search-screen1 { + width: 100%; + height: 100%; + } } } } - } .content { flex-grow: 1; @@ -1205,6 +1218,7 @@ justify-content: center; } } + .count { width: 100%; height: 82rpx; diff --git a/static/images/iconFilter.png b/static/images/iconFilter.png new file mode 100644 index 0000000..3de5890 Binary files /dev/null and b/static/images/iconFilter.png differ