Forráskód Böngészése

暂无数据显示修改,细节修改

老狐\25396 4 éve
szülő
commit
338011c4b1
4 módosított fájl, 16 hozzáadás és 5 törlés
  1. 1 1
      pages/index/index.vue
  2. 1 1
      pages/me_evaluate.vue
  3. 1 1
      pages/opinion/opinion.vue
  4. 13 2
      pages/zixun/xiangqing.vue

+ 1 - 1
pages/index/index.vue

xqd
@@ -182,7 +182,7 @@
 				</view>
 			</view>
 			<view style="margin-top: 100rpx;">
-				<u-empty text="暂无通知" mode="list" v-if="docterMessageList.lenght!=0"></u-empty>
+				<u-empty text="暂无通知" mode="list" v-if="docterMessageList.lenght==0"></u-empty>
 			</view>
 			<view class="cu-tabbar-height"></view>
 		</view>

+ 1 - 1
pages/me_evaluate.vue

xqd
@@ -58,7 +58,7 @@
 				</view>
 			</view> -->
 		</view>
-		<u-empty text="暂无数据" :show="show" mode="order" margin-top="250"></u-empty>
+		<u-empty text="暂无数据" :show="show" mode="order" margin-top="250" v-if="tcTeam.length==0"></u-empty>
 		<u-no-network></u-no-network>
 		<view class="cu-tabbar-height"></view>
 		<view class="cu-tabbar-height"></view>

+ 1 - 1
pages/opinion/opinion.vue

xqd
@@ -46,7 +46,7 @@
 				<view style="padding: 8rpx 16rpx;border-radius: 20rpx;background-color:#eaeaea ;height: 50rpx;color: b1b1b1;" class="flex justify-center align-center">意见单</view>
 			</view>
 		</view>
-		<u-empty text="暂无数据" :show="list.length==0" mode="order" margin-top="250"></u-empty>
+		<u-empty text="暂无数据" :show="list.length==0" mode="order" margin-top="250" v-if="list.length==0"></u-empty>
 		<view style="width: 100%;height: 100rpx;"></view>
 	</view>
 </template>

+ 13 - 2
pages/zixun/xiangqing.vue

xqd xqd
@@ -396,9 +396,11 @@
 				that.zt = 2
 			},
 			//完成订单
-
 			wancheng(e) {
 				this.zt = 3
+				
+				
+				
 			},
 			//发起会话
 			huihu(e) {
@@ -463,8 +465,17 @@
 										that.getInfo(order_id)
 									}
 								})
+								this.zt=  4
+							}else{
+								uni.showToast({
+									title: "操作失败",
+									duration: 3000,
+									success() {
+										that.getInfo(order_id)
+									}
+								})
 							}
-							this.zt=  4
+							
 
 						} else {
 							uni.showToast({