wkyy пре 2 година
родитељ
комит
f4f25aa294
1 измењених фајлова са 13 додато и 8 уклоњено
  1. 13 8
      pages/index/index.vue

+ 13 - 8
pages/index/index.vue

@@ -2,14 +2,14 @@
 	<view>
 	<view>
 		<u-select v-model="memberQyshow" @confirm="confirm" :default-value="defaultvalue" :list="memberQyColumns">
 		<u-select v-model="memberQyshow" @confirm="confirm" :default-value="defaultvalue" :list="memberQyColumns">
 		</u-select>
	
 		</u-select>
	
-		<u-navbar :is-back="false" :border-bottom="false" height="54">
+		<u-navbar :is-back="false" :border-bottom="false" height="84">
 
 
 			<view class="home-head" style="width: 100%;">
 			<view class="home-head" style="width: 100%;">
 				<view class="">
 				<view class="">
 					<img class="homeLogo" :src="homeLogo" alt="">
 					<img class="homeLogo" :src="homeLogo" alt="">
 
 
 				</view>
 				</view>
-				<!-- <view>
+				<view>
 					<view class="homeTab" style="
 					<view class="homeTab" style="
 							float: left;
 							float: left;
 						">
 						">
@@ -25,24 +25,24 @@
 						<u-icon custom-prefix="custom-icon" name="map-pin-2-fill"></u-icon>
 						<u-icon custom-prefix="custom-icon" name="map-pin-2-fill"></u-icon>
 						<span @click="memberQyshowBtn">{{memberQyObj.name}}</span>
 						<span @click="memberQyshowBtn">{{memberQyObj.name}}</span>
 					</view>
 					</view>
-				</view> -->
+				</view>
              
              
 
 
 			</view>
 			</view>
 		</u-navbar>
 		</u-navbar>
 
 
-		<view class="homeWrap">
+		<!-- <view class="homeWrap">
 			<view class="home-title">
 			<view class="home-title">
 				<view class="title">
 				<view class="title">
 					今日推荐
 					今日推荐
 				</view>
 				</view>
-				<view class="view-all">
+				<view class="view-all" @click="toFriend">
 					<text>查看全部</text><u-icon name="arrow-right" color="#999999" size="28"></u-icon>
 					<text>查看全部</text><u-icon name="arrow-right" color="#999999" size="28"></u-icon>
 				</view>
 				</view>
 			</view>
 			</view>
 			<u-swiper v-if="wrapList.length" :list="wrapList" @click="clickBanner" :img-mode="'aspectFit'"
 			<u-swiper v-if="wrapList.length" :list="wrapList" @click="clickBanner" :img-mode="'aspectFit'"
 				:name="'picUrl'" height="294" border-radius="24"></u-swiper>
 				:name="'picUrl'" height="294" border-radius="24"></u-swiper>
-		</view>		
+		</view> -->		
 		<view class="homeUser">		
 		<view class="homeUser">		
 			<view class="homeUser-item" @click="gotoUrl('pages/friend/personal?id='+item.id)"
 			<view class="homeUser-item" @click="gotoUrl('pages/friend/personal?id='+item.id)"
 				v-for="(item ,index) in list" :key="item.id">
 				v-for="(item ,index) in list" :key="item.id">
@@ -124,7 +124,7 @@
 			</view>
 			</view>
 		</view>
 		</view>
 	<!-- 视频简介 -->	
 	<!-- 视频简介 -->	
-	<view class="video-introduction">
+	<!-- <view class="video-introduction">
 		<view class="title">
 		<view class="title">
 			幸福有约·缘牵工会 活动视频简介
 			幸福有约·缘牵工会 活动视频简介
 		</view>
 		</view>
@@ -132,7 +132,7 @@
 			<img src="../../static/img/activity.png" alt="">
 			<img src="../../static/img/activity.png" alt="">
 		</view>
 		</view>
 		
 		
-	</view>
+	</view> -->
 		
 		
 		
 		
 		
 		
@@ -206,6 +206,11 @@
 			}
 			}
 		},
 		},
 		methods: {
 		methods: {
+			toFriend() {
+				uni.switchTab({
+					url: '/pages/friend/index'
+				})
+			},
 			toNewsTZGG() {
 			toNewsTZGG() {
 				this.carhelp.set("newsTypeCurrent", 0);
 				this.carhelp.set("newsTypeCurrent", 0);
 				uni.switchTab({
 				uni.switchTab({