Commit 9aa5618e by liang ce

时间选择

parent 07b525ed
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
.mwModalBox{ .mwModalBox{
background: #fff; background: #fff;
width: 100%; width: 100%;
height: 404rpx; height: 500rpx;
border-radius: 21px 21px 0px 0px; border-radius: 21px 21px 0px 0px;
} }
.mwModalHeader{ .mwModalHeader{
......
...@@ -50,14 +50,12 @@ ...@@ -50,14 +50,12 @@
font-size: 28rpx; font-size: 28rpx;
color: rgba(25,31,37,0.56); color: rgba(25,31,37,0.56);
} }
.timeView view { .timeView>view:nth-of-type(1) {
text-align: right; text-align: right;
margin-right: 32rpx; margin-right: 32rpx;
} }
.timeView picker-view{ .timeView picker-view{
width: 100%; width: 100%;
height: 200rpx;
display: flex;
} }
.itemList .isBeOverdue { .itemList .isBeOverdue {
color: red !important; color: red !important;
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
<view> <view>
<text>永不截止</text><switch checked="{{isNeverStop}}" onChange="switchChange"/> <text>永不截止</text><switch checked="{{isNeverStop}}" onChange="switchChange"/>
</view> </view>
<view>
<picker-view value="{{pickerValue}}" class="parent" onChange="onChange"> <picker-view value="{{pickerValue}}" class="parent" onChange="onChange">
<picker-view-column class="son"> <picker-view-column class="son">
<view a:for="{{timeYear}}">{{item}}</view> <view a:for="{{timeYear}}">{{item}}</view>
...@@ -24,6 +25,7 @@ ...@@ -24,6 +25,7 @@
<view a:for="{{timeDay}}">{{item}}</view> <view a:for="{{timeDay}}">{{item}}</view>
</picker-view-column> </picker-view-column>
</picker-view> </picker-view>
</view>
</view> </view>
<view class="sureBtn"> <view class="sureBtn">
<view onTap="save"> <view onTap="save">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment