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
+5 -4
View File
@@ -1130,12 +1130,13 @@
} }
.banner_box-btn { .banner_box-btn {
width: 240px; // width: 480rpx;
height: 40px; width: calc(100% - 80rpx);
height: 80rpx;
background: linear-gradient(270deg, #af39c4 0%, #7732ff 100%); background: linear-gradient(270deg, #af39c4 0%, #7732ff 100%);
border-radius: 8px; border-radius: 16rpx;
font-weight: 500; font-weight: 500;
font-size: 16px; font-size: 32rpx;
color: #ffffff; color: #ffffff;
display: flex; display: flex;
justify-content: center; justify-content: center;
+1 -1
View File
@@ -66,7 +66,7 @@ export default {
handleAmount, handleAmount,
getOperationButtons(item) { getOperationButtons(item) {
return [ return [
{ type: 'recharge', text: '充值', show: item.isRecharge }, // { type: 'recharge', text: '充值', show: item.isRecharge },
{ type: 'withdraw', text: '提现', show: item.isWithdrawal }, { type: 'withdraw', text: '提现', show: item.isWithdrawal },
{ type: 'exchange', text: '兑换', show: item.isExchange } { type: 'exchange', text: '兑换', show: item.isExchange }
].filter(btn => btn.show); ].filter(btn => btn.show);
@@ -40,7 +40,7 @@ export default {
methods: { methods: {
/* 拉取海报 */ /* 拉取海报 */
async getPoster() { async getPoster() {
const { bizcode, data } = await getSharePoster({ type: 0 }); const { bizcode, data } = await getSharePoster({ type: 1 });
if (bizcode === 100 && data.length) { if (bizcode === 100 && data.length) {
this.sharePoster = data[0]; this.sharePoster = data[0];
} else { } else {
@@ -67,9 +67,9 @@ export default {
}, },
goDetail() { goDetail() {
this.clearTimer(); this.clearTimer();
if (this.sharePoster.id) { if (this.sharePoster.goodsId) {
uni.navigateTo({ 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 { } else {
uni.switchTab({ url: "/pages/home/home" }); uni.switchTab({ url: "/pages/home/home" });