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
f4c4b441
Commit
f4c4b441
authored
Apr 15, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入驻基本信息第一部分高保真
parent
18d0e480
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
111 additions
and
64 deletions
+111
-64
base.vue
src/pages/settle/base.vue
+111
-64
No files found.
src/pages/settle/base.vue
View file @
f4c4b441
...
@@ -8,10 +8,15 @@
...
@@ -8,10 +8,15 @@
<image
class=
"item-image"
src=
"../../static/settle/mixing@3x.png"
></image>
<image
class=
"item-image"
src=
"../../static/settle/mixing@3x.png"
></image>
<text
class=
"label"
>
接单城市
</text>
<text
class=
"label"
>
接单城市
</text>
</view>
</view>
<p
class=
"u-flex-1 u-text-right txt"
>
{{
areaTxts
.
slice
(
0
,
2
).
join
(
','
)
||
""
}}
</p>
<p
:class=
"['u-flex-1 u-text-right txt',
{before: !cityText}]">
{{
cityText
?
'已选择'
:
'去选择'
}}
<u-icon
name=
"arrow-right"
color=
"#999"
size=
"28"
></u-icon>
</p>
<u-icon
name=
"arrow-right"
color=
"#2272FF"
size=
"28"
></u-icon>
</view>
</view>
<view
class=
"tips"
>
可以服务的城市,可选多个
</view>
<view
class=
"tips"
>
可以服务的城市,可选多个
</view>
<view
v-if=
""
>
<view
class=
"line-view-d"
></view>
<view
class=
"city-text"
>
{{
cityText
}}
</view>
</view>
</view>
</view>
<view
class=
"base-item"
style=
"height: 600rpx;"
>
<view
class=
"base-item"
style=
"height: 600rpx;"
>
<view
class=
"item item-select"
@
click=
"gopage('/pages/settle/select?selectType=working_age')"
>
<view
class=
"item item-select"
@
click=
"gopage('/pages/settle/select?selectType=working_age')"
>
...
@@ -19,34 +24,38 @@
...
@@ -19,34 +24,38 @@
<image
class=
"item-image"
src=
"../../static/settle/mixing@3x.png"
></image>
<image
class=
"item-image"
src=
"../../static/settle/mixing@3x.png"
></image>
<text
class=
"label"
>
电工工龄(年)
</text>
<text
class=
"label"
>
电工工龄(年)
</text>
</view>
</view>
<p
class=
"u-flex-1 u-text-right area"
v-show=
"baseInfo.working_age !== ''
"
>
<p
:class=
"['u-flex-1 u-text-right area',
{before: !baseInfo.working_age}]
">
{{
workingAgeTxt
}}
{{
baseInfo
.
working_age
?
workingAgeTxt
:
'去选择'
}}
</p>
</p>
<u-icon
name=
"arrow-right"
color=
"#
999
"
size=
"28"
></u-icon>
<u-icon
name=
"arrow-right"
color=
"#
2272FF
"
size=
"28"
></u-icon>
</view>
</view>
<view
class=
"tips"
>
从事电工工作的工龄
</view>
<view
class=
"tips"
>
从事电工工作的工龄
</view>
<view
class=
"line-view"
></view>
<view
class=
"line-view"
></view>
<view
class=
"item itemView"
>
<view
class=
"item itemView"
>
<view>
<view>
<text
class=
"itemTitle"
>
师傅数量
</text>
<text
class=
"itemTitle"
>
师傅数量
</text>
</view>
</view>
<input
class=
"itemInput"
@
input=
"countInput"
v-model=
"name"
type=
"number"
value=
""
<input
class=
"itemInput"
@
input=
"countInput"
v-model=
"name"
type=
"number"
value=
""
placeholder=
"请输入
师傅数量"
placeholder-style=
'color:#CCCCCC;font-size:32
rpx;'
/>
placeholder=
"请输入
"
placeholder-style=
'color:#2272FF;font-size:24
rpx;'
/>
</view>
</view>
<view
class=
"tips"
>
可投入交付服务的人员数量
</view>
<view
class=
"tips"
>
可投入交付服务的人员数量
</view>
<view
class=
"line-view"
></view>
<view
class=
"line-view"
></view>
<view>
<view>
<view
class=
"item item-select"
@
click=
"locationClick()"
>
<view
class=
"item item-select"
@
click=
"locationClick()"
>
<view
class=
"flex-center"
>
<view
class=
"flex-center"
>
<image
class=
"item-image"
src=
"../../static/settle/mixing@3x.png"
></image>
<image
class=
"item-image"
src=
"../../static/settle/mixing@3x.png"
></image>
<text
class=
"itemTitle"
>
详细地址
</text>
<text
class=
"itemTitle"
>
详细地址
</text>
</view>
</view>
<view
class=
"flex-center"
>
<view
class=
"flex-center"
>
<image
class=
"item-image"
src=
"../../static/settle/dizhi@3x.png"
></image>
<image
class=
"item-image"
src=
"../../static/settle/dizhi@3x.png"
></image>
<text
class=
"right-label blueColor"
>
自动定位
</text>
<text
class=
"right-label blueColor"
>
自动定位
</text>
</view>
</view>
</view>
</view>
<textarea
class=
"address-view"
maxlength=
"100"
placeholder-style=
"color:#999999"
v-model=
"baseInfo.address"
placeholder=
"请填写可接收物料的详细地址"
/>
<view
class=
"address-view"
>
<textarea
class=
"address-textarea"
:cursor-spacing=
"40"
maxlength=
"100"
placeholder-style=
"color:#999999"
v-model=
"baseInfo.address"
placeholder=
"请填写可接收物料的详细地址"
/>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -105,9 +114,12 @@
...
@@ -105,9 +114,12 @@
submitStatus
()
{
submitStatus
()
{
const
baseInfo
=
this
.
baseInfo
const
baseInfo
=
this
.
baseInfo
//baseInfo.name && baseInfo.mobile &&
//baseInfo.name && baseInfo.mobile &&
const
flag
=
baseInfo
.
service_area
&&
baseInfo
.
working_age
!==
''
const
flag
=
baseInfo
.
service_area
&&
baseInfo
.
working_age
!==
''
&&
baseInfo
.
address
return
flag
&&
!
this
.
saving
;
return
flag
&&
!
this
.
saving
},
},
cityText
()
{
return
this
.
areaTxts
.
join
(
'、'
)
}
},
},
components
:
{
components
:
{
...
@@ -332,31 +344,46 @@
...
@@ -332,31 +344,46 @@
}
}
</
script
>
</
script
>
<
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%
;
height
:
100%
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
}
}
.base-list
{
.base-list
{
.base-item
{
.base-item
{
background-color
:
#FFFFFF
;
background-color
:
#FFFFFF
;
border-radius
:
12rpx
;
border-radius
:
12rpx
;
padding
:
30rpx
;
padding
:
30rpx
;
height
:
160rpx
;
min-
height
:
160rpx
;
margin-bottom
:
20rpx
;
margin-bottom
:
20rpx
;
}
}
.line-view
{
.line-view
{
background-color
:
#F4F5F7
;
background-color
:
#F4F5F7
;
height
:
2rpx
;
height
:
2rpx
;
width
:
100%
;
width
:
100%
;
margin-bottom
:
30rpx
;
margin-bottom
:
30rpx
;
margin-top
:
36rpx
;
}
.line-view-d
{
background-color
:
#F4F5F7
;
height
:
2rpx
;
width
:
100%
;
margin-bottom
:
20rpx
;
margin-top
:
20rpx
;
}
.city-text
{
font-size
:
28rpx
;
color
:
#333333
;
}
}
.item
{
.item
{
...
@@ -374,8 +401,8 @@
...
@@ -374,8 +401,8 @@
.txt
{
.txt
{
line-height
:
44rpx
;
line-height
:
44rpx
;
color
:
#
333
;
color
:
#
999999
;
font-size
:
32
rpx
;
font-size
:
24
rpx
;
display
:
-
webkit-box
;
display
:
-
webkit-box
;
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
...
@@ -383,6 +410,10 @@
...
@@ -383,6 +410,10 @@
white-space
:
normal
!
important
;
white-space
:
normal
!
important
;
-webkit-line-clamp
:
2
;
-webkit-line-clamp
:
2
;
-webkit-box-orient
:
vertical
;
-webkit-box-orient
:
vertical
;
&
.before
{
color
:
#2272FF
;
}
}
}
.item-image
{
.item-image
{
...
@@ -390,6 +421,13 @@
...
@@ -390,6 +421,13 @@
height
:
24rpx
;
height
:
24rpx
;
margin-right
:
10rpx
;
margin-right
:
10rpx
;
}
}
.item-image
{
width
:
26rpx
;
height
:
30rpx
;
margin-right
:
6rpx
;
}
.required
{
.required
{
margin
:
0
6rpx
;
margin
:
0
6rpx
;
color
:
red
;
color
:
red
;
...
@@ -404,13 +442,14 @@
...
@@ -404,13 +442,14 @@
.tips
{
.tips
{
margin-top
:
10rpx
;
margin-top
:
10rpx
;
font-size
:
24rpx
;
font-size
:
24rpx
;
color
:
#666
;
color
:
#666
;
padding-bottom
:
36rpx
;
}
}
.flex-center
{
display
:
flex
;
.flex-center
{
align-items
:
center
;
display
:
flex
;
}
align-items
:
center
;
}
.id-identity-box
{
.id-identity-box
{
.txt
{
.txt
{
padding-top
:
8rpx
;
padding-top
:
8rpx
;
...
@@ -490,16 +529,19 @@
...
@@ -490,16 +529,19 @@
}
}
}
}
}
}
.right-label
{
font-size
:
24rpx
;
.right-label
{
color
:
#2272FF
;
font-size
:
24rpx
;
margin-left
:
4rpx
;
color
:
#2272FF
;
line-height
:
22rpx
;
margin-left
:
4rpx
;
.slected
{
line-height
:
22rpx
;
font-size
:
28rpx
;
color
:
#333333
;
.slected
{
}
font-size
:
28rpx
;
}
color
:
#333333
;
}
}
.title
{
.title
{
padding
:
30rpx
0
40rpx
;
padding
:
30rpx
0
40rpx
;
text-align
:
center
;
text-align
:
center
;
...
@@ -510,35 +552,25 @@
...
@@ -510,35 +552,25 @@
}
}
.seat
{
.seat
{
padding-bottom
:
1
44
rpx
;
padding-bottom
:
1
68
rpx
;
}
}
/*提交按钮*/
/*提交按钮*/
.btn-wrap
{
.btn-wrap
{
//position: fixed;
//left: 0;
//right: 0;
//bottom: 0;
padding
:
30rpx
0
;
background
:
#D1D4D4
;
width
:
100%
;
width
:
100%
;
.btn-submit
{
.btn-submit
{
width
:
600rpx
;
width
:
600rpx
;
// left: 5%;
// bottom: px2rem(36);
height
:
104rpx
;
height
:
104rpx
;
line-height
:
104rpx
;
line-height
:
104rpx
;
border-radius
:
52rpx
;
border-radius
:
52rpx
;
background
:
#2272
ff
;
background
:
#2272
FF
;
font-size
:
32rpx
;
font-size
:
32rpx
;
color
:
#fff
;
color
:
#fff
;
&
[
disabled
]
{
&
[
disabled
]
{
border
:
2rpx
solid
#999
;
background-color
:
#D1D4D4
;
background-color
:
#f3f3f3
;
color
:
#FFFFFF
;
color
:
#999
;
}
}
}
}
}
}
...
@@ -558,11 +590,13 @@
...
@@ -558,11 +590,13 @@
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#333333
;
color
:
#333333
;
}
}
.itemInput
{
.itemInput
{
background-color
:
#FFFFFF
;
background-color
:
#FFFFFF
;
width
:
65%
;
width
:
65%
;
text-align
:
right
;
text-align
:
right
;
font-size
:
28rpx
;
font-size
:
28rpx
;
color
:
#333333
;
}
}
...
@@ -616,10 +650,23 @@
...
@@ -616,10 +650,23 @@
.area
{
.area
{
max-width
:
400rpx
;
max-width
:
400rpx
;
color
:
#333333
;
font-size
:
28rpx
;
&
.before
{
color
:
#2272FF
;
font-size
:
24rpx
;
}
}
.address-view
{
border
:
2rpx
solid
#ECECEC
;
height
:
112rpx
;
margin-top
:
30rpx
;
padding
:
16rpx
30rpx
;
}
.address-textarea
{
font-size
:
26rpx
;
}
}
.address-view
{
border
:
2rpx
solid
#ECECEC
;
height
:
112rpx
;
margin-top
:
30rpx
;
}
</
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