Commit 13cee6f4 authored by xiabin's avatar xiabin

修改购买的缺陷

parent 4bad8618
...@@ -43,7 +43,10 @@ ...@@ -43,7 +43,10 @@
<a href="javascript:;"><i <a href="javascript:;"><i
:class="{'icon-agree-fill':coursewareInfo.isSupport,'icon-agree':!coursewareInfo.isSupport}"></i>{{coursewareInfo.support_count}}</a> :class="{'icon-agree-fill':coursewareInfo.isSupport,'icon-agree':!coursewareInfo.isSupport}"></i>{{coursewareInfo.support_count}}</a>
</p> </p>
<button @click="login" v-if="coursewareInfo.isGuest" class="btn btn-danger m-l-20 mb-left">购买
¥{{coursewareInfo.price}}
</button>
<template v-else>
<button v-if="coursewareInfo.isPreview" class="btn btn-danger m-l-20 mb-left">购买 <button v-if="coursewareInfo.isPreview" class="btn btn-danger m-l-20 mb-left">购买
¥{{coursewareInfo.price}} ¥{{coursewareInfo.price}}
</button> </button>
...@@ -77,6 +80,7 @@ ...@@ -77,6 +80,7 @@
</template> </template>
</template> </template>
</template>
</div> </div>
</div> </div>
</div> </div>
......
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