From efa365988f89280a4d0948c0b22c34057b8c683a Mon Sep 17 00:00:00 2001 From: jiazhipeng Date: Thu, 23 Oct 2025 10:47:44 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E9=80=81fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/request.js | 8 ++++---- subPackages/pointsMall/order.vue | 2 +- subPackages/techan/cartOrder1.vue | 2 +- subPackages/techan/detail.vue | 11 ++++++++--- subPackages/techan/index.vue | 13 +++++++------ subPackages/techan/order.vue | 4 +++- 6 files changed, 24 insertions(+), 16 deletions(-) diff --git a/static/js/request.js b/static/js/request.js index cfb2213..39bf379 100644 --- a/static/js/request.js +++ b/static/js/request.js @@ -3,10 +3,10 @@ import store from '@/store'; // 定义 API URL // const DEV_API_URL = 'https://api.cloud.sz-trip.com'; -const DEV_API_URL = 'https://api.sutenong.com' -const PROD_API_URL = 'https://api.sutenong.com'; -// const DEV_API_URL = 'https://swsz.api.js-dyyj.com'; -// const PROD_API_URL = 'https://swsz.api.js-dyyj.com'; +// const DEV_API_URL = 'https://api.sutenong.com' +// const PROD_API_URL = 'https://api.sutenong.com'; +const DEV_API_URL = 'https://swsz.api.js-dyyj.com'; +const PROD_API_URL = 'https://swsz.api.js-dyyj.com'; const NEWAPIURL = process.env.NODE_ENV === 'development' ? DEV_API_URL : PROD_API_URL; // 获取token diff --git a/subPackages/pointsMall/order.vue b/subPackages/pointsMall/order.vue index c0db73b..2a19425 100644 --- a/subPackages/pointsMall/order.vue +++ b/subPackages/pointsMall/order.vue @@ -88,7 +88,7 @@ 立即配送 - + diff --git a/subPackages/techan/cartOrder1.vue b/subPackages/techan/cartOrder1.vue index 31ed791..a3bdd11 100644 --- a/subPackages/techan/cartOrder1.vue +++ b/subPackages/techan/cartOrder1.vue @@ -32,7 +32,7 @@ 立即配送 - + diff --git a/subPackages/techan/detail.vue b/subPackages/techan/detail.vue index 0710b7b..9ba690c 100644 --- a/subPackages/techan/detail.vue +++ b/subPackages/techan/detail.vue @@ -46,10 +46,15 @@ {{ info.title }} {{ info.subtitle }} - + + + + {{ item }} + @@ -73,9 +78,9 @@ - + diff --git a/subPackages/techan/index.vue b/subPackages/techan/index.vue index ed2f383..8bc47bd 100644 --- a/subPackages/techan/index.vue +++ b/subPackages/techan/index.vue @@ -189,7 +189,6 @@ - @@ -250,13 +249,13 @@ - - - - - 加入购物车 + + + 加入购物车 + + @@ -1120,6 +1119,7 @@ .placeholder-content{ background: white; position: relative; + height: 148rpx; .btn-cover{ z-index: 200; position: fixed; @@ -1131,6 +1131,7 @@ align-items: center; justify-content: center; box-shadow: 0rpx 0rpx 16rpx 0rpx rgba(6,0,1,0.1); + left: 0; .btn{ width: 670rpx; height: 78rpx; diff --git a/subPackages/techan/order.vue b/subPackages/techan/order.vue index e18c16c..8ef5627 100644 --- a/subPackages/techan/order.vue +++ b/subPackages/techan/order.vue @@ -88,7 +88,7 @@ 立即配送 - + @@ -641,6 +641,7 @@ export default { sku.buyNum += 1; if (this.flag) { this.getPost(); + this.getDeliveryPost() } }); }, @@ -652,6 +653,7 @@ export default { sku.buyNum -= 1; if (this.flag) { this.getPost(); + this.getDeliveryPost() } }); }