|
@@ -210,39 +210,41 @@ function handleDialogClose() {
|
|
<z-paging ref="paging" refresher-only @refresh="getDetail">
|
|
<z-paging ref="paging" refresher-only @refresh="getDetail">
|
|
<view class="pt-20rpx">
|
|
<view class="pt-20rpx">
|
|
<!-- 状态显示 -->
|
|
<!-- 状态显示 -->
|
|
- <!-- 已中奖 -->
|
|
|
|
- <view v-if="detail?.storePink?.status === 2 && detail?.storePink?.lId === 1" class="mb-20rpx bg-#17AA68/80 py-20rpx text-center text-28rpx text-white">
|
|
|
|
- Congrats,You won the prize in this group!已中奖
|
|
|
|
- <br>
|
|
|
|
- You have received
|
|
|
|
- <text class="text-[var(--wot-color-theme)]">
|
|
|
|
- ৳{{ 10 }}
|
|
|
|
- </text>
|
|
|
|
- group opening reward
|
|
|
|
- </view>
|
|
|
|
- <!-- 未中奖 -->
|
|
|
|
- <view v-else-if="detail?.storePink?.status === 2 && detail?.storePink?.lId === 0" class="mb-20rpx bg-#E61B28/80 py-20rpx text-center text-28rpx text-white">
|
|
|
|
- So sorry, You didn't win in this group
|
|
|
|
- <br>
|
|
|
|
- You have received
|
|
|
|
- <text class="text-#66C59B">
|
|
|
|
- ৳8
|
|
|
|
- </text>
|
|
|
|
- group opening reward
|
|
|
|
- </view>
|
|
|
|
- <!-- 未开奖||未支付 -->
|
|
|
|
- <view v-else-if="detail?.storePink?.status === 1 || detail?.status === 1" class="mb-20rpx bg-#fff py-20rpx text-center text-28rpx text-white">
|
|
|
|
- <text v-if="detail?.storePink?.status === 1" class="text-[var(--wot-color-theme)]">
|
|
|
|
- Please wait for the draw of this group
|
|
|
|
- </text>
|
|
|
|
- <text v-else class="text-[var(--wot-color-theme)]">
|
|
|
|
- Please make payment within:29:59
|
|
|
|
- </text>
|
|
|
|
- </view>
|
|
|
|
- <!-- 拼团头像 -->
|
|
|
|
- <view class="mb-20rpx bg-white px-20rpx py-20rpx text-center">
|
|
|
|
- <image v-for="i in 10" :key="i" class="mx-4rpx mb-8rpx h-80rpx w-80rpx rounded-full" src="/static/images/avatar.jpg" />
|
|
|
|
- </view>
|
|
|
|
|
|
+ <template v-if="detail.status !== 4">
|
|
|
|
+ <!-- 已中奖 -->
|
|
|
|
+ <view v-if="detail?.storePink?.status === 2 && detail?.storePink?.lId === 1" class="mb-20rpx bg-#17AA68/80 py-20rpx text-center text-28rpx text-white">
|
|
|
|
+ Congrats,You won the prize in this group!已中奖
|
|
|
|
+ <br>
|
|
|
|
+ You have received
|
|
|
|
+ <text class="text-[var(--wot-color-theme)]">
|
|
|
|
+ ৳{{ 10 }}
|
|
|
|
+ </text>
|
|
|
|
+ group opening reward
|
|
|
|
+ </view>
|
|
|
|
+ <!-- 未中奖 -->
|
|
|
|
+ <view v-else-if="detail?.storePink?.status === 2 && detail?.storePink?.lId === 0" class="mb-20rpx bg-#E61B28/80 py-20rpx text-center text-28rpx text-white">
|
|
|
|
+ So sorry, You didn't win in this group
|
|
|
|
+ <br>
|
|
|
|
+ You have received
|
|
|
|
+ <text class="text-#66C59B">
|
|
|
|
+ ৳8
|
|
|
|
+ </text>
|
|
|
|
+ group opening reward
|
|
|
|
+ </view>
|
|
|
|
+ <!-- 未开奖||未支付 -->
|
|
|
|
+ <view v-else-if="detail?.storePink?.status === 1 || detail?.status === 1" class="mb-20rpx bg-#fff py-20rpx text-center text-28rpx text-white">
|
|
|
|
+ <text v-if="detail?.storePink?.status === 1" class="text-[var(--wot-color-theme)]">
|
|
|
|
+ Please wait for the draw of this group
|
|
|
|
+ </text>
|
|
|
|
+ <text v-else class="text-[var(--wot-color-theme)]">
|
|
|
|
+ Please make payment within:29:59
|
|
|
|
+ </text>
|
|
|
|
+ </view>
|
|
|
|
+ <!-- 拼团头像 -->
|
|
|
|
+ <view class="mb-20rpx bg-white px-20rpx py-20rpx text-center">
|
|
|
|
+ <image v-for="i in 10" :key="i" class="mx-4rpx mb-8rpx h-80rpx w-80rpx rounded-full" src="/static/images/avatar.jpg" />
|
|
|
|
+ </view>
|
|
|
|
+ </template>
|
|
<!-- 地址 -->
|
|
<!-- 地址 -->
|
|
<view v-if="detail?.storePink?.status === 2 && detail?.storePink?.lId === 1" class="mb-20rpx bg-white px-24rpx py-20rpx">
|
|
<view v-if="detail?.storePink?.status === 2 && detail?.storePink?.lId === 1" class="mb-20rpx bg-white px-24rpx py-20rpx">
|
|
<!-- 无地址 -->
|
|
<!-- 无地址 -->
|
|
@@ -273,7 +275,7 @@ function handleDialogClose() {
|
|
</template>
|
|
</template>
|
|
</view>
|
|
</view>
|
|
<!-- 商品信息 -->
|
|
<!-- 商品信息 -->
|
|
- <wd-card type="rectangle" custom-class="px-24rpx! py-6rpx!" custom-content-class="py-18rpx!" custom-title-class="py-18rpx!">
|
|
|
|
|
|
+ <wd-card type="rectangle" custom-class="px-24rpx! py-6rpx!" custom-content-class="py-18rpx!" custom-title-class="py-18rpx!" @click="toPage('/pages/productDetail/productDetail', { productId: detail?.orderInfoVO?.[0].productId })">
|
|
<template #title>
|
|
<template #title>
|
|
<view class="flex items-center justify-between">
|
|
<view class="flex items-center justify-between">
|
|
<view class="text-28rpx text-#000">
|
|
<view class="text-28rpx text-#000">
|