Commit 3541547d by 冷斌

fix bug

parent 7f3bf94a
...@@ -132,7 +132,12 @@ ...@@ -132,7 +132,12 @@
<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="" src="__THEME__/img/down_load_icon.png" width="13" height="16"></van-image> <if condition="$vo['price'] eq 0 or $vo['is_buy'] eq 1">
<van-image @click="onDownload('{$vo['exams_paper_title']}', {$vo['exams_paper_id']})" src="__THEME__/img/down_load_icon.png" width="13" height="16"></van-image>
<else />
<van-image @click="showYulan({$vo['exams_paper_id']})" src="__THEME__/img/down_load_icon.png" width="13" height="16"></van-image>
</if>
</div> </div>
<!-- 下载预览提示 --> <!-- 下载预览提示 -->
<!-- <div v-show="yulan==index"> --> <!-- <div v-show="yulan==index"> -->
...@@ -142,7 +147,7 @@ ...@@ -142,7 +147,7 @@
<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">
<div @click="onDownload(index)" class="tips_foot_L" >下载预览</div> <div @click="onDownload('{$vo['exams_paper_title']}', {$vo['exams_paper_id']})" class="tips_foot_L" >下载预览</div>
<div @click="onPay({$vo['exams_paper_id']})" class="tips_foot_R">下载全部</div> <div @click="onPay({$vo['exams_paper_id']})" class="tips_foot_R">下载全部</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