Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
take_order
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
和慭琛
take_order
Commits
ad702724
Commit
ad702724
authored
Feb 05, 2021
by
和慭琛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
充电桩入驻 首页 页面搭建+交互 100%
parent
24da1956
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
176 additions
and
0 deletions
+176
-0
pages.json
take-order/pages.json
+16
-0
base.vue
take-order/pages/settle/base.vue
+48
-0
index.vue
take-order/pages/settle/index.vue
+112
-0
No files found.
take-order/pages.json
View file @
ad702724
...
...
@@ -8,6 +8,22 @@
{
"path"
:
"pages/settle/index"
,
"style"
:
{
"navigationBarTitleText"
:
"充电桩安装招募"
}
},
{
"path"
:
"pages/settle/base"
,
"style"
:
{
"navigationBarTitleText"
:
"入驻信息"
}
},
{
"path"
:
"pages/index/index"
,
"style"
:
{
"navigationBarTitleText"
:
"下单"
...
...
take-order/pages/settle/base.vue
0 → 100644
View file @
ad702724
<
template
>
<view
class=
"back_view"
>
入驻基本信息
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
protocolContent
:
''
}
},
onLoad
(
e
)
{
if
(
e
&&
e
.
activeService
&&
e
.
activeService
.
length
>
0
){
//console.log(e.activeService)
this
.
activeService
=
e
.
activeService
}
},
methods
:
{
//拨打客服 点击
phoneCallClick
:
function
(
phone
)
{
uni
.
makePhoneCall
({
phoneNumber
:
phone
});
},
}
}
</
script
>
<
style
>
.back_view
{
background-color
:
#FFFFFF
;
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
display
:
flex
;
flex-direction
:
column
;
}
</
style
>
take-order/pages/settle/index.vue
0 → 100644
View file @
ad702724
<
template
>
<view
class=
"back_view"
>
<image
class=
"theme_image"
:src=
"theme_url"
mode=
"aspectFill"
></image>
<view
class=
"bottom_view"
>
<view
:class=
"isStop ? 'bottom_btn apply_color' : 'bottom_btn default_color' "
@
click=
"applyClick()"
>
<text
class=
"bottom_title"
v-if=
"!isStop"
>
浏览
{{
count
}}
秒后可申请入驻
</text>
<text
class=
"bottom_title"
v-if=
"isStop"
>
申请入驻
</text>
</view>
</view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
theme_url
:
'https://qn-static.banshouhui.com/settle_theme.png'
,
count
:
8
,
isStop
:
false
,
}
},
onLoad
(
e
)
{
this
.
startCounting
()
},
methods
:
{
startCounting
:
function
()
{
if
(
this
.
isStop
){
return
}
this
.
count
=
this
.
count
-
1
if
(
this
.
count
>
0
){
setTimeout
(
this
.
startCounting
,
1000
);
}
else
{
this
.
isStop
=
true
}
},
applyClick
:
function
()
{
if
(
!
this
.
isStop
){
return
}
uni
.
navigateTo
({
url
:
'/pages/settle/base'
})
},
}
}
</
script
>
<
style
>
.back_view
{
background-color
:
#FFFFFF
;
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
display
:
flex
;
flex-direction
:
column
;
}
.theme_image
{
width
:
100%
;
height
:
3000
rpx
;
}
.bottom_view
{
background-color
:
#002CC0
;
width
:
100%
;
height
:
200
rpx
;
display
:
flex
;
align-content
:
center
;
justify-content
:
center
;
}
.bottom_btn
{
margin-top
:
30
rpx
;
width
:
600
rpx
;
height
:
100
rpx
;
border
:
4
rpx
solid
#FFFFFF
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.bottom_title
{
font-size
:
32
rpx
;
color
:
#FFFFFF
;
}
.default_color
{
background-color
:
#002CC0
;
}
.apply_color
{
background-color
:
#2272FF
;
}
</
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