Commit d9cb9de7 by 陈超

T

parent f9c8be82
...@@ -143,17 +143,15 @@ ...@@ -143,17 +143,15 @@
<template v-if="showList(1)"> <template v-if="showList(1)">
<div @click="onTapQuestion(item)" v-for="(item, idx) in options[1].items" :key="idx" class="layout_v home_question_item"> <div @click="onTapQuestion(item)" v-for="(item, idx) in options[1].items" :key="idx" class="layout_v home_question_item">
<div class="layout_h"> <div v-if="item.price == 0" class="layout_h">
<template v-if="item.price == 0"> <div class="home_item_mark_green layout_center">免费</div>
<div class="home_item_mark_green layout_center">免费</div> <span class="text_14_600 color_333333 weight_full van-multi-ellipsis--l2" style="margin-right: 1.5rem;margin-left: 0.625rem;">{{item.title}}</span>
<span class="text_14_600 color_333333 weight_full van-multi-ellipsis--l2" style="margin-right: 1.5rem;margin-left: 0.625rem;">{{item.title}}</span> <div class="home_button_green layout_center">开始做题</div>
<div class="home_button_green layout_center">开始做题</div> </div>
</template> <div v-if="item.price > 0" class="layout_h">
<template v-else> <div class="home_item_mark_orange layout_center">付费</div>
<div class="home_item_mark_orange layout_center">付费</div> <span class="text_14_600 color_333333 weight_full van-multi-ellipsis--l2" style="margin-right: 1.5rem;margin-left: 0.625rem;">{{item.title}}</span>
<span class="text_14_600 color_333333 weight_full van-multi-ellipsis--l2" style="margin-right: 1.5rem;margin-left: 0.625rem;">{{item.title}}</span> <div class="home_button_orange layout_center">¥{{item.price}}</div>
<div class="home_button_orange layout_center">¥{{item.price}}</div>
</template>
</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">¥{{item.price}}</span> <span class="text_14_600 color_FF3B3B">¥{{item.price}}</span>
......
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