Commit 32545d10 by 施宇

1

parent a27263a1
......@@ -66,7 +66,10 @@
>
<div class="mui-row list_data" v-for="(itemPrice,index) in itemchild.ladder_price">
<p class="mui-col-sm-6 mui-col-xs-6" v-html="itemPrice.purchases+'+'"></p>
<p class="mui-col-sm-6 mui-col-xs-6">{{itemPrice.price_cn}}</p>
<p class="mui-col-sm-6 mui-col-xs-6">
<template v-if="itemchild.ac_type == 6">{{itemPrice.price_ac}}</template>
<template v-else>{{itemPrice.price_cn}}</template>
</p>
</div>
</div>
......
......@@ -107,9 +107,19 @@
<span v-html="'¥'+v.price_ac"></span>
</td>
</template>
<template
v-if="goodDetail.ac_type == 6"
>
<td class="xs-6">
<span v-html="v.purchases+'+'"></span>
</td>
<td class="xs-6">
<span v-html="'¥'+v.price_ac"></span>
</td>
</template>
<template v-else>
<td class="xs-6">
<span v-html="'¥'+v.purchases"></span>
<span v-html="v.purchases+'+'"></span>
</td>
<td class="xs-6">
<span v-html="'¥'+v.price_cn"></span>
......@@ -296,10 +306,18 @@ export default {
if (data.tiered) {
for (let i = 0; i < data.tiered.length; i++) {
let singleData = data.tiered[i];
if(this.goodDetail.ac_type == 6){
this.zyladderArr.push({
price: Number(singleData.price_ac).toFixed(4),
num: util.aggxde(singleData.purchases)
});
}else{
this.zyladderArr.push({
price: Number(singleData.price_cn).toFixed(4),
num: util.aggxde(singleData.purchases)
});
}
}
}
}
......
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 sign in to comment