正在显示
3 个修改的文件
包含
4 行增加
和
3 行删除
@@ -121,7 +121,7 @@ | @@ -121,7 +121,7 @@ | ||
121 | .changeMsg .changeMsgBottom{display: flex;justify-content: flex-end;align-items: center;color: #894746;font-size: 28rpx;} | 121 | .changeMsg .changeMsgBottom{display: flex;justify-content: flex-end;align-items: center;color: #894746;font-size: 28rpx;} |
122 | .changeMsgBottom.msgBottomDis{color: #C8C9CC;} | 122 | .changeMsgBottom.msgBottomDis{color: #C8C9CC;} |
123 | .changeMsgBottom image{width: 28rpx;height: 28rpx;margin-right: 10rpx;} | 123 | .changeMsgBottom image{width: 28rpx;height: 28rpx;margin-right: 10rpx;} |
124 | - .writeMsg{height: 82rpx;background: #F2F3F5;border-radius: 18rpx;margin-top: 20rpx;padding: 10rpx;} | 124 | + .writeMsg{height: 150rpx;background: #F2F3F5;border-radius: 18rpx;margin-top: 20rpx;padding: 10rpx;} |
125 | .writeMsg textarea{color: #C8C9CC;font-size: 28rpx;width: 100%;height: 100%;} | 125 | .writeMsg textarea{color: #C8C9CC;font-size: 28rpx;width: 100%;height: 100%;} |
126 | .sendMsgBtn{height: 80rpx;background: #894746;text-align: center;line-height: 80rpx;color: #fff;font-size: 28rpx;border-radius: 18rpx;margin-top: 30rpx;} | 126 | .sendMsgBtn{height: 80rpx;background: #894746;text-align: center;line-height: 80rpx;color: #fff;font-size: 28rpx;border-radius: 18rpx;margin-top: 30rpx;} |
127 | </style> | 127 | </style> |
@@ -70,6 +70,7 @@ Vue.prototype.$request=function(url,data='',loadType = 1){ | @@ -70,6 +70,7 @@ Vue.prototype.$request=function(url,data='',loadType = 1){ | ||
70 | if(res.data.code == 90001){ | 70 | if(res.data.code == 90001){ |
71 | reslove(res.data) | 71 | reslove(res.data) |
72 | uni.clearStorageSync() | 72 | uni.clearStorageSync() |
73 | + window.location.href | ||
73 | } | 74 | } |
74 | if(res.data.code == 4){ | 75 | if(res.data.code == 4){ |
75 | reslove({"code":0,"msg":"没有相关数据"}) | 76 | reslove({"code":0,"msg":"没有相关数据"}) |
@@ -67,7 +67,7 @@ | @@ -67,7 +67,7 @@ | ||
67 | </index-obituary-title> | 67 | </index-obituary-title> |
68 | <!-- 为亲属献礼区域 --> | 68 | <!-- 为亲属献礼区域 --> |
69 | <index-obituary-title :title="4" :temp="temp"> | 69 | <index-obituary-title :title="4" :temp="temp"> |
70 | - <swiper class="giftList" :indicator-dots="false" vertical="true" circular="true" :autoplay="true" :interval="3000" :duration="1000"> | 70 | + <swiper class="giftList" v-if="obi.GiftArray.length > 0" :indicator-dots="false" vertical="true" circular="true" :autoplay="true" :interval="3000" :duration="1000"> |
71 | <swiper-item class="itemList" v-for="(item,index) in obi.GiftArray" :key="index"> | 71 | <swiper-item class="itemList" v-for="(item,index) in obi.GiftArray" :key="index"> |
72 | <view class="giftItem" v-for="(subItem,subIndex) in item" :key="subIndex"> | 72 | <view class="giftItem" v-for="(subItem,subIndex) in item" :key="subIndex"> |
73 | <image :src="subItem.Image" mode="aspectFill"></image> | 73 | <image :src="subItem.Image" mode="aspectFill"></image> |
@@ -94,7 +94,7 @@ | @@ -94,7 +94,7 @@ | ||
94 | </index-obituary-title> | 94 | </index-obituary-title> |
95 | <!-- 最后的祝福 --> | 95 | <!-- 最后的祝福 --> |
96 | <index-obituary-title :title="5" :temp="temp"> | 96 | <index-obituary-title :title="5" :temp="temp"> |
97 | - <swiper class="msgList" :indicator-dots="false" :autoplay="true" :vertical="true" :circular="true" :interval="3000" :duration="1000"> | 97 | + <swiper class="msgList" v-if="obi.MessageArray.length > 0" :indicator-dots="false" :autoplay="true" :vertical="true" :circular="true" :interval="3000" :duration="1000"> |
98 | <swiper-item class="msgItem" v-for="(item,index) in obi.MessageArray" :key="index"> | 98 | <swiper-item class="msgItem" v-for="(item,index) in obi.MessageArray" :key="index"> |
99 | <!-- <view class="msgItem"> --> | 99 | <!-- <view class="msgItem"> --> |
100 | <view class="msgImg"> | 100 | <view class="msgImg"> |
-
请 注册 或 登录 后发表评论