From 8c3b39326581a8e7ec48b7e922457b44bbc8306e Mon Sep 17 00:00:00 2001 From: yuanteng0011 <1876787513@qq.com> Date: Tue, 4 Mar 2025 16:27:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=97=E4=BD=93=E5=92=8C=E8=B4=AD=E7=89=A9?= =?UTF-8?q?=E8=BD=A6=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/request.ts | 2 +- .../productmain/testproductmain.vue | 3 +- pages/book/component/feeTips.vue | 26 +- pages/book/photoProducts/photoProducts.vue | 21 +- .../photoProductsOrder/photoProductsOrder.vue | 29 +- .../photoProductsOrderDetail.vue | 41 +-- pages/login/login.vue | 2 +- pages/mine/Contact/testContact.vue | 22 +- pages/mine/addressList/addressList.vue | 27 +- pages/mine/bookings/booking.vue | 261 ----------------- pages/mine/bookings/bookings.vue | 275 ------------------ pages/mine/component/contactPop.vue | 20 +- pages/order/component/addressComponent.vue | 15 +- .../service-paystatus/service-paystatus.vue | 68 +++-- pages/test/test.vue | 4 +- pages/workshop/component/timeSelect.vue | 15 +- 16 files changed, 213 insertions(+), 618 deletions(-) delete mode 100644 pages/mine/bookings/booking.vue delete mode 100644 pages/mine/bookings/bookings.vue diff --git a/api/request.ts b/api/request.ts index 391010b..aa8d37c 100644 --- a/api/request.ts +++ b/api/request.ts @@ -4,4 +4,4 @@ export const suiUrl = 'http://154.8.193.216:9092/api' //隋宇霏的接口地 export const domain = 'https://www.carboner.cn/api' export const myIp = 'http://8.130.119.119:9092/api' -export const baseUrl = Url +export const baseUrl = testUrl diff --git a/pages/Shopping-cart/productmain/testproductmain.vue b/pages/Shopping-cart/productmain/testproductmain.vue index c75911f..f8006b7 100644 --- a/pages/Shopping-cart/productmain/testproductmain.vue +++ b/pages/Shopping-cart/productmain/testproductmain.vue @@ -334,7 +334,8 @@ products.value.forEach((item) => { item.checked = false //将全部都取消选择 }) - } + checkedData.value = [] + } } //减少商品(适用于服务类和商品类) const decrease = (index, item) => { //item用于监测是否选中 diff --git a/pages/book/component/feeTips.vue b/pages/book/component/feeTips.vue index 63833e9..abebb6b 100644 --- a/pages/book/component/feeTips.vue +++ b/pages/book/component/feeTips.vue @@ -47,11 +47,27 @@ \ No newline at end of file diff --git a/pages/mine/bookings/bookings.vue b/pages/mine/bookings/bookings.vue deleted file mode 100644 index 2c0e762..0000000 --- a/pages/mine/bookings/bookings.vue +++ /dev/null @@ -1,275 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/mine/component/contactPop.vue b/pages/mine/component/contactPop.vue index 79c94d5..6127740 100644 --- a/pages/mine/component/contactPop.vue +++ b/pages/mine/component/contactPop.vue @@ -39,6 +39,7 @@ onLoad(()=>{ onShow(()=>{ }) onMounted(()=>{ + getFonts() //获取字体 emitter.on('contactInfo',(val)=>{ //编辑按钮传来的联系人信息 console.log('当前编辑的联系人信息',val); if(val != null) { @@ -118,6 +119,19 @@ const closePop = () =>{ //关闭弹窗方法 contactParam.value.isDefault = 0 emitter.emit('closeContactPop') } +//获取字体 +const getFonts =()=>{ + uni.loadFontFace({ + family: 'FangZhengFonts', + source: `url("https://carbon2.obs.cn-north-4.myhuaweicloud.com/fonts/FangZhengFonts.TTF")`, + success:(res) =>{ + console.log('success',res); + }, + fail:(err) => { + console.log('err',err); + } + }) +} diff --git a/pages/test/test.vue b/pages/test/test.vue index f5b3dea..719ac27 100644 --- a/pages/test/test.vue +++ b/pages/test/test.vue @@ -1,5 +1,5 @@