|
@@ -8,11 +8,13 @@
|
|
|
<u-swiper height="320" border-radius="0" :list="list" @change="e => current = e.current" :autoplay="false"></u-swiper>
|
|
|
<view class="content">
|
|
|
<view class="notice" v-if="infoNums">
|
|
|
- <image src="/static/icon/msg_icon1.png" class="icon"></image>
|
|
|
- <view class="text">
|
|
|
- 您有{{infoNums}}条新的通知
|
|
|
+ <view class="notice__content">
|
|
|
+ <image src="/static/icon/msg_icon1.png" class="icon"></image>
|
|
|
+ <view class="text">
|
|
|
+ 您有{{infoNums}}条新的通知
|
|
|
+ </view>
|
|
|
+ <view class="btn" @click="jumpPage">立即查看</view>
|
|
|
</view>
|
|
|
- <view class="btn" @click="jumpPage">立即查看</view>
|
|
|
</view>
|
|
|
<view>
|
|
|
<!-- 日历-->
|
|
@@ -440,16 +442,22 @@ export default {
|
|
|
}
|
|
|
|
|
|
.content {
|
|
|
- padding:16rpx;
|
|
|
+ overflow: hidden;
|
|
|
+ padding:0 16rpx 16rpx;
|
|
|
background: rgba(234, 238, 241, 1);
|
|
|
|
|
|
.notice {
|
|
|
- padding:0 8rpx;
|
|
|
- height: 56rpx;
|
|
|
- background: linear-gradient(-90deg, rgba(255, 209, 0, 0.3), rgba(255, 255, 255, 0.3));
|
|
|
+ background:#fff;
|
|
|
border-radius: 16rpx;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
+ margin-top:16rpx;
|
|
|
+ overflow: hidden;
|
|
|
+ &__content {
|
|
|
+ padding:0 8rpx;
|
|
|
+ height: 56rpx;
|
|
|
+ background: linear-gradient(-90deg, rgba(255, 209, 0, 0.3), rgba(255, 255, 255, 0.3));
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
|
|
|
.icon {
|
|
|
width: 40rpx;
|
|
@@ -738,7 +746,7 @@ page {
|
|
|
background: #ffffff;
|
|
|
box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(47, 67, 121, 0.1);
|
|
|
border-radius: 22rpx;
|
|
|
- margin-top: 25rpx;
|
|
|
+ margin-top: 16rpx;
|
|
|
padding-bottom: 15rpx;
|
|
|
}
|
|
|
.calendar_card .card_box {
|