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
04e8acf2
Commit
04e8acf2
authored
Feb 05, 2021
by
和慭琛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入驻基本信息 页面搭建+交互 100%
parent
9411997e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
293 additions
and
12 deletions
+293
-12
pages.json
take-order/pages.json
+22
-4
age.vue
take-order/pages/settle/age.vue
+46
-0
base.vue
take-order/pages/settle/base.vue
+182
-8
city.vue
take-order/pages/settle/city.vue
+43
-0
No files found.
take-order/pages.json
View file @
04e8acf2
...
@@ -8,21 +8,39 @@
...
@@ -8,21 +8,39 @@
{
{
"path"
:
"pages/settle/
index
"
,
"path"
:
"pages/settle/
base
"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"
充电桩安装招募
"
"navigationBarTitleText"
:
"
入驻信息
"
}
}
},
},
{
{
"path"
:
"pages/settle/
bas
e"
,
"path"
:
"pages/settle/
ag
e"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"入驻信息"
"navigationBarTitleText"
:
"选择电工工龄"
}
},
{
"path"
:
"pages/settle/city"
,
"style"
:
{
"navigationBarTitleText"
:
"选择可服务的城市"
}
}
},
},
{
"path"
:
"pages/settle/index"
,
"style"
:
{
"navigationBarTitleText"
:
"充电桩安装招募"
}
},
{
{
"path"
:
"pages/index/index"
,
"path"
:
"pages/index/index"
,
"style"
:
{
"style"
:
{
...
...
take-order/pages/settle/age.vue
0 → 100644
View file @
04e8acf2
<
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
:
#F3F3F3
;
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
display
:
flex
;
flex-direction
:
column
;
}
</
style
>
take-order/pages/settle/base.vue
View file @
04e8acf2
<
template
>
<
template
>
<view
class=
"back_view"
>
<view
class=
"back_view"
>
入驻基本信息
<view
class=
"top_view"
>
<text
class=
"top_title"
>
入驻基本信息
</text>
</view>
<view
class=
"item_view"
>
<view
class=
"input_left_view"
>
<text
class=
"left_title"
>
姓名
</text>
<text
class=
"left_star"
>
*
</text>
</view>
<input
class=
"input_right_view"
type=
"text"
value=
""
placeholder=
"请输入您的真实姓名"
placeholder-style=
"color:#999999;font-size:28rpx;"
@
input=
"nameInput"
/>
</view>
<view
class=
"item_view margin_top_60"
>
<view
class=
"input_left_view"
>
<text
class=
"left_title"
>
电话号码
</text>
<text
class=
"left_star"
>
*
</text>
</view>
<input
class=
"input_right_view"
type=
"text"
value=
""
placeholder=
"请输入您的电话号码"
placeholder-style=
"color:#999999;font-size:28rpx;"
@
input=
"phoneInput"
/>
</view>
<view
class=
"item_view margin_top_60"
@
click=
"cityClick()"
>
<text
class=
"left_title"
>
接单城市
</text>
<image
class=
"arrow"
:src=
"icon_arrow"
mode=
""
></image>
</view>
<view
class=
"notice_view"
>
<text
class=
"notice_text"
>
(必选项)选择你可以服务的城市,可选多个
</text>
</view>
<view
class=
"item_view margin_top_60"
@
click=
"ageClick()"
>
<text
class=
"left_title"
>
电工工龄
</text>
<image
class=
"arrow"
:src=
"icon_arrow"
mode=
""
></image>
</view>
<view
class=
"notice_view"
>
<text
class=
"notice_text"
>
(必选项)选择你从事电工工作的工龄
</text>
</view>
<view
class=
"bottom_view"
>
<view
class=
"bottom_btn"
>
<text
class=
"bottom_title"
>
确定
</text>
</view>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -8,7 +55,9 @@
...
@@ -8,7 +55,9 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
protocolContent
:
''
name
:
''
,
phone
:
''
,
icon_arrow
:
'https://qn-static.banshouhui.com/arrow_right.png'
,
}
}
},
},
onLoad
(
e
)
{
onLoad
(
e
)
{
...
@@ -20,13 +69,34 @@
...
@@ -20,13 +69,34 @@
},
},
methods
:
{
methods
:
{
//拨打客服 点击
//姓名 监听
phoneCallClick
:
function
(
phone
)
{
nameInput
:
function
(
e
)
{
uni
.
makePhoneCall
({
this
.
name
=
e
.
detail
.
value
phoneNumber
:
phone
console
.
log
(
'输入姓名:'
+
this
.
name
)
});
},
//电话 监听
phoneInput
:
function
(
e
)
{
this
.
phone
=
e
.
detail
.
value
console
.
log
(
'输入电话:'
+
this
.
phone
)
},
//城市 点击
cityClick
:
function
()
{
uni
.
navigateTo
({
url
:
'/pages/settle/city'
})
},
},
//工龄 点击
ageClick
:
function
()
{
uni
.
navigateTo
({
url
:
'/pages/settle/age'
})
}
}
}
...
@@ -36,7 +106,7 @@
...
@@ -36,7 +106,7 @@
<
style
>
<
style
>
.back_view
{
.back_view
{
background-color
:
#F
FFFFF
;
background-color
:
#F
3F3F3
;
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
left
:
0
;
left
:
0
;
...
@@ -45,4 +115,108 @@
...
@@ -45,4 +115,108 @@
flex-direction
:
column
;
flex-direction
:
column
;
}
}
.top_view
{
background-color
:
#F3F3F3
;
width
:
100%
;
height
:
120
rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.top_title
{
font-size
:
36
rpx
;
font-weight
:
bold
;
}
.item_view
{
background-color
:
#FFFFFF
;
width
:
100%
;
height
:
100
rpx
;
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
justify-content
:
space-between
;
}
.input_left_view
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
}
.input_right_view
{
width
:
50%
;
height
:
80
rpx
;
margin-right
:
30
rpx
;
text-align
:
right
;
}
.left_title
{
margin-left
:
30
rpx
;
font-size
:
32
rpx
;
color
:
#333333
;
}
.left_star
{
margin-left
:
8
rpx
;
font-size
:
32
rpx
;
color
:
#D73400
;
}
.margin_top_60
{
margin-top
:
60
rpx
;
}
.arrow
{
margin-right
:
30
rpx
;
width
:
20
rpx
;
height
:
30
rpx
;
}
.notice_view
{
width
:
100%
;
display
:
flex
;
}
.notice_text
{
margin-top
:
20
rpx
;
margin-left
:
30
rpx
;
font-size
:
28
rpx
;
color
:
#666666
;
}
.bottom_view
{
width
:
100%
;
height
:
170
rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
position
:
fixed
;
bottom
:
0
;
}
.bottom_btn
{
width
:
600
rpx
;
height
:
100
rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
border
:
2
rpx
solid
#999999
;
}
.bottom_title
{
font-size
:
32
rpx
;
color
:
#999999
;
}
.default_color
{
background-color
:
#F3F3F3
;
}
.confirm_color
{
background-color
:
#2272FF
;
}
</
style
>
</
style
>
take-order/pages/settle/city.vue
0 → 100644
View file @
04e8acf2
<
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
>
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