Commit c353356a authored by 李俊赕's avatar 李俊赕

过程反馈静态页面-0.0.5

parent aa643772
......@@ -9,11 +9,14 @@
<view class="txt">选择日期</view>
<view class="txt active">2021.04.21</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}"
@click="dateChange(item,index,dateList)" v-for="(item,index) in dateList" :key="index">
<text class="day week">{{item.weekDay}}</text>
<text class="day">{{item.day}}</text>
<text class="day">{{item.weekDay}}</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>
......@@ -134,35 +137,46 @@
}
.date-list {
background-color: #F4F5F7;
.next{
width: 60rpx;
height: 120rpx;
line-height: 120rpx;
text-align: center;
border-left: 2rpx solid #fff;
}
.date-item {
padding: 14rpx;
padding: 20rpx 20rpx 16rpx;
border-radius: 12rpx;
background-color: #F4F5F7;
.day {
display: block;
font-size: 36rpx;
line-height: 36rpx;
color: #333;
&.week {
margin-bottom: 10rpx;
font-size: 24rpx;
line-height: 26rpx;
color: #999;
}
font-size: 24rpx;
line-height: 26rpx;
color: #999;
&.day1 {
width: 48rpx;
height: 48rpx;
margin-top: 10rpx;
border-radius: 50%;
font-size: 28rpx;
text-align: center;
line-height: 48rpx;
&.time {
padding: 6rpx 10rpx;
font-size: 26rpx;
}
}
&.active {
background-color: #2272FF;
// background-color: #2272FF;
.day {
color: #fff !important;
color: #2272FF;
&.day1 {
background-color: #2272FF;
color: #fff !important;
}
}
}
}
......@@ -182,7 +196,12 @@
&:nth-child(3n) {
margin-right: 0;
}
&.active{
background-color: #2272FF;
.time{
color:#fff;
}
}
.time {
font-size: 26rpx;
line-height: 26rpx;
......
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