Commit 158757ed06187d005a58bab2514cf673c18979b0

Authored by 夏洋涛
1 parent 40e53a24
Exists in master

feat:课程接口对接

src/views/Service/AbroadDetail/AbroadDetail.vue
@@ -35,7 +35,7 @@ @@ -35,7 +35,7 @@
35 <bottom-btn-left :centerNo="centerNo" :courseId="courseId"></bottom-btn-left> 35 <bottom-btn-left :centerNo="centerNo" :courseId="courseId"></bottom-btn-left>
36 <div class="box box2"> 36 <div class="box box2">
37 <div class="box_btn"> 37 <div class="box_btn">
38 - <span @click="toNext()">参加活动</span> 38 + <span @click="toNext()">查看活动</span>
39 </div> 39 </div>
40 </div> 40 </div>
41 </div> 41 </div>
src/views/Service/CourseBaseList/SelectionCourse.vue
@@ -188,6 +188,7 @@ export default { @@ -188,6 +188,7 @@ export default {
188 }, 188 },
189 // 改变地区 189 // 改变地区
190 provinceTabChange () { 190 provinceTabChange () {
  191 + this.pageNum = 1
191 this.CourseData = [] 192 this.CourseData = []
192 this.getCourseData() 193 this.getCourseData()
193 }, 194 },
src/views/Service/component/ServiceListSecond.vue
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
11 </div> 11 </div>
12 </div> 12 </div>
13 <div class="content"> 13 <div class="content">
14 - <p class="title">{{ item.course_name }}</p> 14 + <p class="title">{{ item.courseName }}</p>
15 <p class="address"> 15 <p class="address">
16 <van-icon name="location" /> {{ item.cityAddress }}{{ item.cityAddress && item.areaAddress ? '·' : '' }}{{ item.areaAddress }} 16 <van-icon name="location" /> {{ item.cityAddress }}{{ item.cityAddress && item.areaAddress ? '·' : '' }}{{ item.areaAddress }}
17 </p> 17 </p>
src/views/Service/component/c_BottomBtnLeft.vue
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 <img src="@/assets/service/bottom_btn1.png" alt="" /> 4 <img src="@/assets/service/bottom_btn1.png" alt="" />
5 <p>首页</p> 5 <p>首页</p>
6 </div> 6 </div>
7 - <template v-if="centerNo"> 7 + <!-- <template v-if="centerNo">
8 <div class="icon" @click="handleComment"> 8 <div class="icon" @click="handleComment">
9 <img src="@/assets/service/bottom_btn2.png" alt="" /> 9 <img src="@/assets/service/bottom_btn2.png" alt="" />
10 <p>{{ commentNum.commentNum }}</p> 10 <p>{{ commentNum.commentNum }}</p>
@@ -19,8 +19,8 @@ @@ -19,8 +19,8 @@
19 <img v-else src="@/assets/service/bottom_btn4.png" alt="" /> 19 <img v-else src="@/assets/service/bottom_btn4.png" alt="" />
20 <p>{{ commentNum.collectNum }}</p> 20 <p>{{ commentNum.collectNum }}</p>
21 </div> 21 </div>
22 - </template>  
23 - <van-action-sheet v-model="showComment" title="全部评论" :closeable="false" close-on-click-action> 22 + </template> -->
  23 + <!-- <van-action-sheet v-model="showComment" title="全部评论" :closeable="false" close-on-click-action>
24 <div class="comment_box"> 24 <div class="comment_box">
25 <div class="comment_item" v-for="(item, index) in commentList" :key="index"> 25 <div class="comment_item" v-for="(item, index) in commentList" :key="index">
26 <img v-if="item.headImg" class="head" :src="item.headImg" alt="" /> 26 <img v-if="item.headImg" class="head" :src="item.headImg" alt="" />
@@ -44,7 +44,7 @@ @@ -44,7 +44,7 @@
44 >发表评论</van-button 44 >发表评论</van-button
45 > 45 >
46 </div> 46 </div>
47 - </van-popup> 47 + </van-popup> -->
48 </div> 48 </div>
49 </template> 49 </template>
50 <script> 50 <script>