diff --git a/components/commentsList.vue b/components/commentsList.vue index 3aae86b..8333f65 100644 --- a/components/commentsList.vue +++ b/components/commentsList.vue @@ -198,19 +198,19 @@ font-size: 24rpx; .name { - color: #999; + color: #999; font-size: 28rpx; @include toe(); } .content { color: #333; - font-size: 26rpx; + font-size: 28rpx; margin-top: 10rpx; } .others { margin-top: 10rpx; - color: #999; + color: #999; font-size: 28rpx; align-items: center; .dianzan { diff --git a/config/baseUrl.js b/config/baseUrl.js index 3b2a865..34b1545 100644 --- a/config/baseUrl.js +++ b/config/baseUrl.js @@ -12,13 +12,14 @@ if (process.env.NODE_ENV === 'development') { // baseUrl = "http://59.110.212.44:9200/pb/"; // baseUrl = "http://192.168.110.100:9100/pb/"; // 开发用电脑 // baseUrl = "http://192.168.110.110:9200/pb/"; + // baseUrl = "http://192.168.110.38:9200/pb/"; // 吴春磊笔记本1 // socketUrl = "ws://8.129.186.35:6001/"; } else if (process.env.NODE_ENV === 'production') { // 生产环境11 - // baseUrl = "http://192.168.110.100:9200/pb/" // 开发用电脑 + // baseUrl = "http://59.110.212.44:9100/pb/"; // baseUrl = "https://testapi.nuttyreading.com/"; // baseUrl = "http://192.168.110.110:9200/pb/";//磊哥 - baseUrl = "https://api.nuttyreading.com/"; // 正式环境 + baseUrl = "https://api.nuttyreading.com/"; //1 // baseUrl = "ws://twin-ui.com:6001/"; // socketUrl = "ws://twin-ui.com:6001/"; } diff --git a/pages/bookShop/orderLCont.vue b/pages/bookShop/orderLCont.vue index 4deac51..b6a2e31 100644 --- a/pages/bookShop/orderLCont.vue +++ b/pages/bookShop/orderLCont.vue @@ -1088,10 +1088,22 @@ export default { // 商品内容跳转 goDetail(id, data) { - console.log("data at line 1277:", data); + console.log("data at line 1277:订单详情参数", data); if (data.delFlag == -1) { this.$commonJS.showToast("商品已下架"); - } else { + }else if(data.goodsType == '05'){ + if(data.courseIds && data.courseIds.length > 0){ + uni.navigateTo({ + url: `/pages/course/courseDetail?id=${data.courseIds[0].courseId}`, + }); + }else{ + uni.showToast({ + title: "课程数据出错", + icon: "none" + }); + } + + } else { uni.navigateTo({ // url: '../bookShop/commodityDetail?id=' + item.id url: `/pages/goods/index/index?navTitle=''&title=''&id=${id}`, diff --git a/pages/component/commonComponents/selectGoods.vue b/pages/component/commonComponents/selectGoods.vue index c8c32f9..8d206c2 100644 --- a/pages/component/commonComponents/selectGoods.vue +++ b/pages/component/commonComponents/selectGoods.vue @@ -50,7 +50,7 @@ : '' }`" > - + - + {{ slotProps.row.productName }} - ¥{{ slotProps.row.activityPrice?slotProps.row.activityPrice:slotProps.row.price }} + + ¥{{slotProps.row.price}} + ¥{{ slotProps.row.activityPrice?slotProps.row.activityPrice:slotProps.row.price }} + + diff --git a/pages/course/courseDetail.vue b/pages/course/courseDetail.vue index 5e84414..42b35d5 100644 --- a/pages/course/courseDetail.vue +++ b/pages/course/courseDetail.vue @@ -167,11 +167,11 @@ {{ item.title }}