|
@@ -15,24 +15,25 @@
|
|
|
|
|
|
|
|
<style>
|
|
<style>
|
|
|
.container {
|
|
.container {
|
|
|
- background: #0671F1;
|
|
|
|
|
|
|
+ background-color: #1F1A3A;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.top-banner {
|
|
.top-banner {
|
|
|
background: url("../static/offImg/bg.png") no-repeat;
|
|
background: url("../static/offImg/bg.png") no-repeat;
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
- height: 11.6rem;
|
|
|
|
|
|
|
+ height: 13.1rem;
|
|
|
background-size: 100% 100%;
|
|
background-size: 100% 100%;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.top-banner .hongbao {
|
|
.top-banner .hongbao {
|
|
|
- width: 1.46rem;
|
|
|
|
|
- height: 1.42rem;
|
|
|
|
|
|
|
+ width: 5.24rem;
|
|
|
|
|
+ height: 1.55rem;
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
- bottom: 1.4rem;
|
|
|
|
|
- left: 0.7rem;
|
|
|
|
|
|
|
+ top: 1rem;
|
|
|
|
|
+ left: 50%;
|
|
|
|
|
+ transform: translateX(-50%);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.bottom-btn {
|
|
.bottom-btn {
|
|
@@ -60,20 +61,31 @@
|
|
|
|
|
|
|
|
.list {
|
|
.list {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
- height: 14.42rem;
|
|
|
|
|
- background: #0671F1;
|
|
|
|
|
|
|
+ height: 14.82rem;
|
|
|
|
|
+ background-color: #1F1A3A;
|
|
|
padding: 0 0.3rem;
|
|
padding: 0 0.3rem;
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .nav-box,
|
|
|
|
|
|
|
+ .nav-box {
|
|
|
|
|
+ margin-top: 0.44rem;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 5.7rem;
|
|
|
|
|
+ background: url("../static/offImg/share.png") no-repeat;
|
|
|
|
|
+ background-size: 100% 100%;
|
|
|
|
|
+ border-radius: 0.2rem;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ padding-top: 0.01rem;
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
.rule-box {
|
|
.rule-box {
|
|
|
margin-top: 0.44rem;
|
|
margin-top: 0.44rem;
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
height: 5.7rem;
|
|
height: 5.7rem;
|
|
|
- background: #C3E5FF;
|
|
|
|
|
|
|
+ background: url("../static/offImg/rule.png") no-repeat;
|
|
|
|
|
+ background-size: 100% 100%;
|
|
|
border-radius: 0.2rem;
|
|
border-radius: 0.2rem;
|
|
|
- border: 0.02rem solid #F5FAFF;
|
|
|
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|
|
|
|
}
|
|
}
|
|
@@ -86,9 +98,10 @@
|
|
|
top: -0.17rem;
|
|
top: -0.17rem;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: center;
|
|
justify-content: center;
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .rule-box .title-box .img-box,
|
|
|
|
|
|
|
+ /* .rule-box .title-box .img-box,
|
|
|
.nav-box .title-box .img-box {
|
|
.nav-box .title-box .img-box {
|
|
|
background: url("../static/offImg/title-bg.png") no-repeat;
|
|
background: url("../static/offImg/title-bg.png") no-repeat;
|
|
|
background-size: 100% 100%;
|
|
background-size: 100% 100%;
|
|
@@ -99,14 +112,13 @@
|
|
|
font-size: 0.32rem;
|
|
font-size: 0.32rem;
|
|
|
font-family: PingFangSC-Medium, PingFang SC;
|
|
font-family: PingFangSC-Medium, PingFang SC;
|
|
|
color: #FFFFFF;
|
|
color: #FFFFFF;
|
|
|
-
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ } */
|
|
|
|
|
|
|
|
.outer-box {
|
|
.outer-box {
|
|
|
- margin-top: 0.48rem;
|
|
|
|
|
- padding: 0.3rem 0.4rem;
|
|
|
|
|
|
|
+ margin-top: 1rem;
|
|
|
|
|
+ padding: 0.1rem 0.4rem;
|
|
|
overflow-y: scroll;
|
|
overflow-y: scroll;
|
|
|
- height: 5.1rem;
|
|
|
|
|
|
|
+ height: 4.4rem;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.list-nav {
|
|
.list-nav {
|
|
@@ -130,7 +142,7 @@
|
|
|
font-size: 0.24rem;
|
|
font-size: 0.24rem;
|
|
|
margin-bottom: 0.08rem;
|
|
margin-bottom: 0.08rem;
|
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
|
- color: #272624;
|
|
|
|
|
|
|
+ color: #ffffff;
|
|
|
width: 2.6rem;
|
|
width: 2.6rem;
|
|
|
display: block;
|
|
display: block;
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
@@ -143,7 +155,7 @@
|
|
|
.list-nav .user .text p+p {
|
|
.list-nav .user .text p+p {
|
|
|
font-size: 0.24rem;
|
|
font-size: 0.24rem;
|
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
|
- color: #999999;
|
|
|
|
|
|
|
+ color: #CCCCCC;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.right-nav {
|
|
.right-nav {
|
|
@@ -155,16 +167,16 @@
|
|
|
font-size: 0.24rem;
|
|
font-size: 0.24rem;
|
|
|
font-family: PingFangSC-Medium, PingFang SC;
|
|
font-family: PingFangSC-Medium, PingFang SC;
|
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
|
- color: #FF8E00;
|
|
|
|
|
|
|
+ color: #F2AE45;
|
|
|
margin-right: 0.3rem;
|
|
margin-right: 0.3rem;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.right-nav .btn {
|
|
.right-nav .btn {
|
|
|
width: 1.14rem;
|
|
width: 1.14rem;
|
|
|
- height: 0.52rem;
|
|
|
|
|
- line-height: 0.52rem;
|
|
|
|
|
- background: #3B7FFF;
|
|
|
|
|
- border-radius: 0.08rem;
|
|
|
|
|
|
|
+ height: 0.44rem;
|
|
|
|
|
+ line-height: 0.44rem;
|
|
|
|
|
+ background: #F2AE45;
|
|
|
|
|
+ border-radius: 0.22rem;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
font-size: 0.24rem;
|
|
font-size: 0.24rem;
|
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
@@ -172,18 +184,17 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.rule-box {
|
|
.rule-box {
|
|
|
- margin-top: 0.62rem;
|
|
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
- height: 7.6rem;
|
|
|
|
|
- padding: 0.3rem 0.4rem;
|
|
|
|
|
|
|
+ height: 7.8rem;
|
|
|
|
|
+ padding: 1.1rem 0.3rem 0.4rem 0.3rem;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.rule-box .rule {
|
|
.rule-box .rule {
|
|
|
- margin-top: 0.48rem;
|
|
|
|
|
- font-size: 0.28rem;
|
|
|
|
|
|
|
+ margin-top: 0.2rem;
|
|
|
|
|
+ font-size: 0.26rem;
|
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
|
- color: #333333;
|
|
|
|
|
- line-height: 0.46rem;
|
|
|
|
|
|
|
+ color: #FFFFFF;
|
|
|
|
|
+ line-height: 0.37rem;
|
|
|
letter-spacing: 0.013rem;
|
|
letter-spacing: 0.013rem;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -192,8 +203,9 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.isdisabled {
|
|
.isdisabled {
|
|
|
- background: #E3E7EE !important;
|
|
|
|
|
- color: #AAADB3 !important;
|
|
|
|
|
|
|
+ background: #F2AE45 !important;
|
|
|
|
|
+ color: #ffffff !important;
|
|
|
|
|
+ opacity: 0.3;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.notice-swipe {
|
|
.notice-swipe {
|
|
@@ -203,10 +215,18 @@
|
|
|
|
|
|
|
|
.top-notice {
|
|
.top-notice {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
- padding: 2rem 0.3rem 0 0.3rem;
|
|
|
|
|
|
|
+ padding: 3rem 0.3rem 0 0.3rem;
|
|
|
height: 0.82rem;
|
|
height: 0.82rem;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ .select-content{
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ bottom: 0.2rem;
|
|
|
|
|
+ color: #FFFFFF;
|
|
|
|
|
+ left: 50%;
|
|
|
|
|
+ transform: translateX(-50%);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
.van-notice-bar {
|
|
.van-notice-bar {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
height: 0.82rem;
|
|
height: 0.82rem;
|
|
@@ -253,13 +273,46 @@
|
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
|
color: #666666;
|
|
color: #666666;
|
|
|
}
|
|
}
|
|
|
|
|
+ .select-list{
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ }
|
|
|
|
|
+ .select-title{
|
|
|
|
|
+ margin-bottom: 0.3rem;
|
|
|
|
|
+ font-size: 0.36rem;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ }
|
|
|
|
|
+ .icon{
|
|
|
|
|
+ width: 1.21rem;
|
|
|
|
|
+ height: 1.21rem;
|
|
|
|
|
+ margin: 0 0.24rem;
|
|
|
|
|
+ }
|
|
|
|
|
+ .join-wrap{
|
|
|
|
|
+ background-color: #1F1A3A;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ }
|
|
|
|
|
+ .join{
|
|
|
|
|
+ width: 6.8rem;
|
|
|
|
|
+ height: 4.1rem;
|
|
|
|
|
+ }
|
|
|
|
|
+ .bottoms{
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ padding: 0.4rem 0;
|
|
|
|
|
+ }
|
|
|
|
|
+ .bottom{
|
|
|
|
|
+ width: 6.34rem;
|
|
|
|
|
+ height: 0.24rem;
|
|
|
|
|
+ }
|
|
|
</style>
|
|
</style>
|
|
|
</head>
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
<body>
|
|
|
<div id="app" v-cloak class="app container">
|
|
<div id="app" v-cloak class="app container">
|
|
|
<div class="top-banner">
|
|
<div class="top-banner">
|
|
|
- <img src="../static//offImg/hongbao.png" class="hongbao" alt="">
|
|
|
|
|
|
|
+ <!-- <img src="../static/offImg/hongbao.png" class="hongbao" alt=""> -->
|
|
|
|
|
+ <img src="../static/offImg/title.png" class="hongbao" alt="">
|
|
|
<div class="top-notice">
|
|
<div class="top-notice">
|
|
|
<van-notice-bar :scrollable="false">
|
|
<van-notice-bar :scrollable="false">
|
|
|
<van-swipe vertical class="notice-swipe" :autoplay="2000" :show-indicators="false">
|
|
<van-swipe vertical class="notice-swipe" :autoplay="2000" :show-indicators="false">
|
|
@@ -269,21 +322,30 @@
|
|
|
<p>{{item.sharerSurfaceName}}</p>
|
|
<p>{{item.sharerSurfaceName}}</p>
|
|
|
<p>已领取分享奖励</p>
|
|
<p>已领取分享奖励</p>
|
|
|
</van-swipe-item>
|
|
</van-swipe-item>
|
|
|
-
|
|
|
|
|
</van-swipe>
|
|
</van-swipe>
|
|
|
</van-notice-bar>
|
|
</van-notice-bar>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="bottom-btn">
|
|
|
|
|
- <div class="time-box" @click='goReward()' :class="{'no-start':actStatus==0}"></div>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <div class="select-content">
|
|
|
|
|
+ <div class="select-title">选择你要分享的内容</div>
|
|
|
|
|
+ <div class="select-list">
|
|
|
|
|
+ <div v-for="(item,index) in tagList" :key="index" @click="toDetail(item)">
|
|
|
|
|
+ <img :src="fileCenterApi + `/file-center/fileOperate/getImage?id=${item.cover}`" class="icon" alt="">
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <!-- <div class="bottom-btn">
|
|
|
|
|
+ <div class="time-box" @click='goReward()' :class="{'no-start':actStatus==0}"></div>
|
|
|
|
|
+ </div> -->
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="join-wrap">
|
|
|
|
|
+ <img src="../static/offImg/join.png" class="join" alt="">
|
|
|
</div>
|
|
</div>
|
|
|
<div class="list">
|
|
<div class="list">
|
|
|
<div class="nav-box">
|
|
<div class="nav-box">
|
|
|
<!-- <img src="../static/offImg/title-bg.png" alt=""></img> -->
|
|
<!-- <img src="../static/offImg/title-bg.png" alt=""></img> -->
|
|
|
- <div class="title-box">
|
|
|
|
|
|
|
+ <!-- <div class="title-box">
|
|
|
<div class="img-box">活动奖励</div>
|
|
<div class="img-box">活动奖励</div>
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div> -->
|
|
|
<div class="outer-box" v-if='rewardList&&rewardList.length>0'>
|
|
<div class="outer-box" v-if='rewardList&&rewardList.length>0'>
|
|
|
<van-list v-model="loading" :finished-text="finishedText" :finished="finished"
|
|
<van-list v-model="loading" :finished-text="finishedText" :finished="finished"
|
|
|
:immediate-check=false @load="onLoad">
|
|
:immediate-check=false @load="onLoad">
|
|
@@ -296,7 +358,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="right-nav">
|
|
<div class="right-nav">
|
|
|
- <p>{{item.phoneType === 'VIP'?'星动':item.phoneType === 'SVIP'?'星曜':'唔即'}}天卡</p>
|
|
|
|
|
|
|
+ <p>[{{item.phoneType === 'VIP'?'星动':item.phoneType === 'SVIP'?'星曜':'唔即'}}3天卡]</p>
|
|
|
<p class="btn" @click='goGetReward(item.id, item.phoneType)' v-if='item.receiveStatus==0'>领取</p>
|
|
<p class="btn" @click='goGetReward(item.id, item.phoneType)' v-if='item.receiveStatus==0'>领取</p>
|
|
|
<p class="btn isdisabled" v-if='item.receiveStatus==1'>已领取</p>
|
|
<p class="btn isdisabled" v-if='item.receiveStatus==1'>已领取</p>
|
|
|
|
|
|
|
@@ -314,18 +376,21 @@
|
|
|
|
|
|
|
|
<div class="rule-box">
|
|
<div class="rule-box">
|
|
|
<!-- <img src="../static/offImg/title-bg.png" alt=""></img> -->
|
|
<!-- <img src="../static/offImg/title-bg.png" alt=""></img> -->
|
|
|
- <div class="title-box">
|
|
|
|
|
|
|
+ <!-- <div class="title-box">
|
|
|
<div class="img-box">活动规则</div>
|
|
<div class="img-box">活动规则</div>
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div> -->
|
|
|
<div class="rule">
|
|
<div class="rule">
|
|
|
- <p>1.分享双子星攻略文章至微信好友/微信朋友圈/QQ,好友注册成功后,分享者即可获得3天{{phoneType === 'VIP'?'星动':phoneType === 'SVIP'?'星曜':'唔即'}}套餐时长,被分享者可获得{{phoneType === 'VIP'?'星动':phoneType === 'SVIP'?'星曜':'唔即'}}7天卡激活码。</p>
|
|
|
|
|
- <p>2.用户通过该分享链接获取的激活码,只针对新注册用户有效领取并兑换一次。</p>
|
|
|
|
|
- <p>3.分享者每日最多分享给10位好友领取激活码并获得注册奖励,且奖励为当日有效,奖励过期不补发。</p>
|
|
|
|
|
- <p>4.分享者若没有云机,需要先创建{{phoneType === 'VIP'?'星动':phoneType === 'SVIP'?'星曜':'唔即'}}云机才可继续领取奖励。</p>
|
|
|
|
|
- <p>5.新用户领取的激活码需在有效期内使用,若超过有效期则激活码失效。</p>
|
|
|
|
|
|
|
+ <p>1.分享双子星攻略文章至微信好友/微信朋友圈/QQ等,好友通过分享链接注册成功后,分享者即可获得3天{{phoneType === 'VIP'?'星动':phoneType === 'SVIP'?'星曜':'唔即'}}云手机时长,被分享者可获{{phoneType === 'VIP'?'星动':phoneType === 'SVIP'?'星曜':'唔即'}}云手机7天激活码。</p>
|
|
|
|
|
+ <p>2.用户通过该分享链接获取的激活码仅限新注册用户兑换。</p>
|
|
|
|
|
+ <p>3.分享者每日最多获得10位好友的注册奖励,且奖励当日有效,奖励过期失效后无法领取且不予补发。</p>
|
|
|
|
|
+ <p>4.分享者需拥有{{phoneType === 'VIP'?'星动':phoneType === 'SVIP'?'星曜':'唔即'}}云机(除试用机外)才可领取奖励,若无{{phoneType === 'VIP'?'星动':phoneType === 'SVIP'?'星曜':'唔即'}}云手机请先创建,创建后继续领取奖励。</p>
|
|
|
|
|
+ <p>5.新用户领取激活码需在有效期内使用(有效期为3天),若超过有效期则激活码失效。</p>
|
|
|
|
|
+ <p>6.本活动仅限真实有效用户参与,任何非正常获利手段经核查验证,官方将进行账户回收等惩罚措施。</p>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <!-- <div class="bottoms">
|
|
|
|
|
+ <img src="../static/offImg/bottom.png" class="bottom" alt="">
|
|
|
|
|
+ </div> -->
|
|
|
</div>
|
|
</div>
|
|
|
-
|
|
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
|
|
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
|
|
@@ -342,8 +407,6 @@
|
|
|
el: '#app',
|
|
el: '#app',
|
|
|
data: {
|
|
data: {
|
|
|
isshow: false,
|
|
isshow: false,
|
|
|
- token: GetRequest().token ? GetRequest().token :
|
|
|
|
|
- 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyYW5kb20iOiI3MDY1NSIsImNsaWVudCI6IjUiLCJleHAiOjE2NDExOTA0MzMsInVzZXJuYW1lX2FwcGxldCI6Im5naEN0MTYzMTYwNDY4OSJ9.cXj7Ks5XYCnGFANZ0uHAkDn8MJtWrMm4I3qqvikewGg',
|
|
|
|
|
rewardList: [],
|
|
rewardList: [],
|
|
|
queryParams: {
|
|
queryParams: {
|
|
|
pageNum: 1,
|
|
pageNum: 1,
|
|
@@ -362,16 +425,39 @@
|
|
|
phoneType: '',
|
|
phoneType: '',
|
|
|
marqueeList: [],
|
|
marqueeList: [],
|
|
|
timer: null,
|
|
timer: null,
|
|
|
|
|
+ tagList: []
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
|
this.getAwardPage(); //获取奖励列表
|
|
this.getAwardPage(); //获取奖励列表
|
|
|
|
|
+
|
|
|
},
|
|
},
|
|
|
mounted() {
|
|
mounted() {
|
|
|
this.getActDetailList(); //获取活动上下架
|
|
this.getActDetailList(); //获取活动上下架
|
|
|
this.getMarquee(); //跑马灯
|
|
this.getMarquee(); //跑马灯
|
|
|
this.goReward('look');
|
|
this.goReward('look');
|
|
|
|
|
+ this.getTagList();//获取标签列表
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ toDetail(item){
|
|
|
|
|
+ location.href = `./actFissionList.html?id=${item.id}&title=${encodeURI(item.tagName)}&token=${GetRequest().token}`;
|
|
|
|
|
+ },
|
|
|
|
|
+ getTagList(){
|
|
|
|
|
+ this.$toast.loading({
|
|
|
|
|
+ duration: 0,
|
|
|
|
|
+ message: '加载中...',
|
|
|
|
|
+ forbidClick: true,
|
|
|
|
|
+ loadingType: 'spinner',
|
|
|
|
|
+ });
|
|
|
|
|
+ // 获取标签列表
|
|
|
|
|
+ getTagList(GetRequest().token).then(res => {
|
|
|
|
|
+ this.$toast.clear();
|
|
|
|
|
+ if (res.status === 0) {
|
|
|
|
|
+ this.tagList = res.data;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.$toast(res.msg);
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
goReward(type) {
|
|
goReward(type) {
|
|
|
|
|
|
|
|
this.$toast.loading({
|
|
this.$toast.loading({
|
|
@@ -380,9 +466,10 @@
|
|
|
forbidClick: true,
|
|
forbidClick: true,
|
|
|
loadingType: 'spinner',
|
|
loadingType: 'spinner',
|
|
|
});
|
|
});
|
|
|
- getActDetailList(this.token).then(res => {
|
|
|
|
|
|
|
+ getActDetailList(GetRequest().token).then(res => {
|
|
|
this.$toast.clear();
|
|
this.$toast.clear();
|
|
|
if (res.status === 0) {
|
|
if (res.status === 0) {
|
|
|
|
|
+ console.log(type)
|
|
|
if(type === 'look'){
|
|
if(type === 'look'){
|
|
|
this.phoneType = res.data.phoneType;
|
|
this.phoneType = res.data.phoneType;
|
|
|
return
|
|
return
|
|
@@ -446,10 +533,14 @@
|
|
|
forbidClick: true,
|
|
forbidClick: true,
|
|
|
loadingType: 'spinner',
|
|
loadingType: 'spinner',
|
|
|
});
|
|
});
|
|
|
- getActDetailList(this.token).then(res => {
|
|
|
|
|
|
|
+ getActDetailList(GetRequest().token).then(res => {
|
|
|
this.$toast.clear();
|
|
this.$toast.clear();
|
|
|
if (res.status === 0) {
|
|
if (res.status === 0) {
|
|
|
this.actStatus = res.data.actStatus;
|
|
this.actStatus = res.data.actStatus;
|
|
|
|
|
+ if (this.actStatus == 0) {
|
|
|
|
|
+ this.$toast('活动已下架');
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
this.shareInfo = res.data;
|
|
this.shareInfo = res.data;
|
|
|
} else {
|
|
} else {
|
|
|
this.$toast(res.msg);
|
|
this.$toast(res.msg);
|
|
@@ -457,7 +548,7 @@
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
getAwardPage() { //获取活动列表
|
|
getAwardPage() { //获取活动列表
|
|
|
- getAwardPage(this.token, this.queryParams).then(res => {
|
|
|
|
|
|
|
+ getAwardPage(GetRequest().token, this.queryParams).then(res => {
|
|
|
if (res.status == 0) {
|
|
if (res.status == 0) {
|
|
|
this.loading = false //取消正在加载状态
|
|
this.loading = false //取消正在加载状态
|
|
|
let infolist = res.data.list;
|
|
let infolist = res.data.list;
|
|
@@ -507,7 +598,7 @@
|
|
|
},
|
|
},
|
|
|
goGetReward(id, phoneType) {
|
|
goGetReward(id, phoneType) {
|
|
|
this.stopManyClick(() => {
|
|
this.stopManyClick(() => {
|
|
|
- getCheck(this.token).then(res => {
|
|
|
|
|
|
|
+ getCheck(GetRequest().token).then(res => {
|
|
|
if (res.status === 0) {
|
|
if (res.status === 0) {
|
|
|
if (isAndroid) {
|
|
if (isAndroid) {
|
|
|
window.native.activatePhones(1, id, phoneType)
|
|
window.native.activatePhones(1, id, phoneType)
|