diff --git a/config.js b/config.js index d166eb8..61604a8 100644 --- a/config.js +++ b/config.js @@ -2,30 +2,30 @@ const type = 'prod' const config = { - local: { - baseUrl: 'http://127.0.0.1:8002', - }, - dev: { - baseUrl: 'http://h5.xzaiyp.top', - }, - prod: { - baseUrl: 'https://www.ddmhs.top', - } + local: { + baseUrl: 'http://127.0.0.1:8002', + }, + dev: { + baseUrl: 'http://h5.xzaiyp.top', + }, + prod: { + baseUrl: 'https://www.ddmhs.top', + } } const defaultConfig = { - mapKey: 'XMBBZ-BCPCV-SXPPQ-5Y7MY-PHZXK-YFFVU', - aliOss: { - url: 'https://oss.ddmhs.top/', - config: { - region: 'oss-cn-hangzhou', - accessKeyId: 'LTAI5tDXgH5a42GbUZroVvio', - accessKeySecret: 'TK7jQ0KeXnFBHNxpEHzT83Spp81tl5', - bucket: 'ossddmhs', - endpoint: 'oss-cn-hangzhou.aliyuncs.com', - } - }, - mchId: '1701841654', + mapKey: 'XMBBZ-BCPCV-SXPPQ-5Y7MY-PHZXK-YFFVU', + aliOss: { + url: 'https://oss.ddmhs.top/', + config: { + region: 'oss-cn-hangzhou', + accessKeyId: 'LTAI5tDXgH5a42GbUZroVvio', + accessKeySecret: 'TK7jQ0KeXnFBHNxpEHzT83Spp81tl5', + bucket: 'ossddmhs', + endpoint: 'oss-cn-hangzhou.aliyuncs.com', + } + }, + mchId: '1701841654', } import utils from './utils/utils.js' diff --git a/pages/manager/order.vue b/pages/manager/order.vue index c389827..359fbd1 100644 --- a/pages/manager/order.vue +++ b/pages/manager/order.vue @@ -346,7 +346,7 @@ // if (state === 3) { // return { label: '已取消', class: 'gray' } // } - if ((status === 1 && state === 0) && state != 3 && state != 4) { + if ((status == 1 && state == 0) || (status == 1 && state == 1)) { return { label: '已预约', class: 'green' diff --git a/pages/subcomponent/order.vue b/pages/subcomponent/order.vue index 24eec02..2ee9d40 100644 --- a/pages/subcomponent/order.vue +++ b/pages/subcomponent/order.vue @@ -73,7 +73,7 @@ {{ getOrderStatusText(order) }} - {{ order.goTime || order.statusTime }} + {{ order.logisticsTrajectory ? order.logisticsTrajectory.createTime : order.goTime }}