Commit 0c9fbed1 authored by 李俊赕's avatar 李俊赕

Merge branch 'dev-photo-tools' of...

Merge branch 'dev-photo-tools' of https://git.banshouhui.com/heyinchen/take_order into dev-photo-tools
parents 77012c0f 9673610c
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
}, },
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
<<<<<<< HEAD
{ {
"path": "pages/settle/index", "path": "pages/settle/index",
...@@ -26,6 +27,99 @@ ...@@ -26,6 +27,99 @@
},{ },{
"path": "pages/exam/index", "path": "pages/exam/index",
=======
{
"path": "pages/settle/base",
"style": {
"navigationBarTitleText": "入驻信息"
}
},
{
"path": "pages/settle/age",
"style": {
"navigationBarTitleText": "选择电工工龄"
}
},
{
"path": "pages/settle/city",
"style": {
"navigationBarTitleText": "选择可服务的城市"
}
},
{
"path": "pages/settle/index",
"style": {
"navigationBarTitleText": "充电桩安装招募"
}
},
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "下单"
}
},
{
"path": "pages/sign/index",
"style": {
"navigationBarTitleText": "入驻签约"
}
},
{
"path": "pages/exam/index",
"style": {
"navigationBarTitleText": "入驻考试"
}
},
{
"path": "pages/video/index",
"style": {
"navigationBarTitleText": "培训&考试"
}
},
{
"path": "pages/photo/product",
"style": {
"navigationBarTitleText": "扳手会工单规范"
}
},
{
"path": "pages/take/detail",
>>>>>>> 9673610cf201f74e947a80db3b4004431f38db43
"style": { "style": {
"navigationBarTitleText": "入驻考试" "navigationBarTitleText": "入驻考试"
} }
......
<template>
<view class="back_view">
<view class="item_view margin_top_30">
<text class="item_title">选择工龄</text>
</view>
<view
class="item_view"
v-for="(item,ikey) in ageList":key="ikey"
@click="itemClick(item,ikey)">
<text :class="selected_index == ikey ? 'item_title select_color' : 'item_title default_color' ">{{item.title}}</text>
</view>
<view class="bottom_view">
<view class="bottom_btn" @click="confirmClick()">
<text class="bottom_title">确定</text>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
ageList:[],
selected_index:999,
selected_age:'',
}
},
onLoad(e) {
this.getAgeData()
},
methods: {
getAgeData: function () {
this.ageList = [
{'title':'1年'},
{'title':'2年'},
{'title':'3年'},
{'title':'4年'},
{'title':'5年'},
]
},
itemClick: function (item, ikey) {
this.selected_age = item.title
this.selected_index = ikey
console.log(item.title)
console.log(ikey)
},
confirmClick: function () {
let pages = getCurrentPages();
let prevPage = pages[pages.length - 2]; //上一个页面
prevPage.$vm.age = this.selected_age;
uni.navigateBack({
})
}
}
}
</script>
<style>
.back_view{
background-color: #F3F3F3;
position: absolute;
top: 0;
left: 0;
width: 100%;
display: flex;
flex-direction: column;
}
.item_view{
background-color: #FFFFFF;
width: 100%;
height: 88rpx;
display: flex;
align-items: center;
justify-content: center;
border: 2rpx solid #F3F3F3;
}
.item_title{
font-size: 30rpx;
}
.default_color{
color: #333333;
}
.select_color{
color: #2272FF;
}
.margin_top_30{
margin-top: 30rpx;
}
.bottom_view{
width: 100%;
height: 170rpx;
display: flex;
align-items: center;
justify-content: center;
position: fixed;
bottom: 0;
}
.bottom_btn{
background-color: #2272FF;
width: 600rpx;
height: 100rpx;
display: flex;
align-items: center;
justify-content: center;
border: 2rpx solid #999999;
}
.bottom_title{
font-size: 32rpx;
color: #FFFFFF;
}
</style>
<template>
<view class="back_view">
选择可服务的城市
</view>
</template>
<script>
export default {
data() {
return {
protocolContent:''
}
},
onLoad(e) {
},
methods: {
//拨打客服 点击
phoneCallClick: function (phone) {
uni.makePhoneCall({
phoneNumber: phone
});
},
}
}
</script>
<style>
.back_view{
background-color: #F3F3F3;
position: absolute;
top: 0;
left: 0;
width: 100%;
display: flex;
flex-direction: column;
}
</style>
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