diff --git a/App.vue b/App.vue
index 398f6af..ced6a94 100644
--- a/App.vue
+++ b/App.vue
@@ -1,46 +1,60 @@
\ No newline at end of file
diff --git a/components/GlobalPopup/GlobalPopup.vue b/components/GlobalPopup/GlobalPopup.vue
new file mode 100644
index 0000000..04a82ca
--- /dev/null
+++ b/components/GlobalPopup/GlobalPopup.vue
@@ -0,0 +1,59 @@
+
+
+ 提示
+ 你有新的订单,请注意查收!
+
+
+
+
+
+
+
+
+
\ 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/manifest.json b/manifest.json
index 6400892..e600185 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,160 +1,330 @@
{
- "name": "供销综合平台",
- "appid": "__UNI__B5B1EDD",
- "description": "",
- "versionName": "1.0.0",
- "versionCode": "100",
- "transformPx": false,
- /* 5+App特有相关 */
- "app-plus": {
- "usingComponents": true,
- "nvueStyleCompiler": "uni-app",
- "compilerVersion": 3,
- "splashscreen": {
- "alwaysShowBeforeRender": true,
- "waiting": true,
- "autoclose": true,
- "delay": 0
- },
- /* 模块配置 */
- "modules": {
- "Payment": {},
- "Barcode": {},
- "Camera": {},
- "Maps": {}
- },
- /* 应用发布信息 */
- "distribute": {
- /* android打包配置 */
- "android": {
- "permissions": [
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- ""
- ]
- },
- /* ios打包配置 */
- "ios": {
- "dSYMs": false
- },
- /* SDK配置 */
- "sdkConfigs": {
- "payment": {
- "weixin": {
- "__platform__": ["ios", "android"],
- "appid": "wx4789d9f1b50390ba",
- "UniversalLinks": ""
- }
- },
- "ad": {},
- "maps": {
- "amap": {
- "appkey_ios": "0799f37420c0784f1e6cba230a68bdb1",
- "appkey_android": "0799f37420c0784f1e6cba230a68bdb1"
- }
- }
- },
- "splashscreen": {
- "useOriginalMsgbox": true
- },
- "icons": {
- "android": {
- "hdpi": "unpackage/res/icons/72x72.png",
- "xhdpi": "unpackage/res/icons/96x96.png",
- "xxhdpi": "unpackage/res/icons/144x144.png",
- "xxxhdpi": "unpackage/res/icons/192x192.png"
- },
- "ios": {
- "appstore": "unpackage/res/icons/1024x1024.png",
- "ipad": {
- "app": "unpackage/res/icons/76x76.png",
- "app@2x": "unpackage/res/icons/152x152.png",
- "notification": "unpackage/res/icons/20x20.png",
- "notification@2x": "unpackage/res/icons/40x40.png",
- "proapp@2x": "unpackage/res/icons/167x167.png",
- "settings": "unpackage/res/icons/29x29.png",
- "settings@2x": "unpackage/res/icons/58x58.png",
- "spotlight": "unpackage/res/icons/40x40.png",
- "spotlight@2x": "unpackage/res/icons/80x80.png"
- },
- "iphone": {
- "app@2x": "unpackage/res/icons/120x120.png",
- "app@3x": "unpackage/res/icons/180x180.png",
- "notification@2x": "unpackage/res/icons/40x40.png",
- "notification@3x": "unpackage/res/icons/60x60.png",
- "settings@2x": "unpackage/res/icons/58x58.png",
- "settings@3x": "unpackage/res/icons/87x87.png",
- "spotlight@2x": "unpackage/res/icons/80x80.png",
- "spotlight@3x": "unpackage/res/icons/120x120.png"
- }
- }
- }
- }
- },
- /* 快应用特有相关 */
- "quickapp": {},
- "h5": {
- "devServer": {
- "proxy": {
- "baseUrlTest/adminapi": {
- "target": "https://worker-task.lihaink.cn",
- "changeOrigin": true,
- "pathRewrite": {
- "^/baseUrlTest/adminapi": "/adminapi"
- }
- },
- "baseUrlTest/api": {
- "target": "https://worker-task.lihaink.cn",
- "changeOrigin": true,
- "pathRewrite": {
- "^/baseUrlTest/api": "/api"
- }
- }
- }
- },
- "sdkConfigs": {
- "maps": {
- "amap": {
- "key": "275cd3601b1b2d6414f6c988e7911664",
- "securityJsCode": "d2d7c56801819e8bdf71b8a71846f235",
- "serviceHost": ""
- }
- }
- }
- },
- /* 小程序特有相关 */
- "mp-weixin": {
- "appid": "wx6e14cb98394e36bc",
- "setting": {
- "urlCheck": false
- },
- "usingComponents": true
- },
- "mp-alipay": {
- "usingComponents": true
- },
- "mp-baidu": {
- "usingComponents": true
- },
- "mp-toutiao": {
- "usingComponents": true
- },
- "uniStatistics": {
- "enable": false
- },
- "vueVersion": "2"
+ "name" : "供销综合平台",
+ "appid" : "__UNI__B5B1EDD",
+ "description" : "",
+ "versionName" : "1.0.0",
+ "versionCode" : "100",
+ "transformPx" : false,
+ /* 5+App特有相关 */
+ "app-plus" : {
+ "usingComponents" : true,
+ "nvueStyleCompiler" : "uni-app",
+ "compilerVersion" : 3,
+ "splashscreen" : {
+ "alwaysShowBeforeRender" : true,
+ "waiting" : true,
+ "autoclose" : true,
+ "delay" : 0
+ },
+ /* 模块配置 */
+ "modules" : {
+ "Payment" : {},
+ "Barcode" : {},
+ "Camera" : {},
+ "Maps" : {}
+ },
+ /* 应用发布信息 */
+ "distribute" : {
+ /* android打包配置 */
+ "android" : {
+ "permissions" : [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ]
+ },
+ /* ios打包配置 */
+ "ios" : {
+ "dSYMs" : false
+ },
+ /* SDK配置 */
+ "sdkConfigs" : {
+ "payment" : {
+ "weixin" : {
+ "__platform__" : [ "ios", "android" ],
+ "appid" : "wx4789d9f1b50390ba",
+ "UniversalLinks" : ""
+ }
+ },
+ "ad" : {},
+ "maps" : {
+ "amap" : {
+ "appkey_ios" : "0799f37420c0784f1e6cba230a68bdb1",
+ "appkey_android" : "0799f37420c0784f1e6cba230a68bdb1"
+ }
+ }
+ },
+ "splashscreen" : {
+ "useOriginalMsgbox" : true
+ },
+ "icons" : {
+ "android" : {
+ "hdpi" : "unpackage/res/icons/72x72.png",
+ "xhdpi" : "unpackage/res/icons/96x96.png",
+ "xxhdpi" : "unpackage/res/icons/144x144.png",
+ "xxxhdpi" : "unpackage/res/icons/192x192.png"
+ },
+ "ios" : {
+ "appstore" : "unpackage/res/icons/1024x1024.png",
+ "ipad" : {
+ "app" : "unpackage/res/icons/76x76.png",
+ "app@2x" : "unpackage/res/icons/152x152.png",
+ "notification" : "unpackage/res/icons/20x20.png",
+ "notification@2x" : "unpackage/res/icons/40x40.png",
+ "proapp@2x" : "unpackage/res/icons/167x167.png",
+ "settings" : "unpackage/res/icons/29x29.png",
+ "settings@2x" : "unpackage/res/icons/58x58.png",
+ "spotlight" : "unpackage/res/icons/40x40.png",
+ "spotlight@2x" : "unpackage/res/icons/80x80.png"
+ },
+ "iphone" : {
+ "app@2x" : "unpackage/res/icons/120x120.png",
+ "app@3x" : "unpackage/res/icons/180x180.png",
+ "notification@2x" : "unpackage/res/icons/40x40.png",
+ "notification@3x" : "unpackage/res/icons/60x60.png",
+ "settings@2x" : "unpackage/res/icons/58x58.png",
+ "settings@3x" : "unpackage/res/icons/87x87.png",
+ "spotlight@2x" : "unpackage/res/icons/80x80.png",
+ "spotlight@3x" : "unpackage/res/icons/120x120.png"
+ }
+ }
+ }
+ },
+ "nativePlugins" : {
+ "JG-JCore" : {
+ "JPUSH_APPKEY_ANDROID" : "5ced5ec5fa7bb86302944f0f",
+ "JPUSH_APPKEY_IOS" : "5ced5ec5fa7bb86302944f0f",
+ "JPUSH_CHANNEL_ANDROID" : "",
+ "JPUSH_CHANNEL_IOS" : "",
+ "__plugin_info__" : {
+ "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" : true,
+ "bought" : 1,
+ "pid" : "4028",
+ "parameters" : {
+ "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_ADVERTISINGID_IOS" : "",
+ "JPUSH_DEFAULTINITJPUSH_IOS" : "",
+ "JPUSH_GOOGLE_API_KEY" : "",
+ "JPUSH_GOOGLE_APP_ID" : "",
+ "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" : "极光推送 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" : true,
+ "bought" : 1,
+ "pid" : "4035",
+ "parameters" : {
+ "JPUSH_ADVERTISINGID_IOS" : {
+ "des" : "[iOS]广告标识符(IDFA)如果不需要使用IDFA,可不填",
+ "key" : "JPush:ADVERTISINGID",
+ "value" : ""
+ },
+ "JPUSH_DEFAULTINITJPUSH_IOS" : {
+ "des" : "[iOS]是否默认初始化,是填true,不是填false或者不填",
+ "key" : "JPush:DEFAULTINITJPUSH",
+ "value" : ""
+ },
+ "JPUSH_GOOGLE_API_KEY" : {
+ "des" : "厂商google api_key,示例:g-12346578",
+ "key" : "google_api_key",
+ "value" : ""
+ },
+ "JPUSH_GOOGLE_APP_ID" : {
+ "des" : "厂商google mobilesdk_app_id,示例:g-12346578",
+ "key" : "google_app_id",
+ "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" : ""
+ }
+ }
+ }
+ }
+ }
+ },
+ /* 快应用特有相关 */
+ "quickapp" : {},
+ "h5" : {
+ "devServer" : {
+ "proxy" : {
+ "baseUrlTest/adminapi" : {
+ "target" : "https://worker-task.lihaink.cn",
+ "changeOrigin" : true,
+ "pathRewrite" : {
+ "^/baseUrlTest/adminapi" : "/adminapi"
+ }
+ },
+ "baseUrlTest/api" : {
+ "target" : "https://worker-task.lihaink.cn",
+ "changeOrigin" : true,
+ "pathRewrite" : {
+ "^/baseUrlTest/api" : "/api"
+ }
+ }
+ }
+ },
+ "sdkConfigs" : {
+ "maps" : {
+ "amap" : {
+ "key" : "275cd3601b1b2d6414f6c988e7911664",
+ "securityJsCode" : "d2d7c56801819e8bdf71b8a71846f235",
+ "serviceHost" : ""
+ }
+ }
+ }
+ },
+ /* 小程序特有相关 */
+ "mp-weixin" : {
+ "appid" : "wx6e14cb98394e36bc",
+ "setting" : {
+ "urlCheck" : false
+ },
+ "usingComponents" : true
+ },
+ "mp-alipay" : {
+ "usingComponents" : true
+ },
+ "mp-baidu" : {
+ "usingComponents" : true
+ },
+ "mp-toutiao" : {
+ "usingComponents" : true
+ },
+ "uniStatistics" : {
+ "enable" : false
+ },
+ "vueVersion" : "2"
}
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 @@
-
+
+
+
-
-
+
+
扫码取货
@@ -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 43949d7..46accaa 100644
--- a/pages/logistics/index.vue
+++ b/pages/logistics/index.vue
@@ -1,132 +1,147 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/logistics/logisticDetil.vue b/pages/logistics/logisticDetil.vue
index 3bb2157..cb035b5 100644
--- a/pages/logistics/logisticDetil.vue
+++ b/pages/logistics/logisticDetil.vue
@@ -11,7 +11,83 @@
订单编号: {{goodsDetil.logistics.order_sn}}
+
+ 订单编号: {{goodsDetil.logistics.order_sn}}
+
+
+
+
+
+ 取消时间
+
+
+ {{goodsDetil.record[1].create_time}}
+
+
+
+
+ 收货详情
+
+
+
+ {{goodsDetil.logistics.receiver_address}}
+
+
+ {{ fuzzyName(goodsDetil.logistics.receiver_name) ||"顾客姓名"}}: {{goodsDetil.logistics.receiver_phone||"顾客电话"}}
+
+
+ {{goodsDetil.create_time}}
+
+
+
+
+
+
+
+ 取货详情
+
+
+
+ {{goodsDetil.logistics.shop_address||"商家地址"}}
+
+
+ {{goodsDetil.logistics.shop_name||"商家电话"}}
+ : {{goodsDetil.logistics.shop_phone||"商家电话"}}
+
+
+
+
+
+
+
+
+
+
+ 物流信息
+
+
+
+
+
+
+
+
+
+
+ 商品信息
+
+
+
+ {{item.goods_name}}
+ X{{item.product_num}}{{item.goods_unit}}
+
+
+
+
+
+
@@ -86,8 +162,8 @@
-
-
+
+
用户名称
@@ -145,12 +221,10 @@
-
-
-
+
共计{{goodsDetil.product_count}}件
-
+
@@ -254,6 +328,15 @@
background-color: #F5F5F5;
}
+ .btn {
+ position: fixed;
+ bottom: 20rpx;
+ width: 90vw;
+ left: 50%;
+ transform: translateX(-50%);
+
+ }
+
.order {
position: relative;
background-color: white;
diff --git a/pages/oaHome/oaHome.vue b/pages/oaHome/oaHome.vue
index 6128979..214d80e 100644
--- a/pages/oaHome/oaHome.vue
+++ b/pages/oaHome/oaHome.vue
@@ -1,30 +1,37 @@
-
-
+
+
-
-
-
- 工作管理
- 更多
-
-
-
-
-
-
+
+
+ 配送信息
+ 更多
+
+
+
+
+
-
-
-
-
-
- {{ item.text }}
-
-
-
-
-
-
- 配送信息
- 更多
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
-
- 暂无配送信息
- 登录后查看配送信息详情
-
-
-
+
-
-
- 登录里海OA,开启线上便捷办公
-
-
-
-
-
+
+
+ 登录里海OA,开启线上便捷办公
+
+
+
+
+
\ No newline at end of file
+ .btn {
+ width: 158rpx;
+ height: 60rpx;
+ background: #3274f9;
+ border-radius: 30rpx 30rpx 30rpx 30rpx;
+ font-size: 28rpx;
+ font-weight: 500;
+ color: #ffffff;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ }
+ }
+}
+
diff --git a/pages/oaLogin/oaLogin.vue b/pages/oaLogin/oaLogin.vue
index af45f4a..c12820b 100644
--- a/pages/oaLogin/oaLogin.vue
+++ b/pages/oaLogin/oaLogin.vue
@@ -21,12 +21,14 @@
{
+ // 绑定极光设备id
+ this.formData.register_id = result.registerID || 0
+
+ console.log("设备----", this.formData)
+ })
+ // #endif
+ },
async login () {
if (!this.formData.account) return Toast('账号不能为空');
if (this.formData.scene == 1 && !this.formData.password) return Toast('密码不能为空');
@@ -124,7 +139,9 @@ export default {
user: data,
token: res.data.token
})
- let { data } = await userInfo();
+ let {
+ data
+ } = await userInfo();
this.$store.commit('setUserInfo', data);
uni.hideLoading()
if (data.is_new_user) {
@@ -142,7 +159,6 @@ export default {
} else uni.navigateTo({
url: '/pages/updatePasswprd/updatePasswprd'
});
-
},
initTerminal () {
// #ifndef APP-PLUS
@@ -199,14 +215,7 @@ export default {
}
},
mounted () {
- // // #ifdef APP-PLUS
- // jpushModule.initJPushService()
- // jpushModule.getRegistrationID(result => {
- // // 绑定极光设备id
- // this.formData.register_id = result.registerID
- // console.log("设备----", this.formData)
- // })
- // // #endif
+
this.initTerminal();
}
diff --git a/utils/jpush.js b/utils/jpush.js
index 3a6c069..42266d4 100644
--- a/utils/jpush.js
+++ b/utils/jpush.js
@@ -1,6 +1,6 @@
// 引用方式
var jpushModule = uni.requireNativePlugin("JG-JPush");
-console.log('【sk】【引用方式】【jpushModule】【requireNativePlugin】')
+// console.log('【sk】【引用方式】【jpushModule】【requireNativePlugin】')
// 开启 debug 模式,默认是关闭
function openDebug() {