Fix:5221 【商城小程序】抽奖界面优化1

This commit is contained in:
LinCyJang
2026-05-07 00:46:26 +08:00
parent 57410cc656
commit cff3dba809
2 changed files with 6 additions and 8 deletions
-2
View File
@@ -153,7 +153,6 @@ export default {
},
latestWinnerList: [],
activityId: 0,
linkType: 1,
onlyOneToAddCart: false,
statusBarHeight: 20,
countdownData: {
@@ -219,7 +218,6 @@ export default {
}
},
onLoad(options) {
this.linkType = Number(options.linkType) || 1
this.activityId = Number(options.activityId || options.areaId) || 0
this.statusBarHeight = uni.getSystemInfoSync().statusBarHeight || 20
this.init()
+6 -6
View File
@@ -625,9 +625,9 @@ export default {
.prize-card {
background: #fffdf5;
height: 134rpx;
border: 4rpx solid #1f1f1f;
border-radius: 20rpx;
padding: 12rpx;
display: flex;
align-items: flex-start;
margin-bottom: 18rpx;
@@ -637,19 +637,19 @@ export default {
.prize-img-wrap {
width: 132rpx;
height: 132rpx;
border-radius: 12rpx;
border: 2rpx dashed #b3b3b3;
padding: 4rpx;
border-radius: 20rpx;
border: 4rpx solid #1f1f1f;
margin-right: 18rpx;
background: #fff;
display: flex;
align-items: center;
justify-content: center;
margin-left: -4rpx;
margin-top: -4rpx;
.prize-img {
width: 100%;
height: 100%;
border-radius: 8rpx;
border-radius: 20rpx;
}
}