This commit is contained in:
parent
686be3a855
commit
833cd9e305
@ -18,11 +18,8 @@
|
||||
<div :class="'text-sm'">约${{ plan.daily }}/天</div>
|
||||
<div
|
||||
v-if="plan.discount"
|
||||
:class="[
|
||||
index > 1 ? 'font-semibold' : '',
|
||||
currentPlanIndex === index ? 'bg-[#A8FF53]! text-black' : ' ',
|
||||
]"
|
||||
class="absolute top-[20px] -right-[40px] h-[16px] w-[126px] origin-center rotate-45 bg-black text-center text-[14px] leading-[16px] font-[200] text-[#ADFF5B]"
|
||||
:class="[currentPlanIndex === index ? 'bg-[#A8FF53]! text-black' : ' ']"
|
||||
class="absolute top-[20px] -right-[40px] h-[16px] w-[126px] origin-center rotate-45 bg-black text-center text-[14px] leading-[16px] font-[200] font-semibold text-[#ADFF5B]"
|
||||
>
|
||||
{{ plan.discount }}
|
||||
</div>
|
||||
|
||||
@ -50,10 +50,10 @@ export function formatExpireDate(sub?: SubscriptionItem | null): ExpireInfo {
|
||||
|
||||
const hh = String(expireDate.getHours()).padStart(2, '0')
|
||||
const mm = String(expireDate.getMinutes()).padStart(2, '0')
|
||||
const ss = String(expireDate.getSeconds()).padStart(2, '0')
|
||||
// const ss = String(expireDate.getSeconds()).padStart(2, '0')
|
||||
|
||||
return {
|
||||
text: `到期时间:${dateStr} ${hh}:${mm}:${ss}`,
|
||||
text: `到期时间:${dateStr} ${hh}:${mm}`,
|
||||
highlight: false,
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user