diff --git a/App.vue b/App.vue index 4e09368..bd28e4c 100644 --- a/App.vue +++ b/App.vue @@ -31,19 +31,18 @@ export default { onShow() { // #ifndef H5 - this.getClipboard(); // #endif }, methods: { - // 开屏广告 + // TODO 开屏广告 后续优化添加 launch() { try { // 获取本地存储中launchFlag标识 开屏广告 const value = uni.getStorageSync("launchFlag"); if (!value) { - this.$u.route("/pages/index/agreement"); + // this.$u.route("/pages/index/agreement"); } else { //app启动时打开启动广告页 var w = plus.webview.open( diff --git a/components/m-airbtn/index.vue b/components/m-airbtn/index.vue index e719da5..72e40df 100644 --- a/components/m-airbtn/index.vue +++ b/components/m-airbtn/index.vue @@ -18,9 +18,9 @@ import config from "@/config/config"; export default { data() { return { - config, - weChat: false, - logo: require("@/icon.png"), + config, // 设置工具类 + weChat: false, // 是否微信浏览器,该项为true时不显示 当前整个页面 + logo: require("@/icon.png"), //显示的圆形logo }; }, mounted() { @@ -36,11 +36,16 @@ export default { // #endif }, methods: { + + /** + * 跳转到下载app页面 + */ downloadApp() { setTimeout(function () { window.location.href = config.downloadLink; }, 2000); }, + /** * 打开app 仅在h5生效 使用ifream唤醒app */ diff --git a/components/m-canvas/index.vue b/components/m-canvas/index.vue index c66b377..6580314 100644 --- a/components/m-canvas/index.vue +++ b/components/m-canvas/index.vue @@ -3,7 +3,6 @@
-
@@ -19,21 +18,20 @@
diff --git a/pages/tabbar/home/advertise.vue b/pages/tabbar/home/advertise.vue deleted file mode 100644 index fffd52e..0000000 --- a/pages/tabbar/home/advertise.vue +++ /dev/null @@ -1,185 +0,0 @@ - - - - - diff --git a/pages/tabbar/home/agreement.vue b/pages/tabbar/home/agreement.vue deleted file mode 100644 index 66cbb44..0000000 --- a/pages/tabbar/home/agreement.vue +++ /dev/null @@ -1,118 +0,0 @@ - - - - - diff --git a/pages/tabbar/home/index.vue b/pages/tabbar/home/index.vue index 565c4f2..d287b83 100644 --- a/pages/tabbar/home/index.vue +++ b/pages/tabbar/home/index.vue @@ -1,5 +1,6 @@ diff --git a/pages/tabbar/home/template/tpl_flex_five.vue b/pages/tabbar/home/template/tpl_flex_five.vue index 6bfecb0..a758483 100644 --- a/pages/tabbar/home/template/tpl_flex_five.vue +++ b/pages/tabbar/home/template/tpl_flex_five.vue @@ -17,8 +17,7 @@ export default { modelNavigateTo, }; }, - mounted() { - }, + mounted() {}, }; \ No newline at end of file diff --git a/pages/tabbar/home/template/tpl_flex_one.vue b/pages/tabbar/home/template/tpl_flex_one.vue index d2d94fc..8313a41 100644 --- a/pages/tabbar/home/template/tpl_flex_one.vue +++ b/pages/tabbar/home/template/tpl_flex_one.vue @@ -9,6 +9,7 @@ import { modelNavigateTo } from "./tpl"; export default { + title:"单行图片模块", data() { return { modelNavigateTo, diff --git a/pages/tabbar/home/template/tpl_goods.vue b/pages/tabbar/home/template/tpl_goods.vue index 3628ffe..20ba180 100644 --- a/pages/tabbar/home/template/tpl_goods.vue +++ b/pages/tabbar/home/template/tpl_goods.vue @@ -1,31 +1,18 @@ + diff --git a/pages/tabbar/home/template/tpl_join_group.vue b/pages/tabbar/home/template/tpl_join_group.vue index b9095fc..9309331 100644 --- a/pages/tabbar/home/template/tpl_join_group.vue +++ b/pages/tabbar/home/template/tpl_join_group.vue @@ -3,7 +3,6 @@
{{ res.list[0].title }}
-
更多
@@ -28,8 +27,10 @@
diff --git a/pages/tabbar/home/views.vue b/pages/tabbar/home/views.vue index c9e57da..f4ae537 100644 --- a/pages/tabbar/home/views.vue +++ b/pages/tabbar/home/views.vue @@ -2,7 +2,8 @@
- + + @@ -23,12 +24,13 @@ - - - + + + +
@@ -36,34 +38,35 @@