From 95bda5ae9a3ca638702e0e29996efafaf4d3b1ad Mon Sep 17 00:00:00 2001 From: THK3121 Date: Fri, 18 Aug 2023 09:00:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9E=81=E5=85=89=E6=8E=A8?= =?UTF-8?q?=E9=80=81bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 31 +-- components/GlobalPopup/GlobalPopup.vue | 59 +++++ .../logistiCard/logistiCard.vue | 56 +++++ components/mybtn/mybtn.vue | 111 +++++----- main.js | 18 +- manifest.json | 208 +++++++++--------- pages/logistics/deliveryDetil.vue | 34 ++- pages/logistics/index.vue | 24 +- pages/logistics/logisticDetil.vue | 95 +++++++- pages/oaHome/oaHome.vue | 32 ++- pages/oaLogin/oaLogin.vue | 29 ++- utils/jpush.js | 2 +- 12 files changed, 485 insertions(+), 214 deletions(-) create mode 100644 components/GlobalPopup/GlobalPopup.vue diff --git a/App.vue b/App.vue index 4e9d044..6f64e1a 100644 --- a/App.vue +++ b/App.vue @@ -1,19 +1,9 @@ + + \ No newline at end of file diff --git a/components/logistiComptent/logistiCard/logistiCard.vue b/components/logistiComptent/logistiCard/logistiCard.vue index b95c2bc..82363bb 100644 --- a/components/logistiComptent/logistiCard/logistiCard.vue +++ b/components/logistiComptent/logistiCard/logistiCard.vue @@ -12,6 +12,8 @@

收货人姓名:  {{fuzzyName(goodsInfo.receiver_name)}}

+

+ 收货人姓名:  {{fuzzyName(goodsInfo.receiver_name)}}

@@ -215,6 +217,60 @@ + + + + + + 联系电话 + + + {{goodsInfo.receiver_phone}} + + + + + + 用户地址 + + + + {{goodsInfo.receiver_address}} + + + + + + + + + + + 商品信息 + + + + {{item.goods_name}} + X{{item.product_num}}{{item.goods_unit}} + + + + + + + 共计{{goodsInfo.product_count}}件商品 + + + + + 查看详情 + + + + + + diff --git a/components/mybtn/mybtn.vue b/components/mybtn/mybtn.vue index 59f57b8..126b30c 100644 --- a/components/mybtn/mybtn.vue +++ b/components/mybtn/mybtn.vue @@ -1,62 +1,65 @@ \ No newline at end of file diff --git a/main.js b/main.js index 9c8e157..b7b7e03 100644 --- a/main.js +++ b/main.js @@ -19,18 +19,20 @@ import Vue from 'vue' Vue.config.productionTip = false App.mpType = 'app' const app = new Vue({ - ...App, - store + ...App, + store }) app.$mount() // #endif // #ifdef VUE3 -import { createSSRApp } from 'vue' +import { + createSSRApp +} from 'vue' export function createApp() { - const app = createSSRApp(App) - return { - app - } + const app = createSSRApp(App) + return { + app + } } -// #endif +// #endif \ No newline at end of file diff --git a/manifest.json b/manifest.json index efed387..c47e3de 100644 --- a/manifest.json +++ b/manifest.json @@ -120,80 +120,75 @@ }, "nativePlugins" : { "JG-JCore" : { - "JPUSH_APPKEY_IOS" : "5ced5ec5fa7bb86302944f0f", - "JPUSH_CHANNEL_IOS" : "", "JPUSH_APPKEY_ANDROID" : "5ced5ec5fa7bb86302944f0f", + "JPUSH_APPKEY_IOS" : "5ced5ec5fa7bb86302944f0f", "JPUSH_CHANNEL_ANDROID" : "", + "JPUSH_CHANNEL_IOS" : "", "__plugin_info__" : { - "name" : "JG-JCore", - "description" : "极光推送JCore插件", - "platforms" : "Android,iOS", - "url" : "", + "name" : "极光推送 JCore 官方 SDK", + "description" : "极光推送 JCore 官方 SDK HBuilder 插件版本", + "platforms" : "All,Android,iOS", + "url" : "https://ext.dcloud.net.cn/plugin?id=4028", "android_package_name" : "uni.UNIB5B1EDD", "ios_bundle_id" : "uni.UNIB5B1EDD", - "isCloud" : false, - "bought" : -1, - "pid" : "", + "isCloud" : true, + "bought" : 1, + "pid" : "4028", "parameters" : { - "JPUSH_APPKEY_IOS" : { - "des" : "[iOS]极光portal配置应用信息时分配的AppKey", - "key" : "JCore:APP_KEY", - "value" : "" - }, - "JPUSH_CHANNEL_IOS" : { - "des" : "[iOS]用于统计分发渠道,不需要可填默认值developer-default", - "key" : "JCore:CHANNEL", - "value" : "" - }, "JPUSH_APPKEY_ANDROID" : { "des" : "[Android]极光portal配置应用信息时分配的AppKey", "key" : "JPUSH_APPKEY", "value" : "" }, + "JPUSH_APPKEY_IOS" : { + "des" : "[iOS]极光portal配置应用信息时分配的AppKey", + "key" : "JCore:APP_KEY", + "value" : "" + }, "JPUSH_CHANNEL_ANDROID" : { "des" : "[Android]用于统计分发渠道,不需要可填默认值developer-default", "key" : "JPUSH_CHANNEL", "value" : "" + }, + "JPUSH_CHANNEL_IOS" : { + "des" : "[iOS]用于统计分发渠道,不需要可填默认值developer-default", + "key" : "JCore: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" : "", - "JPUSH_HUAWEI_APPID" : "", - "JPUSH_HONOR_APPID" : "", "JPUSH_GOOGLE_API_KEY" : "", "JPUSH_GOOGLE_APP_ID" : "", - "JPUSH_GOOGLE_PROJECT_NUMBER" : "", "JPUSH_GOOGLE_PROJECT_ID" : "", + "JPUSH_GOOGLE_PROJECT_NUMBER" : "", "JPUSH_GOOGLE_STORAGE_BUCKET" : "", + "JPUSH_HONOR_APPID" : "", + "JPUSH_HUAWEI_APPID" : "", + "JPUSH_ISPRODUCTION_IOS" : "", + "JPUSH_MEIZU_APPID" : "", + "JPUSH_MEIZU_APPKEY" : "", + "JPUSH_OPPO_APPID" : "", + "JPUSH_OPPO_APPKEY" : "", + "JPUSH_OPPO_APPSECRET" : "", + "JPUSH_VIVO_APPID" : "", + "JPUSH_VIVO_APPKEY" : "", + "JPUSH_XIAOMI_APPID" : "", + "JPUSH_XIAOMI_APPKEY" : "", "__plugin_info__" : { - "name" : "JG-JPush", - "description" : "极光推送Hbuilder插件", - "platforms" : "Android,iOS", - "url" : "", + "name" : "极光推送 JPush 官方 SDK", + "description" : "极光推送JPush官方SDK HBuilder插件版本", + "platforms" : "All,Android,iOS", + "url" : "https://ext.dcloud.net.cn/plugin?id=4035", "android_package_name" : "uni.UNIB5B1EDD", "ios_bundle_id" : "uni.UNIB5B1EDD", - "isCloud" : false, - "bought" : -1, - "pid" : "", + "isCloud" : true, + "bought" : 1, + "pid" : "4035", "parameters" : { - "JPUSH_ISPRODUCTION_IOS" : { - "des" : "[iOS]是否是生产环境,是填true,不是填false或者不填", - "key" : "JPush:ISPRODUCTION", - "value" : "" - }, "JPUSH_ADVERTISINGID_IOS" : { "des" : "[iOS]广告标识符(IDFA)如果不需要使用IDFA,可不填", "key" : "JPush:ADVERTISINGID", @@ -204,61 +199,6 @@ "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" : "" - }, - "JPUSH_HUAWEI_APPID" : { - "des" : "厂商HUAWEI-appId,示例:appid=12346578", - "key" : "com.huawei.hms.client.appid", - "value" : "" - }, - "JPUSH_HONOR_APPID" : { - "des" : "厂商HONOR-appId,示例:12346578", - "key" : "com.hihonor.push.app_id", - "value" : "" - }, "JPUSH_GOOGLE_API_KEY" : { "des" : "厂商google api_key,示例:g-12346578", "key" : "google_api_key", @@ -269,20 +209,80 @@ "key" : "google_app_id", "value" : "" }, - "JPUSH_GOOGLE_PROJECT_NUMBER" : { - "des" : "厂商google project_number,示例:g-12346578", - "key" : "gcm_defaultSenderId", - "value" : "" - }, "JPUSH_GOOGLE_PROJECT_ID" : { "des" : "厂商google project_id ,示例:g-12346578", "key" : "project_id", "value" : "" }, + "JPUSH_GOOGLE_PROJECT_NUMBER" : { + "des" : "厂商google project_number,示例:g-12346578", + "key" : "gcm_defaultSenderId", + "value" : "" + }, "JPUSH_GOOGLE_STORAGE_BUCKET" : { "des" : "厂商google storage_bucket,示例:g-12346578", "key" : "google_storage_bucket", "value" : "" + }, + "JPUSH_HONOR_APPID" : { + "des" : "厂商HONOR-appId,示例:12346578", + "key" : "com.hihonor.push.app_id", + "value" : "" + }, + "JPUSH_HUAWEI_APPID" : { + "des" : "厂商HUAWEI-appId,示例:appid=12346578", + "key" : "com.huawei.hms.client.appid", + "value" : "" + }, + "JPUSH_ISPRODUCTION_IOS" : { + "des" : "[iOS]是否是生产环境,是填true,不是填false或者不填", + "key" : "JPush:ISPRODUCTION", + "value" : "" + }, + "JPUSH_MEIZU_APPID" : { + "des" : "厂商MEIZU-appId,示例:MZ-12345678", + "key" : "MEIZU_APPID", + "value" : "" + }, + "JPUSH_MEIZU_APPKEY" : { + "des" : "厂商MEIZU-appKey,示例:MZ-12345678", + "key" : "MEIZU_APPKEY", + "value" : "" + }, + "JPUSH_OPPO_APPID" : { + "des" : "厂商OPPO-appId,示例:OP-12345678", + "key" : "OPPO_APPID", + "value" : "" + }, + "JPUSH_OPPO_APPKEY" : { + "des" : "厂商OPPO-appkey,示例:OP-12345678", + "key" : "OPPO_APPKEY", + "value" : "" + }, + "JPUSH_OPPO_APPSECRET" : { + "des" : "厂商OPPO-appSecret,示例:OP-12345678", + "key" : "OPPO_APPSECRET", + "value" : "" + }, + "JPUSH_VIVO_APPID" : { + "des" : "厂商VIVO-appId,示例:12345678", + "key" : "com.vivo.push.app_id", + "value" : "" + }, + "JPUSH_VIVO_APPKEY" : { + "des" : "厂商VIVO-appkey,示例:12345678", + "key" : "com.vivo.push.api_key", + "value" : "" + }, + "JPUSH_XIAOMI_APPID" : { + "des" : "厂商XIAOMI-appId,示例:MI-12345678", + "key" : "XIAOMI_APPID", + "value" : "" + }, + "JPUSH_XIAOMI_APPKEY" : { + "des" : "厂商XIAOMI-appKey,示例:MI-12345678", + "key" : "XIAOMI_APPKEY", + "value" : "" } } } diff --git a/pages/logistics/deliveryDetil.vue b/pages/logistics/deliveryDetil.vue index 2f2763b..ba5d398 100644 --- a/pages/logistics/deliveryDetil.vue +++ b/pages/logistics/deliveryDetil.vue @@ -8,9 +8,9 @@ - + @@ -80,10 +80,12 @@ + + + - - + + 扫码取货 @@ -103,7 +105,7 @@ export default { data() { return { - + mapClass: 'custom-map', showLoading: true, showPop: false, goodsDetil: undefined, @@ -152,7 +154,7 @@ success: function async (res) { that.nowAddress = res.address.city + res.address.district + res.address.street + res .address.streetNum + res.address.poiName - console.log(that.nowAddress) + that.markers[1].latitude = res.latitude that.markers[1].longitude = res.longitude that.getDriverLine() @@ -250,7 +252,7 @@ points: points, color: "#0091ff", dottedLine: true, - width: 10, + width: 30, }, ]; }, @@ -286,8 +288,6 @@ }) }, - - }, onLoad(options) { getDetil({ @@ -306,6 +306,10 @@ \ No newline at end of file diff --git a/pages/logistics/index.vue b/pages/logistics/index.vue index ebfa8b5..6bcbbb0 100644 --- a/pages/logistics/index.vue +++ b/pages/logistics/index.vue @@ -1,5 +1,6 @@