Commit f22baf7b authored by linwenqing's avatar linwenqing

update:学习视频显示控制

parent d9db56f4
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
</view> </view>
</scroll-view> </scroll-view>
</swiper-item> </swiper-item>
<swiper-item @touchmove.stop.prevent="stopTouchMove"> <swiper-item @touchmove.stop.prevent="stopTouchMove" v-if="version">
<scroll-view scroll-y style="height:100%;width:100%;"> <scroll-view scroll-y style="height:100%;width:100%;">
<view class="title u-margin-top-10 u-margin-bottom-30">通用课程</view> <view class="title u-margin-top-10 u-margin-bottom-30">通用课程</view>
<view class="learn-currency-class"> <view class="learn-currency-class">
...@@ -514,6 +514,7 @@ export default { ...@@ -514,6 +514,7 @@ export default {
let data = res.data; let data = res.data;
if(data.hasOwnProperty('is_audit') && data.is_audit == 1){ if(data.hasOwnProperty('is_audit') && data.is_audit == 1){
that.tabs = that.tabs2; that.tabs = that.tabs2;
that.version = true
} }
}) })
.catch((err) => { .catch((err) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment