|
@@ -131,7 +131,9 @@
|
|
|
class="mt-20 block flex-align-center pl-30 pr-30 pt-30 pb-30"
|
|
class="mt-20 block flex-align-center pl-30 pr-30 pt-30 pb-30"
|
|
|
@click="
|
|
@click="
|
|
|
to(
|
|
to(
|
|
|
- `/pages-charge/discount/discount?index=${discountIndex}&id=${activity.id}`
|
|
|
|
|
|
|
+ `/pages-charge/discount/discount?index=${discountIndex}${
|
|
|
|
|
+ activity && activity.id ? `&id=${activity.id}` : ''
|
|
|
|
|
+ }`
|
|
|
)
|
|
)
|
|
|
"
|
|
"
|
|
|
>
|
|
>
|
|
@@ -140,17 +142,16 @@
|
|
|
<view class="fs-28 lh-28 ml-auto" style="color: #f43636"
|
|
<view class="fs-28 lh-28 ml-auto" style="color: #f43636"
|
|
|
>{{ discountList[discountIndex].discountFormat }}折</view
|
|
>{{ discountList[discountIndex].discountFormat }}折</view
|
|
|
>
|
|
>
|
|
|
|
|
+ <uni-icons type="right" size="16" color="#CACACA"></uni-icons>
|
|
|
</block>
|
|
</block>
|
|
|
- <block v-else>
|
|
|
|
|
- <view
|
|
|
|
|
- class="fs-28 lh-28 ml-auto"
|
|
|
|
|
- style="color: #f43636"
|
|
|
|
|
- v-if="activity"
|
|
|
|
|
|
|
+ <block v-else-if="activity">
|
|
|
|
|
+ <view class="fs-28 lh-28 ml-auto" style="color: #f43636"
|
|
|
>{{ activity.minDiscount }}折</view
|
|
>{{ activity.minDiscount }}折</view
|
|
|
>
|
|
>
|
|
|
<view class="fs-28 lh-28 color-666 ml-8">权益待领取</view>
|
|
<view class="fs-28 lh-28 color-666 ml-8">权益待领取</view>
|
|
|
|
|
+ <uni-icons type="right" size="16" color="#CACACA"></uni-icons>
|
|
|
</block>
|
|
</block>
|
|
|
- <uni-icons type="right" size="16" color="#CACACA"></uni-icons>
|
|
|
|
|
|
|
+ <view v-else class="fs-28 lh-28 color-666 ml-auto">无</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view
|
|
<view
|
|
|
class="mt-20 block flex-align-center pl-30 pr-30 pt-30 pb-30"
|
|
class="mt-20 block flex-align-center pl-30 pr-30 pt-30 pb-30"
|