guhongwei 2 年之前
父節點
當前提交
52a99a71e7
共有 70 個文件被更改,包括 2942 次插入1585 次删除
  1. 21 18
      .hbuilderx/launch.json
  2. 3 1
      common/api.js
  3. 2 2
      common/config.js
  4. 21 16
      manifest.json
  5. 15 6
      pages.json
  6. 46 10
      pages/index/index.vue
  7. 32 29
      pagesCommon/test/index.vue
  8. 204 15
      pagesHome/home/index.vue
  9. 52 0
      pagesHome/home/video.vue
  10. 二進制
      static/logo.jpg
  11. 二進制
      static/logo.png
  12. 0 0
      unpackage/dist/build/.automator/app-plus/.automator.json
  13. 1 0
      unpackage/dist/build/app-plus/__uniappchooselocation.js
  14. 二進制
      unpackage/dist/build/app-plus/__uniapperror.png
  15. 1 0
      unpackage/dist/build/app-plus/__uniappes6.js
  16. 1 0
      unpackage/dist/build/app-plus/__uniappopenlocation.js
  17. 1 0
      unpackage/dist/build/app-plus/__uniapppicker.js
  18. 8 0
      unpackage/dist/build/app-plus/__uniappquill.js
  19. 1 0
      unpackage/dist/build/app-plus/__uniappquillimageresize.js
  20. 1 0
      unpackage/dist/build/app-plus/__uniappscan.js
  21. 二進制
      unpackage/dist/build/app-plus/__uniappsuccess.png
  22. 25 0
      unpackage/dist/build/app-plus/__uniappview.html
  23. 8 0
      unpackage/dist/build/app-plus/app-config-service.js
  24. 1 0
      unpackage/dist/build/app-plus/app-config.js
  25. 2 0
      unpackage/dist/build/app-plus/app-service.js
  26. 1 0
      unpackage/dist/build/app-plus/app-view.js
  27. 1 0
      unpackage/dist/build/app-plus/manifest.json
  28. 二進制
      unpackage/dist/build/app-plus/static/logo.jpg
  29. 二進制
      unpackage/dist/build/app-plus/uni_modules/uni-icons/components/uni-icons/uniicons.ttf
  30. 1 0
      unpackage/dist/build/app-plus/view.css
  31. 6 0
      unpackage/dist/build/app-plus/view.umd.min.js
  32. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
  33. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
  34. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/components/upload/index.js.map
  35. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
  36. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesCommon/test/index.js.map
  37. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/home/index.js.map
  38. 1 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/home/video.js.map
  39. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesOne/test/index.js.map
  40. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js.map
  41. 2 2
      unpackage/dist/dev/app-plus/app-config-service.js
  42. 937 785
      unpackage/dist/dev/app-plus/app-service.js
  43. 653 289
      unpackage/dist/dev/app-plus/app-view.js
  44. 1 1
      unpackage/dist/dev/app-plus/manifest.json
  45. 二進制
      unpackage/dist/dev/app-plus/static/logo.jpg
  46. 二進制
      unpackage/dist/dev/app-plus/static/logo.png
  47. 3 1
      unpackage/dist/dev/mp-weixin/app.json
  48. 2 2
      unpackage/dist/dev/mp-weixin/common/main.js
  49. 198 238
      unpackage/dist/dev/mp-weixin/common/vendor.js
  50. 17 17
      unpackage/dist/dev/mp-weixin/components/upload/index.js
  51. 63 21
      unpackage/dist/dev/mp-weixin/pages/index/index.js
  52. 1 1
      unpackage/dist/dev/mp-weixin/pages/index/index.wxml
  53. 15 5
      unpackage/dist/dev/mp-weixin/pages/index/index.wxss
  54. 36 58
      unpackage/dist/dev/mp-weixin/pagesCommon/test/index.js
  55. 3 1
      unpackage/dist/dev/mp-weixin/pagesCommon/test/index.json
  56. 1 1
      unpackage/dist/dev/mp-weixin/pagesCommon/test/index.wxml
  57. 209 34
      unpackage/dist/dev/mp-weixin/pagesHome/home/index.js
  58. 1 3
      unpackage/dist/dev/mp-weixin/pagesHome/home/index.json
  59. 1 1
      unpackage/dist/dev/mp-weixin/pagesHome/home/index.wxml
  60. 74 0
      unpackage/dist/dev/mp-weixin/pagesHome/home/index.wxss
  61. 213 0
      unpackage/dist/dev/mp-weixin/pagesHome/home/video.js
  62. 5 0
      unpackage/dist/dev/mp-weixin/pagesHome/home/video.json
  63. 1 0
      unpackage/dist/dev/mp-weixin/pagesHome/home/video.wxml
  64. 16 0
      unpackage/dist/dev/mp-weixin/pagesHome/home/video.wxss
  65. 2 2
      unpackage/dist/dev/mp-weixin/project.config.json
  66. 3 3
      unpackage/dist/dev/mp-weixin/project.private.config.json
  67. 7 0
      unpackage/dist/dev/mp-weixin/sitemap.json
  68. 二進制
      unpackage/dist/dev/mp-weixin/static/logo.jpg
  69. 二進制
      unpackage/dist/dev/mp-weixin/static/logo.png
  70. 15 15
      unpackage/dist/dev/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js

+ 21 - 18
.hbuilderx/launch.json

@@ -1,20 +1,23 @@
-{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
-  // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
-    "version": "0.0",
-    "configurations": [{
-     	"app-plus" : 
-     	{
-     		"launchtype" : "local"
-     	},
-     	"default" : 
-     	{
-     		"launchtype" : "local"
-     	},
-     	"mp-weixin" : 
-     	{
-     		"launchtype" : "local"
-     	},
-     	"type" : "uniCloud"
-     }
+{
+    // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
+    // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
+    "version" : "0.0",
+    "configurations" : [
+        {
+            "app-plus" : {
+                "launchtype" : "local"
+            },
+            "default" : {
+                "launchtype" : "local"
+            },
+            "mp-weixin" : {
+                "launchtype" : "local"
+            },
+            "type" : "uniCloud"
+        },
+        {
+            "playground" : "standard",
+            "type" : "uni-app:app-android"
+        }
     ]
 }

+ 3 - 1
common/api.js

@@ -29,7 +29,9 @@ export const requestBase = async (uri, method = "GET", data, type) => {
 			data,
 			header,
 			success: (res) => toResolve(resolve, res),
-			fail: (err) => toReject(reject, err),
+			fail: (err) => {
+				console.log(err);
+			},
 		});
 	});
 };

+ 2 - 2
common/config.js

@@ -1,7 +1,7 @@
 export default {
   // 接口地址
-  serverUrl: "http://127.0.0.1:10102",
-  wechatUrl: "https://broadcast.waityou24.cn",
+  serverUrl: "https://broadcast.waityou24.cn",
+  wechatUrl: "https://broadcast.waityou24.cn", 
   // 设备信息
   system: uni.getSystemInfoSync(),
 };

+ 21 - 16
manifest.json

@@ -1,5 +1,5 @@
 {
-    "name" : "uniapp",
+    "name" : "益智游戏",
     "appid" : "__UNI__2080341",
     "description" : "",
     "versionName" : "1.0.0",
@@ -17,33 +17,36 @@
             "delay" : 0
         },
         /* 模块配置 */
-        "modules" : {},
+        "modules" : {
+            "VideoPlayer" : {}
+        },
         /* 应用发布信息 */
         "distribute" : {
             /* android打包配置 */
             "android" : {
                 "permissions" : [
+                    "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
                     "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
                     "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
-                    "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
                     "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
-                    "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
-                    "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
-                    "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
-                    "<uses-permission android:name=\"android.permission.CAMERA\"/>",
-                    "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
                     "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
-                    "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
                     "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
-                    "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
-                    "<uses-feature android:name=\"android.hardware.camera\"/>",
                     "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
-                ]
+                ],
+                "autoSdkPermissions" : true
             },
             /* ios打包配置 */
-            "ios" : {},
+            "ios" : {
+                "dSYMs" : false
+            },
             /* SDK配置 */
-            "sdkConfigs" : {},
+            "sdkConfigs" : {
+                "ad" : {}
+            },
             "icons" : {
                 "android" : {
                     "hdpi" : "unpackage/res/icons/72x72.png",
@@ -80,7 +83,8 @@
                 "androidStyle" : "common",
                 "useOriginalMsgbox" : false
             }
-        }
+        },
+        "nativePlugins" : {}
     },
     /* 快应用特有相关 */
     "quickapp" : {},
@@ -94,7 +98,8 @@
             "minified" : true
         },
         "usingComponents" : true,
-        "permission" : {}
+        "permission" : {},
+        "lazyCodeLoading" : "requiredComponents"
     },
     "mp-alipay" : {
         "usingComponents" : true

+ 15 - 6
pages.json

@@ -20,13 +20,22 @@
 		},
 		{
 			"root": "pagesHome", //系統首页
-			"pages": [{
-				"path": "home/index",
-				"style": {
-					"navigationBarTitleText": "系统首页",
-					"enablePullDownRefresh": true //是否启用下拉刷新
+			"pages": [ //
+				{
+					"path": "home/index",
+					"style": {
+						"navigationBarTitleText": "系统首页",
+						"enablePullDownRefresh": true //是否启用下拉刷新
+					}
+				},
+				{
+					"path": "home/video",
+					"style": {
+						"navigationBarTitleText": "详细信息",
+						"enablePullDownRefresh": true //是否启用下拉刷新
+					}
 				}
-			}]
+			]
 		}
 	],
 	"globalStyle": {

+ 46 - 10
pages/index/index.vue

@@ -1,8 +1,21 @@
 <template>
 	<view class="content">
 		<view class="one">
-			<button @tap="toPath('/pagesCommon/test/index')" size="mini">分包一测试页面</button>
-			<button @tap="toPath('/pagesHome/home/index')" size="mini">系统首页</button>
+			<image :src="logoUrl" mode="aspectFit"></image>
+		</view>
+		<view class="two">
+			<view class="two_1">
+				抵制不良游戏,拒绝盗版游戏。
+			</view>
+			<view class="two_1">
+				注意自我保护,谨防受骗上当。
+			</view>
+			<view class="two_1">
+				适度游戏宜脑,沉迷游戏伤身体。
+			</view>
+			<view class="two_1">
+				合理安排时间,享受健康时间。
+			</view>
 		</view>
 	</view>
 </template>
@@ -11,17 +24,27 @@
 	export default {
 		data() {
 			return {
-
+				logoUrl: 'https://broadcast.waityou24.cn/files/test/20230116145912.jpg',
+				timer: null
 			}
 		},
 		onLoad() {
 			const that = this;
+			that.search('/pagesHome/home/index');
 		},
 		methods: {
-			toPath(e) {
-				uni.navigateTo({
+			async search(e) {
+				const that = this;
+				uni.redirectTo({
 					url: e
 				})
+				// that.timer = setTimeout(() => {
+				// 	uni.redirectTo({
+				// 		url: e
+				// 	})
+				// 	clearTimeout(that.timer);
+				// 	that.timer = null;
+				// }, 2000)
 			}
 		}
 	}
@@ -29,13 +52,26 @@
 
 <style lang="scss">
 	.content {
-		text-align: center;
-
 		.one {
-			padding: 2vw 0;
+			flex-grow: 1;
+			text-align: center;
+
+			image {
+				width: 50vw;
+				height: 50vw;
+				border-radius: 90px;
+				box-shadow: 0 0 5px #f1f1f1;
+				margin: 30vw 0 0 0;
+			}
+		}
+
+		.two {
+			text-align: center;
+			padding: 10px 0;
 
-			button {
-				margin: 0 1vw;
+			.two_1 {
+				padding: 0 0 10px 0;
+				font-size: 14px;
 			}
 		}
 	}

+ 32 - 29
pagesCommon/test/index.vue

@@ -1,36 +1,39 @@
 <template>
-  <view class="content">
-    <view class="one">
-      <view v-for="(item, index) in list" :key="index">
-        <view class="name">
-          {{ item.name }}
-        </view>
-        <view class="brief">
-          {{ item.brief }}
-        </view>
-      </view>
-    </view>
-  </view>
+	<view class="content">
+		<view class="one">
+			<upload :list="file" name="file" :count="6" @uplSuc="uplSuc" @uplDel="uplDel"></upload>
+		</view>
+	</view>
 </template>
 
 <script>
-export default {
-  data() {
-    return {
-      list: [],
-    };
-  },
-  onLoad() {
-    const that = this;
-    that.search();
-  },
-  methods: {
-    async search({ skip = 0, limit = 10, ...info } = {}) {
-      let res = await this.$api("test", "GET", {});
-      console.log(res);
-    },
-  },
-};
+	import upload from "@/components/upload/index.vue";
+	export default {
+		components: {
+			upload,
+		},
+		data() {
+			return {
+				file: [],
+			};
+		},
+		onLoad() {},
+		methods: {
+			// 图片上传
+			uplSuc(e) {
+				const that = this;
+				that.$set(that, `${e.name}`, [...that[e.name], e.data]);
+			},
+			// 图片删除
+			uplDel(e) {
+				const that = this;
+				let data = that[e.name];
+				let arr = data.filter((i, index) => index != e.data.index);
+				that.$set(that, `${e.name}`, arr);
+			},
+
+		},
+	};
 </script>
 
 <style lang="scss"></style>

+ 204 - 15
pagesHome/home/index.vue

@@ -1,37 +1,226 @@
 <template>
 	<view class="content">
 		<view class="one">
-			<upload :list="file" name="file" :count="6" @uplSuc="uplSuc" @uplDel="uplDel"></upload>
+			<input type="text" v-model="searchInfo.name" @blur="toInput" placeholder="搜索名称">
+		</view>
+		<view class="two">
+			<scroll-view scroll-y="true" class="scroll-view" @scrolltolower="toPage" @scroll="toScroll">
+				<view class="list-scroll-view">
+					<view class="list" v-for="(item, index) in list" :key="index">
+						<view class="name">
+							<text>{{ index + 1 }}.</text>
+							<text>{{ item.name }}</text>
+						</view>
+						<view class="other">
+							<view class="other_1">
+								<text>视频流:</text>
+								<text>{{ item.path||'暂无视频流' }}</text>
+							</view>
+						</view>
+						<view class="btn">
+							<button type="primary" size="mini" @tap="toPlay(item)">
+								播放视频
+							</button>
+						</view>
+					</view>
+				</view>
+			</scroll-view>
+		</view>
+		<view class="is_bottom" v-if="is_bottom">
+			<text>到底了,嘻嘻!</text>
 		</view>
 	</view>
 </template>
 
 <script>
-	import upload from "@/components/upload/index.vue";
 	export default {
-		components: {
-			upload,
-		},
 		data() {
 			return {
-				file: [],
+				// 查询
+				searchInfo: {},
+				list: [],
+				total: 0,
+				page: 0,
+				skip: 0,
+				limit: 10,
+				// 数据是否触底
+				is_bottom: false,
+				scrollTop: 0
 			};
 		},
+		onLoad() {
+			const that = this;
+			that.search();
+		},
+		onPullDownRefresh: async function() {
+			const that = this;
+			that.clearPage();
+			await that.search();
+			uni.stopPullDownRefresh();
+		},
 		methods: {
-			// 图片上传
-			uplSuc(e) {
+			async search() {
 				const that = this;
-				that.$set(that, `${e.name}`, [...that[e.name], e.data]);
+				let info = {
+					skip: that.skip,
+					limit: that.limit,
+					is_use: "0"
+				};
+				let res = await that.$api("test", "GET", {
+					...info,
+					...that.searchInfo
+				});
+				if (res.errcode == '0') {
+					let list = [...that.list, ...res.data]
+					that.$set(that, `list`, list)
+					that.$set(that, `total`, res.total)
+				} else {
+					uni.showToast({
+						title: res.errmsg,
+						icon: 'icon'
+					});
+				}
 			},
-			// 图片删除
-			uplDel(e) {
+			// 分页
+			toPage() {
 				const that = this;
-				let data = that[e.name];
-				let arr = data.filter((i, index) => index != e.data.index);
-				that.$set(that, `${e.name}`, arr);
+				let list = that.list;
+				let limit = that.limit;
+				if (that.total > list.length) {
+					uni.showLoading({
+						title: '加载中',
+						mask: true
+					})
+					let page = that.page + 1;
+					that.$set(that, `page`, page)
+					let skip = page * limit;
+					that.$set(that, `skip`, skip)
+					that.search();
+					uni.hideLoading();
+
+				} else that.$set(that, `is_bottom`, true)
 			},
+			toScroll(e) {
+				const that = this;
+				let up = that.scrollTop;
+				that.$set(that, `scrollTop`, e.detail.scrollTop);
+				let num = Math.sign(up - e.detail.scrollTop);
+				if (num == 1) that.$set(that, `is_bottom`, false);
+			},
+			// 输入框
+			toInput(e) {
+				const that = this;
+				if (e.detail.value) that.$set(that.searchInfo, `name`, e.detail.value);
+				else that.$set(that, `searchInfo`, {});
+				that.clearPage();
+				that.search();
+			},
+			toPlay(e) {
+				if (e.path) {
+					uni.navigateTo({
+						url: `/pagesHome/home/video?path=${e.path}&&name=${e.name}`,
+					});
+				} else {
+					uni.showToast({
+						title: '暂无视频流,无法播放',
+						icon: 'none'
+					});
+				}
+			},
+			// 清空列表
+			clearPage() {
+				const that = this;
+				that.$set(that, `list`, [])
+				that.$set(that, `skip`, 0)
+				that.$set(that, `limit`, 10)
+				that.$set(that, `page`, 0)
+			}
 		},
 	};
 </script>
 
-<style lang="scss"></style>
+<style lang="scss">
+	.content {
+		.one {
+			border-bottom: 1px solid #000000;
+
+			input {
+				padding: 2vw;
+				background-color: #f1f1f1;
+				font-size: 14px;
+				border-radius: 5px;
+			}
+		}
+
+		.two {
+			position: relative;
+			flex-grow: 1;
+			padding: 0 10px;
+
+			.list {
+				// width: 90%;
+				margin: 10px 0 0 0;
+				padding: 10px;
+				border-radius: 5px;
+				box-shadow: 0 0 5px #cccccc;
+
+				.name {
+					font-size: 16px;
+					font-weight: bold;
+					margin: 0 0 5px 0;
+				}
+
+				.other {
+					margin: 0 0 10px 0;
+
+					.other_1 {
+						margin: 0 0 5px 0;
+
+						text {
+							font-size: 14px;
+							color: #858585;
+						}
+
+						text:last-child {
+							color: #000000;
+							word-break: break-all;
+						}
+					}
+				}
+
+				.btn {
+					text-align: center;
+				}
+			}
+
+			.list:last-child {
+				margin: 10px 0;
+			}
+		}
+	}
+
+	.scroll-view {
+		position: absolute;
+		top: 0;
+		left: 0;
+		right: 0;
+		bottom: 0;
+
+		.list-scroll-view {
+			display: flex;
+			flex-direction: column;
+			padding: 0 10px;
+		}
+	}
+
+	.is_bottom {
+		text-align: center;
+
+		text {
+			padding: 2vw 0;
+			display: inline-block;
+			color: #858585;
+			font-size: 14px;
+		}
+	}
+</style>

+ 52 - 0
pagesHome/home/video.vue

@@ -0,0 +1,52 @@
+<template>
+	<view class="content">
+		<view class="one">
+			<video :src="info.path"></video>
+		</view>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				info: {},
+			};
+		},
+		onLoad(e) {
+			const that = this;
+			let info = {
+				path: e.path || '',
+				name: e.name || ''
+			}
+			that.$set(that, `info`, info);
+			that.search()
+		},
+		methods: {
+			search() {
+				const that = this;
+				if (that.info && that.info.name) {
+					uni.setNavigationBarTitle({
+						title: that.info.name
+					});
+				}
+			}
+		}
+	}
+</script>
+
+<style lang="scss"> 
+	.content {
+		.one {
+			text-align: center;
+			padding: 10px;
+
+			video {
+				width: 100%;
+				height: 250px;
+			}
+		}
+
+
+	}
+</style>

二進制
static/logo.jpg


二進制
static/logo.png


+ 0 - 0
unpackage/dist/build/.automator/app-plus/.automator.json


File diff suppressed because it is too large
+ 1 - 0
unpackage/dist/build/app-plus/__uniappchooselocation.js


二進制
unpackage/dist/build/app-plus/__uniapperror.png


File diff suppressed because it is too large
+ 1 - 0
unpackage/dist/build/app-plus/__uniappes6.js


File diff suppressed because it is too large
+ 1 - 0
unpackage/dist/build/app-plus/__uniappopenlocation.js


File diff suppressed because it is too large
+ 1 - 0
unpackage/dist/build/app-plus/__uniapppicker.js


File diff suppressed because it is too large
+ 8 - 0
unpackage/dist/build/app-plus/__uniappquill.js


File diff suppressed because it is too large
+ 1 - 0
unpackage/dist/build/app-plus/__uniappquillimageresize.js


File diff suppressed because it is too large
+ 1 - 0
unpackage/dist/build/app-plus/__uniappscan.js


二進制
unpackage/dist/build/app-plus/__uniappsuccess.png


+ 25 - 0
unpackage/dist/build/app-plus/__uniappview.html

@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+
+  <head>
+    <meta charset="UTF-8" />
+    <script>
+      var __UniViewStartTime__ = Date.now();
+      var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
+        CSS.supports('top: constant(a)'))
+      document.write(
+        '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
+        (coverSupport ? ', viewport-fit=cover' : '') + '" />')
+    </script>
+    <title>View</title>
+    <link rel="stylesheet" href="view.css" />
+  </head>
+
+  <body>
+    <div id="app"></div>
+    <script src="__uniappes6.js"></script>
+    <script src="view.umd.min.js"></script>
+    <script src="app-view.js"></script>
+  </body>
+
+</html>

File diff suppressed because it is too large
+ 8 - 0
unpackage/dist/build/app-plus/app-config-service.js


File diff suppressed because it is too large
+ 1 - 0
unpackage/dist/build/app-plus/app-config.js


File diff suppressed because it is too large
+ 2 - 0
unpackage/dist/build/app-plus/app-service.js


File diff suppressed because it is too large
+ 1 - 0
unpackage/dist/build/app-plus/app-view.js


File diff suppressed because it is too large
+ 1 - 0
unpackage/dist/build/app-plus/manifest.json


二進制
unpackage/dist/build/app-plus/static/logo.jpg


二進制
unpackage/dist/build/app-plus/uni_modules/uni-icons/components/uni-icons/uniicons.ttf


File diff suppressed because it is too large
+ 1 - 0
unpackage/dist/build/app-plus/view.css


File diff suppressed because it is too large
+ 6 - 0
unpackage/dist/build/app-plus/view.umd.min.js


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/components/upload/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesCommon/test/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/home/index.js.map


File diff suppressed because it is too large
+ 1 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/home/video.js.map


File diff suppressed because it is too large
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesOne/test/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js.map


File diff suppressed because it is too large
+ 2 - 2
unpackage/dist/dev/app-plus/app-config-service.js


File diff suppressed because it is too large
+ 937 - 785
unpackage/dist/dev/app-plus/app-service.js


File diff suppressed because it is too large
+ 653 - 289
unpackage/dist/dev/app-plus/app-view.js


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/app-plus/manifest.json


二進制
unpackage/dist/dev/app-plus/static/logo.jpg


二進制
unpackage/dist/dev/app-plus/static/logo.png


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

@@ -12,7 +12,8 @@
     {
       "root": "pagesHome",
       "pages": [
-        "home/index"
+        "home/index",
+        "home/video"
       ]
     }
   ],
@@ -23,5 +24,6 @@
     "backgroundColor": "#F8F8F8"
   },
   "permission": {},
+  "lazyCodeLoading": "requiredComponents",
   "usingComponents": {}
 }

File diff suppressed because it is too large
+ 2 - 2
unpackage/dist/dev/mp-weixin/common/main.js


+ 198 - 238
unpackage/dist/dev/mp-weixin/common/vendor.js

@@ -14,31 +14,27 @@ Object.defineProperty(exports, "__esModule", {
   value: true
 });
 exports.default = void 0;
-var hasOwnProperty = Object.prototype.hasOwnProperty;
-function hasOwn(obj, key) {
-  return hasOwnProperty.call(obj, key);
-}
-function isFn(fn) {
-  return typeof fn === 'function';
+var objectKeys = ['qy', 'env', 'error', 'version', 'lanDebug', 'cloud', 'serviceMarket', 'router', 'worklet'];
+var target = typeof globalThis !== 'undefined' ? globalThis : function () {
+  return this;
+}();
+var key = ['w', 'x'].join('');
+var oldWx = target[key];
+function isWxKey(key) {
+  return objectKeys.indexOf(key) > -1 || typeof oldWx[key] === 'function';
 }
-var objectKeys = ['env', 'error', 'version', 'lanDebug', 'cloud', 'serviceMarket', 'router', 'worklet'];
-var oldWx = globalThis[['w', 'x'].join('')];
 function initWx() {
-  var WxProxyHandlers = {
-    get: function get(target, key) {
-      if (hasOwn(target, key)) {
-        return target[key];
-      }
-      if (objectKeys.indexOf(key) > -1 || isFn(oldWx[key])) {
-        return oldWx[key];
-      }
+  var newWx = {};
+  for (var _key in oldWx) {
+    if (isWxKey(_key)) {
+      // TODO wrapper function
+      newWx[_key] = oldWx[_key];
     }
-  };
-  return new Proxy({}, WxProxyHandlers);
+  }
+  return newWx;
 }
-var wxProxy = initWx();
-globalThis[['w', 'x'].join('')] = wxProxy;
-var _default = wxProxy;
+target[key] = initWx();
+var _default = target[key];
 exports.default = _default;
 
 /***/ }),
@@ -772,12 +768,12 @@ function populateParameters(result) {
 
   var parameters = {
     appId: "__UNI__2080341",
-    appName: "uniapp",
+    appName: "益智游戏",
     appVersion: "1.0.0",
     appVersionCode: "100",
     appLanguage: getAppLanguage(hostLanguage),
-    uniCompileVersion: "3.6.17",
-    uniRuntimeVersion: "3.6.17",
+    uniCompileVersion: "3.6.18",
+    uniRuntimeVersion: "3.6.18",
     uniPlatform: undefined || "mp-weixin",
     deviceBrand: deviceBrand,
     deviceModel: model,
@@ -871,7 +867,7 @@ var getAppBaseInfo = {
     var hostLanguage = language.replace('_', '-');
     result = sortObject(Object.assign(result, {
       appId: "__UNI__2080341",
-      appName: "uniapp",
+      appName: "益智游戏",
       appVersion: "1.0.0",
       appVersionCode: "100",
       appLanguage: getAppLanguage(hostLanguage),
@@ -1232,7 +1228,11 @@ var offPushMessage = function offPushMessage(fn) {
     }
   }
 };
-var host = wx.getAppBaseInfo ? wx.getAppBaseInfo().host : wx.getSystemInfoSync().host;
+var baseInfo = wx.getAppBaseInfo && wx.getAppBaseInfo();
+if (!baseInfo) {
+  baseInfo = wx.getSystemInfoSync();
+}
+var host = baseInfo ? baseInfo.host : null;
 var shareVideoMessage = host && host.env === 'SAAASDK' ? wx.miniapp.shareVideoMessage : wx.shareVideoMessage;
 var api = /*#__PURE__*/Object.freeze({
   __proto__: null,
@@ -1524,7 +1524,7 @@ function initData(vueOptions, context) {
     try {
       data = data.call(context); // 支持 Vue.prototype 上挂的数据
     } catch (e) {
-      if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"uniapp","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
+      if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"益智游戏","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
         console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
       }
     }
@@ -8878,7 +8878,7 @@ function type(obj) {
 
 function flushCallbacks$1(vm) {
     if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
-        if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"uniapp","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
+        if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"益智游戏","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
             var mpInstance = vm.$scope;
             console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
                 ']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
@@ -8899,14 +8899,14 @@ function nextTick$1(vm, cb) {
     //1.nextTick 之前 已 setData 且 setData 还未回调完成
     //2.nextTick 之前存在 render watcher
     if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
-        if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"uniapp","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
+        if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"益智游戏","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
             var mpInstance = vm.$scope;
             console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
                 ']:nextVueTick');
         }
         return nextTick(cb, vm)
     }else{
-        if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"uniapp","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
+        if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"益智游戏","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
             var mpInstance$1 = vm.$scope;
             console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
                 ']:nextMPTick');
@@ -9002,7 +9002,7 @@ var patch = function(oldVnode, vnode) {
     });
     var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
     if (Object.keys(diffData).length) {
-      if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"uniapp","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
+      if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"益智游戏","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
         console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
           ']差量更新',
           JSON.stringify(diffData));
@@ -9562,29 +9562,139 @@ function normalizeComponent (
 
 
 /***/ }),
-/* 33 */,
-/* 34 */,
-/* 35 */,
-/* 36 */,
-/* 37 */,
-/* 38 */,
-/* 39 */,
-/* 40 */,
-/* 41 */,
-/* 42 */,
-/* 43 */,
-/* 44 */,
-/* 45 */,
-/* 46 */,
-/* 47 */,
-/* 48 */,
-/* 49 */,
-/* 50 */,
-/* 51 */,
-/* 52 */,
-/* 53 */,
-/* 54 */,
-/* 55 */
+/* 33 */
+/*!***********************************************!*\
+  !*** D:/project/项目模板/uniapp/common/config.js ***!
+  \***********************************************/
+/*! no static exports found */
+/***/ (function(module, exports, __webpack_require__) {
+
+"use strict";
+/* WEBPACK VAR INJECTION */(function(uni) {
+
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+exports.default = void 0;
+var _default = {
+  // 接口地址
+  serverUrl: "https://broadcast.waityou24.cn",
+  wechatUrl: "https://broadcast.waityou24.cn",
+  // 设备信息
+  system: uni.getSystemInfoSync()
+};
+exports.default = _default;
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
+
+/***/ }),
+/* 34 */
+/*!********************************************!*\
+  !*** D:/project/项目模板/uniapp/common/api.js ***!
+  \********************************************/
+/*! no static exports found */
+/***/ (function(module, exports, __webpack_require__) {
+
+"use strict";
+/* WEBPACK VAR INJECTION */(function(uni) {
+
+var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+exports.requestFile = exports.requestBase = void 0;
+var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 35));
+var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 37));
+var _config = _interopRequireDefault(__webpack_require__(/*! ../common/config */ 33));
+var getDomain = function getDomain(uri, type) {
+  var serverUrl = _config.default.serverUrl,
+    wechatUrl = _config.default.wechatUrl;
+  // 自定义
+  if (uri.includes("http")) return uri;
+  // 微信
+  if (uri.startsWith("/wechat/api")) return wechatUrl + uri;
+  // 地址前缀
+  else if (type) return serverUrl + "/projectadmin/".concat(type, "/api/") + uri;
+  // 常规
+  return serverUrl + "/projectadmin/api/" + uri;
+};
+// 常规请求
+var requestBase = /*#__PURE__*/function () {
+  var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(uri) {
+    var method,
+      data,
+      type,
+      baseUrl,
+      header,
+      token,
+      _args = arguments;
+    return _regenerator.default.wrap(function _callee$(_context) {
+      while (1) {
+        switch (_context.prev = _context.next) {
+          case 0:
+            method = _args.length > 1 && _args[1] !== undefined ? _args[1] : "GET";
+            data = _args.length > 2 ? _args[2] : undefined;
+            type = _args.length > 3 ? _args[3] : undefined;
+            // 请求地址
+            baseUrl = getDomain(uri, type); // 请求头
+            header = {}; // 用户信息
+            token = "";
+            if (token) header.token = token;
+            return _context.abrupt("return", new Promise(function (resolve, reject) {
+              uni.request({
+                url: baseUrl,
+                method: method,
+                data: data,
+                header: header,
+                success: function success(res) {
+                  return toResolve(resolve, res);
+                },
+                fail: function fail(err) {
+                  console.log(err);
+                }
+              });
+            }));
+          case 8:
+          case "end":
+            return _context.stop();
+        }
+      }
+    }, _callee);
+  }));
+  return function requestBase(_x) {
+    return _ref.apply(this, arguments);
+  };
+}();
+// 图片请求
+exports.requestBase = requestBase;
+var requestFile = function requestFile(uri, method, data, type) {
+  // 请求地址
+  var baseUrl = getDomain(uri, type);
+  return new Promise(function (resolve, reject) {
+    uni.uploadFile({
+      url: "https://broadcast.waityou24.cn/".concat(uri),
+      filePath: data,
+      name: 'file',
+      formData: {},
+      success: function success(res) {
+        return toResolve(resolve, res);
+      },
+      error: function error(e) {
+        return toReject(reject, e);
+      }
+    });
+  });
+};
+exports.requestFile = requestFile;
+var toResolve = function toResolve(resolve, result) {
+  if (result.statusCode === 200) resolve(result.data);
+};
+var toReject = function toReject(reject, result) {
+  reject(result);
+};
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
+
+/***/ }),
+/* 35 */
 /*!************************************************************************************************!*\
   !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/@babel/runtime/regenerator/index.js ***!
   \************************************************************************************************/
@@ -9593,11 +9703,11 @@ function normalizeComponent (
 
 // TODO(Babel 8): Remove this file.
 
-var runtime = __webpack_require__(/*! @babel/runtime/helpers/regeneratorRuntime */ 56)();
+var runtime = __webpack_require__(/*! @babel/runtime/helpers/regeneratorRuntime */ 36)();
 module.exports = runtime;
 
 /***/ }),
-/* 56 */
+/* 36 */
 /*!*******************************************************************!*\
   !*** ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***!
   \*******************************************************************/
@@ -9918,55 +10028,7 @@ function _regeneratorRuntime() {
 module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
 
 /***/ }),
-/* 57 */
-/*!************************************************************************!*\
-  !*** ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js ***!
-  \************************************************************************/
-/*! no static exports found */
-/***/ (function(module, exports, __webpack_require__) {
-
-var objectWithoutPropertiesLoose = __webpack_require__(/*! ./objectWithoutPropertiesLoose.js */ 58);
-function _objectWithoutProperties(source, excluded) {
-  if (source == null) return {};
-  var target = objectWithoutPropertiesLoose(source, excluded);
-  var key, i;
-  if (Object.getOwnPropertySymbols) {
-    var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
-    for (i = 0; i < sourceSymbolKeys.length; i++) {
-      key = sourceSymbolKeys[i];
-      if (excluded.indexOf(key) >= 0) continue;
-      if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
-      target[key] = source[key];
-    }
-  }
-  return target;
-}
-module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports;
-
-/***/ }),
-/* 58 */
-/*!*****************************************************************************!*\
-  !*** ./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js ***!
-  \*****************************************************************************/
-/*! no static exports found */
-/***/ (function(module, exports) {
-
-function _objectWithoutPropertiesLoose(source, excluded) {
-  if (source == null) return {};
-  var target = {};
-  var sourceKeys = Object.keys(source);
-  var key, i;
-  for (i = 0; i < sourceKeys.length; i++) {
-    key = sourceKeys[i];
-    if (excluded.indexOf(key) >= 0) continue;
-    target[key] = source[key];
-  }
-  return target;
-}
-module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;
-
-/***/ }),
-/* 59 */
+/* 37 */
 /*!*****************************************************************!*\
   !*** ./node_modules/@babel/runtime/helpers/asyncToGenerator.js ***!
   \*****************************************************************/
@@ -10006,138 +10068,30 @@ function _asyncToGenerator(fn) {
 module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
 
 /***/ }),
-/* 60 */
-/*!***********************************************!*\
-  !*** D:/project/项目模板/uniapp/common/config.js ***!
-  \***********************************************/
-/*! no static exports found */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(uni) {
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = void 0;
-var _default = {
-  // 接口地址
-  serverUrl: "http://127.0.0.1:10102",
-  wechatUrl: "https://broadcast.waityou24.cn",
-  // 设备信息
-  system: uni.getSystemInfoSync()
-};
-exports.default = _default;
-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
-
-/***/ }),
-/* 61 */
-/*!********************************************!*\
-  !*** D:/project/项目模板/uniapp/common/api.js ***!
-  \********************************************/
-/*! no static exports found */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(uni) {
-
-var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.requestFile = exports.requestBase = void 0;
-var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 55));
-var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 59));
-var _config = _interopRequireDefault(__webpack_require__(/*! ../common/config */ 60));
-var getDomain = function getDomain(uri, type) {
-  var serverUrl = _config.default.serverUrl,
-    wechatUrl = _config.default.wechatUrl;
-  // 自定义
-  if (uri.includes("http")) return uri;
-  // 微信
-  if (uri.startsWith("/wechat/api")) return wechatUrl + uri;
-  // 地址前缀
-  else if (type) return serverUrl + "/projectadmin/".concat(type, "/api/") + uri;
-  // 常规
-  return serverUrl + "/projectadmin/api/" + uri;
-};
-// 常规请求
-var requestBase = /*#__PURE__*/function () {
-  var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(uri) {
-    var method,
-      data,
-      type,
-      baseUrl,
-      header,
-      token,
-      _args = arguments;
-    return _regenerator.default.wrap(function _callee$(_context) {
-      while (1) {
-        switch (_context.prev = _context.next) {
-          case 0:
-            method = _args.length > 1 && _args[1] !== undefined ? _args[1] : "GET";
-            data = _args.length > 2 ? _args[2] : undefined;
-            type = _args.length > 3 ? _args[3] : undefined;
-            // 请求地址
-            baseUrl = getDomain(uri, type); // 请求头
-            header = {}; // 用户信息
-            token = "";
-            if (token) header.token = token;
-            return _context.abrupt("return", new Promise(function (resolve, reject) {
-              uni.request({
-                url: baseUrl,
-                method: method,
-                data: data,
-                header: header,
-                success: function success(res) {
-                  return toResolve(resolve, res);
-                },
-                fail: function fail(err) {
-                  return toReject(reject, err);
-                }
-              });
-            }));
-          case 8:
-          case "end":
-            return _context.stop();
-        }
-      }
-    }, _callee);
-  }));
-  return function requestBase(_x) {
-    return _ref.apply(this, arguments);
-  };
-}();
-// 图片请求
-exports.requestBase = requestBase;
-var requestFile = function requestFile(uri, method, data, type) {
-  // 请求地址
-  var baseUrl = getDomain(uri, type);
-  return new Promise(function (resolve, reject) {
-    uni.uploadFile({
-      url: "https://broadcast.waityou24.cn/".concat(uri),
-      filePath: data,
-      name: 'file',
-      formData: {},
-      success: function success(res) {
-        return toResolve(resolve, res);
-      },
-      error: function error(e) {
-        return toReject(reject, e);
-      }
-    });
-  });
-};
-exports.requestFile = requestFile;
-var toResolve = function toResolve(resolve, result) {
-  if (result.statusCode === 200) resolve(result.data);
-};
-var toReject = function toReject(reject, result) {
-  reject(result);
-};
-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
-
-/***/ }),
+/* 38 */,
+/* 39 */,
+/* 40 */,
+/* 41 */,
+/* 42 */,
+/* 43 */,
+/* 44 */,
+/* 45 */,
+/* 46 */,
+/* 47 */,
+/* 48 */,
+/* 49 */,
+/* 50 */,
+/* 51 */,
+/* 52 */,
+/* 53 */,
+/* 54 */,
+/* 55 */,
+/* 56 */,
+/* 57 */,
+/* 58 */,
+/* 59 */,
+/* 60 */,
+/* 61 */,
 /* 62 */,
 /* 63 */,
 /* 64 */,
@@ -10150,7 +10104,13 @@ var toReject = function toReject(reject, result) {
 /* 71 */,
 /* 72 */,
 /* 73 */,
-/* 74 */
+/* 74 */,
+/* 75 */,
+/* 76 */,
+/* 77 */,
+/* 78 */,
+/* 79 */,
+/* 80 */
 /*!**********************************************************************************!*\
   !*** D:/project/项目模板/uniapp/uni_modules/uni-icons/components/uni-icons/icons.js ***!
   \**********************************************************************************/

File diff suppressed because it is too large
+ 17 - 17
unpackage/dist/dev/mp-weixin/components/upload/index.js


File diff suppressed because it is too large
+ 63 - 21
unpackage/dist/dev/mp-weixin/pages/index/index.js


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

@@ -1 +1 @@
-<view class="content"><view class="one"><button size="mini" data-event-opts="{{[['tap',[['toPath',['/pagesCommon/test/index']]]]]}}" bindtap="__e">分包一测试页面</button><button size="mini" data-event-opts="{{[['tap',[['toPath',['/pagesHome/home/index']]]]]}}" bindtap="__e">系统首页</button></view></view>
+<view class="content"><view class="one"><image src="{{logoUrl}}" mode="aspectFit"></image></view><view class="two"><view class="two_1">抵制不良游戏,拒绝盗版游戏。</view><view class="two_1">注意自我保护,谨防受骗上当。</view><view class="two_1">适度游戏宜脑,沉迷游戏伤身体。</view><view class="two_1">合理安排时间,享受健康时间。</view></view></view>

+ 15 - 5
unpackage/dist/dev/mp-weixin/pages/index/index.wxss

@@ -5,13 +5,23 @@
   width: 100vw;
   height: 100vh;
 }
-.content {
+.content .one {
+  flex-grow: 1;
   text-align: center;
 }
-.content .one {
-  padding: 2vw 0;
+.content .one image {
+  width: 50vw;
+  height: 50vw;
+  border-radius: 90px;
+  box-shadow: 0 0 5px #f1f1f1;
+  margin: 30vw 0 0 0;
+}
+.content .two {
+  text-align: center;
+  padding: 10px 0;
 }
-.content .one button {
-  margin: 0 1vw;
+.content .two .two_1 {
+  padding: 0 0 10px 0;
+  font-size: 14px;
 }
 

File diff suppressed because it is too large
+ 36 - 58
unpackage/dist/dev/mp-weixin/pagesCommon/test/index.js


+ 3 - 1
unpackage/dist/dev/mp-weixin/pagesCommon/test/index.json

@@ -1,5 +1,7 @@
 {
   "navigationBarTitleText": "测试一",
   "enablePullDownRefresh": true,
-  "usingComponents": {}
+  "usingComponents": {
+    "upload": "/components/upload/index"
+  }
 }

+ 1 - 1
unpackage/dist/dev/mp-weixin/pagesCommon/test/index.wxml

@@ -1 +1 @@
-<view class="content"><view class="one"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view><view class="name">{{''+item.name+''}}</view><view class="brief">{{''+item.brief+''}}</view></view></block></view></view>
+<view class="content"><view class="one"><upload vue-id="28f7d6fa-1" list="{{file}}" name="file" count="{{6}}" data-event-opts="{{[['^uplSuc',[['uplSuc']]],['^uplDel',[['uplDel']]]]}}" bind:uplSuc="__e" bind:uplDel="__e" bind:__l="__l"></upload></view></view>

File diff suppressed because it is too large
+ 209 - 34
unpackage/dist/dev/mp-weixin/pagesHome/home/index.js


+ 1 - 3
unpackage/dist/dev/mp-weixin/pagesHome/home/index.json

@@ -1,7 +1,5 @@
 {
   "navigationBarTitleText": "系统首页",
   "enablePullDownRefresh": true,
-  "usingComponents": {
-    "upload": "/components/upload/index"
-  }
+  "usingComponents": {}
 }

File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/mp-weixin/pagesHome/home/index.wxml


+ 74 - 0
unpackage/dist/dev/mp-weixin/pagesHome/home/index.wxss

@@ -0,0 +1,74 @@
+.content {
+  display: flex;
+  flex-direction: column;
+  box-sizing: border-box;
+  width: 100vw;
+  height: 100vh;
+}
+.content .one {
+  border-bottom: 1px solid #000000;
+}
+.content .one input {
+  padding: 2vw;
+  background-color: #f1f1f1;
+  font-size: 14px;
+  border-radius: 5px;
+}
+.content .two {
+  position: relative;
+  flex-grow: 1;
+  padding: 0 10px;
+}
+.content .two .list {
+  margin: 10px 0 0 0;
+  padding: 10px;
+  border-radius: 5px;
+  box-shadow: 0 0 5px #cccccc;
+}
+.content .two .list .name {
+  font-size: 16px;
+  font-weight: bold;
+  margin: 0 0 5px 0;
+}
+.content .two .list .other {
+  margin: 0 0 10px 0;
+}
+.content .two .list .other .other_1 {
+  margin: 0 0 5px 0;
+}
+.content .two .list .other .other_1 text {
+  font-size: 14px;
+  color: #858585;
+}
+.content .two .list .other .other_1 text:last-child {
+  color: #000000;
+  word-break: break-all;
+}
+.content .two .list .btn {
+  text-align: center;
+}
+.content .two .list:last-child {
+  margin: 10px 0;
+}
+.scroll-view {
+  position: absolute;
+  top: 0;
+  left: 0;
+  right: 0;
+  bottom: 0;
+}
+.scroll-view .list-scroll-view {
+  display: flex;
+  flex-direction: column;
+  padding: 0 10px;
+}
+.is_bottom {
+  text-align: center;
+}
+.is_bottom text {
+  padding: 2vw 0;
+  display: inline-block;
+  color: #858585;
+  font-size: 14px;
+}
+

File diff suppressed because it is too large
+ 213 - 0
unpackage/dist/dev/mp-weixin/pagesHome/home/video.js


+ 5 - 0
unpackage/dist/dev/mp-weixin/pagesHome/home/video.json

@@ -0,0 +1,5 @@
+{
+  "navigationBarTitleText": "详细信息",
+  "enablePullDownRefresh": true,
+  "usingComponents": {}
+}

+ 1 - 0
unpackage/dist/dev/mp-weixin/pagesHome/home/video.wxml

@@ -0,0 +1 @@
+<view class="content"><view class="one"><video src="{{info.path}}"></video></view></view>

+ 16 - 0
unpackage/dist/dev/mp-weixin/pagesHome/home/video.wxss

@@ -0,0 +1,16 @@
+.content {
+  display: flex;
+  flex-direction: column;
+  box-sizing: border-box;
+  width: 100vw;
+  height: 100vh;
+}
+.content .one {
+  text-align: center;
+  padding: 10px;
+}
+.content .one video {
+  width: 100%;
+  height: 250px;
+}
+

+ 2 - 2
unpackage/dist/dev/mp-weixin/project.config.json

@@ -18,9 +18,9 @@
         }
     },
     "compileType": "miniprogram",
-    "libVersion": "2.29.2",
+    "libVersion": "2.30.0",
     "appid": "wx0fd4b616bc7cf3bb",
-    "projectname": "uniapp",
+    "projectname": "益智游戏",
     "condition": {},
     "editorSetting": {
         "tabIndent": "insertSpaces",

+ 3 - 3
unpackage/dist/dev/mp-weixin/project.private.config.json

@@ -1,7 +1,7 @@
 {
-    "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
-    "projectname": "uniapp",
+    "projectname": "益智游戏",
     "setting": {
         "compileHotReLoad": true
-    }
+    },
+    "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
 }

+ 7 - 0
unpackage/dist/dev/mp-weixin/sitemap.json

@@ -0,0 +1,7 @@
+{
+    "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
+    "rules": [{
+    "action": "allow",
+    "page": "*"
+    }]
+}

二進制
unpackage/dist/dev/mp-weixin/static/logo.jpg


二進制
unpackage/dist/dev/mp-weixin/static/logo.png


File diff suppressed because it is too large
+ 15 - 15
unpackage/dist/dev/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js