Commit d307bdb4 authored by Facius's avatar Facius

电工工龄、接单城市高保真

parent b542092f
......@@ -93,7 +93,8 @@
{
"path": "pages/settle/select",
"style": {
"navigationBarTitleText": "选择可服务的城市"
"navigationBarTitleText": "选择可服务的城市",
"navigationBarBackgroundColor":"#FFFFFF"
}
},
......
......@@ -2,7 +2,7 @@
<view class="content">
<view class="area-nav flex" v-if="selectType == 'area'">
<view class="nav-left">
<view :class="['nav-item',{'active':currentProvinceIndex===index}]" v-for="(areaItem, index) in areaList" :key="index"
<view :class="['nav-item',{'active':currentIndex===index}]" v-for="(areaItem, index) in areaList" :key="index"
@click="getareaList(areaItem.id,1,index)">
{{ areaItem.name }}
</view>
......@@ -28,7 +28,7 @@
<!-- <i class="iconfont icon-tijiao"></i> -->
</view>
</view>
<view class="btn-wrap fixed flex flex-xc">
<view class="btn-wrap fixed flex flex-xc" v-if="selectType == 'area'">
<button class="btn-submit" @click="goBack('confirm')">
确定
</button>
......@@ -202,13 +202,13 @@
areaIds: prevVue.baseInfo.service_area,
areaTxts: prevVue.areaTxts
}
title = '选择可服务的城市'
title = '接单城市'
} else if (selectType === 'working_age') {
this.selected = {
working_age: prevVue.baseInfo.working_age,
workingAgeTxt: prevVue.workingAgeTxt
}
title = '选择工作工龄'
title = '电工工龄'
}
uni.setNavigationBarTitle({
title
......@@ -385,6 +385,7 @@
selectAge(item) {
this.selected.working_age = item.value
this.selected.workingAgeTxt = item.name
this.goBack('confirm')
},
selectAllarea(idx){
const allChildren = this.areaList[this.currentIndex]
......@@ -409,7 +410,10 @@
}
</script>
<style lang="scss">
<style lang="scss" scoped>
.content {
background-color: #F3F3F3;
}
.nav-item,
.age-item {
position: relative;
......@@ -474,9 +478,9 @@
.age-box {
padding-top: 40rpx;
height: calc(100vh - 180rpx);
// height: calc(100vh - 180rpx);
overflow: auto;
margin-bottom: 44rpx;
.age-item {
position: relative;
}
......
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