Commit de91cf57 by 冷斌

fix bug

parent 3daf517c
...@@ -108,14 +108,24 @@ ...@@ -108,14 +108,24 @@
<div class="home_item_mark_orange layout_center">付费</div> <div class="home_item_mark_orange layout_center">付费</div>
</if> </if>
<span class="text_14_600 color_333333 weight_full van-multi-ellipsis--l2" style="margin-right: 1.5rem;margin-left: 0.625rem;">{$vo['exams_paper_title']}</span> <span class="text_14_600 color_333333 weight_full van-multi-ellipsis--l2" style="margin-right: 1.5rem;margin-left: 0.625rem;">{$vo['exams_paper_title']}</span>
<if condition="$vo['price'] eq 0 or $vo['is_buy'] eq 1"> <if condition="$vo['hasQuestion']">
<div @click="onStart({$vo['exams_paper_id']})" class="home_button_green layout_center"> 开始做题 </div> <if condition="$vo['price'] eq 0 or $vo['is_buy'] eq 1">
<div @click="onStart({$vo['exams_paper_id']})" class="home_button_green layout_center">下载试题</div>
<else />
<div @click="onStart({$vo['exams_paper_id']})" class="home_button_orange layout_center">下载预览</div>
</if>
<else /> <else />
<!-- <if condition="$vo['price'] eq 0 or $vo['is_buy'] eq 1">
<div @click="onPay({$vo['exams_paper_id']})" class="home_button_orange layout_center">¥{$vo['price']}</div> <div @click="onStart({$vo['exams_paper_id']})" class="home_button_green layout_center"> 开始做题 </div>
--> <else />
<div @click="onStart({$vo['exams_paper_id']})" class="home_button_orange layout_center">预览</div> <!--
<div @click="onPay({$vo['exams_paper_id']})" class="home_button_orange layout_center">¥{$vo['price']}</div>
-->
<div @click="onStart({$vo['exams_paper_id']})" class="home_button_orange layout_center">预览</div>
</if>
</if> </if>
</div> </div>
<div class="layout_h_b" style="margin-top: 0.5rem;"> <div class="layout_h_b" style="margin-top: 0.5rem;">
<span class="text_14_600 color_FF3B3B"> <span class="text_14_600 color_FF3B3B">
......
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