完善会议详情界面
This commit is contained in:
@@ -10,9 +10,9 @@
|
||||
:class="currentDate === item.date ? 'active' : ''"
|
||||
@click="selectDate(item.date)"
|
||||
>
|
||||
<text class="week-day">{{ item.weekDay }}</text>
|
||||
<text class="date-text" v-if="!item.isToday">{{ item.date }}</text>
|
||||
<text class="today-text" v-else>今天</text>
|
||||
<text class="week-day">{{ item.weekDay }}</text>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
@@ -210,7 +210,7 @@ export default {
|
||||
const today = new Date();
|
||||
const weekDays = ['周日', '周一', '周二', '周三', '周四', '周五', '周六'];
|
||||
|
||||
for (let i = 0; i < 14; i++) {
|
||||
for (let i = 0; i < 7; i++) {
|
||||
const date = new Date();
|
||||
date.setDate(today.getDate() + i);
|
||||
|
||||
@@ -324,8 +324,7 @@ export default {
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 10rpx 20rpx;
|
||||
margin: 0 10rpx;
|
||||
margin: 0 9rpx;
|
||||
border-radius: 8rpx;
|
||||
|
||||
&.active {
|
||||
|
Reference in New Issue
Block a user