From 0bcacb5f82f26202bd5d9ab6dd4ce43ffb893c89 Mon Sep 17 00:00:00 2001 From: chen-xin-zhi <3588068430@qq.com> Date: Sun, 9 Mar 2025 18:55:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=AE=8C=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/request.ts | 7 +- common/globalFunction.js | 12 ++ pages.json | 14 ++ pages/Shopping-cart/component/addProduct.vue | 20 ++- .../newaddress_Info/newaddress_Info.vue | 19 +- .../Shopping-cart/productmain/productmain.vue | 2 +- .../productmain/testproductmain.vue | 4 +- pages/activity/activityHome/activityHome.vue | 11 ++ pages/book/component/bookingSelected.vue | 111 ++++++++---- pages/book/component/cancelOrder.vue | 16 +- pages/book/component/confirmBookingInfo.vue | 31 ++-- pages/book/component/deleteOrder.vue | 17 +- .../photoProductDetail/photoProductDetail.vue | 22 ++- pages/book/photoProducts/photoProducts.vue | 1 + .../photoProductsOrder/photoProductsOrder.vue | 106 +++++++---- .../photoProductsOrderDetail.vue | 168 ++++++++++-------- pages/coupon/CouponMall/CouponMall.vue | 33 ++-- pages/coupon/component/couponPopup.vue | 16 +- pages/home/home.vue | 18 +- pages/mine/Contact/testContact.vue | 24 ++- pages/mine/PersonCenter/PersonCenter.vue | 13 ++ pages/mine/component/contactPop.vue | 33 ++-- pages/mine/main/main.vue | 139 +++++++++++++-- pages/mine/mineorders/mineorders.vue | 24 ++- pages/order/component/contactsComponent.vue | 28 ++- .../order/product-waitpay/product-waitpay.vue | 86 +++++---- pages/order/serviceWaitPay/serviceWaitPay.vue | 87 +++++---- .../order/singleGoodOrder/singleGoodOrder.vue | 86 +++++---- .../singleServiceWait/singleServiceWait.vue | 86 +++++---- .../ProductDetails/ProductDetails.vue | 50 +++++- pages/store-home/main/main.vue | 1 - pages/store-home/main/testMain.vue | 7 +- pages/test/test.vue | 2 +- pages/text.vue | 67 ------- pages/workshop/component/timeSelect.vue | 144 +++++++++------ pages/workshop/productmain/productmain.vue | 16 +- pages/workshop/searchResult/searchResult.vue | 5 - 37 files changed, 994 insertions(+), 532 deletions(-) create mode 100644 common/globalFunction.js create mode 100644 pages/activity/activityHome/activityHome.vue create mode 100644 pages/mine/PersonCenter/PersonCenter.vue delete mode 100644 pages/text.vue diff --git a/api/request.ts b/api/request.ts index aa8d37c..f76486f 100644 --- a/api/request.ts +++ b/api/request.ts @@ -1,7 +1,10 @@ export const Url = 'http://localhost:9092/api' //后端接口文档 export const testUrl = 'http://123.249.108.160:8888/api' //自己组的服务器接口地址 -export const suiUrl = 'http://154.8.193.216:9092/api' //隋宇霏的接口地址 +export const develop = 'http://154.8.193.216:9092/api' //隋宇霏的接口地址(开发环境) +export const test = 'http://154.8.193.216:9093/api' //隋宇霏的接口地址(测试环境) export const domain = 'https://www.carboner.cn/api' export const myIp = 'http://8.130.119.119:9092/api' - +export const nwct = 'https://winning-mouse-internally.ngrok-free.app/api' +export const suiUrl = '' export const baseUrl = testUrl + \ No newline at end of file diff --git a/common/globalFunction.js b/common/globalFunction.js new file mode 100644 index 0000000..954d910 --- /dev/null +++ b/common/globalFunction.js @@ -0,0 +1,12 @@ +export const dealResult = (res) => { + let response = res.data + if (response.code !== 1) { + uni.showModal({ + title: '提示', + content: response.message, + showCancel: false + }) + return false + } + return response.data +} \ No newline at end of file diff --git a/pages.json b/pages.json index ffc58c8..554c210 100644 --- a/pages.json +++ b/pages.json @@ -263,6 +263,20 @@ { "navigationBarTitleText" : "" } + }, + { + "path" : "pages/activity/activityHome/activityHome", + "style" : + { + "navigationBarTitleText" : "" + } + }, + { + "path" : "pages/mine/PersonCenter/PersonCenter", + "style" : + { + "navigationBarTitleText" : "" + } } ], "plugins" : { diff --git a/pages/Shopping-cart/component/addProduct.vue b/pages/Shopping-cart/component/addProduct.vue index c39c174..ddc617d 100644 --- a/pages/Shopping-cart/component/addProduct.vue +++ b/pages/Shopping-cart/component/addProduct.vue @@ -43,6 +43,7 @@ + + diff --git a/pages/book/component/bookingSelected.vue b/pages/book/component/bookingSelected.vue index 01a62a5..afa89d9 100644 --- a/pages/book/component/bookingSelected.vue +++ b/pages/book/component/bookingSelected.vue @@ -42,9 +42,9 @@ 拍摄场地 - + - + 室内 - + diff --git a/pages/mine/component/contactPop.vue b/pages/mine/component/contactPop.vue index 6127740..7582c57 100644 --- a/pages/mine/component/contactPop.vue +++ b/pages/mine/component/contactPop.vue @@ -24,7 +24,7 @@