|
@@ -13,6 +13,7 @@
|
|
import { onPageScroll, onReachBottom } from '@dcloudio/uni-app'
|
|
import { onPageScroll, onReachBottom } from '@dcloudio/uni-app'
|
|
import useZPaging from 'z-paging/components/z-paging/js/hooks/useZPaging.js'
|
|
import useZPaging from 'z-paging/components/z-paging/js/hooks/useZPaging.js'
|
|
import { getRankList } from '@/api/product'
|
|
import { getRankList } from '@/api/product'
|
|
|
|
+import { t } from '@/locale'
|
|
import { formatNumber, formatSales } from '@/utils'
|
|
import { formatNumber, formatSales } from '@/utils'
|
|
import { goBack, toPage } from '@/utils/page'
|
|
import { goBack, toPage } from '@/utils/page'
|
|
|
|
|
|
@@ -113,7 +114,7 @@ function getRankNumber(index: number) {
|
|
</view>
|
|
</view>
|
|
<view class="flex items-center rounded-8rpx from-white via-[rgba(255,210,212,0.58)] to-[rgba(255,0,16,0.2)] bg-gradient-to-l px-10rpx py-6rpx text-24rpx text-#FF0010">
|
|
<view class="flex items-center rounded-8rpx from-white via-[rgba(255,210,212,0.58)] to-[rgba(255,0,16,0.2)] bg-gradient-to-l px-10rpx py-6rpx text-24rpx text-#FF0010">
|
|
<image src="/static/icons/fire.png" class="mr-8rpx h-24rpx w-24rpx" />
|
|
<image src="/static/icons/fire.png" class="mr-8rpx h-24rpx w-24rpx" />
|
|
- <text>{{ $t('bestSellers.successfullyGrouped', [formatSales(item.sales)]) }}</text>
|
|
|
|
|
|
+ <text>{{ t('bestSellers.successfullyGrouped', [formatSales(item.sales)]) }}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|