Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
schedule
Overview
Overview
Details
Activity
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
fengzhaoyu
schedule
Commits
26b07d2b
Commit
26b07d2b
authored
5 years ago
by
xiexiaoqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: meeting time picker
parent
fcffac8a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
11 deletions
+14
-11
meetingTimePicker.acss
components/meetingTimePicker/meetingTimePicker.acss
+12
-9
meetingTimePicker.js
components/meetingTimePicker/meetingTimePicker.js
+2
-2
No files found.
components/meetingTimePicker/meetingTimePicker.acss
View file @
26b07d2b
...
@@ -22,8 +22,7 @@ picker-view .column {
...
@@ -22,8 +22,7 @@ picker-view .column {
.tab {
.tab {
margin-top: 72rpx;
margin-top: 72rpx;
display: flex;
display: flex;
border-bottom: 2rpx solid rgba(25, 31, 37, 0.12);
padding-left: 24rpx;
border-top: 2rpx solid rgba(25, 31, 37, 0.12);
}
}
.tab>view {
.tab>view {
...
@@ -31,30 +30,34 @@ picker-view .column {
...
@@ -31,30 +30,34 @@ picker-view .column {
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
padding: 16rpx 34rpx;
padding: 16rpx 34rpx;
background: rgba(10,10,10,0.06);
border-radius: 8rpx;
margin-right:24rpx;
}
}
.tab>view>text {
.tab>view>text {
color: rgba(
27, 38, 61, 0.49
);
color: rgba(
10,10,10,0.4
);
font-size: 28rpx;
font-size: 28rpx;
}
}
.tab>view>text:nth-of-type(2) {
.tab>view>text:nth-of-type(2) {
color:
#1B263D
;
color:
rgba(10,10,10,0.56)
;
font-size: 34rpx;
font-size: 34rpx;
font-weight: bold;
font-weight: bold;
line-height: 48rpx;
line-height: 48rpx;
}
}
.tab .active {
.tab .active {
background: #3296FA;
background: #fff;
border: 2rpx solid rgb(10,10,10);
}
}
.tab .active>text {
.tab .active>text {
color: rgba(
255, 255, 255,
0.8);
color: rgba(
10,10,10,
0.8);
}
}
.tab>.active>text:nth-of-type(2) {
.tab>.active>text:nth-of-type(2) {
color:
#fff
;
color:
rgb(10, 10, 10)
;
}
}
.coustom-end {
.coustom-end {
...
@@ -64,7 +67,7 @@ picker-view .column {
...
@@ -64,7 +67,7 @@ picker-view .column {
}
}
.coustom-end>text {
.coustom-end>text {
color:
#3070F2
;
color:
rgb(10,10,10)
;
position: absolute;
position: absolute;
font-size: 24rpx;
font-size: 24rpx;
right: 32rpx;
right: 32rpx;
...
@@ -79,7 +82,7 @@ picker-view .column {
...
@@ -79,7 +82,7 @@ picker-view .column {
.picker-complete {
.picker-complete {
position: absolute;
position: absolute;
color:
#3070F2
;
color:
rgb(10,10,10)
;
font-size: 32rpx;
font-size: 32rpx;
right: 32rpx;
right: 32rpx;
top: 32rpx;
top: 32rpx;
...
...
This diff is collapsed.
Click to expand it.
components/meetingTimePicker/meetingTimePicker.js
View file @
26b07d2b
const
currentDate
=
new
Date
();
const
currentDate
=
new
Date
();
const
weekList
=
[
'周日'
,
'周一'
,
'周二'
,
'周三'
,
'周四'
,
'周五'
,
'周六'
];
const
weekList
=
[
'周日'
,
'周一'
,
'周二'
,
'周三'
,
'周四'
,
'周五'
,
'周六'
];
const
durationList
=
[{
value
:
30
,
label
:
'30分钟'
},
{
value
:
60
,
label
:
'1小时'
},
{
value
:
120
,
label
:
'2小时
'
}];
const
durationList
=
[{
value
:
60
,
label
:
'1小时'
},
{
value
:
120
,
label
:
'2小时'
},
{
value
:
30
,
label
:
'30分钟
'
}];
const
timeData
=
generateDate
(
365
);
const
timeData
=
generateDate
(
365
);
const
timeHour
=
generateTime
(
24
);
const
timeHour
=
generateTime
(
24
);
const
timeMin
=
generateTime
(
60
);
const
timeMin
=
generateTime
(
60
);
...
@@ -150,7 +150,7 @@ Component({
...
@@ -150,7 +150,7 @@ Component({
showTime
:
''
,
showTime
:
''
,
},
},
duration
:
{
duration
:
{
pickValue
:
[
0
],
pickValue
:
[
2
],
showTime
:
''
,
showTime
:
''
,
label
:
'30分钟'
,
label
:
'30分钟'
,
},
},
...
...
This diff is collapsed.
Click to expand it.
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