yuanyiming 1 рік тому
батько
коміт
7262b71cf9

+ 9 - 27
pages/resource/resource.vue

@@ -11,7 +11,7 @@
 					<uni-grid-item v-for="(item, index) in list" :index="index" :key="index">
 						<view class="grid-item-box">
 							<view class="v1">
-								<image class="image" :src="item.url" mode="aspectFill" />
+								<image class="image" src="../../static/logo.png" mode="aspectFill" />
 
 								<text class="text">{{ item.text }}</text>
 								<text class="text1">{{ item.text1 }}</text>
@@ -50,43 +50,43 @@ export default {
 
 			list: [
 				{
-					url: '/static/resouce/jqr.png',
+					url: ' ',
 					text: '这里是课程名称课程名称课程名称...',
 					badge: '0',
 					text1: '主讲教师:苏某某'
 				},
 				{
-					url: '/static/resouce/jqr.png',
+					url: ' ',
 					text: '这里是课程名称课程名称课程名称...',
 					badge: '0',
 					text1: '主讲教师:苏某某'
 				},
 				{
-					url: '/static/resouce/jqr.png',
+					url: ' ',
 					text: '这里是课程名称课程名称课程名称...',
 					badge: '0',
 					text1: '主讲教师:苏某某'
 				},
 				{
-					url: '/static/resouce/jqr.png',
+					url: ' ',
 					text: '这里是课程名称课程名称课程名称...',
 					badge: '0',
 					text1: '主讲教师:苏某某'
 				},
 				{
-					url: '/static/resouce/jqr.png',
+					url: ' ',
 					text: '这里是课程名称课程名称课程名称...',
 					badge: '0',
 					text1: '主讲教师:苏某某'
 				},
 				{
-					url: '/static/resouce/jqr.png',
+					url: ' ',
 					text: '这里是课程名称课程名称课程名称...',
 					badge: '0',
 					text1: '主讲教师:苏某某'
 				},
 				{
-					url: '/static/resouce/jqr.png',
+					url: ' ',
 					text: '这里是课程名称课程名称课程名称...',
 					badge: '0',
 					text1: '主讲教师:苏某某'
@@ -130,7 +130,7 @@ uni-search-bar {
 .link-button.active {
 	color: #616366;
 	// background: url('../../static/resouce/bg.png') no-repeat;
-	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)), url('../../static/resouce/bg.png') no-repeat;
+	// background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)), url('../../static/resouce/bg.png') no-repeat;
 	background-position: 50% 95%;
 	background-size: 85%;
 	// box-shadow: 0px 5px 5px skyblue;
@@ -162,18 +162,14 @@ uni-search-bar {
 .grid-item-box {
 	flex: 1;
 	// position: relative;
-	/* #ifndef APP-NVUE */
 	display: flex;
-	/* #endif */
 	flex-direction: column;
 	align-items: center;
 
 	padding: 10px 0;
 	height: 160px;
 	.v1 {
-		/* #ifndef APP-NVUE */
 		display: flex;
-		/* #endif */
 		flex-direction: column;
 		align-items: flex-start;
 		height: 160px;
@@ -182,26 +178,12 @@ uni-search-bar {
 
 .grid-item-box-row {
 	flex: 1;
-	// position: relative;
-	/* #ifndef APP-NVUE */
 	display: flex;
-	/* #endif */
 	flex-direction: row;
 	align-items: center;
 	justify-content: center;
 	padding: 15px 0;
 }
 
-/* #ifdef H5 */
-@media screen and (min-width: 768px) and (max-width: 1425px) {
-	.swiper {
-		height: 630px;
-	}
-}
 
-@media screen and (min-width: 1425px) {
-	.swiper {
-		height: 830px;
-	}
-}
 </style>

Різницю між файлами не показано, бо вона завелика
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map


Різницю між файлами не показано, бо вона завелика
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/resource/resource.js.map


+ 115 - 0
unpackage/dist/dev/mp-weixin/common/runtime.js

@@ -55,6 +55,11 @@
 /******/ 	// The module cache
 /******/ 	var installedModules = {};
 /******/
+/******/ 	// object to store loaded CSS chunks
+/******/ 	var installedCssChunks = {
+/******/ 		"common/runtime": 0
+/******/ 	}
+/******/
 /******/ 	// object to store loaded and loading chunks
 /******/ 	// undefined = chunk not loaded, null = chunk preloaded/prefetched
 /******/ 	// Promise = chunk loading, 0 = chunk loaded
@@ -64,6 +69,11 @@
 /******/
 /******/ 	var deferredModules = [];
 /******/
+/******/ 	// script path function
+/******/ 	function jsonpScriptSrc(chunkId) {
+/******/ 		return __webpack_require__.p + "" + chunkId + ".js"
+/******/ 	}
+/******/
 /******/ 	// The require function
 /******/ 	function __webpack_require__(moduleId) {
 /******/
@@ -88,6 +98,108 @@
 /******/ 		return module.exports;
 /******/ 	}
 /******/
+/******/ 	// This file contains only the entry chunk.
+/******/ 	// The chunk loading function for additional chunks
+/******/ 	__webpack_require__.e = function requireEnsure(chunkId) {
+/******/ 		var promises = [];
+/******/
+/******/
+/******/ 		// mini-css-extract-plugin CSS loading
+/******/ 		var cssChunks = {"components/statusBar/statusBar":1,"components/teaching-case/teaching-case":1,"components/viewX-Case/viewX-Case":1};
+/******/ 		if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
+/******/ 		else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
+/******/ 			promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {
+/******/ 				var href = "" + ({"components/statusBar/statusBar":"components/statusBar/statusBar","components/teaching-case/teaching-case":"components/teaching-case/teaching-case","components/viewX-Case/viewX-Case":"components/viewX-Case/viewX-Case"}[chunkId]||chunkId) + ".wxss";
+/******/ 				var fullhref = __webpack_require__.p + href;
+/******/ 				var existingLinkTags = document.getElementsByTagName("link");
+/******/ 				for(var i = 0; i < existingLinkTags.length; i++) {
+/******/ 					var tag = existingLinkTags[i];
+/******/ 					var dataHref = tag.getAttribute("data-href") || tag.getAttribute("href");
+/******/ 					if(tag.rel === "stylesheet" && (dataHref === href || dataHref === fullhref)) return resolve();
+/******/ 				}
+/******/ 				var existingStyleTags = document.getElementsByTagName("style");
+/******/ 				for(var i = 0; i < existingStyleTags.length; i++) {
+/******/ 					var tag = existingStyleTags[i];
+/******/ 					var dataHref = tag.getAttribute("data-href");
+/******/ 					if(dataHref === href || dataHref === fullhref) return resolve();
+/******/ 				}
+/******/ 				var linkTag = document.createElement("link");
+/******/ 				linkTag.rel = "stylesheet";
+/******/ 				linkTag.type = "text/css";
+/******/ 				linkTag.onload = resolve;
+/******/ 				linkTag.onerror = function(event) {
+/******/ 					var request = event && event.target && event.target.src || fullhref;
+/******/ 					var err = new Error("Loading CSS chunk " + chunkId + " failed.\n(" + request + ")");
+/******/ 					err.code = "CSS_CHUNK_LOAD_FAILED";
+/******/ 					err.request = request;
+/******/ 					delete installedCssChunks[chunkId]
+/******/ 					linkTag.parentNode.removeChild(linkTag)
+/******/ 					reject(err);
+/******/ 				};
+/******/ 				linkTag.href = fullhref;
+/******/
+/******/ 				var head = document.getElementsByTagName("head")[0];
+/******/ 				head.appendChild(linkTag);
+/******/ 			}).then(function() {
+/******/ 				installedCssChunks[chunkId] = 0;
+/******/ 			}));
+/******/ 		}
+/******/
+/******/ 		// JSONP chunk loading for javascript
+/******/
+/******/ 		var installedChunkData = installedChunks[chunkId];
+/******/ 		if(installedChunkData !== 0) { // 0 means "already installed".
+/******/
+/******/ 			// a Promise means "currently loading".
+/******/ 			if(installedChunkData) {
+/******/ 				promises.push(installedChunkData[2]);
+/******/ 			} else {
+/******/ 				// setup Promise in chunk cache
+/******/ 				var promise = new Promise(function(resolve, reject) {
+/******/ 					installedChunkData = installedChunks[chunkId] = [resolve, reject];
+/******/ 				});
+/******/ 				promises.push(installedChunkData[2] = promise);
+/******/
+/******/ 				// start chunk loading
+/******/ 				var script = document.createElement('script');
+/******/ 				var onScriptComplete;
+/******/
+/******/ 				script.charset = 'utf-8';
+/******/ 				script.timeout = 120;
+/******/ 				if (__webpack_require__.nc) {
+/******/ 					script.setAttribute("nonce", __webpack_require__.nc);
+/******/ 				}
+/******/ 				script.src = jsonpScriptSrc(chunkId);
+/******/
+/******/ 				// create error before stack unwound to get useful stacktrace later
+/******/ 				var error = new Error();
+/******/ 				onScriptComplete = function (event) {
+/******/ 					// avoid mem leaks in IE.
+/******/ 					script.onerror = script.onload = null;
+/******/ 					clearTimeout(timeout);
+/******/ 					var chunk = installedChunks[chunkId];
+/******/ 					if(chunk !== 0) {
+/******/ 						if(chunk) {
+/******/ 							var errorType = event && (event.type === 'load' ? 'missing' : event.type);
+/******/ 							var realSrc = event && event.target && event.target.src;
+/******/ 							error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
+/******/ 							error.name = 'ChunkLoadError';
+/******/ 							error.type = errorType;
+/******/ 							error.request = realSrc;
+/******/ 							chunk[1](error);
+/******/ 						}
+/******/ 						installedChunks[chunkId] = undefined;
+/******/ 					}
+/******/ 				};
+/******/ 				var timeout = setTimeout(function(){
+/******/ 					onScriptComplete({ type: 'timeout', target: script });
+/******/ 				}, 120000);
+/******/ 				script.onerror = script.onload = onScriptComplete;
+/******/ 				document.head.appendChild(script);
+/******/ 			}
+/******/ 		}
+/******/ 		return Promise.all(promises);
+/******/ 	};
 /******/
 /******/ 	// expose the modules object (__webpack_modules__)
 /******/ 	__webpack_require__.m = modules;
@@ -141,6 +253,9 @@
 /******/ 	// __webpack_public_path__
 /******/ 	__webpack_require__.p = "/";
 /******/
+/******/ 	// on error function for async loading
+/******/ 	__webpack_require__.oe = function(err) { console.error(err); throw err; };
+/******/
 /******/ 	var jsonpArray = global["webpackJsonp"] = global["webpackJsonp"] || [];
 /******/ 	var oldJsonpFunction = jsonpArray.push.bind(jsonpArray);
 /******/ 	jsonpArray.push = webpackJsonpCallback;

Різницю між файлами не показано, бо вона завелика
+ 12 - 12
unpackage/dist/dev/mp-weixin/components/statusBar/statusBar.js


Різницю між файлами не показано, бо вона завелика
+ 171 - 1
unpackage/dist/dev/mp-weixin/components/teaching-case/teaching-case.js


Різницю між файлами не показано, бо вона завелика
+ 165 - 1
unpackage/dist/dev/mp-weixin/components/viewX-Case/viewX-Case.js


+ 5 - 1
unpackage/dist/dev/mp-weixin/pages/index/index.json

@@ -1,4 +1,8 @@
 {
   "navigationBarTitleText": "首页",
-  "usingComponents": {}
+  "usingComponents": {
+    "status-bar": "/components/statusBar/statusBar",
+    "view-x-case": "/components/viewX-Case/viewX-Case",
+    "teaching-case": "/components/teaching-case/teaching-case"
+  }
 }

+ 3 - 1
unpackage/dist/dev/mp-weixin/pages/login/login.json

@@ -1,5 +1,7 @@
 {
   "navigationBarTitleText": "登录",
   "enablePullDownRefresh": false,
-  "usingComponents": {}
+  "usingComponents": {
+    "status-bar": "/components/statusBar/statusBar"
+  }
 }

+ 3 - 1
unpackage/dist/dev/mp-weixin/pages/login_three/login_three.json

@@ -1,5 +1,7 @@
 {
   "navigationBarTitleText": "找回密码",
   "enablePullDownRefresh": false,
-  "usingComponents": {}
+  "usingComponents": {
+    "status-bar": "/components/statusBar/statusBar"
+  }
 }

+ 3 - 1
unpackage/dist/dev/mp-weixin/pages/login_two/login_two.json

@@ -1,5 +1,7 @@
 {
   "navigationBarTitleText": "手机号登录",
   "enablePullDownRefresh": false,
-  "usingComponents": {}
+  "usingComponents": {
+    "status-bar": "/components/statusBar/statusBar"
+  }
 }

Різницю між файлами не показано, бо вона завелика
+ 10 - 0
unpackage/dist/dev/mp-weixin/pages/resource/resource.js


Різницю між файлами не показано, бо вона завелика
+ 0 - 1
unpackage/dist/dev/mp-weixin/pages/resource/resource.wxml


+ 95 - 0
unpackage/dist/dev/mp-weixin/pages/resource/resource.wxss

@@ -0,0 +1,95 @@
+@charset "UTF-8";
+/**
+ * 这里是uni-app内置的常用样式变量
+ *
+ * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
+ * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
+ *
+ */
+/**
+ * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
+ *
+ * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
+ */
+/* 颜色变量 */
+/* 行为相关颜色 */
+/* 文字基本颜色 */
+/* 背景颜色 */
+/* 边框颜色 */
+/* 尺寸变量 */
+/* 文字尺寸 */
+/* 图片尺寸 */
+/* Border Radius */
+/* 水平间距 */
+/* 垂直间距 */
+/* 透明度 */
+/* 文章场景相关 */
+uni-search-bar.data-v-081eb374 {
+  border-radius: 4px;
+}
+.links.data-v-081eb374 {
+  display: flex;
+  justify-content: space-evenly;
+  align-items: center;
+  margin-top: 16px;
+}
+.link-button.data-v-081eb374 {
+  border: none;
+  /* 无边框 */
+  color: #c2c2c2;
+  /* 文本颜色 */
+}
+.link-button.data-v-081eb374:after {
+  border: none;
+}
+.link-button.active.data-v-081eb374 {
+  color: #616366;
+  background-position: 50% 95%;
+  background-size: 85%;
+}
+.image.data-v-081eb374 {
+  width: 150px;
+  height: 100px;
+  border-radius: 4px;
+}
+.text.data-v-081eb374 {
+  font-weight: 600;
+  max-width: 120px;
+  font-size: 14px;
+  margin-top: 5px;
+}
+.text1.data-v-081eb374 {
+  margin-top: 5px;
+  color: #999999;
+  max-width: 120px;
+  font-size: 10px;
+}
+.grid-dynamic-box.data-v-081eb374 {
+  margin-bottom: 15px;
+}
+.uni-grid-item.data-v-081eb374 {
+  height: 160px;
+}
+.grid-item-box.data-v-081eb374 {
+  flex: 1;
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  padding: 10px 0;
+  height: 160px;
+}
+.grid-item-box .v1.data-v-081eb374 {
+  display: flex;
+  flex-direction: column;
+  align-items: flex-start;
+  height: 160px;
+}
+.grid-item-box-row.data-v-081eb374 {
+  flex: 1;
+  display: flex;
+  flex-direction: row;
+  align-items: center;
+  justify-content: center;
+  padding: 15px 0;
+}
+

BIN
unpackage/dist/dev/mp-weixin/static/resource/bg.png


BIN
unpackage/dist/dev/mp-weixin/static/resource/jqr.png


Деякі файли не було показано, через те що забагато файлів було змінено