Commit 4991e79e authored by xiabin's avatar xiabin

您发布的课程,无需购买可直接观看。

parent 489a037a
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
data-toggle="modal" disabled="disabled">已购买 data-toggle="modal" disabled="disabled">已购买
</button> </button>
<button v-else <button v-else
class="btn btn-danger m-l-20 mb-left" @click="isMeTips" class="btn btn-danger m-l-20 mb-left"
>购买 ¥{{coursewareInfo.price}} >购买 ¥{{coursewareInfo.price}}
</button> </button>
</template> </template>
...@@ -195,6 +195,10 @@ ...@@ -195,6 +195,10 @@
} }
}, },
methods: { methods: {
isMeTips(){
layer.alert('您发布的课程,无需购买可直接观看。', {'icon': 1, 'title': '提示'})
},
payClick(){ payClick(){
if(!this.coursewareInfo.isGuest){ if(!this.coursewareInfo.isGuest){
if(this.isMobile == false && this.isWeixin == false){ if(this.isMobile == false && this.isWeixin == false){
......
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