feat:去掉充值
This commit is contained in:
+2
-2
@@ -18,8 +18,8 @@
|
||||
"alwaysShowBeforeRender" : true,
|
||||
"waiting" : true,
|
||||
"delay" : 0,
|
||||
"duration": 0,
|
||||
"autoclose": false
|
||||
"duration" : 0,
|
||||
"autoclose" : false
|
||||
},
|
||||
/* 模块配置 */
|
||||
"modules" : {
|
||||
|
||||
+5
-4
@@ -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;
|
||||
|
||||
@@ -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" });
|
||||
|
||||
Reference in New Issue
Block a user