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 9d03a7f..e600185 100644
--- a/manifest.json
+++ b/manifest.json
@@ -107,13 +107,13 @@
"nativePlugins" : {
"JG-JCore" : {
"JPUSH_APPKEY_ANDROID" : "5ced5ec5fa7bb86302944f0f",
- "JPUSH_APPKEY_IOS" : "",
+ "JPUSH_APPKEY_IOS" : "5ced5ec5fa7bb86302944f0f",
"JPUSH_CHANNEL_ANDROID" : "",
"JPUSH_CHANNEL_IOS" : "",
"__plugin_info__" : {
"name" : "极光推送 JCore 官方 SDK",
"description" : "极光推送 JCore 官方 SDK HBuilder 插件版本",
- "platforms" : "Android,iOS",
+ "platforms" : "All,Android,iOS",
"url" : "https://ext.dcloud.net.cn/plugin?id=4028",
"android_package_name" : "uni.UNIB5B1EDD",
"ios_bundle_id" : "uni.UNIB5B1EDD",
@@ -167,7 +167,7 @@
"__plugin_info__" : {
"name" : "极光推送 JPush 官方 SDK",
"description" : "极光推送JPush官方SDK HBuilder插件版本",
- "platforms" : "Android,iOS",
+ "platforms" : "All,Android,iOS",
"url" : "https://ext.dcloud.net.cn/plugin?id=4035",
"android_package_name" : "uni.UNIB5B1EDD",
"ios_bundle_id" : "uni.UNIB5B1EDD",
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 b327ce7..2516261 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
diff --git a/pages/oaLogin/oaLogin.vue b/pages/oaLogin/oaLogin.vue
index af45f4a..9d124ec 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,25 +139,14 @@ 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) {
- uni.showLoading({
- mask: true,
- title: '加载中'
- })
- uni.switchTab({
- url: '/pages/oaHome/oaHome',
- success: () => {
- uni.$emit('initOaTask'); // 更新任务
- uni.hideLoading()
- }
- })
- } else uni.navigateTo({
- url: '/pages/updatePasswprd/updatePasswprd'
- });
-
+ uni.switchTab({
+ url: '/pages/oaHome/oaHome'
+ })
},
initTerminal () {
// #ifndef APP-PLUS
@@ -199,14 +203,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() {