wangguoyu 6 mēneši atpakaļ
vecāks
revīzija
cd1a776ddc

+ 49 - 20
package.json

@@ -1,22 +1,51 @@
 {
-  "name": "hbproject",
-  "version": "1.0.0",
-  "description": "",
-  "main": "main.js",
-  "dependencies": {
-    "axios": "^1.7.2",
-    "jsencrypt": "^3.3.2",
-    "pinia": "^2.1.7",
-    "ts-md5": "^1.3.1"
-  },
-  "devDependencies": {},
-  "scripts": {
-    "test": "echo \"Error: no test specified\" && exit 1112"
-  },
-  "repository": {
-    "type": "git",
-    "url": "https://gogs.mtavip.com/wangguoyu/uniProject.git"
-  },
-  "author": "",
-  "license": "ISC"
+	"name": "hbproject",
+	"version": "1.0.0",
+	"description": "",
+	"main": "main.js",
+	"dependencies": {
+		"axios": "^1.7.2",
+		"jsencrypt": "^3.3.2",
+		"pinia": "^2.1.7",
+		"ts-md5": "^1.3.1",
+		"uview-plus": "^3.3.42",
+		"vue": "^3.5.13"
+	},
+	"devDependencies": {},
+	"uni-app": {
+		"scripts": {
+			"dev-h5": {
+				"title": "开发环境H5",
+				"BROWSER": "chrome",
+				"env": {
+					"UNI_PLATFORM": "h5",
+					"UNI_APP_URL": "https://www.wgy.com",
+					"UNI_BASE_URL": "https://www.wgy.com"
+				},
+				"define": {
+					"DEV-H5": true
+				}
+			},
+			"prod-h5": {
+				"title": "生产环境H5",
+				"BROWSER": "chrome",
+				"env": {
+					"UNI_PLATFORM": "h5",
+					"UNI_APP_URL": "https://www.wgy.com"
+				},
+				"define": {
+					"PROD-H5": true
+				}
+			}
+		}
+	},
+	"scripts": {
+		"dev:h5": "uni"
+	},
+	"repository": {
+		"type": "git",
+		"url": "https://gogs.mtavip.com/wangguoyu/uniProject.git"
+	},
+	"author": "",
+	"license": "ISC"
 }

+ 14 - 0
pages.json

@@ -19,6 +19,20 @@
 				"navigationBarTitleText": "学习",
 				"navigationStyle": "custom"
 			}
+		},	
+		{
+			"path": "pages/study/lookShipin",
+			"style": {
+				"navigationBarTitleText": "视频",
+				"navigationStyle": "custom"
+			}
+		},
+		{
+			"path": "pages/study/catalogue",
+			"style": {
+				"navigationBarTitleText": "目录",
+				"navigationStyle": "custom"
+			}
 		}
 	],
 	"tabBar": {

+ 1 - 2
pages/study/index.vue

@@ -2,7 +2,7 @@
 	<view>
 		<view @click="goBack">{{gradeTerm.text}}</view>
 		<view>
-			<view v-for="item in data.list" :key="item.index"> {{item.index}} {{item.label}} </view>
+			<view v-for="item in data.list" :key="item.index" @click="listClick"> {{item.index}} {{item.label}} </view>
 		</view>
 		<view>
 			<uni-button @click="handleCheckCatalogue">go catalogue</uni-button>
@@ -63,7 +63,6 @@
 			},
 		]
 	})
-
 	function handleChangeZhang(data) {
 		console.log('章:', data);
 	}

+ 20 - 0
pages/study/lookShipin.vue

@@ -0,0 +1,20 @@
+<template>
+	<view>
+	123
+	</view>
+</template>
+
+<script setup>
+	import {
+		useRoute
+	} from "vue-router";
+	import {
+		reactive
+	} from "vue";
+	const route = useRoute();
+	const gradeTerm = route.query;
+</script>
+
+<style>
+
+</style>

+ 15 - 5
unpackage/dist/cache/.vite/deps/_metadata.json

@@ -1,15 +1,25 @@
 {
-  "hash": "88503f0e",
-  "configHash": "ea4e468c",
+  "hash": "2a404f3e",
+  "configHash": "088a760f",
   "lockfileHash": "e3b0c442",
-  "browserHash": "38e76d38",
+  "browserHash": "082c642f",
   "optimized": {
+    "jsencrypt": {
+      "src": "../../../../../node_modules/jsencrypt/lib/index.js",
+      "file": "jsencrypt.js",
+      "fileHash": "b20b551a",
+      "needsInterop": false
+    },
     "ts-md5/dist/md5": {
       "src": "../../../../../node_modules/ts-md5/dist/md5.js",
       "file": "ts-md5_dist_md5.js",
-      "fileHash": "c0f874e9",
+      "fileHash": "f1831990",
       "needsInterop": true
     }
   },
-  "chunks": {}
+  "chunks": {
+    "chunk-Y2F7D3TJ": {
+      "file": "chunk-Y2F7D3TJ.js"
+    }
+  }
 }