Browse Source

add btn condition

master
刘嘉炜 4 years ago
parent
commit
7ce9c7eef2
  1. 2
      src/pages/course/list/list.vue

2
src/pages/course/list/list.vue

@ -19,7 +19,7 @@
</view> </view>
<view class="cl-btns"> <view class="cl-btns">
<block v-if="getCourseType(e.kind) === 0"> <block v-if="getCourseType(e.kind) === 0">
<view hover-class="hover-active" @click="orderCourseBtn(e)">预约上课</view>
<view hover-class="hover-active" v-if="e.have_class_way == 1" @click="orderCourseBtn(e)">预约上课</view>
<view hover-class="hover-active" @click="toClass(e)">班级</view> <view hover-class="hover-active" @click="toClass(e)">班级</view>
</block> </block>
<view hover-class="hover-active" v-if="getCourseType(e.kind) === 1" @click="toStudentList(e)">详情</view> <view hover-class="hover-active" v-if="getCourseType(e.kind) === 1" @click="toStudentList(e)">详情</view>

Loading…
Cancel
Save