This commit is contained in:
18631081161 2025-04-04 14:22:41 +08:00
parent 5a49868556
commit 019ab675c8

View File

@ -50,7 +50,7 @@
<view style="height:30rpx">
<view
style="display: flex; justify-content: center; align-items: center; height:75%;margin-top: 10rpx;">
<view style="width: 280rpx; text-align: left;">
<view style="width: 280rpx; text-align: center;">
<text style="color: #333333; font-size: 24rpx;">参考价:{{ getGoodsListName }}</text>
</view>
</view>
@ -151,8 +151,8 @@
</template>
<script>
import OrderConfirmPopupFlw from '@/components/order-confirm-popup/order-confirm-popup-flw.vue';
export default {
import OrderConfirmPopupFlw from '@/components/order-confirm-popup/order-confirm-popup-flw.vue';
export default {
components: {
OrderConfirmPopupFlw
},
@ -165,9 +165,9 @@ export default {
tips: "消费返利(所有参与者有机会获得奖励",
time: "2025-03-10 14:00",
popularity: 0, //
open_time: '2025-03-10 14:00',//
start_time: '2025-03-10 14:00',//
end_time: '2025-03-10 10:00',//
open_time: '2025-03-10 14:00', //
start_time: '2025-03-10 14:00', //
end_time: '2025-03-10 10:00', //
choujiang_xianzhi: 0 //
},
goodsList: [],
@ -182,7 +182,7 @@ export default {
endTime: null,
currentServerTime: null,
buttonText: "马上参与",
user_total_consumption: 0,//
user_total_consumption: 0, //
orderData: {
goods: null,
"use_integral": 0,
@ -200,7 +200,7 @@ export default {
useMoney2: false,
isAgree: true,
loading: false,
user_count: 0//
user_count: 0 //
}
},
computed: {
@ -228,7 +228,16 @@ export default {
console.log(res)
if (res.status === 1 && res.data) {
const { goods, goodslist, join_count, current_time, status, status_text, user_consumption, user_count } = res.data;
const {
goods,
goodslist,
join_count,
current_time,
status,
status_text,
user_consumption,
user_count
} = res.data;
this.orderData.goods = goods;
//
this.bonusData = {
@ -440,7 +449,9 @@ export default {
try {
const res = await this.req({
url: "fuliwu_participants",
data: { goods_id }
data: {
goods_id
}
});
if (res.status === 1 && res.data && res.data.list) {
@ -462,7 +473,9 @@ export default {
try {
const res = await this.req({
url: "fuliwu_records",
data: { goods_id }
data: {
goods_id
}
});
if (res.status === 1 && res.data && res.data.list) {
@ -578,18 +591,18 @@ export default {
},
}
}
}
</script>
<style lang="scss">
.content {
.content {
width: 100vw;
min-height: 100vh;
box-sizing: border-box;
background: #F7F7F7;
}
}
.navLeft {
.navLeft {
position: fixed;
left: 30rpx;
height: 44px;
@ -600,9 +613,9 @@ export default {
font-size: 50rpx;
color: #FFFFFF;
}
}
}
.title1 {
.title1 {
width: 100%;
top: 108rpx;
position: absolute;
@ -612,9 +625,9 @@ export default {
justify-content: center;
color: black;
z-index: 50;
}
}
.tab {
.tab {
display: flex;
justify-content: space-between;
align-items: center;
@ -650,9 +663,9 @@ export default {
color: #CCCCCC;
}
}
}
}
.grid-container {
.grid-container {
display: grid;
grid-template-columns: repeat(4, 124rpx);
gap: 24rpx;
@ -661,10 +674,10 @@ export default {
padding-bottom: 20rpx;
}
}
.grid-item {
.grid-item {
width: 142rpx;
height: 150rpx;
}
}
</style>