|
|
@@ -422,16 +422,16 @@
|
|
|
|
|
|
<div v-if='isshow&&topic!=null' style="margin: 0 auto;">
|
|
|
<div class="footer">
|
|
|
- <div class="download-btn" v-if="type == 2">
|
|
|
+ <div v-if="type == 1">
|
|
|
+ <img @click="share" src="../static/offImg/share_btn.png" class="share_btn" alt="" />
|
|
|
+ </div>
|
|
|
+ <div class="download-btn" v-else>
|
|
|
<div class="left-nav">
|
|
|
<p>激活码:</p>
|
|
|
<p>AS4*********SD3</p>
|
|
|
</div>
|
|
|
<div class="button-download" @click='copyHandle()'>点击复制并下载</div>
|
|
|
</div>
|
|
|
- <div v-else>
|
|
|
- <img @click="share" src="../static/offImg/share_btn.png" class="share_btn" alt="" />
|
|
|
- </div>
|
|
|
</div>
|
|
|
<div class="top-banner">
|
|
|
<van-notice-bar :scrollable="false">
|
|
|
@@ -646,25 +646,44 @@
|
|
|
|
|
|
//查看活动是否下架
|
|
|
getActDetailList() { //获取活动状态
|
|
|
- console.log(GetRequest().token)
|
|
|
- getActDetailList(GetRequest().token).then(res => {
|
|
|
- this.$toast.clear();
|
|
|
- if (res.status === 0) {
|
|
|
- this.phoneType = res.data.phoneType;
|
|
|
- this.shareInfo = res.data;
|
|
|
- if (res.data.actStatus == 1) {
|
|
|
- this.isshow = true;
|
|
|
- this.getStrategy();
|
|
|
+ if(!GetRequest().tagId){
|
|
|
+ getActDetailList(GetRequest().token).then(res => {
|
|
|
+ this.$toast.clear();
|
|
|
+ if (res.status === 0) {
|
|
|
+ this.phoneType = res.data.phoneType;
|
|
|
+ this.shareInfo = res.data;
|
|
|
+ if (res.data.actStatus == 1) {
|
|
|
+ this.isshow = true;
|
|
|
+ this.getStrategy();
|
|
|
+ } else {
|
|
|
+ this.isshow = false;
|
|
|
+ }
|
|
|
} else {
|
|
|
- this.isshow = false;
|
|
|
+ this.$toast(res.msg);
|
|
|
}
|
|
|
- } else {
|
|
|
- this.$toast(res.msg);
|
|
|
- }
|
|
|
- }).catch((error) => {
|
|
|
- console.log(error)
|
|
|
- this.$toast('网络异常');
|
|
|
- });
|
|
|
+ }).catch((error) => {
|
|
|
+ console.log(error)
|
|
|
+ this.$toast('网络异常');
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ getActDetail().then(res => {
|
|
|
+ this.$toast.clear();
|
|
|
+ if (res.status === 0) {
|
|
|
+ this.phoneType = res.data.phoneType;
|
|
|
+ if (res.data.actStatus == 1) {
|
|
|
+ this.isshow = true;
|
|
|
+ this.getStrategy();
|
|
|
+ } else {
|
|
|
+ this.isshow = false;
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ this.$toast(res.msg);
|
|
|
+ }
|
|
|
+ }).catch((error) => {
|
|
|
+ console.log(error)
|
|
|
+ this.$toast('网络异常');
|
|
|
+ });
|
|
|
+ }
|
|
|
},
|
|
|
getCheck() {
|
|
|
getEvantCheck(this.id).then(res => {
|