diff --git a/api/assets.js b/api/assets.js
index 3278287..4b1d209 100644
--- a/api/assets.js
+++ b/api/assets.js
@@ -1856,7 +1856,7 @@ export async function fetchPowerExchangeDetail(requestOptions) {
power: toFixedNumber(balances.power, 0),
},
tips: [
- "算力 = 抵用券或消费券 × BMT实时价格 × 兑换倍率;",
+ "算力 = 抵用券或消费券 ÷ BMT实时价格 × 兑换倍率;",
"抵用券和消费券总数小于100券的不可兑换;",
"算力用于兑换BMT使用。",
],
diff --git a/pages/assets/points-convert.vue b/pages/assets/points-convert.vue
index 171a7dd..22fc40b 100644
--- a/pages/assets/points-convert.vue
+++ b/pages/assets/points-convert.vue
@@ -22,9 +22,6 @@
{{
detail.availablePoints
}}
-
- 积分转换
-
@@ -86,6 +83,12 @@
当前月份还没有积分转换明细。
+
+
+
+ 转换可用积分
+
+
@@ -356,7 +359,7 @@ export default {
.points-home-scroll {
min-height: calc(100vh - env(safe-area-inset-top) - 104rpx);
- padding: 10rpx 14rpx calc(env(safe-area-inset-bottom) + 36rpx);
+ padding: 10rpx 14rpx calc(env(safe-area-inset-bottom) + 188rpx);
}
.hero-card {
@@ -427,20 +430,6 @@ export default {
margin-right: 20rpx;
}
-.hero-card__button {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- min-width: 166rpx;
- height: 48rpx;
- border-radius: 999rpx;
- background: linear-gradient(135deg, #1ec5ff 0%, #179fe8 100%);
- box-shadow: 0 14rpx 24rpx rgba(27, 179, 242, 0.22);
- font-size: 26rpx;
- font-weight: 500;
- color: #ffffff;
-}
-
.month-picker {
display: inline-block;
margin-top: 22rpx;
@@ -569,4 +558,33 @@ export default {
font-size: 22rpx;
color: rgba(158, 170, 204, 0.86);
}
+
+.points-home-fixed-bar {
+ position: fixed;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ z-index: 30;
+ padding: 18rpx 30rpx calc(env(safe-area-inset-bottom) + 26rpx);
+ background: linear-gradient(
+ 180deg,
+ rgba(25, 30, 50, 0) 0%,
+ rgba(25, 30, 50, 0.92) 22%,
+ #191e32 100%
+ );
+}
+
+.points-home-fixed-bar__button {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 100%;
+ height: 92rpx;
+ border-radius: 46rpx;
+ background: linear-gradient(135deg, #20b6f5 0%, #1ca5e3 100%);
+ box-shadow: 0 16rpx 30rpx rgba(20, 119, 214, 0.16);
+ font-size: 30rpx;
+ font-weight: 700;
+ color: #ffffff;
+}
diff --git a/pages/assets/power-exchange.vue b/pages/assets/power-exchange.vue
index bad9753..48cb0dc 100644
--- a/pages/assets/power-exchange.vue
+++ b/pages/assets/power-exchange.vue
@@ -227,7 +227,7 @@ export default {
}
return this.formatAmount(
- this.amountValue * this.priceNumber * this.exchangeMultiplierNumber,
+ this.amountValue / this.priceNumber * this.exchangeMultiplierNumber,
2,
);
},
@@ -241,7 +241,7 @@ export default {
Number(this.detail.balances.coupon || 0);
return this.formatAmount(
- totalTickets * this.priceNumber * this.exchangeMultiplierNumber,
+ totalTickets / this.priceNumber * this.exchangeMultiplierNumber,
2,
);
},
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 8017858..08f58a4 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -140,6 +140,8 @@
>
{{ overview.notice }}
+
+
diff --git a/unpackage/dist/build/web/index.html b/unpackage/dist/build/web/index.html
index 997562c..a9c7078 100644
--- a/unpackage/dist/build/web/index.html
+++ b/unpackage/dist/build/web/index.html
@@ -1,2 +1,2 @@
白马交易所
\ No newline at end of file
+ document.write('')