Skip to content

Commit 43c80e0

Browse files
committed
Merge branch 'develop'
2 parents d2948e0 + 84a15e3 commit 43c80e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/partials/android-getkey.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ <h3 class="font-h3 text-lg">{{ i18n "android_getkey_title" }}</h3>
99
<div class="relative input-box flex items-center gap-2 w-full lg:w-1/2">
1010
<span x-show="checkoutData.price && checkoutData.price.amount != checkoutData.price.listAmount" x-text="checkoutData.price ? checkoutData.price.listAmount.toLocaleString('{{ .Site.Language.Lang }}', { style: 'currency', currency: checkoutData.price.currency }) : '…'" class="text-gray-500 line-through decoration-red-600" x-cloak></span>
1111
<span x-text="checkoutData.price ? checkoutData.price.amount.toLocaleString('{{ .Site.Language.Lang }}', { style: 'currency', currency: checkoutData.price.currency }) : '…'"></span>
12-
<span x-show="checkoutData.price && checkoutData.price.amount != checkoutData.price.listAmount" class="absolute top-0 left-0 -translate-2 -rotate-5 px-1 rounded-xs text-xs text-white bg-red-600 z-10" x-cloak>-<span x-text="((1 - checkoutData.price.amount / checkoutData.price.listAmount) * 100).toFixed(0)"></span>%</span>
12+
<span x-show="checkoutData.price && checkoutData.price.amount != checkoutData.price.listAmount" class="absolute top-0 left-0 -translate-2 -rotate-5 px-1 rounded-xs text-xs text-white bg-red-600 z-10" x-cloak>-<span x-text="checkoutData.price && checkoutData.price.listAmount > 0 ? ((1 - checkoutData.price.amount / checkoutData.price.listAmount) * 100).toFixed(0) : '0'"></span>%</span>
1313
</div>
1414
</div>
1515
<div class="mb-4">

0 commit comments

Comments
 (0)