Commit 78a0ef8a by 冷斌

fix bug

parent bfc1d384
......@@ -119,7 +119,7 @@
</if>
<else />
<if condition="$vo['price'] eq 0 or $vo['is_buy'] eq 1">
<div @click="onDownload('{$vo['exams_paper_title']}', {$vo['attach']})" class="home_button_green layout_center">下载试题</div>
<div @click="onDownload('{$vo['exams_paper_title']}', '{$vo['attach']}')" class="home_button_green layout_center">下载试题</div>
<else />
<div @click="showYulan({$vo['exams_paper_id']})" class="home_button_orange layout_center">下载预览</div>
</if>
......@@ -133,7 +133,7 @@
<else />¥{$vo['price']}</if>
</span>
<if condition="$vo['price'] eq 0 or $vo['is_buy'] eq 1">
<van-image @click="onDownload('{$vo['exams_paper_title']}', {$vo['attach']})" src="__THEME__/img/down_load_icon.png" width="13" height="16"></van-image>
<van-image @click="onDownload('{$vo['exams_paper_title']}', '{$vo['attach']}')" 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>
......@@ -147,7 +147,7 @@
<div class="tips_title">提示</div>
<div class="tips_body">套餐下架后用户便无法找到该商品进行购买,你确定要下架吗?</div>
<div class="tips_foot">
<div @click="onDownload('{$vo['exams_paper_title']}', {$vo['attach']})" class="tips_foot_L" >下载预览</div>
<div @click="onDownload('{$vo['exams_paper_title']}', '{$vo['attach']}')" class="tips_foot_L" >下载预览</div>
<div @click="onPay({$vo['exams_paper_id']})" class="tips_foot_R">下载全部</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