From 77c95fc3bf3bea844c8f722f9828086a7fb14422 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=98=8A=E5=A4=A9?= <442384644@qq.com> Date: Sat, 26 Nov 2022 12:56:30 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=A8=A1=E7=89=88=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E3=80=91=E6=9B=B4=E6=96=B0=E7=A7=BB=E5=8A=A8=E7=AB=AF=E6=BA=90?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/uni-app/manifest.json | 14 +- template/uni-app/pages.json | 175 +++++++++--------- .../uni-app/pages/annex/special/index.vue | 6 +- .../pages/columnGoods/HotNewGoods/index.vue | 7 +- .../uni-app/pages/goods_cate/goods_cate.vue | 11 +- .../uni-app/pages/goods_cate/goods_cate1.vue | 12 +- template/uni-app/pages/index/diy/index.vue | 9 +- template/uni-app/pages/index/index.vue | 1 + .../pages/order_addcart/order_addcart.vue | 19 +- template/uni-app/pages/user/index.vue | 15 +- 10 files changed, 112 insertions(+), 157 deletions(-) diff --git a/template/uni-app/manifest.json b/template/uni-app/manifest.json index 87b6b0a1e..31fdae590 100644 --- a/template/uni-app/manifest.json +++ b/template/uni-app/manifest.json @@ -2,8 +2,8 @@ "name" : "CRMEB标准版", "appid" : "__UNI__A3F1ED4", "description" : "CRMEB标准版", - "versionName" : "4.6.0", - "versionCode" : 460, + "versionName" : "1.0.0", + "versionCode" : 100, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { @@ -63,12 +63,7 @@ "ios" : { "capabilities" : { "entitlements" : { - "com.apple.developer.associated-domains" : [ - "applinks:", - "applinks:", - "applinks:", - "applinks:static-679f0930-8f60-425c-9033-8c135f397ea5.bspapp.com" - ] + "com.apple.developer.associated-domains" : [ "applinks:", "applinks:", "applinks:" ] } }, "privacyDescription" : { @@ -79,8 +74,7 @@ "NSLocationAlwaysUsageDescription" : "根据客户地理位置推荐最近门店", "NSCameraUsageDescription" : "上传用户头像保存分享海报" }, - "idfa" : false, - "dSYMs" : false + "idfa" : false }, /* SDK配置 */ "sdkConfigs" : { diff --git a/template/uni-app/pages.json b/template/uni-app/pages.json index ca4be113a..79dc1f428 100644 --- a/template/uni-app/pages.json +++ b/template/uni-app/pages.json @@ -71,95 +71,93 @@ } //#endif ], - "subPackages": [ - { + "subPackages": [{ "root": "pages/extension", "name": "extension", - "pages": [ - { - "path": "customer_list/chat", - "style": { - "navigationBarTitleText": "对话详情", - "navigationStyle": "custom", - "app-plus": { - "scrollIndicator": false //禁用原生导航栏 + "pages": [{ + "path": "customer_list/chat", + "style": { + "navigationBarTitleText": "对话详情", + "navigationStyle": "custom", + "app-plus": { + "scrollIndicator": false //禁用原生导航栏 + // #ifdef APP-PLUS + , + "titleNView": { + "type": "default" + } + // #endif + }, + "disableScroll": true + } + }, + { + "path": "news_list/index", + "style": { + "navigationBarTitleText": "资讯", + "app-plus": { // #ifdef APP-PLUS - , - "titleNView": { - "type": "default" + "titleNView": { + "type": "default" + } + // #endif } - // #endif - }, - "disableScroll": true - } - }, - { - "path": "news_list/index", - "style": { - "navigationBarTitleText": "资讯", - "app-plus": { - // #ifdef APP-PLUS - "titleNView": { - "type": "default" + } + }, + { + "path": "news_details/index", + "style": { + "navigationBarTitleText": "资讯详情", + "app-plus": { + // #ifdef APP-PLUS + "titleNView": { + "type": "default" + } + // #endif } - // #endif } } - }, - { - "path": "news_details/index", - "style": { - "navigationBarTitleText": "资讯详情", - "app-plus": { - // #ifdef APP-PLUS - "titleNView": { - "type": "default" - } - // #endif - } - } - } - ] + ] }, { "root": "pages/goods", "name": "goods", "pages": [{ - "path": "goods_list/index", - "style": { - "navigationBarTitleText": "商品列表", - "app-plus": { - // #ifdef APP-PLUS - "titleNView": { - "type": "default" + "path": "goods_list/index", + "style": { + "navigationBarTitleText": "商品列表", + "app-plus": { + // #ifdef APP-PLUS + "titleNView": { + "type": "default" + } + // #endif } - // #endif } - } - }, { - "path": "goods_search/index", - "style": { - "navigationBarTitleText": "搜索商品", - "app-plus": { - // #ifdef APP-PLUS - "titleNView": { - "type": "default" + }, { + "path": "goods_search/index", + "style": { + "navigationBarTitleText": "搜索商品", + "app-plus": { + // #ifdef APP-PLUS + "titleNView": { + "type": "default" + } + // #endif } - // #endif } - } - }, { - "path": "order_pay_status/index", - "style": { - "navigationBarTitleText": "支付成功", - "app-plus": { - // #ifdef APP-PLUS - "titleNView": { - "type": "default" + }, { + "path": "order_pay_status/index", + "style": { + "navigationBarTitleText": "支付成功", + "app-plus": { + // #ifdef APP-PLUS + "titleNView": { + "type": "default" + } + // #endif } - // #endif } - } - }, { + }, { "path": "admin_order_detail/index", "style": { "navigationBarTitleText": "订单详情", @@ -316,7 +314,7 @@ // #endif } } - },{ + }, { "path": "order_refund_goods/index", "style": { "navigationBarTitleText": "退回商品", @@ -328,7 +326,8 @@ // #endif } } - }] + } + ] }, { "root": "pages/users", "name": "users", @@ -410,7 +409,7 @@ // #endif } } - }, + }, { "path": "scan_login/index", "style": { @@ -501,17 +500,17 @@ } }, { - "path": "visit_list/index", - "style": { - "navigationBarTitleText": "浏览记录", - "app-plus": { - // #ifdef APP-PLUS - "titleNView": { - "type": "default" - } - // #endif - } - } + "path": "visit_list/index", + "style": { + "navigationBarTitleText": "浏览记录", + "app-plus": { + // #ifdef APP-PLUS + "titleNView": { + "type": "default" + } + // #endif + } + } }, { "path": "user_goods_collection/index", @@ -905,7 +904,7 @@ } } }, - { + { "path": "payment_on_behalf/index", "style": { "navigationBarTitleText": "好友代付", @@ -1273,7 +1272,7 @@ "style": { "navigationBarTitleText": "精彩内容" } - } + } ] }, { diff --git a/template/uni-app/pages/annex/special/index.vue b/template/uni-app/pages/annex/special/index.vue index 175e2bae0..161623df5 100644 --- a/template/uni-app/pages/annex/special/index.vue +++ b/template/uni-app/pages/annex/special/index.vue @@ -41,7 +41,7 @@ {{ loadTitle }} - + @@ -183,7 +183,6 @@ sortMpTop: 0, newData: {}, activeRouter: '', - footerStatus: false, bgColor: '', bgPic: '', bgTabVal: '', @@ -353,7 +352,7 @@ // 对象转数组 objToArr(data) { console.log(data) - if(!data) return + if (!data) return const keys = Object.keys(data) keys.sort((a, b) => a - b) const m = keys.map(key => data[key]); @@ -391,7 +390,6 @@ that.$store.commit('FOOT_UPLOAD', item) arr.splice(index, 1) this.newData = item - this.footerStatus = item.status.status } if (item.name == 'promotionList') { that.numConfig = item.numConfig.val; diff --git a/template/uni-app/pages/columnGoods/HotNewGoods/index.vue b/template/uni-app/pages/columnGoods/HotNewGoods/index.vue index 0d94e7645..1fef974d4 100644 --- a/template/uni-app/pages/columnGoods/HotNewGoods/index.vue +++ b/template/uni-app/pages/columnGoods/HotNewGoods/index.vue @@ -27,7 +27,7 @@ - +