t-4-29
This commit is contained in:
@@ -243,14 +243,14 @@ function getRewardTypeClass(type) {
|
||||
// 获取收益类型图标
|
||||
function getRewardTypeIcon(type) {
|
||||
const iconMap = {
|
||||
descendant_promotion: 'gift',
|
||||
cost: 'gold-coin',
|
||||
pricing: 'balance-pay',
|
||||
descendant_withdraw: 'cash-back-record',
|
||||
descendant_upgrade_vip: 'fire',
|
||||
descendant_upgrade_svip: 'fire',
|
||||
descendant_promotion: '/static/images/tgjl.svg',
|
||||
cost: '/static/images/cbgx.svg',
|
||||
pricing: '/static/images/djgx.svg',
|
||||
descendant_withdraw: '/static/images/txsy.svg',
|
||||
descendant_upgrade_vip: '/static/images/zhvipjl.svg',
|
||||
descendant_upgrade_svip: '/static/images/zhsvipjl.svg',
|
||||
}
|
||||
return iconMap[type] || 'balance-o'
|
||||
return iconMap[type] || '/static/images/tgjl.svg'
|
||||
}
|
||||
|
||||
// 获取收益类型描述
|
||||
@@ -340,11 +340,7 @@ function formatNumber(num) {
|
||||
class="flex items-center rounded-lg p-2"
|
||||
:class="getRewardTypeClass(item.type).split(' ')[0]"
|
||||
>
|
||||
<wd-icon
|
||||
:name="getRewardTypeIcon(item.type)"
|
||||
class="mr-2 text-lg"
|
||||
:class="getRewardTypeClass(item.type).split(' ')[1]"
|
||||
/>
|
||||
<image :src="getRewardTypeIcon(item.type)" class="mr-2 h-5 w-5 flex-shrink-0" />
|
||||
<view class="flex-1">
|
||||
<view class="text-sm font-medium" :class="getRewardTypeClass(item.type).split(' ')[1]">
|
||||
{{ item.description }}
|
||||
@@ -374,11 +370,7 @@ function formatNumber(num) {
|
||||
<view class="mb-3 border-b border-gray-200 pb-3">
|
||||
<view class="flex items-center justify-between">
|
||||
<view class="flex items-center space-x-3">
|
||||
<wd-icon
|
||||
:name="getRewardTypeIcon(item.type)"
|
||||
class="text-lg"
|
||||
:class="getRewardTypeClass(item.type).split(' ')[1]"
|
||||
/>
|
||||
<image :src="getRewardTypeIcon(item.type)" class="h-5 w-5 flex-shrink-0" />
|
||||
<view>
|
||||
<view class="text-gray-800 font-medium">
|
||||
{{ getRewardTypeDescription(item.type) }}
|
||||
|
||||
Reference in New Issue
Block a user