Jelajahi Sumber

Merge branch 'clientDemo' of http://gogs.chelvc.com/Tim_Walker/chelvc-custom into clientDemo

zxl 11 bulan lalu
induk
melakukan
737d3e39f5

+ 1 - 1
src/PageMine/myTeam.vue

@@ -11,7 +11,7 @@
         <view class="top-r">></view>
       </view>
       <view class="item-content">
-        <view class="person-item" v-for="item of teamPersonList">
+        <view class="person-item" v-for="item of teamPersonList" :key="item">
           <image class="item-img" :src="item.inviteUserAvatar" mode="aspectFill" />
           <view class="item-name">{{ item.name }}</view>
         </view>

+ 2 - 2
src/PageMine/serviceCenter/index.vue

@@ -9,10 +9,10 @@
         <view class="item-r"> 如何注销账户? </view>
       </view>
     </view> -->
-    <view v-for='item of init_list'>
+    <view v-for='item of init_list' :key="item">
       <view class="title"> {{ item.name }} </view>
       <view class="item-box hote-box" >
-        <view class="item" v-for='(itm,idx) of item.helpList' @click='handlerSkipDetail(itm)'>
+        <view class="item" v-for='(itm,idx) of item.helpList' :key="idx" @click='handlerSkipDetail(itm)'>
           <view class="item-l">
             <img class="img" :src=" itm.icon ? itm.icon : require('@/static/logo.png')" alt="" />
           </view>

+ 2 - 2
src/PageMine/setting/index.vue

@@ -92,8 +92,8 @@
   }
 
   .exit {
-    display: flex;
-    justify-content: space-around;
+    // display: flex;
+    // justify-content: space-around;
     margin-top: 100rpx;
   }
 

+ 4 - 11
src/pages.json

@@ -10,7 +10,6 @@
     		"navigationStyle": "custom"
     	}
     },{
-			// 登录 + tabbar + webview
 			"path": "pages/login/login",
 			"style": {
 				"navigationBarTitleText": "登录",
@@ -61,7 +60,6 @@
 		}
 	],
 	"subPackages": [{
-			// pagesHome 首页及二级页面
 			"root": "pagesHome",
 			"pages": [
 				{
@@ -119,7 +117,6 @@
 			]
 		},
 		{
-			// 社区模块分包
 			"root": "pagesCustomer",
 			"pages": [{
 				"path": "communityPostReview",
@@ -129,7 +126,6 @@
 			}]
 		},
 		{
-			// 消息模块分包
 			"root": "pagesMessage",
 			"pages": [{
 				"path": "orderNotify",
@@ -154,7 +150,6 @@
 			}]
 		},
 		{
-			// 我的模块分包
 			"root": "PageMine",
 			"pages": [{
 				"path": "orderModules/index",
@@ -277,7 +272,6 @@
 		"color": "#999999",
 		"selectedColor": "#42b2fa",
 		"borderStyle": "black",
-		// "backgroundColor": "#ffffff",
 		"list": [{
 				"pagePath": "pages/tabbar/home",
 				"iconPath": "static/images/home.png",
@@ -317,12 +311,11 @@
 		"backgroundColor": "#F8F8F8"
 	},
 	"condition": {
-		//模式配置,仅开发期间生效
-		"current": 0, //当前激活的模式(list 的索引项)
+		"current": 0, 
 		"list": [{
-			"name": "", //模式名称
-			"path": "", //启动页面,必选
-			"query": "" //启动参数,在页面的onLoad函数里面得到
+			"name": "", 
+			"path": "", 
+			"query": "" 
 		}]
 	}
 }

+ 1 - 1
src/pages/tabbar/community.vue

@@ -34,7 +34,7 @@
         <view class="item-center">
           <view class="center-text"> {{ item.textContent }} </view>
           <view class="center-img-box">
-            <image v-for="itm of item.resourceVos" class="center-img" :src="itm.resourceKey" @click='reviewImg(itm)'>
+            <image v-for="itm of item.resourceVos" :key="itm" class="center-img" :src="itm.resourceKey" @click='reviewImg(itm)'>
             </image>
           </view>
         </view>

+ 1 - 1
src/pages/tabbar/message.vue

@@ -26,7 +26,7 @@
 
         <!-- 消息通知 -->
         <view v-if="current == 1">
-          <view class="message" @click="notification" v-for="item in 5">
+          <view class="message" @click="notification" v-for="item in 5" :key="item">
             <view class="img">
               <image src="/static/icon/tools.png" style="width: 45px; height: 45px" />
             </view>

+ 1 - 0
src/pagesHome/homeSearch.vue

@@ -49,6 +49,7 @@
         <view
           class="item-box layered"
           v-for="(item, index) of favourite_list"
+          :key="index"
           @click="$Router.push(`/pagesHome/marketer/index?id=${item.id}`)"
         >
           <view class="item-left">