|
@@ -58,31 +58,50 @@ onShow(() => {
|
|
|
|
|
|
<template>
|
|
|
<z-paging>
|
|
|
- <view class="px-24rpx">
|
|
|
- <view class="py-30rpx text-center text-28rpx text-#595959">
|
|
|
- {{ $t('wallet.recharge.highestDiscount', [Math.max(...(dataList.map(i => i.discountRate)))]) }}
|
|
|
+ <view class="px-24rpx pt-36rpx">
|
|
|
+ <view class="mb-24rpx text-24rpx font-bold">
|
|
|
+ Select Your Wallet Provider
|
|
|
</view>
|
|
|
- <view class="grid grid-cols-2 gap-20rpx">
|
|
|
+ <view class="grid grid-cols-3 mb-30rpx gap-20rpx">
|
|
|
+ <view class="border-1 border-transparent rounded-16rpx border-solid bg-white py-30rpx text-center shadow-[0rpx_2rpx_8rpx_0rpx_rgba(184,184,184,0.5)]">
|
|
|
+ <image
|
|
|
+ src="/static/icons/icon-success.png"
|
|
|
+ class="mb-20rpx h-120rpx w-120rpx"
|
|
|
+ />
|
|
|
+ <view class="text-28rpx">
|
|
|
+ BKASH
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="mb-24rpx text-24rpx font-bold">
|
|
|
+ Deposit Amount
|
|
|
+ </view>
|
|
|
+ <view class="grid grid-cols-3 mb-20rpx gap-20rpx">
|
|
|
<view
|
|
|
v-for="i in dataList"
|
|
|
:key="i.id"
|
|
|
- class="border-1 border-transparent rounded-12rpx border-dashed bg-[rgba(var(--wot-color-theme-rgb),0.1)] py-24rpx text-center"
|
|
|
+ class="border-1 border-transparent rounded-12rpx border-solid bg-white py-22rpx text-center"
|
|
|
:style="{
|
|
|
borderColor: i.id === selectData.id ? 'var(--wot-color-theme)' : '',
|
|
|
- backgroundColor: i.id === selectData.id ? 'rgba(var(--wot-color-theme-rgb),0.25)' : '',
|
|
|
}"
|
|
|
@click="selectData = i"
|
|
|
>
|
|
|
- <view class="mb-8rpx text-40rpx text-[var(--wot-color-theme)] font-bold">
|
|
|
- {{ formatNumber(i.amount) }}
|
|
|
- </view>
|
|
|
- <view class="text-20rpx">
|
|
|
- {{ $t('wallet.recharge.get') }} <text class="text-[var(--wot-color-theme)]">
|
|
|
- ৳{{ formatNumber(i.amount + i.discount) }}, {{ i.discountRate }}%
|
|
|
- </text> {{ $t('wallet.recharge.discount') }}
|
|
|
+ <view>
|
|
|
+ <text class="text-24rpx">
|
|
|
+ ৳
|
|
|
+ </text>
|
|
|
+ <text class="text-36rpx">
|
|
|
+ {{ formatNumber(i.amount) }}
|
|
|
+ </text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <wd-input
|
|
|
+ prop="name"
|
|
|
+ no-border
|
|
|
+ placeholder="৳ Min 1,000 ~ 20,000"
|
|
|
+ custom-class="bandhu-auth-input-field"
|
|
|
+ />
|
|
|
</view>
|
|
|
<template #bottom>
|
|
|
<view class="bg-white/60 px-28rpx py-30rpx backdrop-blur-20">
|
|
@@ -94,8 +113,4 @@ onShow(() => {
|
|
|
</z-paging>
|
|
|
</template>
|
|
|
|
|
|
-<style lang="scss" scoped>
|
|
|
-.space-y-24rpx > * + * {
|
|
|
- margin-top: 24rpx;
|
|
|
-}
|
|
|
-</style>
|
|
|
+<style lang="scss" scoped></style>
|