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
c353356a
Commit
c353356a
authored
Apr 22, 2021
by
李俊赕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
过程反馈静态页面-0.0.5
parent
aa643772
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
22 deletions
+41
-22
appoint-time.vue
src/components/appoint/appoint-time.vue
+41
-22
No files found.
src/components/appoint/appoint-time.vue
View file @
c353356a
...
@@ -9,11 +9,14 @@
...
@@ -9,11 +9,14 @@
<view
class=
"txt"
>
选择日期
</view>
<view
class=
"txt"
>
选择日期
</view>
<view
class=
"txt active"
>
2021.04.21
</view>
<view
class=
"txt active"
>
2021.04.21
</view>
</view>
</view>
<view
class=
"u-
p
-t-30 u-flex u-row-between date-list"
>
<view
class=
"u-
m
-t-30 u-flex u-row-between date-list"
>
<view
:class=
"
{'date-item':true,'active':index===currentDay}"
<view
:class=
"
{'date-item':true,'active':index===currentDay}"
@click="dateChange(item,index,dateList)" v-for="(item,index) in dateList" :key="index">
@click="dateChange(item,index,dateList)" v-for="(item,index) in dateList" :key="index">
<text
class=
"day week"
>
{{
item
.
weekDay
}}
</text>
<text
class=
"day"
>
{{
item
.
weekDay
}}
</text>
<text
class=
"day"
>
{{
item
.
day
}}
</text>
<text
class=
"day day1"
>
{{
item
.
day
}}
</text>
</view>
<view
class=
"next"
@
click=
"weekChange"
>
<u-icon
name=
"arrow-right"
color=
"#2979ff"
size=
"28"
></u-icon>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -134,39 +137,50 @@
...
@@ -134,39 +137,50 @@
}
}
.date-list
{
.date-list
{
background-color
:
#F4F5F7
;
.next
{
width
:
60rpx
;
height
:
120rpx
;
line-height
:
120rpx
;
text-align
:
center
;
border-left
:
2rpx
solid
#fff
;
}
.date-item
{
.date-item
{
padding
:
14
rpx
;
padding
:
20rpx
20rpx
16
rpx
;
border-radius
:
12rpx
;
border-radius
:
12rpx
;
background-color
:
#F4F5F7
;
.day
{
.day
{
display
:
block
;
display
:
block
;
font-size
:
36rpx
;
line-height
:
36rpx
;
color
:
#333
;
&
.week
{
margin-bottom
:
10rpx
;
font-size
:
24rpx
;
font-size
:
24rpx
;
line-height
:
26rpx
;
line-height
:
26rpx
;
color
:
#999
;
color
:
#999
;
}
&
.time
{
&
.day1
{
padding
:
6rpx
10rpx
;
width
:
48rpx
;
font-size
:
26rpx
;
height
:
48rpx
;
margin-top
:
10rpx
;
border-radius
:
50%
;
font-size
:
28rpx
;
text-align
:
center
;
line-height
:
48rpx
;
}
}
}
}
&
.active
{
&
.active
{
background-color
:
#2272FF
;
//
background-color: #2272FF;
.day
{
.day
{
color
:
#2272FF
;
&
.day1
{
background-color
:
#2272FF
;
color
:
#fff
!
important
;
color
:
#fff
!
important
;
}
}
}
}
}
}
}
}
}
.time-list
{
.time-list
{
margin-bottom
:
-30rpx
;
margin-bottom
:
-30rpx
;
...
@@ -182,7 +196,12 @@
...
@@ -182,7 +196,12 @@
&
:nth-child
(
3n
)
{
&
:nth-child
(
3n
)
{
margin-right
:
0
;
margin-right
:
0
;
}
}
&
.active
{
background-color
:
#2272FF
;
.time
{
color
:
#fff
;
}
}
.time
{
.time
{
font-size
:
26rpx
;
font-size
:
26rpx
;
line-height
:
26rpx
;
line-height
:
26rpx
;
...
...
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