diff --git a/config/api/base.js b/config/api/base.js index 0e61a94..a6f79b9 100644 --- a/config/api/base.js +++ b/config/api/base.js @@ -1,5 +1,5 @@ // api基础地质 -export const BASE_URL = 'https://test.tall.wiki/gateway'; +export const BASE_URL = 'https://www.tall.wiki/gateway'; // 错误码 export const ERR_CODE = 200; diff --git a/pages/add-stroke/add-stroke.vue b/pages/add-stroke/add-stroke.vue index a5b3911..46c74bb 100644 --- a/pages/add-stroke/add-stroke.vue +++ b/pages/add-stroke/add-stroke.vue @@ -23,7 +23,7 @@ - 出行交通方式(必选) + *出行交通方式 @@ -37,11 +37,11 @@ *乘坐航班车次或车牌号码及座位号(没有填无) - + 同行人 - + @@ -67,7 +67,7 @@ export default { transports: [ { value: '0', - name: '铁路', + name: '火车', }, { value: '1', @@ -233,6 +233,10 @@ export default { showToast('请选择抵达时间'); return; } + if (this.startTime >= this.endTime){ + showToast('开始时间不能和抵达时间相同或者晚于抵达时间'); + return; + } if (this.journeyType<0) { showToast('请选择行程类型'); return; diff --git a/pages/apply-code/apply-code.vue b/pages/apply-code/apply-code.vue index d26f2ac..398b581 100644 --- a/pages/apply-code/apply-code.vue +++ b/pages/apply-code/apply-code.vue @@ -1,135 +1,115 @@