xuqiaoying 3 yıl önce
ebeveyn
işleme
efdc0ac13e

+ 2 - 2
common/request.js

@@ -6,10 +6,10 @@ var num = 1
 //接口api   
 // export const BASE_URL = 'https://api.xyyxt.net'   //release
 // export const BASE_URL = 'https://test.xyyxt.net'   //预发布
-export const BASE_URL = 'http://120.79.166.78:19012' // 测试环境
+// export const BASE_URL = 'http://120.79.166.78:19012' // 测试环境
 // export const BASE_URL = 'http://42.192.164.187:19005'    //test(后端本地)
 // export const BASE_URL = 'http://192.168.1.222:5055'    //后端本地更新到222
-// export const BASE_URL = 'http://192.168.1.24:5055'    //后端本地
+export const BASE_URL = 'http://192.168.1.24:5055'    //后端本地
 // export const BASE_URL = 'http://192.168.1.7:5055'    //后端本地
 
  //图片上传api

+ 1 - 1
components/course/courseModule.vue

@@ -12,7 +12,7 @@
 		</view>
 		<view v-show="!down">
 			<view v-for="(itemM,indexM) in list" :key="indexM">
-				<courseChapter :orderGoodsId="orderGoodsId"
+				<courseChapter v-if='itemM.type != 2' :orderGoodsId="orderGoodsId"
 						:isLive="isLive" :preItem="list[indexM - 1] || preItem" :sectionMaxNum="sectionMaxNum" :needOpen="needOpen" @playEnd="playEnd($event)" @toDo="toDo($event)" :courseId="courseId" :learningOrder="learningOrder" :goodsId="goodsId" :isBuy="isBuy" :gradeId="gradeId" :isRebuild="isRebuild"  :menuItem="itemM" :levelId="levelId+'-'+itemM.chapterId"></courseChapter>
 				<u-line v-if="indexM<list.length-1"></u-line>
 			</view>

+ 1 - 1
pages3/course/detail.vue

@@ -72,7 +72,7 @@
 							</view>
 							<view v-if="courseItem.teaList && courseItem.teaList.length > 0" class='teacher_names'>
 								<view v-for="(tea, tindex) in courseItem.teaList" :key="tindex" class="names" :class="{nactive: teaIndex == tindex}" @click.stop="switchTeacher(tea, tindex)">
-									<view>主讲:{{ tea.aliasName }}</view>
+									<view>{{ tea.aliasName }}</view>
 								</view>
 							</view>
 							<view v-show="!item.down">

+ 2 - 2
pages3/polyv/detail.vue

@@ -129,7 +129,7 @@
           <view v-if="teacherList && teacherList.length > 0" class='teacher_names'>
               <view v-for="(tea, index) in teacherList" :key="index" class="names"
                 :class="{nactive: teacherIndex == index}" @click="activeFunc(tea, index)">
-                主讲:{{ tea.aliasName }}
+                {{ tea.aliasName }}
               </view>
           </view>
           <view class="menuBox onessss" v-for="(item, index) in menuList" :key="index">
@@ -576,7 +576,7 @@
                           </view>
                           <view v-if="courseItem.teaList && courseItem.teaList.length > 0" class='teacher_names' >
                               <view v-for="(tea, tindex) in courseItem.teaList" :key="tindex" class="names"
-                               :class="{nactive: teaIndex == tindex}"  @click.stop="switchTeacher(tea, tindex)">主讲:{{tea.aliasName}}</view>
+                               :class="{nactive: teaIndex == tindex}"  @click.stop="switchTeacher(tea, tindex)">{{tea.aliasName}}</view>
                           </view>
                           <view class="course_pros">
                             学习进度