|
|
@@ -279,14 +279,14 @@
|
|
|
justify-content: center;
|
|
|
}
|
|
|
.select-title{
|
|
|
- margin-bottom: 0.2rem;
|
|
|
+ margin-bottom: 0.3rem;
|
|
|
font-size: 0.36rem;
|
|
|
text-align: center;
|
|
|
}
|
|
|
.icon{
|
|
|
- width: 1.66rem;
|
|
|
- height: 1.66rem;
|
|
|
- margin: 0 0.1rem;
|
|
|
+ width: 1.21rem;
|
|
|
+ height: 1.21rem;
|
|
|
+ margin: 0 0.24rem;
|
|
|
}
|
|
|
.join-wrap{
|
|
|
background-color: #1F1A3A;
|
|
|
@@ -455,9 +455,10 @@
|
|
|
forbidClick: true,
|
|
|
loadingType: 'spinner',
|
|
|
});
|
|
|
- getActDetailList(this.token).then(res => {
|
|
|
+ getActDetailList(GetRequest().token).then(res => {
|
|
|
this.$toast.clear();
|
|
|
if (res.status === 0) {
|
|
|
+ console.log(type)
|
|
|
if(type === 'look'){
|
|
|
this.phoneType = res.data.phoneType;
|
|
|
return
|
|
|
@@ -465,6 +466,7 @@
|
|
|
this.actStatus = res.data.actStatus;
|
|
|
this.shareInfo = res.data;
|
|
|
if (this.actStatus != 1) {
|
|
|
+ console.log(111111111)
|
|
|
this.$toast('活动已下架');
|
|
|
return
|
|
|
}
|
|
|
@@ -521,9 +523,13 @@
|
|
|
forbidClick: true,
|
|
|
loadingType: 'spinner',
|
|
|
});
|
|
|
- getActDetailList(this.token).then(res => {
|
|
|
+ getActDetailList(GetRequest().token).then(res => {
|
|
|
this.$toast.clear();
|
|
|
if (res.status === 0) {
|
|
|
+ if (this.actStatus != 1) {
|
|
|
+ this.$toast('活动已下架');
|
|
|
+ return
|
|
|
+ }
|
|
|
this.actStatus = res.data.actStatus;
|
|
|
this.shareInfo = res.data;
|
|
|
} else {
|
|
|
@@ -532,7 +538,7 @@
|
|
|
})
|
|
|
},
|
|
|
getAwardPage() { //获取活动列表
|
|
|
- getAwardPage(this.token, this.queryParams).then(res => {
|
|
|
+ getAwardPage(GetRequest().token, this.queryParams).then(res => {
|
|
|
if (res.status == 0) {
|
|
|
this.loading = false //取消正在加载状态
|
|
|
let infolist = res.data.list;
|
|
|
@@ -582,7 +588,7 @@
|
|
|
},
|
|
|
goGetReward(id, phoneType) {
|
|
|
this.stopManyClick(() => {
|
|
|
- getCheck(this.token).then(res => {
|
|
|
+ getCheck(GetRequest().token).then(res => {
|
|
|
if (res.status === 0) {
|
|
|
if (isAndroid) {
|
|
|
window.native.activatePhones(1, id, phoneType)
|