Commit e62296b6 authored by spc's avatar spc

Merge branch 'feihesanqi_20251014' of http://gitlab.dui88.com/fh/20250528_FHQ1...

Merge branch 'feihesanqi_20251014' of http://gitlab.dui88.com/fh/20250528_FHQ1 into feihesanqi_20251014
parents ff8eaa13 a03176d4
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
justify-content: space-between; justify-content: space-between;
.credits_sale_title { .credits_sale_title {
font-size: 32rpx; font-size: 30rpx;
font-weight: bold; font-weight: 600;
margin-left: 16rpx; margin-left: 16rpx;
color: #1d1e25; color: #1d1e25;
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
// 弧形三角形样式 - 使用base64 SVG背景图 // 弧形三角形样式 - 使用base64 SVG背景图
.triangle-left { .triangle-left {
position: absolute; position: absolute;
left: -100rpx; left: -99rpx;
top: 0; top: 0;
pointer-events: none; pointer-events: none;
width: 200rpx; width: 200rpx;
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
.triangle-right { .triangle-right {
position: absolute; position: absolute;
right: -100rpx; right: -99rpx;
top: 0; top: 0;
pointer-events: none; pointer-events: none;
width: 200rpx; width: 200rpx;
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
.tab_time_text { .tab_time_text {
&.start_time_text { &.start_time_text {
font-size: 30rpx; font-size: 30rpx;
font-weight: 100; font-weight: 600;
// 颜色通过内联样式动态设置 // 颜色通过内联样式动态设置
} }
} }
...@@ -319,9 +319,8 @@ ...@@ -319,9 +319,8 @@
width: 100%; width: 100%;
height: 220rpx; // 正方形,宽度撑满父级 height: 220rpx; // 正方形,宽度撑满父级
background: #f5f5f5; background: #f5f5f5;
border-radius: 10rpx; border-radius: 18rpx;
margin-bottom: 10rpx; margin-bottom: 18rpx;
border: 2rpx dashed #e0e0e0;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
...@@ -329,6 +328,7 @@ ...@@ -329,6 +328,7 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover; object-fit: cover;
border-radius: 18rpx;
} }
} }
...@@ -368,7 +368,6 @@ ...@@ -368,7 +368,6 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
transition: all 0.3s ease;
// 背景色通过内联样式动态设置 // 背景色通过内联样式动态设置
&.disabled { &.disabled {
...@@ -379,6 +378,7 @@ ...@@ -379,6 +378,7 @@
.credits_sale_button_text { .credits_sale_button_text {
font-size: 24rpx; font-size: 24rpx;
color: #fff; color: #fff;
font-weight: 500;
} }
&.disabled .credits_sale_button_text { &.disabled .credits_sale_button_text {
...@@ -405,7 +405,7 @@ ...@@ -405,7 +405,7 @@
.good_image_placeholder { .good_image_placeholder {
width: 260rpx; width: 260rpx;
height: 260rpx; height: 260rpx;
border-radius: 15rpx; border-radius: 18rpx;
flex-shrink: 0; flex-shrink: 0;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
...@@ -415,6 +415,7 @@ ...@@ -415,6 +415,7 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover; object-fit: cover;
border-radius: 18rpx;
} }
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<view class="credits_sale_section" v-if="shouldShowSection"> <view class="credits_sale_section" v-if="shouldShowSection">
<!-- 标题区域 --> <!-- 标题区域 -->
<view class="credits_sale_area"> <view class="credits_sale_area">
<text class="credits_sale_title" :class="`item-${itemIndex}`" :style="{ color: getColor('textColor')[itemIndex] }">积分限时</text> <text class="credits_sale_title" :class="`item-${itemIndex}`" :style="{ color: getColor('textColor')[itemIndex] }">积分限时秒杀</text>
</view> </view>
<!-- 积分限时购内容容器 --> <!-- 积分限时购内容容器 -->
...@@ -647,82 +647,82 @@ const generateTestSeckillData = () => { ...@@ -647,82 +647,82 @@ const generateTestSeckillData = () => {
"priceSale": "200.00", "priceSale": "200.00",
"stock": 10 "stock": 10
}, },
// {
// "button": {"key": 1, "text": "立即抢购"},
// "credits": 150,
// "creditsType": "CREDITS",
// "creditsTypeName": "积分",
// "goods": {
// "id": 102,
// "goodsName": "测试商品B - 正在进行中",
// "goodsImage": ["https://via.placeholder.com/150/4CAF50/FFFFFF?text=GoodB"],
// "credits": "150",
// "priceSale": "300.00",
// "stock": 5
// },
// "priceSale": "300.00",
// "stock": 5
// }
],
"sessionKey": "session_1_ongoing",
"start": session1Start
},
{
"end": session2End,
"goods": [
{
"button": {"key": 1, "text": "立即抢购"},
"credits": 200,
"creditsType": "CREDITS",
"creditsTypeName": "积分",
"goods": {
"id": 201,
"goodsName": "限时秒杀商品A - 正在进行中",
"goodsImage": ["https://via.placeholder.com/150/FF6B35/FFFFFF?text=SeckillA"],
"credits": "200",
"priceSale": "400.00",
"stock": 15
},
"priceSale": "400.00",
"stock": 15
},
{
"button": {"key": 1, "text": "立即抢购"},
"credits": 300,
"creditsType": "CREDITS",
"creditsTypeName": "积分",
"goods": {
"id": 202,
"goodsName": "限时秒杀商品B - 正在进行中",
"goodsImage": ["https://via.placeholder.com/150/4CAF50/FFFFFF?text=SeckillB"],
"credits": "300",
"priceSale": "600.00",
"stock": 8
},
"priceSale": "600.00",
"stock": 8
},
{ {
"button": {"key": 1, "text": "立即抢购"}, "button": {"key": 1, "text": "立即抢购"},
"credits": 150, "credits": 150,
"creditsType": "CREDITS", "creditsType": "CREDITS",
"creditsTypeName": "积分", "creditsTypeName": "积分",
"goods": { "goods": {
"id": 102, "id": 203,
"goodsName": "测试商品B - 正在进行中", "goodsName": "限时秒杀商品C - 正在进行中",
"goodsImage": ["https://via.placeholder.com/150/4CAF50/FFFFFF?text=GoodB"], "goodsImage": ["https://via.placeholder.com/150/9C27B0/FFFFFF?text=SeckillC"],
"credits": "150", "credits": "150",
"priceSale": "300.00", "priceSale": "300.00",
"stock": 5 "stock": 12
}, },
"priceSale": "300.00", "priceSale": "300.00",
"stock": 5 "stock": 12
} }
], ],
"sessionKey": "session_1_ongoing", "sessionKey": "session_2_ongoing",
"start": session1Start "start": session2Start
}, },
// { // {
// "end": session2End,
// "goods": [
// {
// "button": {"key": 1, "text": "立即抢购"},
// "credits": 200,
// "creditsType": "CREDITS",
// "creditsTypeName": "积分",
// "goods": {
// "id": 201,
// "goodsName": "限时秒杀商品A - 正在进行中",
// "goodsImage": ["https://via.placeholder.com/150/FF6B35/FFFFFF?text=SeckillA"],
// "credits": "200",
// "priceSale": "400.00",
// "stock": 15
// },
// "priceSale": "400.00",
// "stock": 15
// },
// {
// "button": {"key": 1, "text": "立即抢购"},
// "credits": 300,
// "creditsType": "CREDITS",
// "creditsTypeName": "积分",
// "goods": {
// "id": 202,
// "goodsName": "限时秒杀商品B - 正在进行中",
// "goodsImage": ["https://via.placeholder.com/150/4CAF50/FFFFFF?text=SeckillB"],
// "credits": "300",
// "priceSale": "600.00",
// "stock": 8
// },
// "priceSale": "600.00",
// "stock": 8
// },
// {
// "button": {"key": 1, "text": "立即抢购"},
// "credits": 150,
// "creditsType": "CREDITS",
// "creditsTypeName": "积分",
// "goods": {
// "id": 203,
// "goodsName": "限时秒杀商品C - 正在进行中",
// "goodsImage": ["https://via.placeholder.com/150/9C27B0/FFFFFF?text=SeckillC"],
// "credits": "150",
// "priceSale": "300.00",
// "stock": 12
// },
// "priceSale": "300.00",
// "stock": 12
// }
// ],
// "sessionKey": "session_2_ongoing",
// "start": session2Start
// },
// {
// "end": session3End, // "end": session3End,
// "goods": [ // "goods": [
// { // {
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
margin-bottom: 30rpx; margin-bottom: 30rpx;
.invite_gift_title { .invite_gift_title {
font-size: 36rpx; font-size: 30rpx;
font-weight: bold; font-weight: bold;
color: #333333; color: #000000;
margin-bottom: 20rpx; margin-bottom: 20rpx;
display: block; display: block;
...@@ -59,11 +59,11 @@ ...@@ -59,11 +59,11 @@
.invite_button { .invite_button {
width: 172rpx; width: 172rpx;
height: 62rpx; height: 62rpx;
background: linear-gradient(to right, #A07B4D 0%, #C09A60 100%); background: linear-gradient(to right, #916633 0%, #AB7A44 100%);
border-radius: 30rpx; border-radius: 30rpx;
display: flex; display: flex;
margin-top: 30rpx; margin-top: 30rpx;
margin-left: 30rpx; margin-left: 0rpx;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
box-shadow: 0 2rpx 8rpx rgba(160, 123, 77, 0.3); box-shadow: 0 2rpx 8rpx rgba(160, 123, 77, 0.3);
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
.record_button { .record_button {
position: absolute; position: absolute;
width: 146rpx; width: 146rpx;
height: 62rpx; height: 52rpx;
top: 16rpx; top: 16rpx;
right: 20rpx; right: 20rpx;
background: rgba(255, 255, 255, 0.8); background: rgba(255, 255, 255, 0.8);
...@@ -121,13 +121,8 @@ ...@@ -121,13 +121,8 @@
} }
.record_arrow { .record_arrow {
font-size: 20rpx; width: 11rpx;
color: #999999; height: 18rpx;
font-weight: bold;
&.item-4 {
color: #D7D7D7;
}
} }
&.item-4 { &.item-4 {
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<!-- 邀请记录按钮 --> <!-- 邀请记录按钮 -->
<view class="record_button" :class="`item-${itemIndex}`" @click="handleRecordClick"> <view class="record_button" :class="`item-${itemIndex}`" @click="handleRecordClick">
<text class="record_text" :class="`item-${itemIndex}`">邀请记录</text> <text class="record_text" :class="`item-${itemIndex}`">邀请记录</text>
<text class="record_arrow" :class="`item-${itemIndex}`">{{`>`}}</text> <image class="record_arrow" :class="`item-${itemIndex}`" :src="$baseUrl + 'integral/1023/yaoqingjiluIcon.png'" mode="aspectFit" />
</view> </view>
<!-- 3D星星角色 --> <!-- 3D星星角色 -->
......
...@@ -204,7 +204,6 @@ const onGetPhoneNumber = async (e) => { ...@@ -204,7 +204,6 @@ const onGetPhoneNumber = async (e) => {
const { inviteCode: ivtCode, unionId: uid } = initInviteParams(); const { inviteCode: ivtCode, unionId: uid } = initInviteParams();
isLogin.value = true; isLogin.value = true;
console.log(2222222222);
// 如果有邀请码,调用助力接口 // 如果有邀请码,调用助力接口
if (ivtCode && isLogin.value) { if (ivtCode && isLogin.value) {
await callAssistInvite(ivtCode, uid); await callAssistInvite(ivtCode, uid);
......
...@@ -986,7 +986,7 @@ ...@@ -986,7 +986,7 @@
display: flex; display: flex;
// justify-content: space-between; // justify-content: space-between;
align-items: center; align-items: center;
margin-bottom: 30rpx; margin-bottom: 24rpx;
.card_title { .card_title {
font-size: 32rpx; font-size: 32rpx;
...@@ -1017,7 +1017,7 @@ ...@@ -1017,7 +1017,7 @@
.benefits_container { .benefits_container {
display: flex; display: flex;
gap: 12rpx; gap: 24rpx;
margin-top: 0; margin-top: 0;
// 当商品数量小于等于2时,调整gap并居中 // 当商品数量小于等于2时,调整gap并居中
...@@ -1123,7 +1123,7 @@ ...@@ -1123,7 +1123,7 @@
bottom: 20rpx; bottom: 20rpx;
width: 250rpx; width: 250rpx;
height: 62rpx; height: 62rpx;
background: linear-gradient(90deg, #D3A458 0%, #B8941F 100%); background: linear-gradient(90deg, #916633 0%, #AB7A44 100%);
border-radius: 30rpx; border-radius: 30rpx;
text-align: center; text-align: center;
line-height: 62rpx; line-height: 62rpx;
...@@ -1190,14 +1190,14 @@ ...@@ -1190,14 +1190,14 @@
} }
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
width: 100%; width: 95%;
} }
.benefit_points { .benefit_points {
text-align: left; text-align: left;
font-size: 22rpx; font-size: 22rpx;
color: #333333; color: #333333;
width: 100%; width: 95%;
margin-bottom: 16rpx; margin-bottom: 16rpx;
&.item-1 { &.item-1 {
color: #284A6C; color: #284A6C;
...@@ -1217,9 +1217,9 @@ ...@@ -1217,9 +1217,9 @@
} }
.exchange_button { .exchange_button {
width: 100%; width: 96%;
height: 60rpx; height: 60rpx;
background: #D3A458; background: linear-gradient(90deg, #916633 0%, #AB7A44 100%);
border-radius: 30rpx; border-radius: 30rpx;
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -1550,7 +1550,7 @@ ...@@ -1550,7 +1550,7 @@
.exchange_button { .exchange_button {
width: 100%; width: 100%;
height: 60rpx; height: 60rpx;
background: #D3A458; background: linear-gradient(90deg, #916633 0%, #AB7A44 100%);
border-radius: 30rpx; border-radius: 30rpx;
display: flex; display: flex;
align-items: center; align-items: center;
......
...@@ -2826,6 +2826,7 @@ const handleInviteClick = () => { ...@@ -2826,6 +2826,7 @@ const handleInviteClick = () => {
buttonName: "去邀请", buttonName: "去邀请",
}); });
console.log('islogin.valuehandleInviteClick=', islogin.value);
if (!islogin.value) { if (!islogin.value) {
needReinit.value = true; needReinit.value = true;
jump({ jump({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment