Commit a039f927 by 冷斌

fix bug

parent 34b86e87
...@@ -132,14 +132,13 @@ ...@@ -132,14 +132,13 @@
<if condition="$vo['price'] eq 0">免费 <if condition="$vo['price'] eq 0">免费
<else />¥{$vo['price']}</if> <else />¥{$vo['price']}</if>
</span> </span>
<van-image @click="onDownload({$vo['is_buy']}, {$vo['price']}, '{$vo[attach]}')" src="__THEME__/img/down_load_icon.png" width="13" height="16"> <van-image @click="" src="__THEME__/img/down_load_icon.png" width="13" height="16"></van-image>
</van-image>
</div> </div>
<!-- 下载预览提示 --> <!-- 下载预览提示 -->
<!-- <div v-show="yulan==index"> --> <!-- <div v-show="yulan==index"> -->
<div class="yulanBox" v-show="exams_paper_id == {$vo['exams_paper_id']}"> <div class="yulanBox" v-show="exams_paper_id == {$vo['exams_paper_id']}">
<div class="tips_box"> <div class="tips_box">
<img class="close_yulan" src="/addons/theme/stv1/_static/img/guanbi@2x.png"> <img @click="close_yulan" class="close_yulan" src="/addons/theme/stv1/_static/img/guanbi@2x.png">
<div class="tips_title">提示</div> <div class="tips_title">提示</div>
<div class="tips_body">套餐下架后用户便无法找到该商品进行购买,你确定要下架吗?</div> <div class="tips_body">套餐下架后用户便无法找到该商品进行购买,你确定要下架吗?</div>
<div class="tips_foot"> <div class="tips_foot">
...@@ -237,6 +236,9 @@ ...@@ -237,6 +236,9 @@
break; break;
} }
}, },
close_yulan: function () {
this.exams_paper_id = 0;
},
onDownload: function (isBuy, price, path) { onDownload: function (isBuy, price, path) {
// if ( path ) { // if ( path ) {
// window.location.href = path; // window.location.href = path;
......
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