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