|
@@ -10,10 +10,10 @@
|
|
@click="clickRuleWrapper">
|
|
@click="clickRuleWrapper">
|
|
<img class="record" src="@/assets/image/answerGame/WeekKaijiang/record.png" alt="抽奖记录"
|
|
<img class="record" src="@/assets/image/answerGame/WeekKaijiang/record.png" alt="抽奖记录"
|
|
@click="clickRecordWrapper">
|
|
@click="clickRecordWrapper">
|
|
- <!-- <div class="top" v-if="top">
|
|
|
|
- <span style="font-size: 18px;color: #fff;font-weight: 600;background-color: rgba(0, 0, 0, .5);border-radius: 6px;padding: 5px;">
|
|
|
|
- 当前拥有抽奖券:{{ top }}张</span>
|
|
|
|
- </div> -->
|
|
|
|
|
|
+ <div class="top" v-if="top">
|
|
|
|
+ <span style="font-size: 14px;color: #fff;font-weight: 600;border-radius: 6px;padding: 5px;">
|
|
|
|
+ 本期未开出奖品,将累计到下期</span>
|
|
|
|
+ </div>
|
|
<img class="answer" src="@/assets/image/answerGame/WeekKaijiang/join.png" alt="参与活动"
|
|
<img class="answer" src="@/assets/image/answerGame/WeekKaijiang/join.png" alt="参与活动"
|
|
@click="clickAnswer">
|
|
@click="clickAnswer">
|
|
<img class="exit" src="@/assets/image/answerGame/WeekKaijiang/exit.png" alt="退出活动"
|
|
<img class="exit" src="@/assets/image/answerGame/WeekKaijiang/exit.png" alt="退出活动"
|
|
@@ -31,7 +31,7 @@
|
|
<i class="el-icon-close"></i>
|
|
<i class="el-icon-close"></i>
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
- <div v-html="rule"></div>
|
|
|
|
|
|
+ <div class="ruleBox" v-html="rule"></div>
|
|
</el-card>
|
|
</el-card>
|
|
</div>
|
|
</div>
|
|
<div class="confirmWrapper" v-if="isConfirmWrapper">
|
|
<div class="confirmWrapper" v-if="isConfirmWrapper">
|
|
@@ -43,7 +43,7 @@
|
|
<div class="recordWrapper" v-show="isRecordWrapper">
|
|
<div class="recordWrapper" v-show="isRecordWrapper">
|
|
<el-card class="box-card">
|
|
<el-card class="box-card">
|
|
<div slot="header" class="clearfix">
|
|
<div slot="header" class="clearfix">
|
|
- <span>开奖记录</span>
|
|
|
|
|
|
+ <span>抽奖记录</span>
|
|
<span style="float: right; font-size: 20px;cursor: pointer;"
|
|
<span style="float: right; font-size: 20px;cursor: pointer;"
|
|
@click="closeRecordWrapper">
|
|
@click="closeRecordWrapper">
|
|
<i class="el-icon-close"></i>
|
|
<i class="el-icon-close"></i>
|
|
@@ -51,15 +51,15 @@
|
|
</div>
|
|
</div>
|
|
<div class="recordListBox" ref="scrollview" @mousewheel="scrollChange" v-loading="loading">
|
|
<div class="recordListBox" ref="scrollview" @mousewheel="scrollChange" v-loading="loading">
|
|
<div class="recordItem title">
|
|
<div class="recordItem title">
|
|
- <div style="width: 50%;text-align: center;">日期</div>
|
|
|
|
- <div style="width: 25%;text-align: center;">奖券</div>
|
|
|
|
- <div style="width: 25%;text-align: center;">状态</div>
|
|
|
|
|
|
+ <div style="width: 30%;text-align: center;">日期</div>
|
|
|
|
+ <div style="width: 40%;text-align: center;">奖券</div>
|
|
|
|
+ <div style="width: 30%;text-align: center;">状态</div>
|
|
</div>
|
|
</div>
|
|
<el-empty description="暂无数据" v-if="recordList.length == 0" :image-size="20"></el-empty>
|
|
<el-empty description="暂无数据" v-if="recordList.length == 0" :image-size="20"></el-empty>
|
|
<div class="recordItem" v-for="(item, index) in recordList">
|
|
<div class="recordItem" v-for="(item, index) in recordList">
|
|
- <div style="width: 50%;text-align: center;">{{ item.createTime }}</div>
|
|
|
|
- <div style="width: 25%;text-align: center;">{{ item.couponNumber }}</div>
|
|
|
|
- <div style="width: 25%;text-align: center;">
|
|
|
|
|
|
+ <div style="width: 30%;text-align: center;">{{ item.createTime }}</div>
|
|
|
|
+ <div style="width: 40%;text-align: center;">{{ item.couponNumber }}</div>
|
|
|
|
+ <div style="width: 30%;text-align: center;">
|
|
{{ item.lotteryTicketStatus == 0 ? '未开奖' : item.lotteryTicketStatus == 1 ? '未中奖'
|
|
{{ item.lotteryTicketStatus == 0 ? '未开奖' : item.lotteryTicketStatus == 1 ? '未中奖'
|
|
: '已中奖' }}
|
|
: '已中奖' }}
|
|
</div>
|
|
</div>
|
|
@@ -123,7 +123,14 @@ export default {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
loading: false,
|
|
loading: false,
|
|
- recordList: [],
|
|
|
|
|
|
+ recordList: [
|
|
|
|
+ {
|
|
|
|
+ createTime: '2023-11-01',
|
|
|
|
+ couponNumber: '202440410004',
|
|
|
|
+ lotteryTicketStatus:0,
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ ],
|
|
page: 1,
|
|
page: 1,
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
actId: this.$route.query.actId,
|
|
actId: this.$route.query.actId,
|
|
@@ -186,7 +193,7 @@ export default {
|
|
console.log(res);
|
|
console.log(res);
|
|
let list = res.data.data.items;
|
|
let list = res.data.data.items;
|
|
if (this.page == 1) {
|
|
if (this.page == 1) {
|
|
- this.recordList = list;
|
|
|
|
|
|
+ // this.recordList = list;
|
|
} else {
|
|
} else {
|
|
//如果不是则在后面追加数据
|
|
//如果不是则在后面追加数据
|
|
this.rankList.push(...list);
|
|
this.rankList.push(...list);
|
|
@@ -317,12 +324,12 @@ export default {
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
<style scoped>
|
|
<style scoped>
|
|
-.recordListBox::-webkit-scrollbar {
|
|
|
|
|
|
+.ruleBox::-webkit-scrollbar, .recordListBox::-webkit-scrollbar {
|
|
display: none;
|
|
display: none;
|
|
/* Chrome Safari */
|
|
/* Chrome Safari */
|
|
}
|
|
}
|
|
|
|
|
|
-.recordListBox {
|
|
|
|
|
|
+.ruleBox, .recordListBox {
|
|
max-height: 500px;
|
|
max-height: 500px;
|
|
overflow: auto;
|
|
overflow: auto;
|
|
scrollbar-width: none;
|
|
scrollbar-width: none;
|
|
@@ -370,6 +377,14 @@ export default {
|
|
justify-content: center;
|
|
justify-content: center;
|
|
align-content: center;
|
|
align-content: center;
|
|
}
|
|
}
|
|
|
|
+/* .recordListBox {
|
|
|
|
+ position: relative;
|
|
|
|
+ z-index: 10;
|
|
|
|
+ background: url(@/assets/image/answerGame/WeekKaijiang/cgjl.jpg) no-repeat;
|
|
|
|
+ background-size: 100% 100%;
|
|
|
|
+ width: 350px;
|
|
|
|
+ height: 500px;
|
|
|
|
+} */
|
|
|
|
|
|
.gameBox .item {
|
|
.gameBox .item {
|
|
position: relative;
|
|
position: relative;
|
|
@@ -512,7 +527,7 @@ export default {
|
|
.home .rules {
|
|
.home .rules {
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
position: absolute;
|
|
position: absolute;
|
|
- width: 42px;
|
|
|
|
|
|
+ width: 50px;
|
|
top: 25%;
|
|
top: 25%;
|
|
left: 5%;
|
|
left: 5%;
|
|
}
|
|
}
|
|
@@ -520,14 +535,14 @@ export default {
|
|
.home .record {
|
|
.home .record {
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
position: absolute;
|
|
position: absolute;
|
|
- width: 42px;
|
|
|
|
|
|
+ width: 50px;
|
|
top: 25%;
|
|
top: 25%;
|
|
right: 5%;
|
|
right: 5%;
|
|
}
|
|
}
|
|
|
|
|
|
.home .top {
|
|
.home .top {
|
|
position: absolute;
|
|
position: absolute;
|
|
- bottom: 25%;
|
|
|
|
|
|
+ top: 20%;
|
|
left: 0;
|
|
left: 0;
|
|
right: 0;
|
|
right: 0;
|
|
margin: auto;
|
|
margin: auto;
|
|
@@ -629,8 +644,8 @@ export default {
|
|
position: absolute;
|
|
position: absolute;
|
|
background: url(@/assets/image/answerGame/WeekKaijiang/finish.png) no-repeat;
|
|
background: url(@/assets/image/answerGame/WeekKaijiang/finish.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
background-size: 100% 100%;
|
|
- width: 258px;
|
|
|
|
- height: 258px;
|
|
|
|
|
|
+ width: 319px;
|
|
|
|
+ height: 194px;
|
|
top: 50%;
|
|
top: 50%;
|
|
left: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
transform: translate(-50%, -50%);
|
|
@@ -641,9 +656,10 @@ export default {
|
|
}
|
|
}
|
|
|
|
|
|
.closeWrapper .goHome {
|
|
.closeWrapper .goHome {
|
|
|
|
+ margin-bottom: 10px;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
- width: 112px;
|
|
|
|
- height: 55px;
|
|
|
|
|
|
+ width: 117px;
|
|
|
|
+ height: 41px;
|
|
}
|
|
}
|
|
|
|
|
|
.payBox-way {
|
|
.payBox-way {
|