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