|
@@ -30,7 +30,8 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="action-buttons">
|
|
|
- <van-button type="primary" size="small" round @click="goToCoinExchange" class="action-btn">
|
|
|
+ <van-button v-if="canExchange === 'true'" type="primary" size="small" round @click="goToCoinExchange"
|
|
|
+ class="action-btn">
|
|
|
金币兑换
|
|
|
</van-button>
|
|
|
<van-button type="primary" size="small" round @click="logout" class="action-btn logout-btn">
|
|
@@ -154,7 +155,9 @@ export default {
|
|
|
// 自定义金额
|
|
|
customAmount: '',
|
|
|
// 支付方式类型
|
|
|
- paymentType: PAYMENT_TYPE
|
|
|
+ paymentType: PAYMENT_TYPE,
|
|
|
+ // 金币兑换权限
|
|
|
+ canExchange: localStorage.getItem('canExchange') || 'false'
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -563,7 +566,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
.logo-image {
|
|
|
- width: 60px;
|
|
|
+ width: 90px;
|
|
|
height: 60px;
|
|
|
object-fit: contain;
|
|
|
}
|
|
@@ -758,8 +761,7 @@ export default {
|
|
|
margin-bottom: 5px;
|
|
|
background-color: #fff;
|
|
|
border-radius: 12px;
|
|
|
- margin-left: 8px;
|
|
|
- margin-right: 8px;
|
|
|
+ margin: 8px;
|
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
|
|
}
|
|
|
|
|
@@ -880,7 +882,7 @@ export default {
|
|
|
/* 支付按钮样式 */
|
|
|
.pay-button {
|
|
|
padding: 0 8px;
|
|
|
- margin-top: auto;
|
|
|
+ margin-top: 8px;
|
|
|
margin-bottom: 5px;
|
|
|
}
|
|
|
|