diff --git a/manifest.json b/manifest.json
index 7ae5822..0a1fff7 100644
--- a/manifest.json
+++ b/manifest.json
@@ -22,7 +22,8 @@
},
/* 模块配置 */
"modules" : {
- "VideoPlayer" : {}
+ "VideoPlayer" : {},
+ "Webview-x5" : {}
},
/* 应用发布信息 */
"distribute" : {
diff --git a/pages.json b/pages.json
index 8bcdb43..241876e 100644
--- a/pages.json
+++ b/pages.json
@@ -17,6 +17,10 @@
{
"path" : "pages/show/show",
"style" : {}
+ },
+ {
+ "path" : "pages/show/show2",
+ "style" : {}
}
],
"globalStyle": {
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 70ed3b4..de1da7c 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -4,6 +4,9 @@
{{title}}
+
+ swiper
+
@@ -22,6 +25,11 @@
uni.navigateTo({
url: '../show/show'
});
+ },
+ to2(){
+ uni.navigateTo({
+ url: '../show/show2'
+ });
}
}
}
diff --git a/pages/show/show.vue b/pages/show/show.vue
index e1c255c..6457189 100644
--- a/pages/show/show.vue
+++ b/pages/show/show.vue
@@ -7,8 +7,29 @@
v-show="item.material_type == 0 && itemIndex == index"
:src="linkUrl"
mode="aspectFill"
- >
-