Ver Fonte

添加了宣传片视频
添加了404跳转首页

yerong há 4 anos atrás
pai
commit
1f922c5810
3 ficheiros alterados com 14 adições e 3 exclusões
  1. 1 1
      dist/wx
  2. 6 0
      src/App.vue
  3. 7 2
      src/pages/none/index.vue

+ 1 - 1
dist/wx

@@ -1 +1 @@
-Subproject commit 377462ab2ae28b19f11a621bc93c8ca2b8565494
+Subproject commit 262c8f8c141ec4854231dfe9765e3fad46c3b2de

+ 6 - 0
src/App.vue

@@ -1,6 +1,12 @@
 <script>
 export default {
+  onPageNotFound(){
+    mpvue.reLaunch({
+      url:'/pages/index/main'
+    })
+  },
   created() {
+
     // 调用API从本地缓存中获取数据
     /*
      * 平台 api 差异的处理方式:  api 方法统一挂载到 mpvue 名称空间, 平台判断通过 mpvuePlatform 特征字符串

+ 7 - 2
src/pages/none/index.vue

@@ -24,12 +24,17 @@ export default {
     return {
       videos: [
         {
-          id: 1,
+          id:1,
+          title:"水母星球宣传片",
+          src:"https://img.shuimuai.com/mg.mp4"
+        },
+        {
+          id: 2,
           title: "水母星球产品使用说明",
           src: "https://img.shuimuai.com/mpapp/desc.mp4"
         },
         {
-          id: 2,
+          id: 3,
           title: "水母星球IP故事",
           src: "https://img.shuimuai.com/mpapp/story.mp4"
         }