Commit c1c4afc1 by chenwq

样式

1 parent 3a6b5de2
...@@ -39,8 +39,8 @@ ...@@ -39,8 +39,8 @@
</swiper> --> </swiper> -->
<view class="flex-around flex-wrap calendar-main" style="height:{{swiperHeight}}rpx"> <view class="flex-around flex-wrap calendar-main" style="height:{{swiperHeight}}rpx">
<view wx:for="{{dateList1}}" wx:key="dateList" class="day"> <view wx:for="{{dateList1}}" wx:key="dateList" class="day">
<view class="bg {{item.full == today?'now':''}} {{item.full == currentSelect ? 'select' : ''}} {{(item.year == selectDay.year && item.month == selectDay.month) ? (item.day === selectDay.day && oldCurrent === listIndex ?'select':''): 'other-month'}}" catchtap="dayOnSelect" data-full="{{item.full}}" data-day="{{item.day}}" data-year="{{item.year}}" data-month="{{item.month}}"> <view class="bg {{item.full == today?'now':''}}" catchtap="dayOnSelect" data-full="{{item.full}}" data-day="{{item.day}}" data-year="{{item.year}}" data-month="{{item.month}}">
{{item.day}} <view class="{{(item.year == selectDay.year && item.month == selectDay.month) ? (item.day === selectDay.day && oldCurrent === listIndex ?'select':''): 'other-month'}} {{item.full == currentSelect ? 'select' : ''}}">{{item.day}}</view>
<view wx:if="{{item.full == currentSelect}}" class="cur-txt">约{{item.inviteNum}}余{{item.remainNum}}</view> <view wx:if="{{item.full == currentSelect}}" class="cur-txt">约{{item.inviteNum}}余{{item.remainNum}}</view>
<view wx:if="{{item.full != currentSelect && item.inviteNum > 0}}" class="invite-point">{{item.inviteNum}}</view> <view wx:if="{{item.full != currentSelect && item.inviteNum > 0}}" class="invite-point">{{item.inviteNum}}</view>
</view> </view>
......
...@@ -166,9 +166,8 @@ ...@@ -166,9 +166,8 @@
} }
.calendar .calendar-main .day .now { .calendar .calendar-main .day .now {
width: 66rpx; /* width: 66rpx; */
border-radius: 50%; border-radius: 50%;
text-align: center;
color: #167FFF; color: #167FFF;
margin: 0 auto; margin: 0 auto;
} }
...@@ -182,8 +181,9 @@ ...@@ -182,8 +181,9 @@
margin: 0 auto; margin: 0 auto;
} }
.calendar .calendar-main .day .select .cur-txt { .calendar .calendar-main .day .cur-txt {
display: flex; display: flex;
justify-content: center;
height: 28rpx; height: 28rpx;
align-items: center; align-items: center;
font-size: 20rpx; font-size: 20rpx;
......
...@@ -72,10 +72,10 @@ Page({ ...@@ -72,10 +72,10 @@ Page({
wx.hideLoading() wx.hideLoading()
let { code, data, message } = res let { code, data, message } = res
if (code == '0') { if (code == '0') {
wx.$util.showLoading("预约成功") wx.$util.showToast("预约成功")
this.refresh() this.refresh()
} else { } else {
wx.$util.showLoading(message) wx.$util.showToast(message)
} }
}) })
}, },
......
...@@ -24,11 +24,11 @@ ...@@ -24,11 +24,11 @@
height: 60rpx; height: 60rpx;
} }
.list .list-item { /* .list .list-item {
margin: 0 20rpx 20rpx; margin: 0 20rpx 20rpx;
box-shadow: 0 4rpx 20rpx 0 rgba(0, 0, 0, 0.10); box-shadow: 0 4rpx 20rpx 0 rgba(0, 0, 0, 0.10);
border-radius: 16rpx; border-radius: 16rpx;
} } */
.list .item .status { .list .item .status {
background: none; background: none;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!