Browse Source

bug 修复

lilei 4 năm trước cách đây
mục cha
commit
56b7959f9a
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      pages/toDoList/toDoList.vue

+ 3 - 1
pages/toDoList/toDoList.vue

@@ -66,7 +66,7 @@
 									 </view>
 								 </view>
 							 </view>
-							 <u-empty :text="noDataText" img-width="120" v-if="list.length==0 && status!='loading'" mode="list"></u-empty>
+							 <u-empty style="padding-top: 30vh;height: auto;" :text="noDataText" img-width="120" v-if="list.length==0 && status!='loading'" mode="list"></u-empty>
 							 <view v-if="index==current" style="padding: 20upx;">
 								 <u-loadmore v-if="total>pageSize || status=='loading'" :status="status" />
 							 </view>
@@ -146,6 +146,7 @@
 		},
 		onLoad() {
 			if(this.$hasPermissions("B_todoList_new_mobile")){
+				// #ifdef APP-PLUS
 				// 设置标题栏按钮
 				let currentWebview = this.$scope.$getAppWebview();
 				currentWebview.setTitleNViewButtonStyle(0, {
@@ -155,6 +156,7 @@
 					width: '80px',
 					fontSrc: '/static/iconfont/iconfont.ttf'
 				});
+				// #endif
 			}
 			uni.$on('refreshBL',this.refresh)
 			this.pageInit()