diff --git a/packages/shop/groupPurchaseDetail/index.css b/packages/shop/groupPurchaseDetail/index.css index e7f2b8c5..5d6d4f73 100644 --- a/packages/shop/groupPurchaseDetail/index.css +++ b/packages/shop/groupPurchaseDetail/index.css @@ -434,10 +434,9 @@ image { } .GoodsMsg { - /* font-size: 30rpx; */ + font-size: 30rpx; color: #222222; - margin: 0 20rpx; - margin-top: 55rpx; + margin: 20rpx; font-weight: 700; } @@ -543,8 +542,9 @@ image { height: 40rpx; } -.car_right_box{ +.car_right_box { display: flex; + font-size: 30rpx; } .car_right { @@ -553,7 +553,6 @@ image { /* background: linear-gradient(91deg, #FF7658 0%, #FF370B 100%); */ background: #ff712c; border-radius: 20rpx 0 0 20rpx; - font-size: 36rpx; color: #FFFFFF; display: flex; align-items: center; @@ -566,7 +565,6 @@ image { height: 70rpx; background: #ff3b31; border-radius: 0 20rpx 20rpx 0; - font-size: 36rpx; color: #FFFFFF; display: flex; align-items: center; @@ -931,12 +929,12 @@ image { height: 100rpx; margin-right: 30rpx; border-radius: 20rpx; - border: 1rpx solid red; } .itemSize_top { display: flex; margin-left: 30rpx; + position: relative; } .itemSize_info { @@ -1107,4 +1105,347 @@ image { display: inline-block; vertical-align: middle; margin-right: 20rpx; +} + +/* 立即秒杀 */ +.address-section { + background-color: #fff; +} + +.address-info { + padding: 20rpx 30rpx; + display: flex; + justify-content: space-between; + align-items: center; + border-bottom: 1rpx solid #eee; + margin-bottom: 20rpx; + font-size: 26rpx; + font-weight: bold; +} + +.address-main { + flex: 1; +} + +.address-name-phone { + display: flex; + align-items: center; + margin-bottom: 10rpx; +} + +.name { + margin-right: 20rpx; +} + +.phone { + color: #666; +} + +.address-detail { + color: #666; + line-height: 40rpx; + display: flex; + align-items: center; +} + +.address-arrow { + color: #333; +} + +.quantity-control { + display: flex; + align-items: center; + justify-content: flex-end; + position: absolute; + bottom: 10rpx; + right: 40rpx; +} + +.decrease-btn { + width: 40rpx; + height: 40rpx; + background-color: #f5f5f5; + border: 1rpx solid #ccc; + border-radius: 50%; + line-height: 33rpx; + text-align: center; + font-size: 28rpx; + color: #333; +} + +.increase-btn { + width: 40rpx; + height: 40rpx; + background-color: #ff502a; + border-radius: 50%; + line-height: 33rpx; + text-align: center; + font-size: 28rpx; + color: #ffffff; +} + +.quantity { + margin: 0 15rpx; + font-size: 24rpx; + width: 40rpx; + text-align: center; +} + +/* 支付方式区域 */ +.payment-section { + background-color: #fff; + margin-bottom: 20rpx; + margin-top: 15rpx; +} + +.payment-item { + padding: 30rpx; + display: flex; + justify-content: space-between; + align-items: center; + border-bottom: 1rpx solid #eee; +} + +.payment-icon { + width: 40rpx; + height: 40rpx; + margin-right: 20rpx; +} + +.payment-icon image { + width: 100%; + height: 100%; +} + +.payment-content { + flex: 1; +} + +.payment-name { + font-size: 28rpx; + margin-bottom: 5rpx; +} + +.payment-desc { + font-size: 26rpx; + color: #333; +} + +.payment-select { + color: #FF7658; +} + +/* 立即支付按钮 */ +.pay-button { + width: 50%; + height: 70rpx; + margin: 0 auto; + line-height: 70rpx; + text-align: center; + background: linear-gradient(91deg, #FF7658 0%, #FF370B 100%); + color: #fff; + font-size: 34rpx; + font-weight: bold; + border-radius: 50rpx; +} + +/* 弹窗 - 支付成功 */ +.pay-success-shadow { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.4); + z-index: 9999; + display: flex; + justify-content: center; + align-items: center; +} + +.pay-success-container { + width: 85%; + background-color: #ffffff; + border-radius: 15px; + padding: 20rpx 0; + overflow: hidden; +} + +.pay-success-content { + display: flex; + flex-direction: column; + align-items: center; + padding: 30rpx 0; +} + +.pay-success-title { + display: flex; + align-items: center; + justify-content: center; + font-size: 36rpx; + font-weight: bold; + color: #333333; + margin-bottom: 30rpx; +} + +.success-icon { + width: 50rpx; + height: 50rpx; + margin-right: 10rpx; +} + +.verify-code-section { + font-size: 32rpx; + color: #666666; + margin: 20rpx 0; +} + +/* 下单福利样式 */ +.welfare-container { + width: 95%; + padding: 20rpx; + margin-top: 20rpx; +} + +.welfare-header { + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 20rpx; +} + +.welfare-title { + display: flex; + align-items: center; + font-size: 28rpx; + font-weight: bold; + color: #333333; +} + +.welfare-title image { + width: 40rpx; + height: 40rpx; + margin-right: 10rpx; +} + +.welfare-action { + font-size: 24rpx; + color: #999999; +} + +.welfare-box { + display: flex; + justify-content: space-around; + margin-top: 20rpx; +} + +.welfare-item { + display: flex; + flex-direction: column; + align-items: center; + padding: 15rpx; + background-color: #ffffff; + border-radius: 10rpx; + box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1); + flex: 1; + margin: 0 10rpx; +} + +.welfare-item-top { + display: flex; + flex-direction: column; + align-items: center; + margin-bottom: 10rpx; +} + +.welfare-item-top image { + width: 60rpx; + height: 60rpx; + margin-bottom: 8rpx; +} + +.welfare-item-top view { + font-size: 24rpx; + color: #666666; +} + +.welfare-item>view:nth-child(2) { + font-size: 32rpx; + font-weight: bold; + color: #ff6b6b; + margin: 10rpx 0; +} + +.welfare-item-bottom { + font-size: 20rpx; + color: #999999; + margin-top: 5rpx; +} + +/* 底部邀请区域样式 */ +.bottom2 { + margin-top: 30rpx; + padding: 0 30rpx; +} + +.invite-section { + width: 100%; +} + +.invite-text { + display: flex; + align-items: center; + justify-content: center; + margin-bottom: 20rpx; + font-size: 24rpx; + color: #666666; +} + +.invite-line1, +.invite-line2 { + flex: 1; + height: 1rpx; + background-color: #e5e5e5; + margin: 0 15rpx; +} + +.share-buttons { + display: flex; + justify-content: space-around; + margin-top: 20rpx; +} + +.share-item { + display: flex; + flex-direction: column; + align-items: center; + padding: 15rpx; +} + +.share-item image { + width: 80rpx; + height: 80rpx; + margin-bottom: 10rpx; + border-radius: 16rpx; +} + +.share-item view { + font-size: 24rpx; + color: #666666; +} + +.share-btn-wechat { + width: 120rpx; + height: 120rpx; + opacity: 0; + position: absolute; + left: 160rpx; +} + +.share-btn-miniprogram { + width: 120rpx; + height: 120rpx; + opacity: 0; + position: absolute; + right: 180rpx; } \ No newline at end of file diff --git a/packages/shop/groupPurchaseDetail/index.vue b/packages/shop/groupPurchaseDetail/index.vue index 3c6e9902..912d225c 100644 --- a/packages/shop/groupPurchaseDetail/index.vue +++ b/packages/shop/groupPurchaseDetail/index.vue @@ -200,7 +200,8 @@ 加入购物车 - + 立即秒杀 @@ -331,6 +332,182 @@ {{ item.goods_name }} {{ item.goods_spec }} / {{ item.goods_unit }} + + + + + + 取消 + + + + + + + + + {{ adItem.name }} + {{ adItem.phone }} + + + {{ adItem.address }} + + + + + + + + + + + 请选择自提点 + + + + + + + + + + 请选择自提点 + + + + + + + + + + {{ changeName }} + ¥{{ changePrice }}/袋 + + + - + {{ changeCount }} + + + + + + {{ item.goods_name }} {{ item.goods_spec }} / {{ item.goods_unit }} + + + + + + + + + + 微信支付 + + + + + + + + + + 立即支付 + + + + + + + + + + 已支付成功 + + + 核销码:{{ verifyCode }} + + + + + + 下单福利 + + 已获得 + + + + + + + 石榴分 + + + {{ slFen }} + + + 可抵扣 ¥{{ slFen }} + + + + + + + 石榴籽 + + + {{ slZi }} + + + 可抵扣 ¥{{ slZi }} + + + + + + 石榴金 + + + {{ slJin }} + + + 可抵扣 ¥{{ slJin }} + + + + + + + + 赶快邀请好友来下单吧 + + + +