Commit 54c88718 authored by zhengke's avatar zhengke

修改

parent 3669b951
...@@ -109,7 +109,6 @@ ...@@ -109,7 +109,6 @@
line-height: 25px; line-height: 25px;
background-color: #004d40; background-color: #004d40;
} }
</style> </style>
<template> <template>
<div class="page-body courseList"> <div class="page-body courseList">
...@@ -152,58 +151,67 @@ ...@@ -152,58 +151,67 @@
<span style="margin-right:5px;" v-for="(pItem,pIndex) in item.SalePlatArr">{{pItem}}</span> <span style="margin-right:5px;" v-for="(pItem,pIndex) in item.SalePlatArr">{{pItem}}</span>
</div> </div>
</div> </div>
<div class="d4" style="width:10%"> <div class="d4" style="width:20%">
<div class="di-title">基础价格</div> <div class="di-title">基础价格</div>
<div class="di-c" style="margin-top: 25px;"> <div class="di-c" style="margin-top: 25px;">
<span style="color: var(--q-color-negative); font-weight: bold;">{{item.OriginalPrice}}</span> <span
style="color: var(--q-color-negative); font-weight: bold;">{{item.OriginalPrice.toFixed(2)}}</span>
</div> </div>
</div> </div>
<div class="d5" style="width:29%"> <div class="d5" style="width:19%">
<div class="di-title">优惠价格</div> <div class="di-title">优惠价格</div>
<div class="di-c" style="margin-top: 25px;"> <div class="di-c" style="margin-top: 25px;">
<template v-if="item.PreferentialList&&item.PreferentialList.length>0"> <template v-if="item.PreferentialList&&item.PreferentialList.length>0">
<table style="width:90%;"> <table>
<tbody> <tbody v-for="(pitem,pindex) in item.PreferentialList" v-if="pindex==0">
<tr v-for="(pitem,pindex) in item.PreferentialList" v-if="pindex==0"> <tr>
<td style="width:40%"> <td>
<template v-if="pitem.PriceDiscountType==1"> <template v-if="pitem.PriceDiscountType==1">
<span style="color: var(--q-color-negative); font-weight: bold;">{{pitem.BuyNum}}</span> <span style="color: var(--q-color-negative); font-weight: bold;">{{pitem.BuyNum}}</span>
<span style="color: var(--q-color-negative); font-weight: bold;">{{pitem.SendNum}}</span> <span style="color: var(--q-color-negative); font-weight: bold;">{{pitem.SendNum}}</span>
</template> </template>
<template v-else-if="pitem.PriceDiscountType==5"> <template v-else-if="pitem.PriceDiscountType==5">
刷卡分期 刷卡分期
</template> </template>
<template v-else> <template v-else>
{{pitem.PriceDiscountTypeStr}} {{pitem.PriceMoney}} % {{pitem.PriceDiscountTypeStr}} <span
style="color: var(--q-color-negative); font-weight: bold;"> {{pitem.PriceMoney}} %</span>
</template> </template>
</td> </td>
<td style="width:25%"> </tr>
同行返佣<span style="color: var(--q-color-negative); font-weight: bold;">{{pitem.B2BCommissionMoney}} %</span> <tr>
</td> <td>
<td style="width:25%"> 同行返佣<span
销售返佣<span style="color: var(--q-color-negative); font-weight: bold;">{{pitem.SaleCommissionMoney}} %</span> style="color: var(--q-color-negative); font-weight: bold;"> {{pitem.B2BCommissionMoney}}
%</span>
</td> </td>
<td style="width:5%"> </tr>
<span class="iconfont icon-xiangxia" v-if="item.PreferentialList.length>1" style="color: #2961FE;font-size: 10px"> <tr>
<td>
销售返佣<span
style="color: var(--q-color-negative); font-weight: bold;"> {{pitem.SaleCommissionMoney}}
%</span>
<span class="iconfont icon-xiangxia" style="color: #2961FE;font-size: 10px"
v-if="item.PreferentialList.length>1">
<q-popup-proxy> <q-popup-proxy>
<q-banner> <q-banner>
<table style="width:400px;"> <table style="width:400px;" border="0" cellspacing="0" cellpadding="0">
<thead style="background-color:rgba(221, 222, 224, 0.2);"> <thead style="background-color:rgba(221, 222, 224, 0.2);">
<tr> <tr>
<td style="width:45%"> <td style="width:45%;height:30px;">
优惠条件 优惠条件
</td> </td>
<td style="width:25%"> <td style="width:25%;height:30px;">
同行返佣 同行返佣
</td> </td>
<td style="width:25%"> <td style="width:25%;height:30px;">
销售返佣 销售返佣
</td> </td>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr v-for="(pitem,pindex) in item.PreferentialList"> <tr v-for="(pitem,pindex) in item.PreferentialList">
<td> <td style="height:30px;">
<template v-if="pitem.PriceDiscountType==1"> <template v-if="pitem.PriceDiscountType==1">
{{pitem.BuyNum}}{{pitem.SendNum}} {{pitem.BuyNum}}{{pitem.SendNum}}
</template> </template>
...@@ -214,10 +222,10 @@ ...@@ -214,10 +222,10 @@
{{pitem.PriceDiscountTypeStr}} {{pitem.PriceMoney}} % {{pitem.PriceDiscountTypeStr}} {{pitem.PriceMoney}} %
</template> </template>
</td> </td>
<td> <td style="height:30px;">
{{pitem.B2BCommissionMoney}} % {{pitem.B2BCommissionMoney}} %
</td> </td>
<td> <td style="height:30px;">
{{pitem.SaleCommissionMoney}} % {{pitem.SaleCommissionMoney}} %
</td> </td>
</tr> </tr>
......
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