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: [], latestWinnerList: [],
activityId: 0, activityId: 0,
linkType: 1,
onlyOneToAddCart: false, onlyOneToAddCart: false,
statusBarHeight: 20, statusBarHeight: 20,
countdownData: { countdownData: {
@@ -219,7 +218,6 @@ export default {
} }
}, },
onLoad(options) { onLoad(options) {
this.linkType = Number(options.linkType) || 1
this.activityId = Number(options.activityId || options.areaId) || 0 this.activityId = Number(options.activityId || options.areaId) || 0
this.statusBarHeight = uni.getSystemInfoSync().statusBarHeight || 20 this.statusBarHeight = uni.getSystemInfoSync().statusBarHeight || 20
this.init() this.init()
+6 -6
View File
@@ -625,9 +625,9 @@ export default {
.prize-card { .prize-card {
background: #fffdf5; background: #fffdf5;
height: 134rpx;
border: 4rpx solid #1f1f1f; border: 4rpx solid #1f1f1f;
border-radius: 20rpx; border-radius: 20rpx;
padding: 12rpx;
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
margin-bottom: 18rpx; margin-bottom: 18rpx;
@@ -637,19 +637,19 @@ export default {
.prize-img-wrap { .prize-img-wrap {
width: 132rpx; width: 132rpx;
height: 132rpx; height: 132rpx;
border-radius: 12rpx; border-radius: 20rpx;
border: 2rpx dashed #b3b3b3; border: 4rpx solid #1f1f1f;
padding: 4rpx;
margin-right: 18rpx; margin-right: 18rpx;
background: #fff; background: #fff;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
margin-left: -4rpx;
margin-top: -4rpx;
.prize-img { .prize-img {
width: 100%; width: 100%;
height: 100%; height: 100%;
border-radius: 8rpx; border-radius: 20rpx;
} }
} }