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
363bb646
Commit
363bb646
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
072a9fee
93c30daf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
135 additions
and
90 deletions
+135
-90
index.vue
src/components/settle/index.vue
+9
-0
index.vue
src/pages/settle/index.vue
+126
-90
No files found.
src/components/settle/index.vue
View file @
363bb646
...
@@ -5,6 +5,10 @@
...
@@ -5,6 +5,10 @@
<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"
>
<slot
name=
"bottom"
></slot>
</view>
</view>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -41,5 +45,10 @@
...
@@ -41,5 +45,10 @@
background-color
:
#F4F5F7
;
background-color
:
#F4F5F7
;
overflow
:
auto
;
overflow
:
auto
;
height
:
calc
(
100vh
-
368rpx
);
height
:
calc
(
100vh
-
368rpx
);
}
.settle-bottom
{
position
:
fixed
;
width
:
calc
(
100vw
-
60rpx
);
bottom
:
44rpx
;
}
}
</
style
>
</
style
>
src/pages/settle/index.vue
View file @
363bb646
<
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
class=
"item"
>
<view
class=
"item"
>
<view
class=
"item-label"
>
<view
class=
"item-label"
>
<text>
招募要求
</text>
<text>
招募要求
</text>
</view>
</view>
<view
class=
"item-content"
>
<view
class=
"item-content"
>
<text>
<text>
1.必须具备相关的从业证书——电工证;
1.必须具备相关的从业证书——电工证;
2.有汽车:皮卡、小面包、小轿车等;
2.有汽车:皮卡、小面包、小轿车等;
3.需具备一定的作业工具:如液压压线钳、冲击钻、电锤、登高安全带、电锤、绝缘电阻仪(摇表)、交流充电模拟器等;
3.需具备一定的作业工具:如液压压线钳、冲击钻、电锤、登高安全带、电锤、绝缘电阻仪(摇表)、交流充电模拟器等;
4.有充电桩安装经验优先;
4.有充电桩安装经验优先;
</text>
</text>
</view>
</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
class=
"item"
>
<view
class=
"item-label"
>
<text>
入驻资料
</text>
</view>
</view>
<view
class=
"item-content"
>
<view
class=
"item"
>
<text>
<view
class=
"item-label"
>
1.身份证正反面照片
<text>
结算价格
</text>
2.高/低压电工证正反面照片
</view>
3.车辆照片
<view
class=
"item-content"
>
</text>
<text>
1.不同车企品牌结算价格不一,675元-1890元不等;
2.结算价格为包工包料价,安装材料根据车企品牌规格自行采购(电缆、空开、漏保);
3.结算账期:周结50%,剩余50%次月20号结算;
</text>
</view>
</view>
</view>
</view>
<view
class=
"item"
>
<view
class=
"item"
>
<view
class=
"item-label"
>
<view
class=
"item-label"
>
<text>
入驻资料
</text>
<text>
注意事项:
</text>
</view>
</view>
<view
class=
"item-content"
>
<view
class=
"item-content"
>
<text>
<text>
1.身份证,银行卡,签约人共有同一人,否则无法入驻。
1.身份证正反面照片
2.充电桩材料按要求自行准备。
2.高/低压电工证正反面照片
</text>
3.车辆照片
</text>
</view>
</view>
</view>
</view>
<view
class=
"item"
>
<button
class=
"bottom_btn apply_color"
style=
"margin-bottom: 88rpx;"
@
click=
"handleClick"
>
<view
class=
"item-label"
>
<text
class=
"bottom_title"
>
申请入驻
</text>
<text>
注意事项:
</text>
</button>
</view>
</view>
<view
class=
"item-content"
>
<text>
1.身份证,银行卡,签约人共有同一人,否则无法入驻。
2.充电桩材料按要求自行准备。
</text>
</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
>
</Settle>
</Settle>
</view>
</view>
</template>
</template>
...
@@ -65,16 +68,24 @@
...
@@ -65,16 +68,24 @@
Settle
Settle
},
},
data
()
{
data
()
{
return
{
return
{
clicked
:
false
,
theme_url
:
'https://qn-static.banshouhui.com/settle_theme.png?v='
+
new
Date
().
getTime
(),
count
:
9
,
isStop
:
false
,
settledInfo
:
null
,
settledInfo
:
null
,
status
:
''
status
:
''
,
saving
:
true
}
}
},
},
onLoad
(
e
)
{
onLoad
(
e
)
{
this
.
clicked
=
false
this
.
initpageData
(
e
)
this
.
initpageData
(
e
)
this
.
startCounting
()
},
onShow
()
{
// if(!this.settledInfo){
// this.getBaseInfo()
// }
uni
.
hideLoading
()
},
},
methods
:
{
methods
:
{
initpageData
(
option
)
{
initpageData
(
option
)
{
...
@@ -118,21 +129,39 @@
...
@@ -118,21 +129,39 @@
this
.
settledInfo
=
settledInfo
this
.
settledInfo
=
settledInfo
this
.
status
=
settledInfo
.
record
.
status
this
.
status
=
settledInfo
.
record
.
status
},
},
handleClick
()
{
startCounting
:
function
()
{
if
(
this
.
clicked
)
return
this
.
clicked
=
true
if
(
this
.
isStop
)
{
this
.
applyClick
()
return
}
this
.
count
=
this
.
count
-
1
if
(
this
.
count
>
0
)
{
setTimeout
(
this
.
startCounting
,
1000
);
}
else
{
this
.
isStop
=
true
}
},
},
applyClick
:
async
function
()
{
applyClick
:
async
function
()
{
if
(
!
this
.
isStop
)
{
return
}
this
.
saving
=
true
if
(
!
this
.
settledInfo
)
{
if
(
!
this
.
settledInfo
)
{
await
this
.
getBaseInfo
()
await
this
.
getBaseInfo
()
this
.
jumpJudge
()
this
.
jumpJudge
()
this
.
saving
=
false
return
return
}
}
this
.
jumpJudge
()
this
.
jumpJudge
()
},
},
jumpJudge
()
{
jumpJudge
()
{
this
.
clicked
=
false
if
(
this
.
status
>
0
)
{
if
(
this
.
status
>
0
)
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/settle/prompt'
url
:
'/pages/settle/prompt'
...
@@ -140,9 +169,7 @@
...
@@ -140,9 +169,7 @@
return
return
}
}
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/settle/base'
,
url
:
'/pages/settle/base'
"animationType"
:
"fade-in"
,
"animationDuration"
:
300
})
})
}
}
...
@@ -159,28 +186,29 @@
...
@@ -159,28 +186,29 @@
width
:
100%
;
width
:
100%
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
}
.content
{
background-color
:
#FFFFFF
;
margin
:
30rpx
0
30rpx
30rpx
;
}
}
.item-label
{
color
:
#333333
;
.content-view
{
font-weight
:
bold
;
background-color
:
#FFFFFF
;
font-size
:
32rpx
;
}
margin-top
:
36rpx
;
margin-left
:
30rpx
;
.item-label
{
}
color
:
#333333
;
font-weight
:
bold
;
.item-content
{
font-size
:
32rpx
;
color
:
#333333
;
padding-top
:
36rpx
;
font-size
:
26rpx
;
margin-left
:
30rpx
;
margin-top
:
30rpx
;
}
margin-left
:
30rpx
;
line-height
:
50rpx
;
.item-content
{
}
color
:
#333333
;
.bottom_btn
{
font-size
:
26rpx
;
margin-top
:
30rpx
;
margin-top
:
30rpx
;
margin-left
:
30rpx
;
line-height
:
50rpx
;
}
.bottom_btn
{
width
:
600rpx
;
width
:
600rpx
;
height
:
104rpx
;
height
:
104rpx
;
line-height
:
96rpx
;
line-height
:
96rpx
;
...
@@ -189,27 +217,35 @@
...
@@ -189,27 +217,35 @@
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
background-color
:
#D1D4D4
;
&
.active
{
background-color
:
#2272FF
;
&
.apply_color
{
}
.bottom_title
{
// border: 4rpx solid #2272FF;
color
:
#fff
;
.bottom_title
{
color
:
#fff
;
}
}
}
}
}
.bottom_title
{
.bottom_title
{
font-weight
:
bold
;
font-weight
:
bold
;
font-size
:
32rpx
;
font-size
:
32rpx
;
color
:
#
2272
FF
;
color
:
#
FFFF
FF
;
}
}
.default_color
{
.default_color
{
background-color
:
#
fff
;
background-color
:
#
D1D4D4
;
}
}
.apply_color
{
.apply_color
{
background-color
:
#2272FF
;
background-color
:
#2272FF
;
}
}
.bottom_view
{
position
:
fixed
;
bottom
:
0
;
height
:
192rpx
;
display
:
flex
;
align-items
:
center
;
}
</
style
>
</
style
>
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