tanxue 5 дней назад
Родитель
Сommit
3ea740cc79

+ 7 - 14
pages.json

@@ -19,13 +19,6 @@
 				"navigationStyle": "custom"
 			}
 		},
-      {
-        "path" : "pages/chanpinZiliao/shuxue/jstxInfo",
-        "style" :
-        {
-          "navigationStyle": "custom"
-        }
-      },
 		{
 			"path" : "pages/chanpinMy/order",
 			"style" :
@@ -41,13 +34,6 @@
 			}
 		},
 		{
-			"path" : "pages/chanpinZiliao/ziliaoInfo",
-			"style" :
-			{
-				"navigationStyle": "custom"
-			}
-		},
-		{
 			"path": "pages/chanpinZiliao/index",
 			"style": {
 				"navigationStyle": "custom",
@@ -56,6 +42,13 @@
 				}
 			}
 		},
+      {
+        "path" : "pages/chanpinZiliao/shuxue/jstxInfo",
+        "style" :
+        {
+          "navigationStyle": "custom"
+        }
+      },
 		{
 			"path": "pages/chanpinMy/my",
 			"style": {

+ 10 - 10
pages/chanpinZiliao/index.vue

@@ -6,22 +6,22 @@
 		<view class="ezy-page-body">
 			<!-- 科目标签切换 -->
 			<view class="ezy-xueke-tab-box">
-				<ezyActiveVue class="tab-item ezy-btn-active" v-for="item in data.list" :key="item.value" 
+				<ezyActiveVue class="tab-item ezy-btn-active" v-for="item in data.list" :key="item.value"
 					:class="{active: item.key == data.chanpinActiveSelect}" @aclick="handleSelectChanpin(item)">
 					{{item.label}}</ezyActiveVue>
 			</view>
-			
+
 			<!-- 资源卡片列表 -->
-			
+
 			<!-- 数学 -->
-			<ShuXueList v-if="data.chanpinActiveSelect === 'shuxue'" :list="data.shuxueList" />
-			
+			<!--<ShuXueList v-if="data.chanpinActiveSelect === 'shuxue'" :list="data.shuxueList" />-->
+
 			<!-- 英语 -->
-			<YingYuList v-if="data.chanpinActiveSelect === 'yingyu'" :list="data.yingyuList" />
-			
+			<!--<YingYuList v-if="data.chanpinActiveSelect === 'yingyu'" :list="data.yingyuList" />-->
+
 			<!-- 语文 -->
-			<YuWenList v-if="data.chanpinActiveSelect === 'yuwen'" :list="data.yuwenList" />
-			
+			<!--<YuWenList v-if="data.chanpinActiveSelect === 'yuwen'" :list="data.yuwenList" />-->
+
 		</view>
 	</view>
 	<custom-tab-bar :show="true" :current-index="currentTabIndex" />
@@ -101,4 +101,4 @@ onLoad(() => {
 </script>
 
 <style>
-</style>
+</style>

+ 3 - 3
pages/chanpinZiliao/shuxue/jstxCard.vue

@@ -16,11 +16,11 @@ const porps = defineProps({
 // 跳转详情页面
 function handleClick(item) {
 	console.log('item',item.ziliaoId);
-	uni.navigateTo({
+	/*uni.navigateTo({
 		url: `/pages/chanpinZiliao/shuxue/jstxInfo?ziliaoId=${item.ziliaoId}`
-	})
+	})*/
 }
 </script>
 
 <style>
-</style>
+</style>

+ 11 - 11
pages/chanpinZiliao/shuxue/jstxInfo.vue

@@ -3,36 +3,36 @@
 		<view class="icon-title-navBar-box">
 			<text class="nav-bar-title">{{data.ziliaoName}}</text>
 		</view>
-		<view class="ezy-page-body">
+		<!--<view class="ezy-page-body">
 			<scroll-view scroll-y="true" class="level-list-container">
 				<view v-for="(item, index) in data.dengjiList" :key="item.dengjiId" class="level-item">
 					<view class="level-item-content">
-						<!-- 图标 -->
+						&lt;!&ndash; 图标 &ndash;&gt;
 						<view @click="selectDjBtn(item)"
 						:class="{active: item.dengjiId == data.dengjiActiveSelect}">{{ item.dengjiName }}</view>
-						
+
 						<view>
 							<view class="ziliao-card-box">
-								<!-- <img/> -->
-								<!-- 内容区 -->
+								&lt;!&ndash; <img/> &ndash;&gt;
+								&lt;!&ndash; 内容区 &ndash;&gt;
 								<view class="content-box">
 									<text class="title">{{ ziliaoName }}</text>
 									<text class="version">{{ getFirstVersion(item.banbenList) }}</text>
 								</view>
-										
-								<!-- PDF 按钮 -->
+
+								&lt;!&ndash; PDF 按钮 &ndash;&gt;
 								<view class="pdf-btn">
 									<icon>PDF</icon>
 								</view>
 							</view>
-							
+
 						</view>
-						
+
 					</view>
 				</view>
 			</scroll-view>
-		</view>
-		<jstxDownDialog ref="jiaocaiRef" @confirm-btn="jcConfirm" :content="jcContent"></jstxDownDialog>
+		</view>-->
+		<!--<jstxDownDialog ref="jiaocaiRef" @confirm-btn="jcConfirm" :content="jcContent"></jstxDownDialog>-->
 	</view>
 </template>