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

edit-bug

parent fd1c002e
......@@ -6,18 +6,18 @@
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/exam/index",
"style": {
"navigationBarTitleText": "入驻考试"
}
},{
{
"path": "pages/settle/index",
"style": {
"navigationBarTitleText": "充电桩安装招募"
}
},{
"path": "pages/exam/index",
"style": {
"navigationBarTitleText": "入驻考试"
}
},{
"path": "pages/exam/start",
"style": {
......
......@@ -81,7 +81,7 @@
</view>
<view class="seat"></view>
<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>
</view>
......
......@@ -17,7 +17,7 @@
return {
theme_url:'https://qn-static.banshouhui.com/settle_theme.png',
count:8,
count:9,
isStop:false,
settledInfo:null,
status:'',
......
......@@ -72,7 +72,9 @@
}
},
onLoad(e) {
this.getBaseInfo()
if(!this.settledInfo){
this.getBaseInfo()
}
},
onShow(){
if(!this.settledInfo){
......
......@@ -178,9 +178,6 @@
this.initPage(option)
this.initworkingAgeList();
this.getareaList()
uni.setNavigationBarTitle({
title: '新的标题'
});
},
methods: {
goBack(type) {
......@@ -194,6 +191,7 @@
initPage(option) {
const selectType = option.selectType
this.selectType = selectType
let title = ''
let pages = getCurrentPages()
if (pages.length < 2) {
return
......@@ -204,12 +202,17 @@
areaIds: prevVue.baseInfo.service_area,
areaTxts: prevVue.areaTxts
}
title = '选择可服务的城市'
} else if (selectType === 'working_age') {
this.selected = {
working_age: prevVue.baseInfo.working_age,
workingAgeTxt: prevVue.workingAgeTxt
}
title = '选择工作工龄'
}
uni.setNavigationBarTitle({
title
});
},
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