ccjgmwz 4 năm trước cách đây
mục cha
commit
efd33c7b51
1 tập tin đã thay đổi với 28 bổ sung7 xóa
  1. 28 7
      unimall-app/pages/home/home.vue

+ 28 - 7
unimall-app/pages/home/home.vue

@@ -11,7 +11,13 @@
 				</view>		
 			</u-navbar>
 			<!-- #endif -->
-			<selectInput :list="selectList" :list-key="'name'" :show.sync="selectShow" @on-select="checkSelect" @close="closeSelect" />
+			
+			<!-- #ifdef APP-PLUS -->
+			<view class="slot-wrap">
+					<text class = 'tip_text cuIcon-back' @click='back' ></text>
+			</view>
+			<!-- #endif -->
+			<!-- <selectInput :list="selectList" :list-key="'name'" :show.sync="selectShow" @on-select="checkSelect" @close="closeSelect" /> -->
 			<searchInput :searchType="1"/>
 			<u-swipe-action style="margin-right: 1px;" :show="item.show" v-for="(item, index) in chatItem" :index="index" btn-width="160" :key="item.id" @click="click" @open="open" :options="options">
 				<chatItem @linkTo="linkTochat" :value="item" :index="index" :voiceIcon="true"></chatItem>
@@ -24,6 +30,11 @@
 					<text class = 'tip_text cuIcon-back' @click='back'></text>
 			</view>
 			</u-navbar>
+			<!-- #endif -->
+			<!-- #ifdef APP-PLUS -->
+			<view class="slot-wrap">
+					<text class = 'tip_text cuIcon-back' @click='back' ></text>
+			</view>
 			<!-- #endif -->
 				<searchInput :searchType="2"/>
 				<addressBook :list="firendItem" :scrollTop="scrollTop" :isShowMenu="true" @linkTo="linkToCard"></addressBook>	
@@ -36,6 +47,11 @@
 			</view>
 			</u-navbar>
 			<!-- #endif -->
+			<!-- #ifdef APP-PLUS -->
+			<view class="slot-wrap">
+					<text class = 'tip_text cuIcon-back' @click='back' ></text>
+			</view>
+			<!-- #endif -->
 			<u-cell-group>
 				<u-cell-item  title="粮友圈" :title-style="{marginLeft:'30rpx',fontWeight:'800'}" @tap="linkToMoment">
 					<u-icon slot="icon" name="moments" color="#409eff" size="40"></u-icon> 
@@ -70,6 +86,11 @@
 				</view>
 			</u-navbar>
 			<!-- #endif -->
+			<!-- #ifdef APP-PLUS -->
+			<view class="slot-wrap">
+					<text class = 'tip_text cuIcon-back' @click='back' ></text>
+			</view>
+			<!-- #endif -->
 			<view class="u-flex user-box u-p-l-30 u-p-r-20 u-p-b-30" @tap="linkToPerson">
 				<view class="u-m-r-10">
 					<u-avatar mode="square" :src="userData.user.avatar" size="140"></u-avatar>
@@ -280,9 +301,9 @@ export default {
 			if(this.userData.user==undefined){
 				return;
 			}
-			uni.showLoading({
-				title: '正在加载'
-			})
+			// uni.showLoading({
+			// 	title: '正在加载'
+			// })
 			this.$socket.queryChats('', this.userData.user.operId,(res) => {
 				if (res.success) {
 				  res.chats.sort((a, b) => { return b.lastOpenTime - a.lastOpenTime });
@@ -329,9 +350,9 @@ export default {
 		},
 		getFriends (freshFlag) {
 		 
-		 uni.showLoading({
-		 	title: '正在加载'
-		 })
+		 // uni.showLoading({
+		 // 	title: '正在加载'
+		 // })
 		  // #ifndef H5
 		  var list = [];
 		  selectFSQL(this.userData.user.operId).then(res=>{