diff --git a/config/app.js b/config/app.js
index 01fa44c..ae60234 100644
--- a/config/app.js
+++ b/config/app.js
@@ -2,7 +2,7 @@ let httpApiThree;
let httpApi; // 总域名
let httpApiTwo; // 物流系统域名
-const env = 'dev'; // 开发
+const env = 'local'; // 开发
// const env = 'prod'; // 生产
// const env = 'prew'; // 预上线
// const env = 'local'; // 本地
@@ -19,9 +19,10 @@ switch (env) {
httpApiTwo = 'https://preview-logistics.lihaink.cn' //预上线
break;
case 'local':
- httpApi = 'http://192.168.1.12:8001' //预上线
- httpApiThree = 'http://192.168.1.12:8001' //预上线
- httpApiTwo = 'http://192.168.1.12:8001' //预上线
+
+ httpApi = 'http://192.168.1.20:8000' //预上线
+ httpApiThree = 'http://192.168.1.20:8000' //预上线
+ httpApiTwo = 'http://192.168.1.20:8000' //预上线
break;
default:
httpApi = 'https://ceshi-worker-task.lihaink.cn' //测试
diff --git a/pages/logistics/deliveryDetil.vue b/pages/logistics/deliveryDetil.vue
index 7dc1c85..8d09bfa 100644
--- a/pages/logistics/deliveryDetil.vue
+++ b/pages/logistics/deliveryDetil.vue
@@ -12,6 +12,7 @@
:latitude="markers[0].latitude" :enable-scroll="true" :longitude="markers[0].longitude">
+
@@ -47,14 +48,10 @@
订单备注: {{goodsDetil.logistics.mark}}
-
请详细核对订单信息
-
-
-
@@ -65,7 +62,6 @@
通知时间: {{goodsDetil.logistics.create_time}}
-
商品信息
@@ -73,7 +69,7 @@
+ width="100rpx" height="100rpx">
{{item.goods_name}}
@@ -102,7 +98,16 @@
-
+
+
+
+
+
+ 骑手送货完成
+
+
+
+
@@ -120,6 +125,7 @@
export default {
data() {
return {
+ showToast: false,
is_captain: 0,
mapClass: 'custom-map',
showLoading: true,
@@ -262,14 +268,7 @@
}
})
},
- showToast() {
- this.$refs.uToast.show({
- type: 'success',
- title: '成功主题(带图标)',
- message: "操作成功",
- iconUrl: 'https://cdn.uviewui.com/uview/demo/toast/success.png'
- })
- },
+
mapFun() {
uni.openLocation({
latitude: Number(this.goodsDetil.logistics.shop_lat),
@@ -279,14 +278,7 @@
scale: 15,
});
},
- showToast() {
- this.$refs.uToast.show({
- type: 'success',
- title: '成功主题(带图标)',
- message: "操作成功",
- iconUrl: 'https://cdn.uviewui.com/uview/demo/toast/success.png'
- })
- },
+
getDriverLine() {
const that = this;
const key = "997c9a3d88154fa78f4d28bebc1dd84f";
@@ -351,8 +343,9 @@
order_id: this.goodsDetil.logistics.order_id,
order_sn: sn
}).then((res, err) => {
- this.showToast()
+ this.showToast = true
setTimeout(() => {
+ this.showToast = false
uni.navigateBack()
}, 1000)
}).catch(err => {
@@ -481,4 +474,30 @@
transform: translateX(-50%);
}
+
+ .rect {
+ width: 455.61rpx;
+ height: 210.28rpx;
+ background-color: white;
+ border-radius: 21.03rpx 21.03rpx 21.03rpx 21.03rpx;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+
+ .cont {
+ color: #0022C7;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ font-size: 35.05rpx;
+ }
+ }
+
+ .cover {
+ width: 100vw;
+ height: 100vh;
+ background-color: rgba(0, 0, 0, .5);
+ }
\ No newline at end of file
diff --git a/subpkg/buyShare/buyShare.vue b/subpkg/buyShare/buyShare.vue
index c6ac615..12e3af7 100644
--- a/subpkg/buyShare/buyShare.vue
+++ b/subpkg/buyShare/buyShare.vue
@@ -23,17 +23,23 @@
+
+ 驳回提示
+
+ {{task.deny_notes}}
+
+
附件上传
金额:
-
+
-
+
-
查看
-
+
删除
@@ -88,6 +94,7 @@
@click="navTo(`/subpkg/topUp/topUp?task_id=${task_id}`)">
-->
+
@@ -159,6 +166,7 @@
amount: this.amount,
file_type: this.file_type
}
+
let res = await commit_service_group_taskAPI({
...data
})
@@ -168,7 +176,7 @@
}, 1000)
},
delFn() {
- this.clear()
+ if (this.task.approve_status != 3) this.clear()
this.file = ""
this.file_type = "pdf"
this.progress = 0
diff --git a/subpkg/townTask/townTask.vue b/subpkg/townTask/townTask.vue
index f9e5f26..abec53a 100644
--- a/subpkg/townTask/townTask.vue
+++ b/subpkg/townTask/townTask.vue
@@ -1,208 +1,313 @@
-
-
-
-
-
-
-
-
- {{`任务名称: ${taskInfo.title||''}`}}
- {{taskInfo.content||''}}
+
+
+ 任务名称: {{task.title}}
+
+
+ 入股金额:
+ {{task.extend.shareholder.money}}元
-
- 目标数量: {{extend_info.target}}
-
-
- 指定商品:
-
-
- {{item}}
-
+
+
+
+ 事件记录
+
+
+
+
+
+
+
+ 附件上传
+
+
+ 金额:
+
+
-
- 判定条件:
- {{remark}}
+
+
+
+ 上传凭证
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+ {{fileTit}}
+
+
+
+ 查看
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
\ No newline at end of file