feat:去掉充值

This commit is contained in:
2025-12-17 20:28:10 +08:00
parent 761f273a5d
commit 1b12f770e2
4 changed files with 11 additions and 10 deletions
+2 -2
View File
@@ -18,8 +18,8 @@
"alwaysShowBeforeRender" : true,
"waiting" : true,
"delay" : 0,
"duration": 0,
"autoclose": false
"duration" : 0,
"autoclose" : false
},
/* 模块配置 */
"modules" : {
+5 -4
View File
@@ -1130,12 +1130,13 @@
}
.banner_box-btn {
width: 240px;
height: 40px;
// width: 480rpx;
width: calc(100% - 80rpx);
height: 80rpx;
background: linear-gradient(270deg, #af39c4 0%, #7732ff 100%);
border-radius: 8px;
border-radius: 16rpx;
font-weight: 500;
font-size: 16px;
font-size: 32rpx;
color: #ffffff;
display: flex;
justify-content: center;
+1 -1
View File
@@ -66,7 +66,7 @@ export default {
handleAmount,
getOperationButtons(item) {
return [
{ type: 'recharge', text: '充值', show: item.isRecharge },
// { type: 'recharge', text: '充值', show: item.isRecharge },
{ type: 'withdraw', text: '提现', show: item.isWithdrawal },
{ type: 'exchange', text: '兑换', show: item.isExchange }
].filter(btn => btn.show);
@@ -40,7 +40,7 @@ export default {
methods: {
/* 拉取海报 */
async getPoster() {
const { bizcode, data } = await getSharePoster({ type: 0 });
const { bizcode, data } = await getSharePoster({ type: 1 });
if (bizcode === 100 && data.length) {
this.sharePoster = data[0];
} else {
@@ -67,9 +67,9 @@ export default {
},
goDetail() {
this.clearTimer();
if (this.sharePoster.id) {
if (this.sharePoster.goodsId) {
uni.navigateTo({
url: `/pages/other_package/productInfo/productInfo?id=${this.sharePoster.id}&isSplash=true`,
url: `/pages/other_package/productInfo/productInfo?id=${this.sharePoster.goodsId}&isSplash=true`,
});
} else {
uni.switchTab({ url: "/pages/home/home" });