Commit 6e41b846 by 李伟康

修改秒杀

1 parent ea58761d
......@@ -5,7 +5,8 @@ export default {
let data = {
method: 'scrm.api.shopmall.goods.wework.page',
pageSize: 10,
currentPage
currentPage,
needActivityInfo: true
}
return window.$HTTP({
url,
......
......@@ -63,14 +63,14 @@
</div>
<div class="info">
<div class="name text-two-line">{{i.goodsName}}</div>
<template v-if="i.price || i.activityPrice">
<template v-if="i.price != null || i.activityPrice != null">
<div class="price flex">
<template v-if="i.activityPrice">
<div class="activity">秒杀价</div>
</template>
<div class="unit">¥</div>
<div class="num">
<template v-if="i.activityPrice">{{i.activityPrice.toFixed(2)}}</template>
<template v-if="i.activityPrice != null">{{i.activityPrice.toFixed(2)}}</template>
<template v-else>{{i.price.toFixed(2)}}</template>
</div>
</div>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!