Commit a77f09a2 by zhangxw

主推产品套餐列表详情样式修改

1 parent 58704a0f
......@@ -26,9 +26,14 @@
<!-- 主推产品套餐 -->
<template slot="selectPackageType" slot-scope="scope">
<div v-if="scope.scope.selectPackageType == 0">无</div>
<div v-if="scope.scope.selectPackageType == 1 || scope.scope.selectPackageType == 2">
<!-- 单商品/多个商品 -->
<div v-if="scope.scope.selectPackageType == 1">
<div style="padding: 0 3px;width: 180px;overflow: hidden; text-overflow: ellipsis;white-space: nowrap;" v-for="(subItem, subIndex) in scope.scope.packageList" :key="subIndex">{{ subItem.upgradeGoodsName }}</div>
</div>
<!-- 商品组合 -->
<div v-if="scope.scope.selectPackageType == 2">
<span v-for="(subItem, subIndex) in scope.scope.packageList" :key="subIndex">{{ subItem.upgradeGoodsName }}<span v-if="subIndex < scope.scope.packageList.length - 1"> + </span></span>
</div>
</template>
<!-- 目标转化率 -->
<template slot="conversionRate" slot-scope="scope">
......
......@@ -42,15 +42,20 @@
<template slot="selectGoodsType" slot-scope="scope">
<div v-if="scope.scope.selectGoodsType == 0">无</div>
<div v-if="scope.scope.selectGoodsType == 1">
<span v-for="(subItem, subIndex) in scope.scope.goodsTypeList" :key="subIndex">{{ subItem.goodsTypeName }}<span v-if="subIndex < scope.scope.goodsTypeList.length - 1">+</span></span>
<span v-for="(subItem, subIndex) in scope.scope.goodsTypeList" :key="subIndex">{{ subItem.goodsTypeName }}<span v-if="subIndex < scope.scope.goodsTypeList.length - 1"> + </span></span>
</div>
</template>
<!-- 主推产品套餐 -->
<template slot="selectPackageType" slot-scope="scope">
<div v-if="scope.scope.selectPackageType == 0">无</div>
<div v-if="scope.scope.selectPackageType == 1 || scope.scope.selectPackageType == 2">
<!-- 单商品/多个商品 -->
<div v-if="scope.scope.selectPackageType == 1">
<div style="padding: 0 3px;width: 180px;overflow: hidden; text-overflow: ellipsis;white-space: nowrap;" v-for="(subItem, subIndex) in scope.scope.packageList" :key="subIndex">{{ subItem.upgradeGoodsName }}</div>
</div>
<!-- 商品组合 -->
<div v-if="scope.scope.selectPackageType == 2">
<span v-for="(subItem, subIndex) in scope.scope.packageList" :key="subIndex">{{ subItem.upgradeGoodsName }}<span v-if="subIndex < scope.scope.packageList.length - 1"> + </span></span>
</div>
</template>
<!-- 目标转化率 -->
<template slot="conversionRate" slot-scope="scope">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!