From ec36dd749661f13945bf96eca2358f63877e58c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A7=8B=E4=BA=8E=E5=88=9D=E8=A7=81?= <752204717@qq.com>
Date: Tue, 19 Aug 2025 16:24:26 +0800
Subject: [PATCH] tijiao
---
.hbuilderx/launch.json | 15 +++++++++++
config/baseUrl.js | 8 +++---
pages/curriculum/order/index.vue | 43 +++++++++++++++++++++++++++++++-
3 files changed, 61 insertions(+), 5 deletions(-)
create mode 100644 .hbuilderx/launch.json
diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json
new file mode 100644
index 0000000..8911e10
--- /dev/null
+++ b/.hbuilderx/launch.json
@@ -0,0 +1,15 @@
+{
+ "version" : "1.0",
+ "configurations" : [
+ {
+ "default" : {
+ "launchtype" : "local"
+ },
+ "h5" : {
+ "launchtype" : "local"
+ },
+ "provider" : "aliyun",
+ "type" : "uniCloud"
+ }
+ ]
+}
diff --git a/config/baseUrl.js b/config/baseUrl.js
index 46bddf3..031beae 100644
--- a/config/baseUrl.js
+++ b/config/baseUrl.js
@@ -2,11 +2,11 @@ let baseUrl = "";
let socketUrl = "";
if (process.env.NODE_ENV === 'development') {
// 开发环境
- // baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
- baseUrl = "https://api.nuttyreading.com/"; //线上正式
+ baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
+ // baseUrl = "https://api.nuttyreading.com/"; //线上正式
} else if (process.env.NODE_ENV === 'production') {
- // baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
- baseUrl = "https://api.nuttyreading.com/"; //线上正式
+ baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
+ // baseUrl = "https://api.nuttyreading.com/"; //线上正式
//baseUrl = "https://testapi.nuttyreading.com/"; //线上正式
}
const courtConfig = {
diff --git a/pages/curriculum/order/index.vue b/pages/curriculum/order/index.vue
index 63c03a6..2fb6a02 100644
--- a/pages/curriculum/order/index.vue
+++ b/pages/curriculum/order/index.vue
@@ -76,7 +76,17 @@
有效期至{{ userVip.endTime }}
-
+
+
+ 联系客服咨询课程
+
+
+
+
+
+
+
领取课程
@@ -276,6 +286,28 @@
+
+
+
@@ -295,6 +327,7 @@
},
data() {
return {
+ kefuShow: false,
isHideCourseInfo: false,
courseList: [],
showGoBuy: true,
@@ -375,12 +408,14 @@
onHide() {
this.selectGoodsData = {};
this.protocolShow = false;
+ this.kefuShow = false;
this.handleClickClose();
this.$refs.commonSelectGoods.close();
},
onUnload() {
this.selectGoodsData = {};
this.protocolShow = false;
+ this.kefuShow = false;
this.$refs.commonSelectGoods.close();
},
computed: {
@@ -388,11 +423,17 @@
},
onShow() {
this.protocolShow = false;
+ this.kefuShow = false;
this.$nextTick(() => {
this.getCourseDescriptionData();
});
},
methods: {
+ openKefu(data){
+ console.log('data at line 400:', data)
+this.kefuShow = true;
+
+ },
//删除文本里的图片
removeImagesFromHTML() {
const cleanText = this.curriculumData.content.replace(/
]*>/g, '');