From c874217268032007f57adc8be99af93d95775bce Mon Sep 17 00:00:00 2001 From: zouyanyan <254651820@qq.com> Date: Wed, 14 Oct 2026 15:30:42 +0800 Subject: [PATCH] upbug --- manifest.json | 37 +++++----- pages.json | 18 ++--- pages/category/category.vue | 28 +++---- pages/index/index.vue | 29 ++++---- pages/login/login.vue | 2 +- pages/message/group.vue | 2 +- pages/product/cdetail.vue | 13 +++- pages/product/cxlist.vue | 6 +- pages/product/detail.vue | 17 +++-- pages/product/list.vue | 30 ++++---- pages/user/mycollect.vue | 6 +- pages/user/set.vue | 4 +- pages/user/user.vue | 141 +++++++++++++++++++----------------- pages/user/userEdit.vue | 7 +- 14 files changed, 180 insertions(+), 160 deletions(-) diff --git a/manifest.json b/manifest.json index 2a7a659..72156b6 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "appid" : "__UNI__B6E0086", "description" : "瑜伽汇", "versionName" : "1.0.0", - "versionCode" : 100, + "versionCode" : 101, "transformPx" : false, "app-plus" : { "flexible" : true, @@ -34,7 +34,6 @@ "VideoPlayer" : {}, "Camera" : {}, "Barcode" : {}, - "Payment" : {}, "Record" : {}, "Geolocation" : {}, "Maps" : {} @@ -69,14 +68,15 @@ "" ], "abiFilters" : [ "armeabi-v7a", "arm64-v8a" ], - "minSdkVersion" : 21 + "minSdkVersion" : 21, + "targetSdkVersion" : 30 }, "ios" : { "privacyDescription" : { "NSPhotoLibraryUsageDescription" : "需要访问相册上传咨询照片。", "NSPhotoLibraryAddUsageDescription" : "请允许本应用保存咨询图片到相册。", "NSCameraUsageDescription" : "拍摄照片或者视频上传对话资料。", - "NSMicrophoneUsageDescription" : "此应用需要访问您的麦克风。", + "NSMicrophoneUsageDescription" : "需要访问您的麦克风以录制对话语音。", "NSLocationWhenInUseUsageDescription" : "请允许获取位置以便记录你当前的位置获取你的发货地址。", "NSLocationAlwaysUsageDescription" : "请允许获取位置以便记录你当前的位置。", "NSLocationAlwaysAndWhenInUseUsageDescription" : "请允许获取位置以便记录你当前的位置。" @@ -317,23 +317,24 @@ } } } - }, - "youyacao-Jcore" : { - "__plugin_info__" : { - "name" : "极光JCore官方SDK ·官方伙伴发布·基础版依赖包", - "description" : "极光JCore官方SDK ·官方伙伴发布·基础版依赖包", - "platforms" : "Android", - "url" : "https://ext.dcloud.net.cn/plugin?id=4752", - "android_package_name" : "com.sdlyoga.app", - "ios_bundle_id" : "com.yjhyoga.app", - "isCloud" : true, - "bought" : 1, - "pid" : "4752", - "parameters" : {} - } } } }, + // , + // "youyacao-Jcore" : { + // "__plugin_info__" : { + // "name" : "极光JCore官方SDK ·官方伙伴发布·基础版依赖包", + // "description" : "极光JCore官方SDK ·官方伙伴发布·基础版依赖包", + // "platforms" : "Android", + // "url" : "https://ext.dcloud.net.cn/plugin?id=4752", + // "android_package_name" : "com.sdlyoga.app", + // "ios_bundle_id" : "com.yjhyoga.app", + // "isCloud" : true, + // "bought" : 1, + // "pid" : "4752", + // "parameters" : {} + // } + // } "quickapp" : {}, "mp-weixin" : { "appid" : "", diff --git a/pages.json b/pages.json index cb8b818..d462167 100644 --- a/pages.json +++ b/pages.json @@ -533,24 +533,18 @@ "iconPath": "static/image/icon/good.png", "selectedIconPath": "/static/image/icon/good-active.png" }, -// { -// "pagePath": "pages/message/group", -// "text": "消息1", -// "iconPath": "/static/image/icon/message.png", -// "selectedIconPath": "/static/image/icon/message-active.png" -// }, { "pagePath": "pages/chatbox/chat", "text": "消息", "iconPath": "/static/image/icon/message.png", "selectedIconPath": "/static/image/icon/message-active.png" }, - { - "pagePath": "pages/cart/cart", - "text": "购物车", - "iconPath": "/static/image/icon/cart.png", - "selectedIconPath": "/static/image/icon/cart-active.png" - }, + // { + // "pagePath": "pages/cart/cart", + // "text": "购物车", + // "iconPath": "/static/image/icon/cart.png", + // "selectedIconPath": "/static/image/icon/cart-active.png" + // }, { "pagePath": "pages/user/user", "text": "我的", diff --git a/pages/category/category.vue b/pages/category/category.vue index b8be3db..57beada 100644 --- a/pages/category/category.vue +++ b/pages/category/category.vue @@ -317,20 +317,20 @@ this.userid = user.userid? user.userid:''; this.phone = user.userphone; - var cartnum=getcartNum(); - if(cartnum>0){ - // 底部菜单消息角标 - uni.setTabBarBadge({ - //显示未读消息条数 - index: 4, - text: cartnum+'' - }); - } - else{ - uni.removeTabBarBadge({ - index: 4 - }) - } + // var cartnum=getcartNum(); + // if(cartnum>0){ + // // 底部菜单消息角标 + // uni.setTabBarBadge({ + // //显示未读消息条数 + // index: 4, + // text: cartnum+'' + // }); + // } + // else{ + // uni.removeTabBarBadge({ + // index: 4 + // }) + // } var messageNum=getmessageNum(); console.log("messageNum",messageNum) diff --git a/pages/index/index.vue b/pages/index/index.vue index fc7b631..677d597 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -269,23 +269,22 @@ return false; } - var cartnum=getcartNum(); - if(cartnum>0){ - // 底部菜单消息角标 - uni.setTabBarBadge({ - //显示未读消息条数 - index: 4, - text: cartnum+'' - }); - } - else{ - uni.removeTabBarBadge({ - index: 4 - }) - } + // var cartnum=getcartNum(); + // if(cartnum>0){ + // // 底部菜单消息角标 + // uni.setTabBarBadge({ + // //显示未读消息条数 + // index: 4, + // text: cartnum+'' + // }); + // } + // else{ + // uni.removeTabBarBadge({ + // index: 4 + // }) + // } var messageNum=getmessageNum(); - console.log("messageNum",messageNum) if(messageNum>0){ // 底部菜单消息角标 uni.setTabBarBadge({ diff --git a/pages/login/login.vue b/pages/login/login.vue index 35f3c29..af92ed2 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -122,7 +122,7 @@ form: { phonenumber:"", password:"", - smsCode: "", // 短信验证码 + smsCode: "", // 短信验证码 code:"", uuid:"", registerId:"", // 设备id diff --git a/pages/message/group.vue b/pages/message/group.vue index 03b8031..099ff8f 100644 --- a/pages/message/group.vue +++ b/pages/message/group.vue @@ -52,7 +52,7 @@