Parcourir la source

1.上线华为处理 guide,和游戏,视频列表相关隐藏

slambb il y a 3 ans
Parent
commit
51979a1ce7

+ 14 - 13
components/side-bar/sideBar.js

@@ -17,19 +17,20 @@ export default {
 		// 	name: "我的",
 		// 	page_type: "my",
 		// }, 
-		{
-			id: 1,
-			type: 'image',
-			url: '/static/recently-playing.png',
-			name: "最近在玩",
-			page_type: "recently",
-		}, {
-			id: 2,
-			type: 'image',
-			url: '/static/watch-game.png',
-			name: '关注',
-			page_type: "watchGame",
-		},
+		//上线华为隐藏两个侧滑栏
+		// {
+		// 	id: 1,
+		// 	type: 'image',
+		// 	url: '/static/recently-playing.png',
+		// 	name: "最近在玩",
+		// 	page_type: "recently",
+		// }, {
+		// 	id: 2,
+		// 	type: 'image',
+		// 	url: '/static/watch-game.png',
+		// 	name: '关注',
+		// 	page_type: "watchGame",
+		// },
 		// {
 		// 	id: 3,
 		// 	type: 'image',

+ 2 - 2
manifest.json

@@ -2,8 +2,8 @@
     "name" : "哔蹦",
     "appid" : "__UNI__2635DF5",
     "description" : "",
-    "versionName" : "2.5.15",
-    "versionCode" : 21120602,
+    "versionName" : "2.5.16",
+    "versionCode" : 21120701,
     "transformPx" : false,
     /* 5+App特有相关 */
     "app-plus" : {

+ 12 - 11
pages.json

@@ -409,18 +409,19 @@
 				"text": "计划",
 				"iconPath": "static/common/navigationBar/nPlan.png",
 				"selectedIconPath": "static/common/navigationBar/nPlanB.png"
-			}, {
-				"pagePath": "pages/game-page/game-list/game-list",
-				"text": "游戏",
-				"iconPath": "static/common/navigationBar/nGame.png",
-				"selectedIconPath": "static/common/navigationBar/nGameB.png"
-			},
-			{
-				"pagePath": "pages/game-page/game-video/game-video",
-				"text": "视频",
-				"iconPath": "static/common/navigationBar/nVideo.png",
-				"selectedIconPath": "static/common/navigationBar/nVideoB.png"
 			},
+			// {
+			// 	"pagePath": "pages/game-page/game-list/game-list",
+			// 	"text": "游戏",
+			// 	"iconPath": "static/common/navigationBar/nGame.png",
+			// 	"selectedIconPath": "static/common/navigationBar/nGameB.png"
+			// },
+			// {
+			// 	"pagePath": "pages/game-page/game-video/game-video",
+			// 	"text": "视频",
+			// 	"iconPath": "static/common/navigationBar/nVideo.png",
+			// 	"selectedIconPath": "static/common/navigationBar/nVideoB.png"
+			// },
 			{
 				"pagePath": "pages/my-page/homepage/homepage",
 				"text": "我的",

+ 5 - 4
pages/my-page/homepage/homepage.vue

@@ -82,8 +82,8 @@
 				<view class="only-arrow" @tap="onNavAchievement"></view>
 			
 			</view>
-			
-			<view class="card-view article ">
+			<!-- 上线华为 隐藏 -->
+			<view v-if="false" class="card-view article ">
 				<view class="title">
 					最近在玩
 				</view>
@@ -100,7 +100,8 @@
 					</view>
 				</view>
 			</view>
-			<view v-if="favoriteGames.length==0" class="card-view flex align-center">
+			<!-- 上线华为 隐藏 -->
+			<!-- <view v-if="favoriteGames.length==0" class="card-view flex align-center">
 				<view class="content flex flex-direction align-start margin-top">
 					<view class="title">关注</view>
 					<view class="text-grey" style="margin: 0rpx 40rpx 40rpx;">有好多好玩的视频等着你关注哦</view>
@@ -126,7 +127,7 @@
 						<view v-if="favoriteGames.length!=0" class="homepage-arrow" @tap="onNavList('watchGame')"></view>
 					</view>
 				</view>
-			</view>
+			</view> -->
 			
 			<view class="homepage-action-row">
 				<view class=" ">哔蹦</view>

+ 2 - 2
platform/app-plus/subNVue/guide.nvue

@@ -87,8 +87,8 @@
 					</view>
 				</view>
 				<view style="width: 750rpx;height: 100px;" class="flex flex-direction-row">
-					<!-- 32+ 60/2 -->
-					<view style="width: 62px;" class="mask-bg-07"></view>
+					<!-- 32+ 60/2  原本长度62px,去除游戏和视频长度 + 72 左右,设置 134 px-->
+					<view style="width: 134px;" class="mask-bg-07"></view>
 					<image style="width: 90px;height: 100px; opacity: 0.7;"
 						src="../../../static/common/subNVue/guide/guide-rect-mask.png"></image>
 					<view class="mask-bg-07 flex-sub"></view>