From be6a9049046ee6ca884d474bf8b748f729e46f45 Mon Sep 17 00:00:00 2001 From: liutong <836164388@qq.com> Date: Thu, 12 Jun 2025 19:20:34 +0800 Subject: [PATCH] =?UTF-8?q?feat(market):=20=E6=9B=B4=E6=96=B0=E7=BA=BF?= =?UTF-8?q?=E7=B4=A2=E6=B7=BB=E5=8A=A0=E5=92=8C=E7=BC=96=E8=BE=91=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将距离输入框改为选择器 - 添加距离字典获取和展示 -优化导航栏文本颜色 --- pages.json | 2 +- pages/market/clue/add_clues.vue | 29 +++++++++++++++++++---------- pages/market/clue/edit_clues.vue | 28 ++++++++++++++++++---------- 3 files changed, 38 insertions(+), 21 deletions(-) diff --git a/pages.json b/pages.json index 063c1d3..1bc726a 100644 --- a/pages.json +++ b/pages.json @@ -490,7 +490,7 @@ "navigationBarTitleText": "线索", "navigationStyle": "default", "navigationBarBackgroundColor": "#292929", - "navigationBarTextStyle": "black" + "navigationBarTextStyle": "white" } }, { diff --git a/pages/market/clue/add_clues.vue b/pages/market/clue/add_clues.vue index ccb0fae..e318d85 100644 --- a/pages/market/clue/add_clues.vue +++ b/pages/market/clue/add_clues.vue @@ -375,16 +375,14 @@ labelColor='#fff' :bottomBorder='false'> - + + {{ (formData.distance) ? picker_config.distance.text : '点击选择' }} + + - + + {{ (formData.distance) ? picker_config.distance.text : '点击选择' }} + @@ -721,7 +718,12 @@ export default { decision_maker:{ text:'', options:[], - } + }, + //距离 + distance:{ + text:'', + options:[], + }, },//选择器选项配置 // 年月日选择组件 @@ -772,6 +774,7 @@ export default { await this.getDict('cognitive_idea')//获取字典-认知理念 await this.getDict('status')//获取字典-客户状态 await this.getDict('decision_maker')//获取字典-决策人 + await this.getDict('distance')//获取字典-距离 // this.getStaffList()//获取人员列表 // this.getAreaTree()//获取地区树形结构 @@ -841,6 +844,7 @@ export default { //六要素相关 this.picker_config.purchasing_power.text = sixSpeed.purchase_power_name || '点击选择'//购买力 this.picker_config.cognitive_idea.text = sixSpeed.concept_awareness_name || '点击选择'//认知理念 + this.picker_config.distance.text = sixSpeed.distance || '点击选择'//距离 }, @@ -964,6 +968,10 @@ export default { case 'status': key = 'kh_status' break; + //距离 + case 'distance': + key = 'distance' + break; } if(!key){ return