From 3d74e3d9071a498fde2191fc049813bb17df9a49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Mon, 24 May 2021 15:49:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=83=A8=E5=88=86=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E4=BC=98=E5=8C=96=E4=B8=80=E4=BA=9B=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 5 +- components/m-airbtn/index.vue | 11 +- components/m-canvas/index.vue | 18 +- components/m-city/m-city.vue | 55 ++++-- .../m-search-revision/m-search-revision.vue | 112 +++-------- pages.json | 6 - pages/navigation/search/searchPage.vue | 1 + pages/passport/article.vue | 9 +- pages/passport/codeLogin.vue | 12 +- pages/passport/login.scss | 3 +- pages/passport/register.vue | 0 pages/passport/restPassword.vue | 185 ------------------ pages/tabbar/home/advertise.vue | 185 ------------------ pages/tabbar/home/agreement.vue | 118 ----------- pages/tabbar/home/index.vue | 1 + pages/tabbar/home/template/tpl_flex_five.vue | 3 +- pages/tabbar/home/template/tpl_flex_four.vue | 20 +- pages/tabbar/home/template/tpl_flex_one.vue | 1 + pages/tabbar/home/template/tpl_goods.vue | 30 +-- pages/tabbar/home/template/tpl_group.vue | 20 +- pages/tabbar/home/template/tpl_integral.vue | 10 +- pages/tabbar/home/template/tpl_join_group.vue | 3 +- .../home/template/tpl_left_one_right_two.vue | 1 - pages/tabbar/home/template/tpl_menu.vue | 1 + pages/tabbar/home/template/tpl_search.vue | 1 + pages/tabbar/home/template/tpl_spike.vue | 3 +- pages/tabbar/home/template/tpl_title.vue | 78 ++++---- pages/tabbar/home/views.vue | 69 +++---- 28 files changed, 209 insertions(+), 752 deletions(-) delete mode 100644 pages/passport/register.vue delete mode 100644 pages/passport/restPassword.vue delete mode 100644 pages/tabbar/home/advertise.vue delete mode 100644 pages/tabbar/home/agreement.vue 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 @@