Browse Source

fix: 更新开发环境API地址并调整订单提交逻辑

更新了开发环境的API地址为`http://h5.xzaiyp.top`,并调整了订单管理页面中的提交逻辑,修复了`submitFlag`的值设置问题。同时,优化了`up-tabs`组件的样式和事件绑定。
master
前端-胡立永 3 months ago
parent
commit
bca6210114
3 changed files with 8 additions and 5 deletions
  1. +1
    -2
      otherPages/myOrdersManage/clock/index.vue
  2. +6
    -2
      pages/myOrdersManage/index.vue
  3. +1
    -1
      utils/getUrl.js

+ 1
- 2
otherPages/myOrdersManage/clock/index.vue View File

@ -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)


+ 6
- 2
pages/myOrdersManage/index.vue View File

@ -16,7 +16,9 @@
}" :inactiveStyle="{
color: '#FFFFFF',
transform: 'scale(1)'
}" :itemStyle="{height:'88rpx',width : '33%'}" lineColor="#FFFFFF"></up-tabs>
}" :itemStyle="{height:'88rpx',width : '33%'}"
lineColor="#FFFFFF"></up-tabs>
</view>
</up-sticky>
@ -29,7 +31,9 @@
}" :inactiveStyle="{
color: '#FFFFFF',
transform: 'scale(1)'
}" :itemStyle="{height:'88rpx',padding:'0 52rpx', width : '400rpx'}" lineColor="#FFFFFF"></up-tabs>
}" :itemStyle="{height:'88rpx',padding:'0 52rpx', width : '400rpx'}"
@click="classIfyClickTab"
lineColor="#FFFFFF"></up-tabs>
</view>
</up-sticky>


+ 1
- 1
utils/getUrl.js View File

@ -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", // 线上


Loading…
Cancel
Save