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
14d2a9ad
Commit
14d2a9ad
authored
Apr 15, 2021
by
李俊赕
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.banshouhui.com/lijundan/self-support
parents
a943e878
d307bdb4
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
997 additions
and
1042 deletions
+997
-1042
index.js
src/common/api/index.js
+2
-1
learn.js
src/common/api/learn.js
+1
-1
index.vue
src/components/settle/index.vue
+17
-21
pages.json
src/pages.json
+2
-1
index.vue
src/pages/learn/index.vue
+218
-283
base.vue
src/pages/settle/base.vue
+671
-656
index.vue
src/pages/settle/index.vue
+75
-72
select.vue
src/pages/settle/select.vue
+11
-7
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/api/index.js
View file @
14d2a9ad
...
...
@@ -12,11 +12,12 @@ let apiFun = function(vm) {
let
commonApi
=
commonApiFun
(
vm
);
let
settledApi
=
settledApiFun
(
vm
)
let
cloudApi
=
cloudRulesApiFun
(
vm
)
let
learnApi
=
learnApiFun
(
vm
)
let
apiUrl
=
{
...
commonApi
,
...
settledApi
,
...
cloudApi
,
...
learnApi
Fun
...
learnApi
}
return
apiUrl
}
...
...
src/common/api/learn.js
View file @
14d2a9ad
...
...
@@ -3,7 +3,7 @@ const ucenterApiUrl = globalUrl.ucenterUrl.apiUrl
let
learnApiFun
=
function
(
vm
){
/* 查询用户基本信息 */
let
getTrainingNoticeList
=
async
(
params
=
{})
=>
await
vm
.
$u
.
get
(
ucenterApiUrl
+
'/v1/
settled/get-cert-
list'
,
params
);
let
getTrainingNoticeList
=
async
(
params
=
{})
=>
await
vm
.
$u
.
get
(
ucenterApiUrl
+
'/v1/
notice/
list'
,
params
);
const
learnApi
=
{
getTrainingNoticeList
,
...
...
src/components/settle/index.vue
View file @
14d2a9ad
...
...
@@ -4,11 +4,10 @@
back-icon-color="#ffffff" title-color="#ffffff">
</u-navbar>
<image
:src=
"url"
style=
"width: 100%;"
mode=
"widthFix"
></image>
<view
class=
"introduction"
>
<slot></slot>
<view
class=
"settle-bottom"
>
<slot
name=
"bottom"
></slot>
</view>
<slot></slot>
</view>
<view
class=
"settle-bottom"
>
<slot
name=
"bottom"
></slot>
</view>
</view>
</
template
>
...
...
@@ -19,7 +18,7 @@
index
:
{
type
:
Number
,
default
:
1
}
}
},
data
()
{
return
{}
...
...
@@ -32,23 +31,20 @@
}
</
script
>
<
style
lang=
"scss"
scoped
>
.settle-view
{
background-color
:
#F4F5F7
;
}
<
style
lang=
"scss"
scoped
>
.introduction
{
border-radius
:
12rpx
;
margin-left
:
30rpx
;
margin-right
:
30rpx
;
margin-top
:
-112rpx
;
background-color
:
#F4F5F7
;
overflow
:
auto
;
height
:
calc
(
100vh
-
312rpx
);
}
.settle-bottom
{
position
:
fixed
;
width
:
calc
(
100vw
-
60rpx
);
bottom
:
44rpx
;
position
:
fixed
;
top
:
320rpx
;
bottom
:
0rpx
;
left
:
30rpx
;
right
:
30rpx
;
}
.settle-bottom
{
position
:
fixed
;
bottom
:
44rpx
;
width
:
100%
;
}
</
style
>
src/pages.json
View file @
14d2a9ad
...
...
@@ -93,7 +93,8 @@
{
"path"
:
"pages/settle/select"
,
"style"
:
{
"navigationBarTitleText"
:
"选择可服务的城市"
"navigationBarTitleText"
:
"选择可服务的城市"
,
"navigationBarBackgroundColor"
:
"#FFFFFF"
}
},
...
...
src/pages/learn/index.vue
View file @
14d2a9ad
This diff is collapsed.
Click to expand it.
src/pages/settle/base.vue
View file @
14d2a9ad
This diff is collapsed.
Click to expand it.
src/pages/settle/index.vue
View file @
14d2a9ad
<
template
>
<view
class=
"back_view"
>
<Settle
:index=
"1"
>
<view
class=
"content-view"
>
<view
class=
"content-view"
>
<view
style=
"padding: 30rpx;"
>
<view
class=
"item"
>
<view
class=
"item-label"
>
<text>
招募要求
</text>
<view
class=
"item"
>
<view
class=
"item-label"
>
<text>
招募要求
</text>
</view>
<view
class=
"item-content"
>
<text>
1.必须具备相关的从业证书——电工证;
2.有汽车:皮卡、小面包、小轿车等;
3.需具备一定的作业工具:如液压压线钳、冲击钻、电锤、登高安全带、电锤、绝缘电阻仪(摇表)、交流充电模拟器等;
4.有充电桩安装经验优先;
</text>
</view>
</view>
<view
class=
"item-content"
>
<text>
1.必须具备相关的从业证书——电工证;
2.有汽车:皮卡、小面包、小轿车等;
3.需具备一定的作业工具:如液压压线钳、冲击钻、电锤、登高安全带、电锤、绝缘电阻仪(摇表)、交流充电模拟器等;
4.有充电桩安装经验优先;
</text>
<view
class=
"line-view"
></view>
<view
class=
"item"
>
<view
class=
"item-label"
>
<text>
结算价格
</text>
</view>
<view
class=
"item-content"
>
<text>
1.不同车企品牌结算价格不一,675元-1890元不等;
2.结算价格为包工包料价,安装材料根据车企品牌规格自行采购(电缆、空开、漏保);
3.结算账期:周结50%,剩余50%次月20号结算;
</text>
</view>
</view>
</view>
<view
class=
"line-view"
></view>
<view
class=
"item"
>
<view
class=
"item-label"
>
<text>
结算价格
</text>
<view
class=
"line-view"
></view>
<view
class=
"item"
>
<view
class=
"item-label"
>
<text>
入驻资料
</text>
</view>
<view
class=
"item-content"
>
<text>
1.身份证正反面照片
2.高/低压电工证正反面照片
3.车辆照片
</text>
</view>
</view>
<view
class=
"item-content"
>
<text>
1.不同车企品牌结算价格不一,675元-1890元不等;
2.结算价格为包工包料价,安装材料根据车企品牌规格自行采购(电缆、空开、漏保);
3.结算账期:周结50%,剩余50%次月20号结算;
</text>
<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
class=
"line-view"
></view>
<view
class=
"item"
>
<view
class=
"item-label"
>
<text>
入驻资料
</text>
</view>
<view
class=
"item-content"
>
<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>
</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
>
</Settle>
</view>
...
...
@@ -184,42 +184,43 @@
<
style
lang=
"scss"
scoped
>
.back_view
{
background-color
:
#F4F5F7
;
background-color
:
#F4F5F7
;
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
}
.content-view
{
background-color
:
#FFFFFF
;
margin-bottom
:
188rpx
;
background-color
:
#FFFFFF
;
margin-bottom
:
188rpx
;
border-radius
:
12rpx
;
}
.line-view
{
background-color
:
#F4F5F7
;
height
:
1rpx
;
width
:
100%
;
margin-bottom
:
30rpx
;
margin-top
:
30rpx
;
}
.line-view
{
background-color
:
#F4F5F7
;
height
:
2rpx
;
width
:
100%
;
margin-bottom
:
30rpx
;
margin-top
:
30rpx
;
}
.item-label
{
color
:
#333333
;
font-weight
:
bold
;
font-size
:
32rpx
;
margin-top
:
6
rpx
;
font-size
:
32rpx
;
margin-top
:
8
rpx
;
}
.item-content
{
color
:
#333333
;
font-size
:
26rpx
;
line-height
:
50rpx
;
margin-top
:
30rpx
;
line-height
:
50rpx
;
margin-top
:
30rpx
;
}
.bottom_btn
{
...
...
@@ -232,10 +233,12 @@
align-items
:
center
;
justify-content
:
center
;
background-color
:
#D1D4D4
;
&
.active
{
background-color
:
#2272FF
;
}
.bottom_title
{
color
:
#fff
;
}
...
...
src/pages/settle/select.vue
View file @
14d2a9ad
...
...
@@ -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':current
Province
Index===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
;
}
...
...
src/static/settle/dizhi@3x.png
0 → 100644
View file @
14d2a9ad
2.76 KB
src/static/settle/mixing@3x.png
0 → 100644
View file @
14d2a9ad
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