Commit 8cec2f31 authored by 李俊赕's avatar 李俊赕

edit-bug

parent fd1c002e
...@@ -7,15 +7,15 @@ ...@@ -7,15 +7,15 @@
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{ {
"path": "pages/exam/index", "path": "pages/settle/index",
"style": { "style": {
"navigationBarTitleText": "入驻考试" "navigationBarTitleText": "充电桩安装招募"
} }
},{ },{
"path": "pages/settle/index", "path": "pages/exam/index",
"style": { "style": {
"navigationBarTitleText": "充电桩安装招募" "navigationBarTitleText": "入驻考试"
} }
},{ },{
......
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
</view> </view>
<view class="seat"></view> <view class="seat"></view>
<view class="btn-wrap flex-xc"> <view class="btn-wrap flex-xc">
<button class="btn-submit" :disabled="!submitStatus" @click="submitBaseInfo"> <button class="btn-submit" :disabled="!submitStatus" @click="$u.debounce(submitBaseInfo, 500)">
确定 确定
</button> </button>
</view> </view>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
return { return {
theme_url:'https://qn-static.banshouhui.com/settle_theme.png', theme_url:'https://qn-static.banshouhui.com/settle_theme.png',
count:8, count:9,
isStop:false, isStop:false,
settledInfo:null, settledInfo:null,
status:'', status:'',
......
...@@ -72,7 +72,9 @@ ...@@ -72,7 +72,9 @@
} }
}, },
onLoad(e) { onLoad(e) {
if(!this.settledInfo){
this.getBaseInfo() this.getBaseInfo()
}
}, },
onShow(){ onShow(){
if(!this.settledInfo){ if(!this.settledInfo){
......
...@@ -178,9 +178,6 @@ ...@@ -178,9 +178,6 @@
this.initPage(option) this.initPage(option)
this.initworkingAgeList(); this.initworkingAgeList();
this.getareaList() this.getareaList()
uni.setNavigationBarTitle({
title: '新的标题'
});
}, },
methods: { methods: {
goBack(type) { goBack(type) {
...@@ -194,6 +191,7 @@ ...@@ -194,6 +191,7 @@
initPage(option) { initPage(option) {
const selectType = option.selectType const selectType = option.selectType
this.selectType = selectType this.selectType = selectType
let title = ''
let pages = getCurrentPages() let pages = getCurrentPages()
if (pages.length < 2) { if (pages.length < 2) {
return return
...@@ -204,12 +202,17 @@ ...@@ -204,12 +202,17 @@
areaIds: prevVue.baseInfo.service_area, areaIds: prevVue.baseInfo.service_area,
areaTxts: prevVue.areaTxts areaTxts: prevVue.areaTxts
} }
title = '选择可服务的城市'
} else if (selectType === 'working_age') { } else if (selectType === 'working_age') {
this.selected = { this.selected = {
working_age: prevVue.baseInfo.working_age, working_age: prevVue.baseInfo.working_age,
workingAgeTxt: prevVue.workingAgeTxt workingAgeTxt: prevVue.workingAgeTxt
} }
title = '选择工作工龄'
} }
uni.setNavigationBarTitle({
title
});
}, },
setPrevPageData() { setPrevPageData() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment