From bca6210114c970ef26d155117080f163ed55fff9 Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Wed, 16 Apr 2025 21:00:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E5=BC=80=E5=8F=91?= =?UTF-8?q?=E7=8E=AF=E5=A2=83API=E5=9C=B0=E5=9D=80=E5=B9=B6=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E8=AE=A2=E5=8D=95=E6=8F=90=E4=BA=A4=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新了开发环境的API地址为`http://h5.xzaiyp.top`,并调整了订单管理页面中的提交逻辑,修复了`submitFlag`的值设置问题。同时,优化了`up-tabs`组件的样式和事件绑定。 --- otherPages/myOrdersManage/clock/index.vue | 3 +-- pages/myOrdersManage/index.vue | 8 ++++++-- utils/getUrl.js | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/otherPages/myOrdersManage/clock/index.vue b/otherPages/myOrdersManage/clock/index.vue index 0b14209..0bea85f 100644 --- a/otherPages/myOrdersManage/clock/index.vue +++ b/otherPages/myOrdersManage/clock/index.vue @@ -404,7 +404,6 @@ workPalyImage: fileList.testb?.map(item => item.url).join(',') || '', // 备注信息 notes: form.value.notes || '', - submitFlag : 1, } if(form.value.id) { @@ -412,7 +411,7 @@ } if(flag) { - params.submitFlag = 2 + params.submitFlag = 1 } orderItemLogAddOrUpdate(params) diff --git a/pages/myOrdersManage/index.vue b/pages/myOrdersManage/index.vue index c87e9e7..dd0d2e5 100644 --- a/pages/myOrdersManage/index.vue +++ b/pages/myOrdersManage/index.vue @@ -16,7 +16,9 @@ }" :inactiveStyle="{ color: '#FFFFFF', transform: 'scale(1)' - }" :itemStyle="{height:'88rpx',width : '33%'}" lineColor="#FFFFFF"> + }" :itemStyle="{height:'88rpx',width : '33%'}" + + lineColor="#FFFFFF"> @@ -29,7 +31,9 @@ }" :inactiveStyle="{ color: '#FFFFFF', transform: 'scale(1)' - }" :itemStyle="{height:'88rpx',padding:'0 52rpx', width : '400rpx'}" lineColor="#FFFFFF"> + }" :itemStyle="{height:'88rpx',padding:'0 52rpx', width : '400rpx'}" + @click="classIfyClickTab" + lineColor="#FFFFFF"> diff --git a/utils/getUrl.js b/utils/getUrl.js index 8d9f1cc..6b4ba63 100644 --- a/utils/getUrl.js +++ b/utils/getUrl.js @@ -3,7 +3,7 @@ const accountInfo = wx.getAccountInfoSync(); current = accountInfo.miniProgram.envVersion; const api = { - develop:"https://pet-admin.hhlm1688.com/api", + develop:"http://h5.xzaiyp.top", // develop: "http://youyi-test.natapp1.cc/prod-api", // 开发 trial: "https://pet-admin.hhlm1688.com/api", //测试 release: "https://pet-admin.hhlm1688.com/api", // 线上