Browse Source

Merge branch '2025鹅状元数学' of https://gogs.mtavip.com/wangguoyu/uniProject into 2025鹅状元数学

tanxue 1 month ago
parent
commit
076a48f0a1
2 changed files with 9 additions and 8 deletions
  1. 3 3
      components/custom-tabbar/custom-tabbar.vue
  2. 6 5
      pages/chanpinneirong/index.vue

+ 3 - 3
components/custom-tabbar/custom-tabbar.vue

@@ -42,7 +42,7 @@
 					{
 					{
 						iconPath: 'static/images/tabbar/unselect/xuexi-sj.png',
 						iconPath: 'static/images/tabbar/unselect/xuexi-sj.png',
 						activePath: 'static/images/tabbar/select/xuexi-sj.png',
 						activePath: 'static/images/tabbar/select/xuexi-sj.png',
-						path: `/pages/zhuanti/index`
+						path: `/pages/chanpinneirong/index`
 					},
 					},
 					{
 					{
 						iconPath: 'static/images/tabbar/unselect/faxian-sj.png',
 						iconPath: 'static/images/tabbar/unselect/faxian-sj.png',
@@ -52,7 +52,7 @@
 					{
 					{
 						iconPath: 'static/images/tabbar/unselect/wode-sj.png',
 						iconPath: 'static/images/tabbar/unselect/wode-sj.png',
 						activePath: 'static/images/tabbar/select/wode-sj.png',
 						activePath: 'static/images/tabbar/select/wode-sj.png',
-						path: `/pages/chanpinMy/my`
+						path: `/pages/my/index`
 					},
 					},
 				],
 				],
 				currentTab: 0,
 				currentTab: 0,
@@ -100,7 +100,7 @@
 						this.$refs.youkeDialogRef.handleShow();
 						this.$refs.youkeDialogRef.handleShow();
 						return;
 						return;
 					}
 					}
-					uni.redirectTo({
+					uni.navigateTo({
 						url: path + '?levelId=' + this.levelId + '&typeId=' + this.typeId + '&subjectId=' +
 						url: path + '?levelId=' + this.levelId + '&typeId=' + this.typeId + '&subjectId=' +
 							this.subjectId + '&tipFlag=' + this.tipFlag
 							this.subjectId + '&tipFlag=' + this.tipFlag
 					});
 					});

+ 6 - 5
pages/chanpinneirong/index.vue

@@ -1,5 +1,6 @@
 <template>
 <template>
 	<view class="container">
 	<view class="container">
+		<view @click="aaaa">asdfasdfdasfads</view>
 		<view class="icon-title-navBar-box">
 		<view class="icon-title-navBar-box">
 			<view class="nav-bar-icon" @click="handleBack"></view>
 			<view class="nav-bar-icon" @click="handleBack"></view>
 			<view class="nav-bar-title">学习</view>
 			<view class="nav-bar-title">学习</view>
@@ -50,8 +51,8 @@
 		<view v-if="currentUnitName" class="current-unit-tip">
 		<view v-if="currentUnitName" class="current-unit-tip">
 			<text>{{ currentUnitName }}</text>
 			<text>{{ currentUnitName }}</text>
 		</view>
 		</view>
-<!-- 	
-		<CustomTabBar :currentTabNumber="0"></CustomTabBar> -->
+	
+		<CustomTabBar :currentTabNumber="0"></CustomTabBar>
 		
 		
 	</view>
 	</view>
 </template>
 </template>
@@ -90,9 +91,9 @@
 		},
 		},
 		mounted() {
 		mounted() {
 			//初始化加载数据
 			//初始化加载数据
-			// this.$nextTick(() => {
-			// 	this.$refs.paging.reload()
-			// })
+			this.$nextTick(() => {
+			//	this.$refs.paging.reload()
+			})
 		},
 		},
 
 
 		methods: {
 		methods: {