Fix:3306 【礼品功能】礼品封面两边还要再低于中间,左右两边往下移,底部文字平行,顶部低于中间

This commit is contained in:
linxi
2025-02-27 19:02:33 +08:00
parent 44798a564f
commit b85a619027
2 changed files with 17 additions and 11 deletions
+9 -5
View File
@@ -84,7 +84,9 @@ export default {
},
computed: {
isReceive() {
return this.card.recipientsNum === this.card.receiveNum
const gitfNum = this.card.giftProducts && this.card.giftProducts.length
const isReceiveNum = this.card.giftProducts && this.card.giftProducts.filter(e => e.isReceive === 1).length
return gitfNum === isReceiveNum
},
isLogin() {
return !!cookie.get('login_status');
@@ -243,15 +245,15 @@ export default {
.share-btn{
width: fit-content;
border-radius: 100rpx;
font-size: 24rpx;
font-size: 32rpx;
margin-top: 40rpx;
z-index: 999;
align-items: center;
border: 1rpx solid #C52733 ;
margin-left: 10rpx;
font-weight: bold;
height: 70rpx;
line-height: 70rpx;
height: 80rpx;
line-height: 80rpx;
}
.share-btn::before{
border: none;
@@ -261,10 +263,12 @@ export default {
}
.address-btn{
width: fit-content;
padding: 10rpx 30rpx;
padding: 10rpx 40rpx;
border-radius: 100rpx;
font-size: 32rpx;
font-weight: bold;
height: 80rpx;
line-height: 80rpx;
/* margin-top: 40rpx; */
z-index: 999;
}