XSLu08042 před 1 dnem
rodič
revize
6942409e05

+ 1 - 1
App.vue

@@ -1,7 +1,7 @@
 <script>
 	export default {
 		globalData: {
-			wsUrl: 'ws://h5api.his.cdwjyyh.com',
+			wsUrl: 'ws://h5.baohetangjinyue.cn',
 		},
 		onLaunch: function() {
 			console.log('App Launch')

+ 2 - 1
README.md

@@ -5,4 +5,5 @@
 	4)修改utils=>common 的 TOKEN_KEY
 	5)正式包打包路径 /appcourse (芳华未来app私域看课),用learningNewApp页面
 	6) 目前除了润天,其他项目发红包和积分是后台配置,代码中需要注意答题正确直接调closeAnswerPopup方法,
-	7) 修改弹幕、评论app.vue的wsUrl地址
+	7) 修改弹幕、评论app.vue的wsUrl地址
+	8) 木易华康有integralGift组件

+ 3 - 3
common/request.js

@@ -6,7 +6,7 @@ export default class Request {
 		let that = this;
 		// let path ='http://h5api.muyi88.com';//server
 		// let path = 'http://h5api.ylrztop.com'
-		// let path = 'http://h5.baohetangjinyue.cn'
+		let path = 'http://h5.baohetangjinyue.cn'
 		// let path = 'http://h5api.jiuzhouzaixian.com'
 		// let path = 'http://h5api.xintaihlw.cn'
 		// let path = 'http://h5api.hbhdt.top'
@@ -14,8 +14,8 @@ export default class Request {
 		// let path = 'http://h5api.yizhenylfw.com'
 		// let path = 'http://h5api.ylrztop.com'
 		// let path = "http://h5api.cqsft.vip"
-		let path = 'https://h5api.his.cdwjyyh.com'
-		// let path = 'http://h5.xiaofangke.com'
+		// let path = 'https://h5api.his.cdwjyyh.com'
+		// let path = 'https://h5.xiaofangke.com'
 		// let path = 'https://userapp.ashyisheng.com'
 		// uni.setStorageSync('requestPath',path);
 		// uni.showLoading({

+ 1 - 1
manifest.json

@@ -76,7 +76,7 @@
         },
         "router" : {
             "mode" : "history",
-            "base" : "/appcourse"
+            "base" : "/auth"
         },
         "template" : "template.h5.html",
         "title" : " "

+ 11 - 13
pages/course/learning.vue

@@ -247,15 +247,15 @@
 					<button class="send" @click="handleChatInput">发送</button>
 				</view>
 			</view>
-			<template v-if="isLogin&&videoId">
+		<!-- 	<template v-if="isLogin&&videoId">
 				<integralGift ref="integralGift"></integralGift>
-			</template>
+			</template> -->
 		</view>
 	</view>
 </template>
 
 <script>
-	import integralGift from "@/components/integralGift.vue"
+	// import integralGift from "@/components/integralGift.vue"
 	import ques from "@/components/ques.vue"
 	import descInfo from "@/components/descInfo.vue"
 	import descInfoNav from "@/components/descInfoNav.vue"
@@ -285,7 +285,7 @@
 			descInfo,
 			commentBox,
 			ques,
-			integralGift
+			// integralGift
 		},
 		data() {
 			return {
@@ -696,11 +696,7 @@
 							if(status != this.openCommentStatus) {
 								this.openCommentStatus = status
 							}
-							if(this.openCommentStatus==1) {
-								this.currentTab = 0
-							} else {
-								this.currentTab = 1
-							}
+							this.currentTab = 1
 							if (!this.player || type == 'error') {
 								this.lineIndex = this.config.defaultLine
 								this.videoUrl = lineList[this.lineIndex]
@@ -913,10 +909,12 @@
 										url: '/pages/course/reward'
 									})
 								}
-							} else if(res.rewardType==2) {
-								// 积分
-								this.$refs.integralGift.openPop()
-							} else {
+							}
+							// else if(res.rewardType==2) {
+							// 	// 积分
+							// 	this.$refs.integralGift.openPop()
+							// } 
+							else {
 								uni.showToast({
 									title: res.msg,
 									icon: 'none'

+ 11 - 13
pages/course/learningNew.vue

@@ -247,15 +247,15 @@
 					<button class="send" @click="handleChatInput">发送</button>
 				</view>
 			</view>
-			<template v-if="isLogin&&videoId">
+		<!-- 	<template v-if="isLogin&&videoId">
 				<integralGift ref="integralGift"></integralGift>
-			</template>
+			</template> -->
 		</view>
 	</view>
 </template>
 
 <script>
-	import integralGift from "@/components/integralGift.vue"
+	// import integralGift from "@/components/integralGift.vue"
 	import ques from "@/components/ques.vue"
 	import descInfo from "@/components/descInfo.vue"
 	import descInfoNav from "@/components/descInfoNav.vue"
@@ -285,7 +285,7 @@
 			descInfo,
 			commentBox,
 			ques,
-			integralGift
+			// integralGift
 		},
 		data() {
 			return {
@@ -696,11 +696,7 @@
 							if(status != this.openCommentStatus) {
 								this.openCommentStatus = status
 							}
-							if(this.openCommentStatus==1) {
-								this.currentTab = 0
-							} else {
-								this.currentTab = 1
-							}
+							this.currentTab = 1
 							if (!this.player || type == 'error') {
 								this.lineIndex = this.config.defaultLine
 								this.videoUrl = lineList[this.lineIndex]
@@ -913,10 +909,12 @@
 										url: '/pages/course/reward'
 									})
 								}
-							} else if(res.rewardType==2) {
-								// 积分
-								this.$refs.integralGift.openPop()
-							} else {
+							}
+							// else if(res.rewardType==2) {
+							// 	// 积分
+							// 	this.$refs.integralGift.openPop()
+							// } 
+							else {
 								uni.showToast({
 									title: res.msg,
 									icon: 'none'

+ 1 - 5
pages/course/learningNewApp.vue

@@ -714,11 +714,7 @@
 							if(status != this.openCommentStatus) {
 								this.openCommentStatus = status
 							}
-							if(this.openCommentStatus==1) {
-								this.currentTab = 0
-							} else {
-								this.currentTab = 1
-							}
+							this.currentTab = 1
 							if (!this.player || type == 'error') {
 								this.lineIndex = this.config.defaultLine
 								this.videoUrl = lineList[this.lineIndex]

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
unpackage/dist/build/web/static/js/chunk-vendors.1749807351533.js


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
unpackage/dist/build/web/static/js/index.1749807351533.js


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
unpackage/dist/build/web/static/js/pages-auth-login.1749807351533.js


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
unpackage/dist/build/web/static/js/pages-course-learning.1749807351533.js


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
unpackage/dist/build/web/static/js/pages-course-reward.1749807351533.js


+ 2 - 2
utils/common.js

@@ -2,11 +2,11 @@ import {getWxConfig} from '@/api/course'
 import wx from 'jweixin-module';
 // AppToken_JZCourse 九州
 // AppToken_JinZCourse 金正
-// AppToken_MYCourse 木易华康、易诊通、珍、四幅堂(以及后续项目)
+// AppToken_MYCourse 木易华康、易诊通、珍、四幅堂(以及后续项目)
 // AppToken_HDTCourse 宏德堂
 // AppToken_RTCourse 润天
 
-export const TOKEN_KEY = 'AppToken_RTCourse'; // token 信息
+export const TOKEN_KEY = 'AppToken_MYCourse'; // token 信息
 const CONFIG_KEY = 'QXT_MAGMT_CONFIG_KEY'; // 系统配置
 const USER_KEY = 'QXT_MAGMT_USER_KEY'; // 账号信息
 const SITE_BASE_URL_KEY = 'SITE_BASE_URL_KEY'; // 链接信息

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů