Commit d307bdb4 authored by Facius's avatar Facius

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

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