Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
033ec3e0
Commit
033ec3e0
authored
Apr 15, 2021
by
zhengzy
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.banshouhui.com/lijundan/self-support
parents
b6ff0e55
18d0e480
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
2034 additions
and
742 deletions
+2034
-742
classify.data.js
src/common/classify.data.js
+1087
-0
XhInput.vue
src/components/createCom/XhInput.vue
+18
-0
index.js
src/components/createCom/index.js
+9
-0
index.vue
src/components/settle/index.vue
+17
-21
pages.json
src/pages.json
+5
-0
complete.vue
src/pages/order/complete.vue
+206
-0
base.vue
src/pages/settle/base.vue
+617
-649
index.vue
src/pages/settle/index.vue
+75
-72
dizhi@3x.png
src/static/settle/dizhi@3x.png
+0
-0
mixing@3x.png
src/static/settle/mixing@3x.png
+0
-0
No files found.
src/common/classify.data.js
0 → 100644
View file @
033ec3e0
export
default
[
{
"name"
:
"女装"
,
"foods"
:
[
{
"name"
:
"A字裙"
,
"key"
:
"A字裙"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/1/1.jpg"
,
"cat"
:
10
},
{
"name"
:
"T恤"
,
"key"
:
"T恤"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/1/2.jpg"
,
"cat"
:
10
},
{
"name"
:
"半身裙"
,
"key"
:
"半身裙"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/1/3.jpg"
,
"cat"
:
10
},
{
"name"
:
"衬衫"
,
"key"
:
"衬衫"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/1/4.jpg"
,
"cat"
:
10
},
{
"name"
:
"短裙"
,
"key"
:
"短裙"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/1/5.jpg"
,
"cat"
:
10
},
{
"name"
:
"阔腿裤"
,
"key"
:
"阔腿裤"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/1/6.jpg"
,
"cat"
:
10
},
{
"name"
:
"连衣裙"
,
"key"
:
"连衣裙"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/1/7.jpg"
,
"cat"
:
10
},
{
"name"
:
"妈妈装"
,
"key"
:
"妈妈装"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/1/8.jpg"
,
"cat"
:
10
},
{
"name"
:
"牛仔裤"
,
"key"
:
"牛仔裤"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/1/9.jpg"
,
"cat"
:
10
},
{
"name"
:
"情侣装"
,
"key"
:
"情侣装"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/1/10.jpg"
,
"cat"
:
10
},
{
"name"
:
"休闲裤"
,
"key"
:
"休闲裤"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/1/11.jpg"
,
"cat"
:
10
},
{
"name"
:
"雪纺衫"
,
"key"
:
"雪纺衫"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/1/12.jpg"
,
"cat"
:
10
},
{
"name"
:
"防晒衣"
,
"key"
:
"防晒衣"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/1/13.jpg"
,
"cat"
:
10
},
{
"name"
:
"礼服/婚纱"
,
"key"
:
"礼服婚纱"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/1/14.jpg"
,
"cat"
:
10
}
]
},
{
"name"
:
"美食"
,
"foods"
:
[
{
"name"
:
"火锅"
,
"key"
:
"火锅"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/2/1.jpg"
,
"cat"
:
6
},
{
"name"
:
"糕点饼干"
,
"key"
:
"糕点饼干"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/2/2.jpg"
,
"cat"
:
6
},
{
"name"
:
"坚果果干"
,
"key"
:
"坚果果干"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/2/3.jpg"
,
"cat"
:
6
},
{
"name"
:
"酒类"
,
"key"
:
"酒类"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/2/4.jpg"
,
"cat"
:
6
},
{
"name"
:
"辣条"
,
"key"
:
"辣条"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/2/5.jpg"
,
"cat"
:
6
},
{
"name"
:
"大礼包"
,
"key"
:
"大礼包"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/2/6.jpg"
,
"cat"
:
6
},
{
"name"
:
"精品茗茶"
,
"key"
:
"茶"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/2/7.jpg"
,
"cat"
:
6
},
{
"name"
:
"休闲食品"
,
"key"
:
"休闲食品"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/2/8.jpg"
,
"cat"
:
6
},
{
"name"
:
"糖果巧克力"
,
"key"
:
"糖果巧克力"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/2/9.jpg"
,
"cat"
:
6
},
{
"name"
:
"方便速食"
,
"key"
:
"方便速食"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/2/10.jpg"
,
"cat"
:
6
},
{
"name"
:
"营养代餐"
,
"key"
:
"营养代餐"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/2/11.jpg"
,
"cat"
:
6
},
{
"name"
:
"粮油副食"
,
"key"
:
"粮油"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/2/12.jpg"
,
"cat"
:
6
},
{
"name"
:
"生鲜水果"
,
"key"
:
"水果"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/2/13.jpg"
,
"cat"
:
6
},
{
"name"
:
"饮品"
,
"key"
:
"饮品"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/2/14.jpg"
,
"cat"
:
6
}
]
},
{
"name"
:
"美妆"
,
"foods"
:
[
{
"name"
:
"化妆刷"
,
"key"
:
"化妆刷"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/3/1.jpg"
,
"cat"
:
3
},
{
"name"
:
"粉底"
,
"key"
:
"粉底"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/3/2.jpg"
,
"cat"
:
3
},
{
"name"
:
"洗发护发"
,
"key"
:
"洗发护发"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/3/3.jpg"
,
"cat"
:
3
},
{
"name"
:
"美容工具"
,
"key"
:
"美容工具"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/3/4.jpg"
,
"cat"
:
3
},
{
"name"
:
"眼部护理"
,
"key"
:
"眼部护理"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/3/5.jpg"
,
"cat"
:
3
},
{
"name"
:
"眉妆"
,
"key"
:
"眉妆"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/3/6.jpg"
,
"cat"
:
3
},
{
"name"
:
"卸妆品"
,
"key"
:
"卸妆品"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/3/7.jpg"
,
"cat"
:
3
},
{
"name"
:
"基础护肤"
,
"key"
:
"基础护肤"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/3/8.jpg"
,
"cat"
:
3
},
{
"name"
:
"眼妆"
,
"key"
:
"眼妆"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/3/9.jpg"
,
"cat"
:
3
},
{
"name"
:
"唇妆"
,
"key"
:
"唇妆"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/3/10.jpg"
,
"cat"
:
3
},
{
"name"
:
"面膜"
,
"key"
:
"面膜"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/3/11.jpg"
,
"cat"
:
3
},
{
"name"
:
"沐浴用品"
,
"key"
:
"沐浴用品"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/3/12.jpg"
,
"cat"
:
3
},
{
"name"
:
"护肤套装"
,
"key"
:
"护肤套装"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/3/13.jpg"
,
"cat"
:
3
},
{
"name"
:
"防晒品"
,
"key"
:
"防晒品"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/3/14.jpg"
,
"cat"
:
3
},
{
"name"
:
"美甲"
,
"key"
:
"美甲"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/3/15.jpg"
,
"cat"
:
3
}
]
},
{
"name"
:
"居家日用"
,
"foods"
:
[
{
"name"
:
"垃圾袋"
,
"key"
:
"垃圾袋"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/4/1.jpg"
,
"cat"
:
4
},
{
"name"
:
"纸巾"
,
"key"
:
"纸巾"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/4/2.jpg"
,
"cat"
:
4
},
{
"name"
:
"驱蚊用品"
,
"key"
:
"驱蚊用品"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/4/3.jpg"
,
"cat"
:
4
},
{
"name"
:
"收纳神器"
,
"key"
:
"收纳神器"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/4/4.jpg"
,
"cat"
:
4
},
{
"name"
:
"厨房用品"
,
"key"
:
"厨房用品"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/4/5.jpg"
,
"cat"
:
4
},
{
"name"
:
"厨房烹饪"
,
"key"
:
"烹饪"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/4/6.jpg"
,
"cat"
:
4
},
{
"name"
:
"衣物晾晒"
,
"key"
:
"衣物晾晒"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/4/7.jpg"
,
"cat"
:
4
},
{
"name"
:
"衣物护理"
,
"key"
:
"衣物护理"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/4/8.jpg"
,
"cat"
:
4
},
{
"name"
:
"宠物用品"
,
"key"
:
"宠物用品"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/4/9.jpg"
,
"cat"
:
4
},
{
"name"
:
"医药保健"
,
"key"
:
"医药"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/4/10.jpg"
,
"cat"
:
4
},
{
"name"
:
"日用百货"
,
"key"
:
"百货"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/4/11.jpg"
,
"cat"
:
4
},
{
"name"
:
"清洁用品"
,
"key"
:
"清洁"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/4/12.jpg"
,
"cat"
:
4
},
{
"name"
:
"绿植园艺"
,
"key"
:
"绿植"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/4/13.jpg"
,
"cat"
:
4
}
]
},
{
"name"
:
"男装"
,
"foods"
:
[
{
"name"
:
"爸爸装"
,
"key"
:
"爸爸装"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/5/1.jpg"
,
"cat"
:
12
},
{
"name"
:
"牛仔裤"
,
"key"
:
"牛仔裤"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/5/2.jpg"
,
"cat"
:
12
},
{
"name"
:
"衬衫"
,
"key"
:
"衬衫"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/5/3.jpg"
,
"cat"
:
12
},
{
"name"
:
"休闲裤"
,
"key"
:
"休闲裤"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/5/4.jpg"
,
"cat"
:
12
},
{
"name"
:
"外套"
,
"key"
:
"外套"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/5/5.jpg"
,
"cat"
:
12
},
{
"name"
:
"T恤"
,
"key"
:
"T恤"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/5/6.jpg"
,
"cat"
:
12
},
{
"name"
:
"套装"
,
"key"
:
"套装"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/5/7.jpg"
,
"cat"
:
12
},
{
"name"
:
"运动裤"
,
"key"
:
"运动裤"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/5/8.jpg"
,
"cat"
:
12
},
{
"name"
:
"马甲/背心"
,
"key"
:
"马甲背心"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/5/9.jpg"
,
"cat"
:
12
},
{
"name"
:
"POLO衫"
,
"key"
:
"POLO衫"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/5/10.jpg"
,
"cat"
:
12
},
{
"name"
:
"商务装"
,
"key"
:
"商务装"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/5/11.jpg"
,
"cat"
:
12
}
]
},
{
"name"
:
"鞋品"
,
"foods"
:
[
{
"name"
:
"单鞋"
,
"key"
:
"单鞋"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/6/1.jpg"
,
"cat"
:
5
},
{
"name"
:
"皮鞋"
,
"key"
:
"皮鞋"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/6/2.jpg"
,
"cat"
:
5
},
{
"name"
:
"帆布鞋"
,
"key"
:
"帆布鞋"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/6/3.jpg"
,
"cat"
:
5
},
{
"name"
:
"北京老布鞋"
,
"key"
:
"北京老布鞋"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/6/4.jpg"
,
"cat"
:
5
},
{
"name"
:
"运动鞋"
,
"key"
:
"运动鞋"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/6/5.jpg"
,
"cat"
:
5
},
{
"name"
:
"拖鞋"
,
"key"
:
"拖鞋"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/6/6.jpg"
,
"cat"
:
5
},
{
"name"
:
"凉鞋"
,
"key"
:
"凉鞋"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/6/7.jpg"
,
"cat"
:
5
},
{
"name"
:
"休闲鞋"
,
"key"
:
"休闲鞋"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/6/8.jpg"
,
"cat"
:
5
},
{
"name"
:
"高跟鞋"
,
"key"
:
"高跟鞋"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/6/9.jpg"
,
"cat"
:
5
},
{
"name"
:
"老人鞋"
,
"key"
:
"老人鞋"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/6/10.jpg"
,
"cat"
:
5
},
{
"name"
:
"懒人鞋"
,
"key"
:
"懒人鞋"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/6/11.jpg"
,
"cat"
:
5
}
]
},
{
"name"
:
"数码家电"
,
"foods"
:
[
{
"name"
:
"数据线"
,
"key"
:
"数据线"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/7/1.jpg"
,
"cat"
:
8
},
{
"name"
:
"耳机"
,
"key"
:
"耳机"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/7/2.jpg"
,
"cat"
:
8
},
{
"name"
:
"生活家电"
,
"key"
:
"家电"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/7/3.jpg"
,
"cat"
:
8
},
{
"name"
:
"电风扇"
,
"key"
:
"电风扇"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/7/4.jpg"
,
"cat"
:
8
},
{
"name"
:
"电吹风"
,
"key"
:
"电吹风"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/7/5.jpg"
,
"cat"
:
8
},
{
"name"
:
"手机壳"
,
"key"
:
"手机壳"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/7/6.jpg"
,
"cat"
:
8
},
{
"name"
:
"榨汁机"
,
"key"
:
"榨汁机"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/7/7.jpg"
,
"cat"
:
8
},
{
"name"
:
"小家电"
,
"key"
:
"小家电"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/7/8.jpg"
,
"cat"
:
8
},
{
"name"
:
"数码电子"
,
"key"
:
"数码"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/7/9.jpg"
,
"cat"
:
8
},
{
"name"
:
"电饭锅"
,
"key"
:
"电饭锅"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/7/10.jpg"
,
"cat"
:
8
},
{
"name"
:
"手机支架"
,
"key"
:
"手机支架"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/7/11.jpg"
,
"cat"
:
8
},
{
"name"
:
"剃须刀"
,
"key"
:
"剃须刀"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/7/12.jpg"
,
"cat"
:
8
},
{
"name"
:
"充电宝"
,
"key"
:
"充电宝"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/7/13.jpg"
,
"cat"
:
8
},
{
"name"
:
"手机配件"
,
"key"
:
"手机配件"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/7/14.jpg"
,
"cat"
:
8
}
]
},
{
"name"
:
"母婴"
,
"foods"
:
[
{
"name"
:
"婴童服饰"
,
"key"
:
"衣服"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/8/1.jpg"
,
"cat"
:
2
},
{
"name"
:
"玩具乐器"
,
"key"
:
"玩具乐器"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/8/2.jpg"
,
"cat"
:
2
},
{
"name"
:
"尿不湿"
,
"key"
:
"尿不湿"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/8/3.jpg"
,
"cat"
:
2
},
{
"name"
:
"安抚牙胶"
,
"key"
:
"安抚牙胶"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/8/4.jpg"
,
"cat"
:
2
},
{
"name"
:
"奶瓶奶嘴"
,
"key"
:
"奶瓶奶嘴"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/8/5.jpg"
,
"cat"
:
2
},
{
"name"
:
"孕妈用品"
,
"key"
:
"孕妈用品"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/8/6.jpg"
,
"cat"
:
2
},
{
"name"
:
"宝宝用品"
,
"key"
:
"宝宝用品"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/8/7.jpg"
,
"cat"
:
2
},
{
"name"
:
"婴童湿巾"
,
"key"
:
"湿巾"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/8/8.jpg"
,
"cat"
:
2
},
{
"name"
:
"喂养洗护"
,
"key"
:
"洗护"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/8/9.jpg"
,
"cat"
:
2
},
{
"name"
:
"婴童鞋靴"
,
"key"
:
"童鞋"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/8/10.jpg"
,
"cat"
:
2
},
{
"name"
:
"口水巾"
,
"key"
:
"口水巾"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/8/11.jpg"
,
"cat"
:
2
},
{
"name"
:
"营养辅食"
,
"key"
:
"营养"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/8/12.jpg"
,
"cat"
:
2
},
{
"name"
:
"婴幼书籍"
,
"key"
:
"书籍"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/8/13.jpg"
,
"cat"
:
2
},
{
"name"
:
"婴儿车"
,
"key"
:
"婴儿车"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/8/14.jpg"
,
"cat"
:
2
}
]
},
{
"name"
:
"箱包"
,
"foods"
:
[
{
"name"
:
"单肩包"
,
"key"
:
"单肩包"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/9/1.jpg"
,
"cat"
:
0
},
{
"name"
:
"斜挎包"
,
"key"
:
"斜挎包"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/9/2.jpg"
,
"cat"
:
0
},
{
"name"
:
"女包"
,
"key"
:
"女包"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/9/3.jpg"
,
"cat"
:
0
},
{
"name"
:
"男包"
,
"key"
:
"男包"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/9/4.jpg"
,
"cat"
:
0
},
{
"name"
:
"双肩包"
,
"key"
:
"双肩包"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/9/5.jpg"
,
"cat"
:
0
},
{
"name"
:
"小方包"
,
"key"
:
"小方包"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/9/6.jpg"
,
"cat"
:
0
},
{
"name"
:
"钱包"
,
"key"
:
"钱包"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/9/7.jpg"
,
"cat"
:
0
},
{
"name"
:
"旅行箱包"
,
"key"
:
"旅行箱包"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/9/8.jpg"
,
"cat"
:
0
},
{
"name"
:
"零钱包"
,
"key"
:
"零钱包"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/9/9.jpg"
,
"cat"
:
0
},
{
"name"
:
"手提包"
,
"key"
:
"手提包"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/9/10.jpg"
,
"cat"
:
0
},
{
"name"
:
"胸包"
,
"key"
:
"胸包"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/9/11.jpg"
,
"cat"
:
0
}
]
},
{
"name"
:
"内衣"
,
"foods"
:
[
{
"name"
:
"袜子"
,
"key"
:
"袜子"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/10/1.jpg"
,
"cat"
:
11
},
{
"name"
:
"吊带背心"
,
"key"
:
"吊带背心"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/10/2.jpg"
,
"cat"
:
11
},
{
"name"
:
"抹胸"
,
"key"
:
"抹胸"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/10/3.jpg"
,
"cat"
:
11
},
{
"name"
:
"内裤"
,
"key"
:
"内裤"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/10/4.jpg"
,
"cat"
:
11
},
{
"name"
:
"文胸"
,
"key"
:
"文胸"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/10/5.jpg"
,
"cat"
:
11
},
{
"name"
:
"文胸套装"
,
"key"
:
"文胸套装"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/10/6.jpg"
,
"cat"
:
11
},
{
"name"
:
"打底塑身"
,
"key"
:
"打底塑身"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/10/7.jpg"
,
"cat"
:
11
},
{
"name"
:
"家居服"
,
"key"
:
"家居服"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/10/8.jpg"
,
"cat"
:
11
},
{
"name"
:
"船袜"
,
"key"
:
"船袜"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/10/9.jpg"
,
"cat"
:
11
},
{
"name"
:
"情侣睡衣"
,
"key"
:
"情侣睡衣"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/10/10.jpg"
,
"cat"
:
11
},
{
"name"
:
"丝袜"
,
"key"
:
"丝袜"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/10/11.jpg"
,
"cat"
:
11
}
]
},
{
"name"
:
"文娱车品"
,
"foods"
:
[
{
"name"
:
"车市车品"
,
"key"
:
"车市车品"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/11/1.jpg"
,
"cat"
:
7
},
{
"name"
:
"办公文具"
,
"key"
:
"办公文具"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/11/2.jpg"
,
"cat"
:
7
},
{
"name"
:
"考试必备"
,
"key"
:
"考试必备"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/11/3.jpg"
,
"cat"
:
7
},
{
"name"
:
"笔记本"
,
"key"
:
"笔记本"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/11/4.jpg"
,
"cat"
:
7
},
{
"name"
:
"艺术礼品"
,
"key"
:
"礼品"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/11/5.jpg"
,
"cat"
:
7
},
{
"name"
:
"书写工具"
,
"key"
:
"书写工具"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/11/6.jpg"
,
"cat"
:
7
},
{
"name"
:
"车载电器"
,
"key"
:
"车载电器"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/11/7.jpg"
,
"cat"
:
7
},
{
"name"
:
"图书音像"
,
"key"
:
"图书音像"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/11/8.jpg"
,
"cat"
:
7
},
{
"name"
:
"画具画材"
,
"key"
:
"画具画材"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/11/9.jpg"
,
"cat"
:
7
}
]
},
{
"name"
:
"配饰"
,
"foods"
:
[
{
"name"
:
"太阳镜"
,
"key"
:
"太阳镜"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/12/1.jpg"
,
"cat"
:
0
},
{
"name"
:
"皮带"
,
"key"
:
"皮带"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/12/2.jpg"
,
"cat"
:
0
},
{
"name"
:
"棒球帽"
,
"key"
:
"棒球帽"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/12/3.jpg"
,
"cat"
:
0
},
{
"name"
:
"手表"
,
"key"
:
"手表"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/12/4.jpg"
,
"cat"
:
0
},
{
"name"
:
"发饰"
,
"key"
:
"发饰"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/12/5.jpg"
,
"cat"
:
0
},
{
"name"
:
"项链"
,
"key"
:
"项链"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/12/6.jpg"
,
"cat"
:
0
},
{
"name"
:
"手饰"
,
"key"
:
"手饰"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/12/7.jpg"
,
"cat"
:
0
},
{
"name"
:
"耳环"
,
"key"
:
"耳环"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/12/8.jpg"
,
"cat"
:
0
},
{
"name"
:
"帽子丝巾"
,
"key"
:
"帽子丝巾"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/12/9.jpg"
,
"cat"
:
0
},
{
"name"
:
"眼镜墨镜"
,
"key"
:
"眼镜墨镜"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/12/10.jpg"
,
"cat"
:
0
},
{
"name"
:
"发带发箍"
,
"key"
:
"发带发箍"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/12/11.jpg"
,
"cat"
:
0
}
]
},
{
"name"
:
"家装家纺"
,
"foods"
:
[
{
"name"
:
"家居饰品"
,
"key"
:
"家居饰品"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/13/1.jpg"
,
"cat"
:
0
},
{
"name"
:
"凉席"
,
"key"
:
"凉席"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/13/2.jpg"
,
"cat"
:
0
},
{
"name"
:
"背枕靠枕"
,
"key"
:
"靠枕"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/13/3.jpg"
,
"cat"
:
0
},
{
"name"
:
"床上用品"
,
"key"
:
"床上用品"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/13/4.jpg"
,
"cat"
:
0
},
{
"name"
:
"摆件"
,
"key"
:
"摆件"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/13/5.jpg"
,
"cat"
:
0
},
{
"name"
:
"四件套"
,
"key"
:
"四件套"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/13/6.jpg"
,
"cat"
:
0
},
{
"name"
:
"装饰品"
,
"key"
:
"装饰品"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/13/7.jpg"
,
"cat"
:
0
},
{
"name"
:
"卫浴用品"
,
"key"
:
"卫浴"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/13/8.jpg"
,
"cat"
:
0
},
{
"name"
:
"家居家装"
,
"key"
:
"家具"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/13/9.jpg"
,
"cat"
:
0
},
{
"name"
:
"蚊帐"
,
"key"
:
"蚊帐"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/13/10.jpg"
,
"cat"
:
0
},
{
"name"
:
"墙纸贴纸"
,
"key"
:
"墙纸"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/13/11.jpg"
,
"cat"
:
0
},
{
"name"
:
"空调被"
,
"key"
:
"空调被"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/13/12.jpg"
,
"cat"
:
0
}
]
},
{
"name"
:
"户外运动"
,
"foods"
:
[
{
"name"
:
"游泳装备"
,
"key"
:
"游泳"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/14/1.jpg"
,
"cat"
:
0
},
{
"name"
:
"泳镜"
,
"key"
:
"泳镜"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/14/2.jpg"
,
"cat"
:
0
},
{
"name"
:
"户外装备"
,
"key"
:
"户外"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/14/3.jpg"
,
"cat"
:
0
},
{
"name"
:
"健身服饰"
,
"key"
:
"健身"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/14/4.jpg"
,
"cat"
:
0
},
{
"name"
:
"泳衣"
,
"key"
:
"泳衣"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/14/5.jpg"
,
"cat"
:
0
},
{
"name"
:
"瑜伽垫"
,
"key"
:
"瑜伽垫"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/14/6.jpg"
,
"cat"
:
0
},
{
"name"
:
"瑜伽用品"
,
"key"
:
"瑜伽"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/14/7.jpg"
,
"cat"
:
0
},
{
"name"
:
"健身装备"
,
"key"
:
"健身"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/14/8.jpg"
,
"cat"
:
0
},
{
"name"
:
"球迷用品"
,
"key"
:
"球迷"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/14/9.jpg"
,
"cat"
:
0
}
]
}
]
\ No newline at end of file
src/components/createCom/XhInput.vue
0 → 100644
View file @
033ec3e0
<
template
>
<u-input
v-model=
"value"
:type=
"type"
:border=
"border"
/>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
value
:
''
,
type
:
'text'
,
border
:
true
}
}
}
</
script
>
<
style
>
</
style
>
src/components/createCom/index.js
0 → 100644
View file @
033ec3e0
// export { default as XhInput } from './XhInput'
// export { default as XhTextarea } from './XhTextarea'
// export { default as XhSelect } from './XhSelect'
// export { default as XhMultipleSelect } from './XhMultipleSelect'
// export { default as XhFiles } from './XhFiles'
// export { default as XhSwitch } from './XhSwitch'
// export { default as XhServiceMore } from './XhServiceMore'
// export { default as XhDate } from './XhDate'
src/components/settle/index.vue
View file @
033ec3e0
...
@@ -4,11 +4,10 @@
...
@@ -4,11 +4,10 @@
back-icon-color="#ffffff" title-color="#ffffff">
</u-navbar>
back-icon-color="#ffffff" title-color="#ffffff">
</u-navbar>
<image
:src=
"url"
style=
"width: 100%;"
mode=
"widthFix"
></image>
<image
:src=
"url"
style=
"width: 100%;"
mode=
"widthFix"
></image>
<view
class=
"introduction"
>
<view
class=
"introduction"
>
<slot></slot>
<slot></slot>
<view
class=
"settle-bottom"
>
</view>
<slot
name=
"bottom"
></slot>
<view
class=
"settle-bottom"
>
</view>
<slot
name=
"bottom"
></slot>
</view>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -19,7 +18,7 @@
...
@@ -19,7 +18,7 @@
index
:
{
index
:
{
type
:
Number
,
type
:
Number
,
default
:
1
default
:
1
}
}
},
},
data
()
{
data
()
{
return
{}
return
{}
...
@@ -32,23 +31,20 @@
...
@@ -32,23 +31,20 @@
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.settle-view
{
background-color
:
#F4F5F7
;
}
.introduction
{
.introduction
{
border-radius
:
12rpx
;
border-radius
:
12rpx
;
margin-left
:
30rpx
;
margin-right
:
30rpx
;
margin-top
:
-112rpx
;
background-color
:
#F4F5F7
;
overflow
:
auto
;
overflow
:
auto
;
height
:
calc
(
100vh
-
312rpx
);
position
:
fixed
;
}
top
:
320rpx
;
.settle-bottom
{
bottom
:
0rpx
;
position
:
fixed
;
left
:
30rpx
;
width
:
calc
(
100vw
-
60rpx
);
right
:
30rpx
;
bottom
:
44rpx
;
}
.settle-bottom
{
position
:
fixed
;
bottom
:
44rpx
;
width
:
100%
;
}
}
</
style
>
</
style
>
src/pages.json
View file @
033ec3e0
...
@@ -14,6 +14,11 @@
...
@@ -14,6 +14,11 @@
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"订单"
"navigationBarTitleText"
:
"订单"
}
}
},{
"path"
:
"pages/order/complete"
,
"style"
:
{
"navigationBarTitleText"
:
"订单-完工配置"
}
},
},
{
{
"path"
:
"pages/study/index"
,
"path"
:
"pages/study/index"
,
...
...
src/pages/order/complete.vue
0 → 100644
View file @
033ec3e0
<
template
>
<view
class=
"u-wrap"
>
<view
class=
"u-search-box"
>
<view
class=
"u-search-inner"
>
<u-icon
name=
"search"
color=
"#909399"
:size=
"28"
></u-icon>
<text
class=
"u-search-text"
>
搜索uView
</text>
</view>
</view>
<view
class=
"u-menu-wrap"
>
<scroll-view
scroll-y
scroll-with-animation
class=
"u-tab-view menu-scroll-view"
:scroll-top=
"scrollTop"
>
<view
v-for=
"(item,index) in tabbar"
:key=
"index"
class=
"u-tab-item"
:class=
"[current==index ? 'u-tab-item-active' : '']"
:data-current=
"index"
@
tap
.
stop=
"swichMenu(index)"
>
<text
class=
"u-line-1"
>
{{
item
.
name
}}
</text>
</view>
</scroll-view>
<block
v-for=
"(item,index) in tabbar"
:key=
"index"
>
<scroll-view
scroll-y
class=
"right-box"
v-if=
"current==index"
>
<view
class=
"page-view"
>
<view
class=
"class-item"
>
<view
class=
"item-title"
>
<text>
{{
item
.
name
}}
</text>
</view>
<view
class=
"item-container"
>
<view
class=
"thumb-box"
v-for=
"(item1, index1) in item.foods"
:key=
"index1"
>
<image
class=
"item-menu-image"
:src=
"item1.icon"
mode=
""
></image>
<view
class=
"item-menu-name"
>
{{
item1
.
name
}}
</view>
</view>
</view>
</view>
</view>
</scroll-view>
</block>
</view>
</view>
</
template
>
<
script
>
import
classifyData
from
"@/common/classify.data.js"
;
export
default
{
data
()
{
return
{
tabbar
:
classifyData
,
scrollTop
:
0
,
//tab标题的滚动条位置
current
:
0
,
// 预设当前项的值
menuHeight
:
0
,
// 左边菜单的高度
menuItemHeight
:
0
,
// 左边菜单item的高度
}
},
computed
:
{
},
methods
:
{
getImg
()
{
return
Math
.
floor
(
Math
.
random
()
*
35
);
},
// 点击左边的栏目切换
async
swichMenu
(
index
)
{
if
(
index
==
this
.
current
)
return
;
this
.
current
=
index
;
// 如果为0,意味着尚未初始化
if
(
this
.
menuHeight
==
0
||
this
.
menuItemHeight
==
0
)
{
await
this
.
getElRect
(
'menu-scroll-view'
,
'menuHeight'
);
await
this
.
getElRect
(
'u-tab-item'
,
'menuItemHeight'
);
}
// 将菜单菜单活动item垂直居中
this
.
scrollTop
=
index
*
this
.
menuItemHeight
+
this
.
menuItemHeight
/
2
-
this
.
menuHeight
/
2
;
},
// 获取一个目标元素的高度
getElRect
(
elClass
,
dataVal
)
{
new
Promise
((
resolve
,
reject
)
=>
{
const
query
=
uni
.
createSelectorQuery
().
in
(
this
);
query
.
select
(
'.'
+
elClass
).
fields
({
size
:
true
},
res
=>
{
// 如果节点尚未生成,res值为null,循环调用执行
if
(
!
res
)
{
setTimeout
(()
=>
{
this
.
getElRect
(
elClass
);
},
10
);
return
;
}
this
[
dataVal
]
=
res
.
height
;
}).
exec
();
})
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.u-wrap
{
height
:
calc
(
100vh
);
/* #ifdef H5 */
height
:
calc
(
100vh
-
var
(
--
window-top
));
/* #endif */
display
:
flex
;
flex-direction
:
column
;
}
.u-search-box
{
padding
:
18rpx
30rpx
;
}
.u-menu-wrap
{
flex
:
1
;
display
:
flex
;
overflow
:
hidden
;
}
.u-search-inner
{
background-color
:
rgb
(
234
,
234
,
234
);
border-radius
:
100rpx
;
display
:
flex
;
align-items
:
center
;
padding
:
10rpx
16rpx
;
}
.u-search-text
{
font-size
:
26rpx
;
color
:
$u-tips-color
;
margin-left
:
10rpx
;
}
.u-tab-view
{
width
:
200rpx
;
height
:
100%
;
}
.u-tab-item
{
height
:
110rpx
;
background
:
#f6f6f6
;
box-sizing
:
border-box
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
font-size
:
26rpx
;
color
:
#444
;
font-weight
:
400
;
line-height
:
1
;
}
.u-tab-item-active
{
position
:
relative
;
color
:
#000
;
font-size
:
30rpx
;
font-weight
:
600
;
background
:
#fff
;
}
.
u-tab-item-active
:
:
before
{
content
:
""
;
position
:
absolute
;
border-left
:
4px
solid
$u-type-primary
;
height
:
32rpx
;
left
:
0
;
top
:
39rpx
;
}
.u-tab-view
{
height
:
100%
;
}
.right-box
{
background-color
:
rgb
(
250
,
250
,
250
);
}
.page-view
{
padding
:
16rpx
;
}
.class-item
{
margin-bottom
:
30rpx
;
background-color
:
#fff
;
padding
:
16rpx
;
border-radius
:
8rpx
;
}
.item-title
{
font-size
:
26rpx
;
color
:
$u-main-color
;
font-weight
:
bold
;
}
.item-menu-name
{
font-weight
:
normal
;
font-size
:
24rpx
;
color
:
$u-main-color
;
}
.item-container
{
display
:
flex
;
flex-wrap
:
wrap
;
}
.thumb-box
{
width
:
33
.333333%
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
flex-direction
:
column
;
margin-top
:
20rpx
;
}
.item-menu-image
{
width
:
120rpx
;
height
:
120rpx
;
}
</
style
>
src/pages/settle/base.vue
View file @
033ec3e0
<
template
>
<
template
>
<view
class=
"content"
>
<view
class=
"back_view"
>
<Settle
:index=
"2"
>
<Settle
:index=
"2"
>
<view
class=
"title"
>
入驻基本信息
</view>
<view
class=
"base-list"
>
<view
class=
"base-list"
>
<view
class=
"base-item"
>
<!--view class="item item-input flex-yc">
<view
class=
"item item-select"
@
click=
"gopage('/pages/settle/select?selectType=area')"
>
<label
class=
"label"
>
姓名
</label>
<view
class=
"flex-center"
>
<span
class=
"required"
>
*
</span>
<image
class=
"item-image"
src=
"../../static/settle/mixing@3x.png"
></image>
<input
placeholder=
"请输入您的姓名"
v-model
.
trim=
"baseInfo.name"
class=
"input flex1"
/>
<text
class=
"label"
>
接单城市
</text>
</view-->
</view>
<!--view class="item item-input flex u-row-between">
<p
class=
"u-flex-1 u-text-right txt"
>
{{
areaTxts
.
slice
(
0
,
2
).
join
(
','
)
||
""
}}
</p>
<label
class=
"label"
>
电话
</label>
<u-icon
name=
"arrow-right"
color=
"#999"
size=
"28"
></u-icon>
<span
class=
"required"
>
*
</span>
</view>
<input
placeholder=
"请输入您的电话"
v-model=
"baseInfo.mobile"
class=
"input flex1"
/>
<view
class=
"tips"
>
可以服务的城市,可选多个
</view>
</view-->
</view>
<view
class=
"item item-select u-row-between"
@
click=
"gopage('/pages/settle/select?selectType=area')"
>
<view
class=
"base-item"
style=
"height: 600rpx;"
>
<view
class=
"label"
>
接单城市:
</view>
<view
class=
"item item-select"
@
click=
"gopage('/pages/settle/select?selectType=working_age')"
>
<p
class=
"u-flex-1 u-text-right txt"
>
{{
areaTxts
.
slice
(
0
,
2
).
join
(
','
)
||
""
}}
</p>
<view
class=
"flex-center"
>
<u-icon
name=
"arrow-right"
color=
"#999"
size=
"28"
></u-icon>
<image
class=
"item-image"
src=
"../../static/settle/mixing@3x.png"
></image>
</view>
<text
class=
"label"
>
电工工龄(年)
</text>
<view
class=
"tips"
>
(必选项)选择你可以服务的城市,可选多个
</view>
</view>
<view
class=
"item item-select flex-yc"
@
click=
"gopage('/pages/settle/select?selectType=working_age')"
>
<p
class=
"u-flex-1 u-text-right area"
v-show=
"baseInfo.working_age !== ''"
>
<view
class=
"label"
>
电工工龄(年):
</view>
{{
workingAgeTxt
}}
<p
class=
"u-flex-1 u-text-right area"
v-show=
"baseInfo.working_age !== ''"
>
</p>
{{
workingAgeTxt
}}
<u-icon
name=
"arrow-right"
color=
"#999"
size=
"28"
></u-icon>
</p>
</view>
<u-icon
name=
"arrow-right"
color=
"#999"
size=
"28"
></u-icon>
<view
class=
"tips"
>
从事电工工作的工龄
</view>
<!--
<i
class=
"iconfont icon-xiangyou"
></i>
-->
<view
class=
"line-view"
></view>
</view>
<view
class=
"item itemView"
>
<view
class=
"tips"
>
(必选项)选择你从事电工工作的工龄
</view>
<view>
<!--view class="item item-input flex u-row-between">
<text
class=
"itemTitle"
>
师傅数量
</text>
<label
class=
"label"
>
详细地址:
</label>
</view>
<u-icon
name=
"map"
color=
"#999"
size=
"34"
></u-icon>
<input
class=
"itemInput"
@
input=
"countInput"
v-model=
"name"
type=
"number"
value=
""
</view-->
placeholder=
"请输入师傅数量"
placeholder-style=
'color:#CCCCCC;font-size:32rpx;'
/>
<!--view class="tips">
{{
baseInfo
.
address
}}
</view-->
</view>
<view
class=
"tips"
>
可投入交付服务的人员数量
</view>
<view
class=
"itemView"
>
<view
class=
"line-view"
></view>
<view
class=
"itemTitleView"
>
<view>
<text
class=
"itemTitle"
>
师傅数量
</text>
<view
class=
"item item-select"
@
click=
"locationClick()"
>
<!--text class="itemRedStar">*
</text-->
<view
class=
"flex-center"
>
</view>
<image
class=
"item-image"
src=
"../../static/settle/mixing@3x.png"
></image>
<input
<text
class=
"itemTitle"
>
详细地址
</text>
class=
"itemInput"
</view>
@
input=
"countInput"
<view
class=
"flex-center"
>
v-model=
"name"
<image
class=
"item-image"
src=
"../../static/settle/dizhi@3x.png"
></image>
type=
"number"
<text
class=
"right-label blueColor"
>
自动定位
</text>
value=
""
</view>
placeholder=
"请输入师傅数量"
</view>
placeholder-style=
'color:#CCCCCC;font-size:32rpx;'
/>
<textarea
class=
"address-view"
maxlength=
"100"
placeholder-style=
"color:#999999"
v-model=
"baseInfo.address"
placeholder=
"请填写可接收物料的详细地址"
/>
</view>
</view>
<view
class=
"tips bottom_padding_80"
>
(选填项)输入可投入交付服务的人员数量
</view>
</view>
<view
class=
"newAddressView"
>
</view>
<view
class=
"newAddressTitleView"
@
click=
"locationClick()"
>
<view
class=
"seat"
></view>
<view
class=
"address"
>
<template
v-slot:bottom
>
<text
class=
"itemTitle"
>
详细地址
</text>
<view
class=
"btn-wrap flex-xc"
>
<!--text class="itemRedStar">*
</text-->
<button
class=
"btn-submit"
:disabled=
"!submitStatus"
@
click=
"$u.debounce(submitBaseInfo, 500)"
>
</view>
确定
<view
class=
"right-margin-40"
>
</button>
<u-icon
name=
"map"
color=
"#999"
size=
"34"
></u-icon>
</view>
<text
class=
"blueColor"
>
定位
</text>
</
template
>
</view>
</Settle>
</view>
</view>
<view
class=
"addressBackView"
>
</template>
<textarea
class=
"addressTextAreaView"
<
script
>
maxlength=
"100"
import
Settle
from
'@/components/settle/index.vue'
v-model=
"baseInfo.address"
auto-height=
"true"
let
r
=
require
(
"../../libs/bmap-wx.min.js"
);
value=
""
let
h
=
new
r
.
BMapWX
({
placeholder=
"请输入详细服务地址"
// ak: "rpVq5d3yxaRCoKzVwmFMo0o4iC524CAG",
placeholder-style=
'color:#CCCCCC;font-size:28rpx;'
/>
ak
:
"lF1HoyXdiv4uZx6TrGQEZs48F5y8kEHI"
</view>
});
<view
class=
"tips"
>
(必填项)填写可接收物料的地址
</view>
export
default
{
</view>
components
:
{
Settle
</view>
},
<view
class=
"seat"
></view>
data
()
{
<view
class=
"btn-wrap flex-xc"
>
return
{
baseInfo
:
{
<button
class=
"btn-submit"
:disabled=
"!submitStatus"
@
click=
"$u.debounce(submitBaseInfo, 500)"
>
name
:
""
,
<!--view class="">submitBaseInfo
</view-->
mobile
:
""
,
<!--button class="btn-submit" :disabled="!submitStatus" @click="submitBaseInfo()"-->
service_area
:
[],
确定
working_age
:
""
,
</button>
worker_num
:
""
,
</view>
address
:
''
</Settle>
},
</view>
saving
:
false
,
</
template
>
areaTxts
:
[],
workingAgeTxt
:
''
,
<
script
>
protocolContent
:
''
,
import
Settle
from
'@/components/settle/index.vue'
address
:
''
,
isPosting
:
false
let
r
=
require
(
"../../libs/bmap-wx.min.js"
);
}
let
h
=
new
r
.
BMapWX
({
},
// ak: "rpVq5d3yxaRCoKzVwmFMo0o4iC524CAG",
onLoad
(
e
)
{
ak
:
"lF1HoyXdiv4uZx6TrGQEZs48F5y8kEHI"
this
.
initLocation
()
});
},
export
default
{
onShow
()
{
components
:
{
if
(
this
.
isPosting
)
{
Settle
this
.
isPosting
=
false
},
}
data
()
{
},
return
{
baseInfo
:
{
computed
:
{
name
:
""
,
submitStatus
()
{
mobile
:
""
,
const
baseInfo
=
this
.
baseInfo
service_area
:
[],
//baseInfo.name && baseInfo.mobile &&
working_age
:
""
,
const
flag
=
baseInfo
.
service_area
&&
baseInfo
.
working_age
!==
''
worker_num
:
""
,
return
flag
&&
!
this
.
saving
;
address
:
''
},
},
},
saving
:
false
,
components
:
{
areaTxts
:
[],
workingAgeTxt
:
''
,
},
protocolContent
:
''
,
methods
:
{
address
:
''
,
initLocation
()
{
isPosting
:
false
const
self
=
this
}
uni
.
getLocation
({
},
type
:
'wgs84'
,
onLoad
(
e
)
{
success
:
function
(
res
)
{
this
.
initLocation
()
self
.
baiduLocation
(
res
.
longitude
,
res
.
latitude
)
},
}
onShow
()
{
});
if
(
this
.
isPosting
)
{
},
this
.
isPosting
=
false
baiduLocation
(
long
,
lat
)
{
}
let
a
=
this
,
},
t
=
function
()
{
let
t
=
{
computed
:
{
success
:
function
(
res
)
{
submitStatus
()
{
let
e
=
res
.
wxMarkerData
[
0
];
const
baseInfo
=
this
.
baseInfo
let
i
=
e
.
address
;
//baseInfo.name && baseInfo.mobile &&
a
.
baseInfo
.
address
=
i
const
flag
=
baseInfo
.
service_area
&&
baseInfo
.
working_age
!==
''
// a.setData({
return
flag
&&
!
this
.
saving
;
// addressValue: i
},
// }), o.globalData.addressValue = i, a.initWatermarkBoxHeightAndWidth();
},
},
components
:
{
fail
:
function
(
a
)
{
// n.error(a), console.log(a);
},
}
methods
:
{
};
initLocation
(){
if
(
lat
&&
long
)
{
const
self
=
this
let
e
=
lat
+
","
+
long
uni
.
getLocation
({
// let e = "113.88308" + ',' + "22.55329"
type
:
'wgs84'
,
// let e = "22.55329" + ',' + "113.88308"
success
:
function
(
res
)
{
t
.
location
=
e
;
self
.
baiduLocation
(
res
.
longitude
,
res
.
latitude
)
}
}
h
.
regeocoding
(
t
);
});
};
},
t
()
baiduLocation
(
long
,
lat
)
{
},
let
a
=
this
,
t
=
function
()
{
//师傅数量
let
t
=
{
countInput
(
e
)
{
success
:
function
(
res
)
{
this
.
baseInfo
.
worker_num
=
e
.
detail
.
value
let
e
=
res
.
wxMarkerData
[
0
];
},
let
i
=
e
.
address
;
a
.
baseInfo
.
address
=
i
//定位点击
// a.setData({
locationClick
:
function
()
{
// addressValue: i
let
that
=
this
// }), o.globalData.addressValue = i, a.initWatermarkBoxHeightAndWidth();
uni
.
chooseLocation
({
},
success
:
function
(
res
)
{
fail
:
function
(
a
)
{
that
.
baseInfo
.
address
=
res
.
address
+
res
.
name
// n.error(a), console.log(a);
//that.address = res.address + res.name
}
},
};
fail
:
function
(
res
)
{
if
(
lat
&&
long
)
{
uni
.
showToast
({
let
e
=
lat
+
","
+
long
title
:
'定位失败'
// let e = "113.88308" + ',' + "22.55329"
})
// let e = "22.55329" + ',' + "113.88308"
}
t
.
location
=
e
;
});
}
h
.
regeocoding
(
t
);
},
};
t
()
gopage
(
url
)
{
},
uni
.
navigateTo
({
url
,
//师傅数量
});
countInput
(
e
){
},
this
.
baseInfo
.
worker_num
=
e
.
detail
.
value
initBaseInfo
()
{
},
Indicator
.
open
();
let
params
=
{
//定位点击
id
:
''
,
locationClick
:
function
(){
}
let
that
=
this
const
res
=
this
.
$u
.
api
.
getSettleBaseInfo
(
params
)
uni
.
chooseLocation
({
uni
.
hideLoading
()
success
:
function
(
res
)
{
if
(
res
.
status
!=
200
)
{
that
.
baseInfo
.
address
=
res
.
address
+
res
.
name
uni
.
showToast
({
//that.address = res.address + res.name
title
:
res
.
message
,
},
fail
:
function
(
res
)
{
icon
:
'success'
uni
.
showToast
({
});
title
:
'定位失败'
return
;
})
}
}
this
.
baseInfo
=
res
.
data
});
uni
.
showToast
({
title
:
'入驻基本信息提交成功'
,
},
icon
:
'success'
});
gopage
(
url
)
{
},
uni
.
navigateTo
({
checkBaseInfo
()
{
url
,
const
baseInfo
=
this
.
baseInfo
;
});
let
rulesObj
=
{
},
/*
initBaseInfo
()
{
name: function(value) {
Indicator
.
open
();
if (!value) {
let
params
=
{
uni.showToast({
id
:
''
,
title: '请输入您的姓名',
}
icon: 'none'
const
res
=
this
.
$u
.
api
.
getSettleBaseInfo
(
params
)
});
uni
.
hideLoading
()
return false;
if
(
res
.
status
!=
200
)
{
}
uni
.
showToast
({
},
title
:
res
.
message
,
mobile: function(value) {
icon
:
'success'
const mobileReg = /^[1][3,4,5,7,8][0-9]{9}$/;
});
if (!value) {
return
;
uni.showToast({
}
title: '请输入您的电话',
this
.
baseInfo
=
res
.
data
icon: 'none'
uni
.
showToast
({
});
title
:
'入驻基本信息提交成功'
,
return false;
icon
:
'success'
return false;
});
} else if (!mobileReg.test(value)) {
},
uni.showToast({
checkBaseInfo
()
{
title: '请输入正确的电话',
const
baseInfo
=
this
.
baseInfo
;
icon: 'none'
let
rulesObj
=
{
});
/*
return false;
name: function(value) {
}
if (!value) {
},
uni.showToast({
*/
title: '请输入您的姓名',
service_area
:
function
(
value
)
{
icon: 'none'
if
(
!
value
||
value
.
length
==
0
)
{
});
uni
.
showToast
({
return false;
title
:
'请选择您的接单城市'
,
}
icon
:
'none'
},
});
mobile: function(value) {
return
false
;
const mobileReg = /^[1][3,4,5,7,8][0-9]{9}$/;
}
if (!value) {
},
uni.showToast({
working_age
:
function
(
value
)
{
title: '请输入您的电话',
if
(
value
===
''
)
{
icon: 'none'
uni
.
showToast
({
});
title
:
'请选择您的工龄'
,
return false;
icon
:
'none'
return false;
});
} else if (!mobileReg.test(value)) {
return
false
;
uni.showToast({
}
title: '请输入正确的电话',
},
icon: 'none'
//address
});
address
:
function
(
value
)
{
return false;
if
(
value
===
''
)
{
}
uni
.
showToast
({
},
title
:
'请选择您的地址'
,
*/
icon
:
'none'
service_area
:
function
(
value
)
{
});
if
(
!
value
||
value
.
length
==
0
)
{
return
false
;
uni
.
showToast
({
}
title
:
'请选择您的接单城市'
,
},
icon
:
'none'
});
return
false
;
};
}
const
flagArr
=
Object
.
keys
(
baseInfo
).
some
((
key
)
=>
{
},
// 返回验证失败的数组
working_age
:
function
(
value
)
{
let
flag
=
true
;
if
(
value
===
''
)
{
if
(
rulesObj
.
hasOwnProperty
(
key
))
{
uni
.
showToast
({
const
func
=
rulesObj
[
key
];
title
:
'请选择您的工龄'
,
const
value
=
baseInfo
[
key
];
icon
:
'none'
if
(
typeof
func
===
"function"
)
{
});
flag
=
func
(
value
)
===
false
?
false
:
true
;
return
false
;
}
}
}
},
return
!
flag
;
//address
});
address
:
function
(
value
)
{
return
!
flagArr
||
flagArr
.
length
<
1
;
if
(
value
===
''
)
{
},
uni
.
showToast
({
title
:
'请选择您的地址'
,
/*
icon
:
'none'
shakeCLick: function() {
});
let timer = setTimeout(() => {
return
false
;
clearTimeout(timer)
}
this.submitBaseInfo()
},
}, 2000)
},
*/
};
const
flagArr
=
Object
.
keys
(
baseInfo
).
some
((
key
)
=>
{
async
submitBaseInfo
()
{
// 返回验证失败的数组
let
flag
=
true
;
// this.newSubmitBaseInfo()
if
(
rulesObj
.
hasOwnProperty
(
key
))
{
// return
const
func
=
rulesObj
[
key
];
const
baseInfo
=
this
.
baseInfo
;
const
value
=
baseInfo
[
key
];
if
(
!
this
.
checkBaseInfo
())
{
if
(
typeof
func
===
"function"
)
{
return
;
flag
=
func
(
value
)
===
false
?
false
:
true
;
}
}
}
this
.
saving
=
true
;
return
!
flag
;
uni
.
showLoading
({
});
title
:
'加载中'
return
!
flagArr
||
flagArr
.
length
<
1
;
});
},
const
params
=
{
...
baseInfo
,
/*
recommender
:
getApp
().
globalData
.
settleRecommend
shakeCLick: function() {
}
let timer = setTimeout(() => {
console
.
log
(
params
,
'params'
)
clearTimeout(timer)
params
.
service_area
=
baseInfo
.
service_area
.
join
(
','
)
this.submitBaseInfo()
const
res
=
await
this
.
$u
.
api
.
submitSettleBaseInfo
(
params
)
}, 2000)
this
.
saving
=
false
;
},
uni
.
hideLoading
()
*/
//this.isPosting = false
async
submitBaseInfo
()
{
if
(
res
.
code
!=
200
)
{
// this.newSubmitBaseInfo()
uni
.
showToast
({
// return
title
:
res
.
message
,
const
baseInfo
=
this
.
baseInfo
;
icon
:
'none'
if
(
!
this
.
checkBaseInfo
())
{
});
return
;
return
;
}
}
uni
.
showToast
({
this
.
saving
=
true
;
title
:
'入驻基本信息提交成功'
,
uni
.
showLoading
({
icon
:
'success'
title
:
'加载中'
});
});
let
timer
=
setTimeout
(()
=>
{
const
params
=
{
clearTimeout
(
timer
)
...
baseInfo
,
uni
.
navigateTo
({
recommender
:
getApp
().
globalData
.
settleRecommend
url
:
'/pages/settle/file'
,
}
"animationType"
:
"fade-in"
,
console
.
log
(
params
,
'params'
)
"animationDuration"
:
300
params
.
service_area
=
baseInfo
.
service_area
.
join
(
','
)
})
const
res
=
await
this
.
$u
.
api
.
submitSettleBaseInfo
(
params
)
},
2000
)
this
.
saving
=
false
;
},
uni
.
hideLoading
()
},
//this.isPosting = false
}
</
script
>
if
(
res
.
code
!=
200
)
{
uni
.
showToast
({
<
style
lang=
"scss"
scoped
>
title
:
res
.
message
,
.back_view
{
icon
:
'none'
background-color
:
#F4F5F7
;
});
return
;
}
uni
.
showToast
({
title
:
'入驻基本信息提交成功'
,
icon
:
'success'
});
let
timer
=
setTimeout
(()
=>
{
clearTimeout
(
timer
)
uni
.
navigateTo
({
url
:
'/pages/settle/file'
,
"animationType"
:
"fade-in"
,
"animationDuration"
:
300
})
},
2000
)
},
},
}
</
script
>
<
style
lang=
"scss"
>
.base-list
{
.item
{
display
:
flex
;
margin-bottom
:
58rpx
;
padding
:
28rpx
30rpx
;
width
:
100%
;
height
:
100rpx
;
font-size
:
32rpx
;
background-color
:
#fff
;
.label
{
color
:
#333
;
font-size
:
32rpx
;
}
.txt
{
line-height
:
44rpx
;
color
:
#333
;
font-size
:
32rpx
;
display
:
-
webkit-box
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
word-wrap
:
break-word
;
white-space
:
normal
!
important
;
-webkit-line-clamp
:
2
;
-webkit-box-orient
:
vertical
;
}
.required
{
margin
:
0
6rpx
;
color
:
red
;
font-size
:
32rpx
;
}
.iconfont
{
color
:
#999
;
}
}
.tips
{
margin-top
:
20rpx
;
padding
:
0
30rpx
;
line-height
:
40rpx
;
font-size
:
28rpx
;
color
:
#666
;
&
+
.id-identity-box
{
margin-top
:
-38rpx
;
margin-bottom
:
40rpx
;
}
}
.id-identity-box
{
.txt
{
padding-top
:
8rpx
;
line-height
:
40rpx
;
font-size
:
28rpx
;
color
:
#666
;
&
:first-child
{
margin-top
:
-58rpx
;
padding-top
:
12rpx
;
}
.red
{
color
:
red
;
}
}
// &.tips{
// margin-bottom:0!important;
// }
}
.item
+
.tips
{
margin-top
:
-38rpx
;
margin-bottom
:
58rpx
;
}
/*选择内容*/
.item-select
{
font-size
:
30rpx
;
color
:
#333
;
font-weight
:
500
;
justify-content
:
space-between
;
border-bottom
:
1rpx
solid
#f5f5f5
;
}
.flex1
{
flex
:
1
!
important
;
&
.txt
{
white-space
:
nowrap
;
max-width
:
450rpx
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
}
.item-input
{
overflow
:
hidden
;
input
{
text-align
:
right
;
line-height
:
44rpx
;
width
:
100%
;
font-size
:
30rpx
;
color
:
#333
;
font-weight
:
400
;
}
.input-readonly
{
font-size
:
30rpx
;
color
:
#999
;
font-weight
:
400
;
}
input
:
:-
webkit-input-placeholder
{
font-size
:
30rpx
;
color
:
#999
;
font-weight
:
400
;
}
input
:
-
moz-placeholder
{
font-size
:
30rpx
;
color
:
#999
;
font-weight
:
400
;
}
input
:
-
ms-input-placeholder
{
font-size
:
30rpx
;
color
:
#999
;
font-weight
:
400
;
}
}
}
.title
{
padding
:
30rpx
0
40rpx
;
text-align
:
center
;
line-height
:
50rpx
;
font-size
:
36rpx
;
color
:
#333
;
font-weight
:
bold
;
}
.seat
{
padding-bottom
:
144rpx
;
}
/*提交按钮*/
.btn-wrap
{
//position: fixed;
//left: 0;
//right: 0;
//bottom: 0;
padding
:
30rpx
0
;
background
:
#f3f3f3
;
width
:
100%
;
.btn-submit
{
width
:
600rpx
;
// left: 5%;
// bottom: px2rem(36);
height
:
104rpx
;
line-height
:
104rpx
;
border-radius
:
52rpx
;
background
:
#2272ff
;
font-size
:
32rpx
;
color
:
#fff
;
&
[
disabled
]
{
border
:
2rpx
solid
#999
;
background-color
:
#f3f3f3
;
color
:
#999
;
}
}
}
.itemView
{
background-color
:
#FFFFFF
;
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
justify-content
:
space-between
;
width
:
100%
;
height
:
104rpx
;
}
.itemTitleView
{
background-color
:
#FFFFFF
;
width
:
30%
;
height
:
102rpx
;
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
}
.borderBottom
{
border-bottom
:
1rpx
solid
#CCCCCC
;
}
.itemTitle
{
background-color
:
#FFFFFF
;
margin-left
:
30rpx
;
font-size
:
32rpx
;
font-weight
:
bold
;
color
:
#333333
;
}
.itemRedStar
{
font-size
:
32rpx
;
color
:
#D02B2B
;
}
.itemInput
{
background-color
:
#FFFFFF
;
margin-right
:
30rpx
;
height
:
70rpx
;
width
:
70%
;
text-align
:
right
;
font-size
:
32rpx
;
}
.newAddressView
{
margin-top
:
60rpx
;
background-color
:
#FFFFFF
;
width
:
100%
;
display
:
flex
;
flex-direction
:
column
;
padding-bottom
:
30rpx
;
}
.newAddressTitleView
{
height
:
64rpx
;
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
justify-content
:
space-between
;
}
.itemTitle
{
background-color
:
#FFFFFF
;
margin-left
:
30rpx
;
font-size
:
32rpx
;
font-weight
:
bold
;
color
:
#333333
;
}
.itemRedStar
{
font-size
:
32rpx
;
color
:
#D02B2B
;
}
.addressBackView
{
background-color
:
#FFFFFF
;
width
:
690rpx
;
border
:
2rpx
solid
#F3F3F3
;
margin-left
:
30rpx
;
padding-bottom
:
24prx
;
}
.addressTextAreaView
{
background-color
:
#FFFFFF
;
width
:
640rpx
;
height
:
40rpx
;
margin-top
:
24rpx
;
margin-left
:
24rpx
;
font-size
:
28rpx
;
line-height
:
40rpx
;
padding-bottom
:
20rpx
;
}
.right-margin-40
{
margin-right
:
40rpx
;
}
.blueColor
{
color
:
#007AFF
;
}
.area
{
max-width
:
400rpx
;
}
/* .back_view{
background-color: #FFFFFF;
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
left
:
0
;
left
:
0
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
}
.base-list
{
.base-item
{
background-color
:
#FFFFFF
;
border-radius
:
12rpx
;
padding
:
30rpx
;
height
:
160rpx
;
margin-bottom
:
20rpx
;
}
.line-view
{
background-color
:
#F4F5F7
;
height
:
2rpx
;
width
:
100%
;
margin-bottom
:
30rpx
;
}
.item
{
margin-top
:
6rpx
;
display
:
flex
;
width
:
100%
;
font-size
:
32rpx
;
background-color
:
#fff
;
align-items
:
center
;
.label
{
color
:
#333
;
font-size
:
32rpx
;
}
.txt
{
line-height
:
44rpx
;
color
:
#333
;
font-size
:
32rpx
;
display
:
-
webkit-box
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
word-wrap
:
break-word
;
white-space
:
normal
!
important
;
-webkit-line-clamp
:
2
;
-webkit-box-orient
:
vertical
;
}
.item-image
{
width
:
24rpx
;
height
:
24rpx
;
margin-right
:
10rpx
;
}
.required
{
margin
:
0
6rpx
;
color
:
red
;
font-size
:
32rpx
;
}
.iconfont
{
color
:
#999
;
}
}
.tips
{
margin-top
:
10rpx
;
font-size
:
24rpx
;
color
:
#666
;
padding-bottom
:
36rpx
;
}
.flex-center
{
display
:
flex
;
align-items
:
center
;
}
.id-identity-box
{
.txt
{
padding-top
:
8rpx
;
line-height
:
40rpx
;
font-size
:
28rpx
;
color
:
#666
;
&
:first-child
{
margin-top
:
-58rpx
;
padding-top
:
12rpx
;
}
.red
{
color
:
red
;
}
}
// &.tips{
// margin-bottom:0!important;
// }
}
/*选择内容*/
.item-select
{
font-size
:
30rpx
;
color
:
#333
;
font-weight
:
500
;
justify-content
:
space-between
;
}
.flex1
{
flex
:
1
!
important
;
&
.txt
{
white-space
:
nowrap
;
max-width
:
450rpx
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
}
.item-input
{
overflow
:
hidden
;
input
{
text-align
:
right
;
line-height
:
44rpx
;
width
:
100%
;
font-size
:
30rpx
;
color
:
#333
;
font-weight
:
400
;
}
.input-readonly
{
font-size
:
30rpx
;
color
:
#999
;
font-weight
:
400
;
}
input
:
:-
webkit-input-placeholder
{
font-size
:
30rpx
;
color
:
#999
;
font-weight
:
400
;
}
input
:
-
moz-placeholder
{
font-size
:
30rpx
;
color
:
#999
;
font-weight
:
400
;
}
input
:
-
ms-input-placeholder
{
font-size
:
30rpx
;
color
:
#999
;
font-weight
:
400
;
}
}
}
.right-label
{
font-size
:
24rpx
;
color
:
#2272FF
;
margin-left
:
4rpx
;
line-height
:
22rpx
;
.slected
{
font-size
:
28rpx
;
color
:
#333333
;
}
}
*/
}
.title
{
padding
:
30rpx
0
40rpx
;
text-align
:
center
;
line-height
:
50rpx
;
font-size
:
36rpx
;
color
:
#333
;
font-weight
:
bold
;
}
.seat
{
padding-bottom
:
144rpx
;
}
/*提交按钮*/
.btn-wrap
{
//position: fixed;
//left: 0;
//right: 0;
//bottom: 0;
padding
:
30rpx
0
;
background
:
#D1D4D4
;
width
:
100%
;
.btn-submit
{
width
:
600rpx
;
// left: 5%;
// bottom: px2rem(36);
height
:
104rpx
;
line-height
:
104rpx
;
border-radius
:
52rpx
;
background
:
#2272ff
;
font-size
:
32rpx
;
color
:
#fff
;
&
[
disabled
]
{
border
:
2rpx
solid
#999
;
background-color
:
#f3f3f3
;
color
:
#999
;
}
}
}
.itemView
{
background-color
:
#FFFFFF
;
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
justify-content
:
space-between
;
width
:
100%
;
}
.itemTitle
{
background-color
:
#FFFFFF
;
font-size
:
32rpx
;
font-weight
:
bold
;
color
:
#333333
;
}
.itemInput
{
background-color
:
#FFFFFF
;
width
:
65%
;
text-align
:
right
;
font-size
:
28rpx
;
}
.newAddressView
{
margin-top
:
60rpx
;
background-color
:
#FFFFFF
;
width
:
100%
;
display
:
flex
;
flex-direction
:
column
;
padding-bottom
:
30rpx
;
}
.newAddressTitleView
{
height
:
64rpx
;
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
justify-content
:
space-between
;
}
.itemRedStar
{
font-size
:
32rpx
;
color
:
#D02B2B
;
}
.addressBackView
{
background-color
:
#FFFFFF
;
border
:
2rpx
solid
#F3F3F3
;
margin-top
:
24prx
;
}
.addressTextAreaView
{
background-color
:
#FFFFFF
;
width
:
640rpx
;
height
:
112rpx
;
margin-top
:
24rpx
;
margin-left
:
24rpx
;
font-size
:
28rpx
;
line-height
:
40rpx
;
padding-bottom
:
20rpx
;
}
.right-margin-40
{
margin-right
:
40rpx
;
}
.blueColor
{
color
:
#007AFF
;
}
.area
{
max-width
:
400rpx
;
}
.address-view
{
border
:
2rpx
solid
#ECECEC
;
height
:
112rpx
;
margin-top
:
30rpx
;
}
</
style
>
</
style
>
src/pages/settle/index.vue
View file @
033ec3e0
<
template
>
<
template
>
<view
class=
"back_view"
>
<view
class=
"back_view"
>
<Settle
:index=
"1"
>
<Settle
:index=
"1"
>
<view
class=
"content-view"
>
<view
class=
"content-view"
>
<view
style=
"padding: 30rpx;"
>
<view
style=
"padding: 30rpx;"
>
<view
class=
"item"
>
<view
class=
"item"
>
<view
class=
"item-label"
>
<view
class=
"item-label"
>
<text>
招募要求
</text>
<text>
招募要求
</text>
</view>
<view
class=
"item-content"
>
<text>
1.必须具备相关的从业证书——电工证;
2.有汽车:皮卡、小面包、小轿车等;
3.需具备一定的作业工具:如液压压线钳、冲击钻、电锤、登高安全带、电锤、绝缘电阻仪(摇表)、交流充电模拟器等;
4.有充电桩安装经验优先;
</text>
</view>
</view>
</view>
<view
class=
"item-content"
>
<view
class=
"line-view"
></view>
<text>
<view
class=
"item"
>
1.必须具备相关的从业证书——电工证;
<view
class=
"item-label"
>
2.有汽车:皮卡、小面包、小轿车等;
<text>
结算价格
</text>
3.需具备一定的作业工具:如液压压线钳、冲击钻、电锤、登高安全带、电锤、绝缘电阻仪(摇表)、交流充电模拟器等;
</view>
4.有充电桩安装经验优先;
<view
class=
"item-content"
>
</text>
<text>
1.不同车企品牌结算价格不一,675元-1890元不等;
2.结算价格为包工包料价,安装材料根据车企品牌规格自行采购(电缆、空开、漏保);
3.结算账期:周结50%,剩余50%次月20号结算;
</text>
</view>
</view>
</view>
</view>
<view
class=
"line-view"
></view>
<view
class=
"line-view"
></view>
<view
class=
"item"
>
<view
class=
"item"
>
<view
class=
"item-label"
>
<view
class=
"item-label"
>
<text>
入驻资料
</text>
<text>
结算价格
</text>
</view>
<view
class=
"item-content"
>
<text>
1.身份证正反面照片
2.高/低压电工证正反面照片
3.车辆照片
</text>
</view>
</view>
</view>
<view
class=
"item-content"
>
<view
class=
"line-view"
></view>
<text>
<view
class=
"item"
>
1.不同车企品牌结算价格不一,675元-1890元不等;
<view
class=
"item-label"
>
2.结算价格为包工包料价,安装材料根据车企品牌规格自行采购(电缆、空开、漏保);
<text>
注意事项:
</text>
3.结算账期:周结50%,剩余50%次月20号结算;
</view>
</text>
<view
class=
"item-content"
>
<text>
1.身份证,银行卡,签约人共有同一人,否则无法入驻。
2.充电桩材料按要求自行准备。
</text>
</view>
</view>
</view>
</view>
</view>
<view
class=
"line-view"
></view>
</view>
<view
class=
"item"
>
<template
v-slot:bottom
>
<view
class=
"item-label"
>
<button
:class=
"['bottom_btn',
{'active': isStop}]" @click="$u.debounce(applyClick, 500)">
<text>
入驻资料
</text>
<text
class=
"bottom_title"
v-if=
"!isStop"
>
浏览
{{
count
}}
秒后可申请入驻
</text>
</view>
<text
class=
"bottom_title"
v-if=
"isStop"
>
申请入驻
</text>
<view
class=
"item-content"
>
</button>
<text>
1.身份证正反面照片
2.高/低压电工证正反面照片
3.车辆照片
</text>
</view>
</view>
<view
class=
"line-view"
></view>
<view
class=
"item"
>
<view
class=
"item-label"
>
<text>
注意事项:
</text>
</view>
<view
class=
"item-content"
>
<text>
1.身份证,银行卡,签约人共有同一人,否则无法入驻。
2.充电桩材料按要求自行准备。
</text>
</view>
</view>
</view>
</view>
<template
v-slot:bottom
>
<button
:class=
"['bottom_btn',
{'active': isStop}]" @click="$u.debounce(applyClick, 500)">
<text
class=
"bottom_title"
v-if=
"!isStop"
>
浏览
{{
count
}}
秒后可申请入驻
</text>
<text
class=
"bottom_title"
v-if=
"isStop"
>
申请入驻
</text>
</button>
</
template
>
</
template
>
</Settle>
</Settle>
</view>
</view>
...
@@ -184,42 +184,43 @@
...
@@ -184,42 +184,43 @@
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.back_view
{
.back_view
{
background-color
:
#F4F5F7
;
background-color
:
#F4F5F7
;
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
left
:
0
;
left
:
0
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
}
}
.content-view
{
.content-view
{
background-color
:
#FFFFFF
;
background-color
:
#FFFFFF
;
margin-bottom
:
188rpx
;
margin-bottom
:
188rpx
;
border-radius
:
12rpx
;
border-radius
:
12rpx
;
}
}
.line-view
{
.line-view
{
background-color
:
#F4F5F7
;
background-color
:
#F4F5F7
;
height
:
1rpx
;
height
:
2rpx
;
width
:
100%
;
width
:
100%
;
margin-bottom
:
30rpx
;
margin-bottom
:
30rpx
;
margin-top
:
30rpx
;
margin-top
:
30rpx
;
}
}
.item-label
{
.item-label
{
color
:
#333333
;
color
:
#333333
;
font-weight
:
bold
;
font-weight
:
bold
;
font-size
:
32rpx
;
font-size
:
32rpx
;
margin-top
:
6
rpx
;
margin-top
:
8
rpx
;
}
}
.item-content
{
.item-content
{
color
:
#333333
;
color
:
#333333
;
font-size
:
26rpx
;
font-size
:
26rpx
;
line-height
:
50rpx
;
line-height
:
50rpx
;
margin-top
:
30rpx
;
margin-top
:
30rpx
;
}
}
.bottom_btn
{
.bottom_btn
{
...
@@ -232,10 +233,12 @@
...
@@ -232,10 +233,12 @@
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
background-color
:
#D1D4D4
;
background-color
:
#D1D4D4
;
&
.active
{
&
.active
{
background-color
:
#2272FF
;
background-color
:
#2272FF
;
}
}
.bottom_title
{
.bottom_title
{
color
:
#fff
;
color
:
#fff
;
}
}
...
...
src/static/settle/dizhi@3x.png
0 → 100644
View file @
033ec3e0
2.76 KB
src/static/settle/mixing@3x.png
0 → 100644
View file @
033ec3e0
1.54 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment