From bb753c0b02ad83f63618d7a21b404ac684ac6b81 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Fri, 7 Jul 2023 16:19:37 +0800 Subject: [PATCH] fix --- order/editCourse/editCourse.vue | 4 +- order/orderDetail/orderDetail.vue | 4 +- order/productDetail/productDetail.vue | 21 +++++++++-- order/products/products.vue | 54 +++++++++++++-------------- pages/index/index.vue | 18 ++++++--- 5 files changed, 58 insertions(+), 43 deletions(-) diff --git a/order/editCourse/editCourse.vue b/order/editCourse/editCourse.vue index ebfb681..a6e75de 100644 --- a/order/editCourse/editCourse.vue +++ b/order/editCourse/editCourse.vue @@ -240,9 +240,9 @@ }, // 计算结算价及平台服务费 dealSettlePrice(row) { - // 如果是试用,结算价和平台服务费都是0 + // 如果是试用或者没选择,结算价和平台服务费都是0 console.log('dealSettlePrice=>', row, this.orderType) - if (this.orderType == 2) { + if (this.orderType != 1) { row.settlementPrice = 0 row.serviceFee = 0 } else { diff --git a/order/orderDetail/orderDetail.vue b/order/orderDetail/orderDetail.vue index 390083b..738e5bc 100644 --- a/order/orderDetail/orderDetail.vue +++ b/order/orderDetail/orderDetail.vue @@ -478,8 +478,8 @@ // 计算结算价及平台服务费 dealSettlePrice(row) { console.log('row==>',row) - // 如果是试用,结算价和平台服务费都是0 - if (this.form.orderType == 2) { + // 如果是试用或者没选择,结算价和平台服务费都是0 + if (this.form.orderType != 1) { row.settlementPrice = 0 row.serviceFee = 0 } else { diff --git a/order/productDetail/productDetail.vue b/order/productDetail/productDetail.vue index 92d82f1..d1b4e4d 100644 --- a/order/productDetail/productDetail.vue +++ b/order/productDetail/productDetail.vue @@ -48,9 +48,10 @@ 详情介绍: - - - {{ form.mall.detailedIntroduction }} + + + + @@ -138,6 +139,10 @@ color: '#fff', selectedBackgroundColor: 'rgba(83, 200, 249,0.9)', selectedBorder: '1px rgba(83, 200, 249,0.9) solid' + }, + mpStyle: { + p: 'font-size: 26rpx !important;font-family: Microsoft Yahei !important;', + span: 'font-size: 26rpx !important;font-family: Microsoft Yahei !important;' } } }, @@ -164,7 +169,7 @@ detailsOfGoods(this.id).then(res => { const e = res.orderDetails e.mall.productIntroduction = this.$util.removeTag(e.mall.productIntroduction) - e.mall.detailedIntroduction = this.$util.removeTag(e.mall.detailedIntroduction) + // e.mall.detailedIntroduction = this.$util.removeTag(e.mall.detailedIntroduction) this.form = e const pics = this.form.mall.interfaceDiagram if (pics) { @@ -398,6 +403,14 @@ font-weight: 600; white-space: nowrap; } + .des-html { + width: 100%;; + font-size: 28rpx !important; + } + .rich-text-content span { + font-size: 28rpx; + color: #f00; + } } .pic { width: 100%; diff --git a/order/products/products.vue b/order/products/products.vue index 52bc295..7377ac3 100644 --- a/order/products/products.vue +++ b/order/products/products.vue @@ -4,12 +4,17 @@ -