This commit is contained in:
whitechiina 2026-05-08 16:24:41 +08:00
parent 1ebb461fbe
commit 781a12f912
26 changed files with 175 additions and 46 deletions

View File

@ -182,7 +182,7 @@ function buildHomeOverview(balanceData, tickerData) {
key: "ticker", key: "ticker",
title: "BMT实时价格", title: "BMT实时价格",
value: toFixedNumber(ticker.close || ticker.cnyPrice, 3), value: toFixedNumber(ticker.close || ticker.cnyPrice, 3),
unit: "CNY/BMT", unit: "BMT/CNY",
accent: "green", accent: "green",
}, },
], ],

View File

@ -1,7 +1,10 @@
<template> <template>
<view v-if="visible" class="popup-mask" @touchmove.stop.prevent="noop"> <view v-if="visible" class="popup-mask" @touchmove.stop.prevent="noop">
<view class="popup-mask__backdrop" @click="handleMaskClick"></view> <view class="popup-mask__backdrop" @click="handleMaskClick"></view>
<view class="popup-panel" :class="'popup-panel--' + status"> <view
class="popup-panel"
:class="['popup-panel--' + status, panelClass]"
>
<view class="popup-panel__head"> <view class="popup-panel__head">
<text class="popup-panel__title">{{ title }}</text> <text class="popup-panel__title">{{ title }}</text>
<view <view
@ -106,6 +109,10 @@ export default {
type: String, type: String,
default: "default", default: "default",
}, },
panelClass: {
type: String,
default: "",
},
}, },
computed: { computed: {
showStatusBlock() { showStatusBlock() {

View File

@ -150,7 +150,7 @@ export default {
display: flex; display: flex;
align-items: flex-end; align-items: flex-end;
min-height: calc(var(--asset-shell-nav-height) + 12rpx); min-height: calc(var(--asset-shell-nav-height) + 12rpx);
padding-bottom: 6rpx; padding-bottom: 16rpx;
} }
.asset-shell__side { .asset-shell__side {

View File

@ -56,7 +56,7 @@
</view> </view>
<view class="info-row__price"> <view class="info-row__price">
<text class="info-row__value asset-number-font">{{ displayPrice }}</text> <text class="info-row__value asset-number-font">{{ displayPrice }}</text>
<text class="info-row__unit">CNY/BMT</text> <text class="info-row__unit">BMT/CNY</text>
</view> </view>
</view> </view>

View File

@ -56,7 +56,7 @@
</view> </view>
<view class="info-row__price"> <view class="info-row__price">
<text class="info-row__value asset-number-font">{{ displayPrice }}</text> <text class="info-row__value asset-number-font">{{ displayPrice }}</text>
<text class="info-row__unit">RMB/BMT</text> <text class="info-row__unit">BMT/CNY</text>
</view> </view>
</view> </view>

View File

@ -120,7 +120,7 @@
</text> --> </text> -->
</view> </view>
<text class="wallet-edit-dialog__desc asset-number-font"> <text class="wallet-edit-dialog__desc asset-number-font">
请仔细核对钱包地址以免造成财产损失 *请仔细核对钱包地址以免造成财产损失
</text> </text>
</view> </view>
</asset-confirm-popup> </asset-confirm-popup>
@ -168,7 +168,7 @@ export default {
"https://imgs.agrimedia.cn/bm-bmt/wallect-1.png", "https://imgs.agrimedia.cn/bm-bmt/wallect-1.png",
"https://imgs.agrimedia.cn/bm-bmt/wallect-2.png", "https://imgs.agrimedia.cn/bm-bmt/wallect-2.png",
"https://imgs.agrimedia.cn/bm-bmt/wallect-3.png", "https://imgs.agrimedia.cn/bm-bmt/wallect-3.png",
"https://imgs.agrimedia.cn/bm-bmt/wallect-4.png", "https://imgs.agrimedia.cn/bm-bmt/wallect-4-s.png",
"https://imgs.agrimedia.cn/bm-bmt/wallect-5.png", "https://imgs.agrimedia.cn/bm-bmt/wallect-5.png",
], ],
}; };
@ -644,7 +644,7 @@ export default {
margin-top: 26rpx; margin-top: 26rpx;
font-size: 22rpx; font-size: 22rpx;
line-height: 1.8; line-height: 1.8;
color: rgba(178, 190, 224, 0.86); color: #F77E57;
} }
.wallet-edit-popup ::v-deep .popup-panel { .wallet-edit-popup ::v-deep .popup-panel {

View File

@ -18,7 +18,7 @@
<text class="hero-card__label">本地钱包可提取BMT:</text> <text class="hero-card__label">本地钱包可提取BMT:</text>
<text class="hero-card__value asset-number-font">{{ displayWithdrawable }}</text> <text class="hero-card__value asset-number-font">{{ displayWithdrawable }}</text>
<text class="hero-card__price asset-number-font" <text class="hero-card__price asset-number-font"
>(BMT实时价格 {{ displayPrice }}CNY/BMT)</text >(BMT实时价格 {{ displayPrice }}BMT/CNY)</text
> >
</view> </view>
</view> </view>
@ -87,7 +87,7 @@
</view> </view>
<text class="wallet-card__desc"> <text class="wallet-card__desc">
请仔细核对钱包地址一经转出将无法追回 *请仔细核对钱包地址一经转出将无法追回
</text> </text>
</view> </view>
@ -103,36 +103,48 @@
:message="'确认提取 ' + amountDisplay + ' BMT 到以下钱包吗?'" :message="'确认提取 ' + amountDisplay + ' BMT 到以下钱包吗?'"
confirm-text="确认" confirm-text="确认"
cancel-text="取消" cancel-text="取消"
panel-class="withdraw-confirm-popup"
@cancel="confirmVisible = false" @cancel="confirmVisible = false"
@confirm="submit" @confirm="submit"
> >
<view class="popup-detail"> <view class="withdraw-popup">
<view class="popup-detail__row"> <view class="withdraw-popup__address-card">
<text class="meta-pair__label">钱包地址</text> <text class="withdraw-popup__address asset-number-font">{{
<text class="meta-pair__value popup-address asset-number-font">{{
detail.defaultWallet ? detail.defaultWallet.address : "未设置" detail.defaultWallet ? detail.defaultWallet.address : "未设置"
}}</text> }}</text>
</view> </view>
<view class="popup-detail__row">
<text class="meta-pair__label">BMT实时价格</text> <view class="withdraw-popup__meta-list">
<text class="meta-pair__value asset-number-font" <view class="withdraw-popup__meta-row">
>{{ displayPrice }} CNY/BMT</text <text class="withdraw-popup__meta-label">BMT实时价格</text>
> <text class="withdraw-popup__meta-value asset-number-font"
</view> >{{ displayPrice }} BMT/CNY</text
<view class="popup-detail__row"> >
<text class="meta-pair__label">手续费费率</text> </view>
<text class="meta-pair__value asset-number-font">{{ <view class="withdraw-popup__meta-row">
withdrawRateLabel <text class="withdraw-popup__meta-label">手续费费率</text>
}}</text> <text class="withdraw-popup__meta-value asset-number-font">{{
</view> withdrawRateLabel
<view class="popup-detail__row"> }}</text>
<text class="meta-pair__label">提取手续费</text> </view>
<text class="meta-pair__value asset-number-font">{{ feeText }}</text> <view class="withdraw-popup__meta-row">
</view> <text class="withdraw-popup__meta-label">提取手续费</text>
<view class="popup-detail__row"> <text class="withdraw-popup__meta-value asset-number-font">{{
<text class="meta-pair__label">预计到账</text> feeText
<text class="meta-pair__value asset-number-font">{{ actualText }}</text> }}</text>
</view>
<view class="withdraw-popup__meta-row">
<text class="withdraw-popup__meta-label">预计到账</text>
<text
class="withdraw-popup__meta-value withdraw-popup__meta-value--strong asset-number-font"
>{{ actualText }}</text
>
</view>
</view> </view>
<text class="withdraw-popup__tip">
*请仔细核对钱包地址以免造成财产损失
</text>
</view> </view>
</asset-confirm-popup> </asset-confirm-popup>
</view> </view>
@ -708,7 +720,7 @@ export default {
margin-top: 22rpx; margin-top: 22rpx;
font-size: 26rpx; font-size: 26rpx;
line-height: 1.65; line-height: 1.65;
color: rgba(170, 179, 204, 0.9); color: #F77E57;
} }
.action-wrap { .action-wrap {
@ -740,23 +752,107 @@ export default {
color: #1fb4ff; color: #1fb4ff;
} }
.popup-detail__row { :deep(.withdraw-confirm-popup) {
display: flex; max-width: 680rpx;
align-items: flex-start; padding: 34rpx 32rpx 30rpx;
justify-content: space-between; border-radius: 28rpx;
margin-top: 14rpx; background: #2b3151;
} }
.popup-address { :deep(.withdraw-confirm-popup .popup-panel__head) {
max-width: 320rpx; justify-content: flex-start;
text-align: right; min-height: 52rpx;
}
:deep(.withdraw-confirm-popup .popup-panel__title) {
padding: 0 72rpx 0 0;
text-align: left;
font-size: 46rpx;
font-weight: 700;
}
:deep(.withdraw-confirm-popup .popup-panel__message) {
margin-top: 34rpx;
font-size: 28rpx;
line-height: 1.7;
color: #f3f7ff;
}
:deep(.withdraw-confirm-popup .popup-panel__body) {
margin-top: 22rpx;
}
:deep(.withdraw-confirm-popup .popup-panel__footer) {
gap: 26rpx;
margin-top: 34rpx;
}
:deep(.withdraw-confirm-popup .popup-panel__btn) {
height: 78rpx !important;
border-radius: 14rpx;
font-size: 28rpx;
font-weight: 700;
}
:deep(.withdraw-confirm-popup .popup-panel__btn--ghost) {
background: #4b557d;
border-color: rgba(190, 200, 230, 0.26);
color: #ffffff;
}
:deep(.withdraw-confirm-popup .popup-panel__btn--primary) {
background: linear-gradient(135deg, #22b7f7 0%, #1f9fe6 100%);
}
.withdraw-popup__address-card {
padding: 22rpx 24rpx;
border-radius: 14rpx;
background: #4a557f;
}
.withdraw-popup__address {
display: block;
font-size: 28rpx;
line-height: 1.45;
color: #ffffff;
word-break: break-all; word-break: break-all;
} }
.popup-formula { .withdraw-popup__meta-list {
max-width: 320rpx; margin-top: 24rpx;
}
.withdraw-popup__meta-row {
display: flex;
align-items: center;
justify-content: space-between;
}
.withdraw-popup__meta-row + .withdraw-popup__meta-row {
margin-top: 16rpx;
}
.withdraw-popup__meta-label {
font-size: 28rpx;
color: #c2cae5;
}
.withdraw-popup__meta-value {
margin-left: 28rpx;
text-align: right; text-align: right;
line-height: 1.5; font-size: 28rpx;
color: #ffcf8a; color: #ffffff;
}
.withdraw-popup__meta-value--strong {
color: #ffffff;
}
.withdraw-popup__tip {
display: block;
margin-top: 28rpx;
font-size: 28rpx;
line-height: 1.6;
color: #ff8a63;
} }
</style> </style>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

2
unpackage/dist/build/web/index.html vendored Normal file
View File

@ -0,0 +1,2 @@
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>白马交易所</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/bmt/static/index.883130ca.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/bmt/static/js/chunk-vendors.a58c62f3.js></script><script src=/bmt/static/js/index.1c3dffc5.js></script></body></html>

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long