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 @@