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