From 3a21e2ca7f99f3d894d12cafc83fff621138f89c Mon Sep 17 00:00:00 2001 From: zhengshuiqi Date: Fri, 11 Nov 2022 16:56:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E6=AC=A1=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/index.js | 3 +- manifest.json | 298 +-- pages.json | 31 +- pages/account/deleteCount.vue | 6 +- pages/account/index.vue | 35 +- pages/account/message.vue | 128 +- pages/account/myProfile.vue | 14 +- pages/category/index.vue | 8 +- pages/category/productList.vue | 19 +- pages/index/address.vue | 8 +- pages/index/index.vue | 3213 +++++++++++++++++--------------- pages/index/index2.vue | 1 - pages/index/search.vue | 1 + pages/login/index.vue | 4 +- pages/productDetails/index.vue | 32 +- pages/shippingCart/index.vue | 12 +- static/img/message.png | Bin 0 -> 8560 bytes 17 files changed, 2036 insertions(+), 1777 deletions(-) create mode 100644 static/img/message.png diff --git a/api/index.js b/api/index.js index 0aa6ba0..b9d614c 100644 --- a/api/index.js +++ b/api/index.js @@ -73,4 +73,5 @@ export const defaultRequest5 =(query,comments)=>{ isLoad:true, comments:comments }) -} \ No newline at end of file +} +// 银行支付 diff --git a/manifest.json b/manifest.json index 9413c77..dfe9f4c 100644 --- a/manifest.json +++ b/manifest.json @@ -43,7 +43,8 @@ "Payment" : {}, "VideoPlayer" : {}, "Contacts" : {}, - "Speech" : {} + "Speech" : {}, + "iBeacon" : {} }, /* 应用发布信息 */ "distribute" : { @@ -53,6 +54,8 @@ "", "", "", + "", + "", "", "", "", @@ -67,10 +70,12 @@ "", "", "", - "" + "", + "", + "" ], "autoSdkPermissions" : true, - "minSdkVersion" : 21, + "minSdkVersion" : 26, "targetSdkVersion" : 31, "abiFilters" : [ "armeabi-v7a", "arm64-v8a" ] }, @@ -106,7 +111,37 @@ "xhdpi" : "unpackage/res/icons/dope2.png", "xxhdpi" : "unpackage/res/icons/dope2.png" }, - "useOriginalMsgbox" : false + "useOriginalMsgbox" : false, + "iosStyle" : "default", + "ios" : { + "iphone" : { + "retina47" : "unpackage/res/icons/dope2.png", + "portrait-896h@3x" : "unpackage/res/icons/dope2.png", + "landscape-896h@3x" : "unpackage/res/icons/dope2.png", + "portrait-896h@2x" : "unpackage/res/icons/dope2.png", + "landscape-896h@2x" : "unpackage/res/icons/dope2.png", + "iphonex" : "unpackage/res/icons/dope2.png", + "iphonexl" : "unpackage/res/icons/dope2.png", + "retina55" : "unpackage/res/icons/dope2.png", + "retina55l" : "unpackage/res/icons/dope2.png", + "retina47l" : "unpackage/res/icons/dope2.png", + "retina40" : "unpackage/res/icons/dope2.png", + "retina40l" : "unpackage/res/icons/dope2.png", + "retina35" : "unpackage/res/icons/dope2.png" + }, + "ipad" : { + "portrait-1366h@2x" : "unpackage/res/icons/dope2.png", + "landscape-1366h@2x" : "unpackage/res/icons/dope2.png", + "portrait-1194h@2x" : "unpackage/res/icons/dope2.png", + "landscape-1194h@2x" : "unpackage/res/icons/dope2.png", + "portrait-1112h@2x" : "unpackage/res/icons/dope2.png", + "landscape-1112h@2x" : "unpackage/res/icons/dope2.png", + "portrait-retina7" : "unpackage/res/icons/dope2.png", + "landscape-retina7" : "unpackage/res/icons/dope2.png", + "portrait7" : "unpackage/res/icons/dope2.png", + "landscape7" : "unpackage/res/icons/dope2.png" + } + } }, "icons" : { "android" : { @@ -141,135 +176,134 @@ } } }, - "nativePlugins" : { - "JG-JCore" : { - "JPUSH_APPKEY_IOS" : "", - "JPUSH_CHANNEL_IOS" : "", - "JPUSH_APPKEY_ANDROID" : "f7c642155be0cdfa97fb3d75", - "JPUSH_CHANNEL_ANDROID" : "f7c642155be0cdfa97fb3d75", - "__plugin_info__" : { - "name" : "JG-JCore", - "description" : "极光推送JCore插件", - "platforms" : "Android,iOS", - "url" : "", - "android_package_name" : "com.lilbeat.dopeplus", - "ios_bundle_id" : "com.lilbeat.dopeplus", - "isCloud" : false, - "bought" : -1, - "pid" : "", - "parameters" : { - "JPUSH_APPKEY_IOS" : { - "des" : "[iOS]极光portal配置应用信息时分配的AppKey", - "key" : "f7c642155be0cdfa97fb3d75", - "value" : "" - }, - "JPUSH_CHANNEL_IOS" : { - "des" : "[iOS]用于统计分发渠道,不需要可填默认值developer-default", - "key" : "JCore:CHANNEL", - "value" : "" - }, - "JPUSH_APPKEY_ANDROID" : { - "des" : "[Android]极光portal配置应用信息时分配的AppKey", - "key" : "f7c642155be0cdfa97fb3d75", - "value" : "" - }, - "JPUSH_CHANNEL_ANDROID" : { - "des" : "[Android]用于统计分发渠道,不需要可填默认值developer-default", - "key" : "JPUSH_CHANNEL", - "value" : "" - } - } - } - }, - "JG-JPush" : { - "JPUSH_ISPRODUCTION_IOS" : "", - "JPUSH_ADVERTISINGID_IOS" : "", - "JPUSH_DEFAULTINITJPUSH_IOS" : "", - "JPUSH_OPPO_APPKEY" : "", - "JPUSH_OPPO_APPID" : "", - "JPUSH_OPPO_APPSECRET" : "", - "JPUSH_VIVO_APPKEY" : "", - "JPUSH_VIVO_APPID" : "", - "JPUSH_MEIZU_APPKEY" : "", - "JPUSH_MEIZU_APPID" : "", - "JPUSH_XIAOMI_APPKEY" : "", - "JPUSH_XIAOMI_APPID" : "", - "__plugin_info__" : { - "name" : "JG-JPush", - "description" : "极光推送Hbuilder插件", - "platforms" : "Android,iOS", - "url" : "", - "android_package_name" : "com.lilbeat.dopeplus", - "ios_bundle_id" : "com.lilbeat.dopeplus", - "isCloud" : false, - "bought" : -1, - "pid" : "", - "parameters" : { - "JPUSH_ISPRODUCTION_IOS" : { - "des" : "[iOS]是否是生产环境,是填true,不是填false或者不填", - "key" : "JPush:ISPRODUCTION", - "value" : "" - }, - "JPUSH_ADVERTISINGID_IOS" : { - "des" : "[iOS]广告标识符(IDFA)如果不需要使用IDFA,可不填", - "key" : "JPush:ADVERTISINGID", - "value" : "" - }, - "JPUSH_DEFAULTINITJPUSH_IOS" : { - "des" : "[iOS]是否默认初始化,是填true,不是填false或者不填", - "key" : "JPush:DEFAULTINITJPUSH", - "value" : "" - }, - "JPUSH_OPPO_APPKEY" : { - "des" : "厂商OPPO-appkey,示例:OP-12345678", - "key" : "OPPO_APPKEY", - "value" : "" - }, - "JPUSH_OPPO_APPID" : { - "des" : "厂商OPPO-appId,示例:OP-12345678", - "key" : "OPPO_APPID", - "value" : "" - }, - "JPUSH_OPPO_APPSECRET" : { - "des" : "厂商OPPO-appSecret,示例:OP-12345678", - "key" : "OPPO_APPSECRET", - "value" : "" - }, - "JPUSH_VIVO_APPKEY" : { - "des" : "厂商VIVO-appkey,示例:12345678", - "key" : "com.vivo.push.api_key", - "value" : "" - }, - "JPUSH_VIVO_APPID" : { - "des" : "厂商VIVO-appId,示例:12345678", - "key" : "com.vivo.push.app_id", - "value" : "" - }, - "JPUSH_MEIZU_APPKEY" : { - "des" : "厂商MEIZU-appKey,示例:MZ-12345678", - "key" : "MEIZU_APPKEY", - "value" : "" - }, - "JPUSH_MEIZU_APPID" : { - "des" : "厂商MEIZU-appId,示例:MZ-12345678", - "key" : "MEIZU_APPID", - "value" : "" - }, - "JPUSH_XIAOMI_APPKEY" : { - "des" : "厂商XIAOMI-appKey,示例:MI-12345678", - "key" : "XIAOMI_APPKEY", - "value" : "" - }, - "JPUSH_XIAOMI_APPID" : { - "des" : "厂商XIAOMI-appId,示例:MI-12345678", - "key" : "XIAOMI_APPID", - "value" : "" - } - } - } - } - } + "nativePlugins" : {} }, + // "JG-JCore" : { + // "JPUSH_APPKEY_IOS" : "", + // "JPUSH_CHANNEL_IOS" : "", + // "JPUSH_APPKEY_ANDROID" : "f7c642155be0cdfa97fb3d75", + // "JPUSH_CHANNEL_ANDROID" : "f7c642155be0cdfa97fb3d75", + // "__plugin_info__" : { + // "name" : "JG-JCore", + // "description" : "极光推送JCore插件", + // "platforms" : "Android,iOS", + // "url" : "", + // "android_package_name" : "com.lilbeat.dopeplus", + // "ios_bundle_id" : "com.lilbeat.dopeplus", + // "isCloud" : false, + // "bought" : -1, + // "pid" : "", + // "parameters" : { + // "JPUSH_APPKEY_IOS" : { + // "des" : "[iOS]极光portal配置应用信息时分配的AppKey", + // "key" : "f7c642155be0cdfa97fb3d75", + // "value" : "" + // }, + // "JPUSH_CHANNEL_IOS" : { + // "des" : "[iOS]用于统计分发渠道,不需要可填默认值developer-default", + // "key" : "JCore:CHANNEL", + // "value" : "" + // }, + // "JPUSH_APPKEY_ANDROID" : { + // "des" : "[Android]极光portal配置应用信息时分配的AppKey", + // "key" : "f7c642155be0cdfa97fb3d75", + // "value" : "" + // }, + // "JPUSH_CHANNEL_ANDROID" : { + // "des" : "[Android]用于统计分发渠道,不需要可填默认值developer-default", + // "key" : "JPUSH_CHANNEL", + // "value" : "" + // } + // } + // } + // }, + // "JG-JPush" : { + // "JPUSH_ISPRODUCTION_IOS" : "", + // "JPUSH_ADVERTISINGID_IOS" : "", + // "JPUSH_DEFAULTINITJPUSH_IOS" : "", + // "JPUSH_OPPO_APPKEY" : "", + // "JPUSH_OPPO_APPID" : "", + // "JPUSH_OPPO_APPSECRET" : "", + // "JPUSH_VIVO_APPKEY" : "", + // "JPUSH_VIVO_APPID" : "", + // "JPUSH_MEIZU_APPKEY" : "", + // "JPUSH_MEIZU_APPID" : "", + // "JPUSH_XIAOMI_APPKEY" : "", + // "JPUSH_XIAOMI_APPID" : "", + // "__plugin_info__" : { + // "name" : "JG-JPush", + // "description" : "极光推送Hbuilder插件", + // "platforms" : "Android,iOS", + // "url" : "", + // "android_package_name" : "com.lilbeat.dopeplus", + // "ios_bundle_id" : "com.lilbeat.dopeplus", + // "isCloud" : false, + // "bought" : -1, + // "pid" : "", + // "parameters" : { + // "JPUSH_ISPRODUCTION_IOS" : { + // "des" : "[iOS]是否是生产环境,是填true,不是填false或者不填", + // "key" : "JPush:ISPRODUCTION", + // "value" : "" + // }, + // "JPUSH_ADVERTISINGID_IOS" : { + // "des" : "[iOS]广告标识符(IDFA)如果不需要使用IDFA,可不填", + // "key" : "JPush:ADVERTISINGID", + // "value" : "" + // }, + // "JPUSH_DEFAULTINITJPUSH_IOS" : { + // "des" : "[iOS]是否默认初始化,是填true,不是填false或者不填", + // "key" : "JPush:DEFAULTINITJPUSH", + // "value" : "" + // }, + // "JPUSH_OPPO_APPKEY" : { + // "des" : "厂商OPPO-appkey,示例:OP-12345678", + // "key" : "OPPO_APPKEY", + // "value" : "" + // }, + // "JPUSH_OPPO_APPID" : { + // "des" : "厂商OPPO-appId,示例:OP-12345678", + // "key" : "OPPO_APPID", + // "value" : "" + // }, + // "JPUSH_OPPO_APPSECRET" : { + // "des" : "厂商OPPO-appSecret,示例:OP-12345678", + // "key" : "OPPO_APPSECRET", + // "value" : "" + // }, + // "JPUSH_VIVO_APPKEY" : { + // "des" : "厂商VIVO-appkey,示例:12345678", + // "key" : "com.vivo.push.api_key", + // "value" : "" + // }, + // "JPUSH_VIVO_APPID" : { + // "des" : "厂商VIVO-appId,示例:12345678", + // "key" : "com.vivo.push.app_id", + // "value" : "" + // }, + // "JPUSH_MEIZU_APPKEY" : { + // "des" : "厂商MEIZU-appKey,示例:MZ-12345678", + // "key" : "MEIZU_APPKEY", + // "value" : "" + // }, + // "JPUSH_MEIZU_APPID" : { + // "des" : "厂商MEIZU-appId,示例:MZ-12345678", + // "key" : "MEIZU_APPID", + // "value" : "" + // }, + // "JPUSH_XIAOMI_APPKEY" : { + // "des" : "厂商XIAOMI-appKey,示例:MI-12345678", + // "key" : "XIAOMI_APPKEY", + // "value" : "" + // }, + // "JPUSH_XIAOMI_APPID" : { + // "des" : "厂商XIAOMI-appId,示例:MI-12345678", + // "key" : "XIAOMI_APPID", + // "value" : "" + // } + // } + // } + // } /* 快应用特有相关 */ "quickapp" : {}, /* 小程序特有相关 */ diff --git a/pages.json b/pages.json index 9119fd7..1054601 100644 --- a/pages.json +++ b/pages.json @@ -6,8 +6,15 @@ "style": { "navigationBarTitleText": "uni-app", "enablePullDownRefresh":true, + "app-plus":{ - "titleNView":false + "titleNView":false, + "bounce": "none", + "pullToRefresh": { + "style": "circle", + "color": "#aa0000" + } + // "renderer": "native" }, "navigationBarTextStyle":"white" } @@ -17,6 +24,7 @@ "style": { "navigationStyle":"custom", "app-plus": { + // "renderer": "native", "safearea":{ "background" : "none", "bottom":{ @@ -145,7 +153,8 @@ { "path": "pages/login/index", "style": { - "navigationStyle":"custom" + "navigationStyle":"custom", + "navigationBarBackgroundColor":"#000000" // "navigationBarTextStyle":"white" } }, @@ -365,8 +374,21 @@ "globalStyle": { "navigationBarBackgroundColor": "#000000", "navigationBarTextStyle": "white", - "navigationBarTitleText": "DOPE PLUS" - + "navigationBarTitleText": "DOPE PLUS", + "enablePullDownRefresh": true, + "app-plus": { + // 将回弹属性关掉 + "bounce": "none", + "usingComponents" : false, + "optimization": { + "subPackages": true + }, + "pullToRefresh": { + "style": "circle", + "color": "#aa0000" + }, + "runmode" : "liberate" // 开启分包优化后,必须配置资源释放模式 + } }, "tabBar": { "borderStyle": "white", @@ -408,6 +430,7 @@ "iconPath": "static/img/Account.png", "selectedIconPath": "static/img/Account1.png", "text": "Account" + } ] diff --git a/pages/account/deleteCount.vue b/pages/account/deleteCount.vue index 1122383..6e4e83e 100644 --- a/pages/account/deleteCount.vue +++ b/pages/account/deleteCount.vue @@ -1,7 +1,9 @@