bug678
This commit is contained in:
parent
4d4eee27a4
commit
c3328494f5
|
@ -101,7 +101,7 @@
|
||||||
</div>
|
</div>
|
||||||
<!-- 立即兑换 -->
|
<!-- 立即兑换 -->
|
||||||
<div class="exchangeBtn"
|
<div class="exchangeBtn"
|
||||||
:class="(gstatus===1||(exchangeCommity.type===3&&gstatus===8))?'':'bottomBtn noexchangeBtn'"
|
:class="(gstatus===1||(exchangeCommity.period_type!=2 && exchangeCommity.period_type!=3&&exchangeCommity.type===3&&gstatus===8))?'':'bottomBtn noexchangeBtn'"
|
||||||
:style="{'background': bgcolor,'color':ftcolor}" @click="exchangeBtn()">
|
:style="{'background': bgcolor,'color':ftcolor}" @click="exchangeBtn()">
|
||||||
立即兑换
|
立即兑换
|
||||||
</div>
|
</div>
|
||||||
|
@ -512,7 +512,7 @@
|
||||||
/* 直冲、立减金商品状态为 1 时可兑换。
|
/* 直冲、立减金商品状态为 1 时可兑换。
|
||||||
* 红包商品状态为 1 8 时也可兑换
|
* 红包商品状态为 1 8 时也可兑换
|
||||||
*/
|
*/
|
||||||
if (gstatus == 1 || (row.type === 3 && [1, 8].includes(row.available))) {
|
if (gstatus == 1 || (row.period_type != 2 && row.period_type != 3 && row.type === 3 && [1, 8].includes(row.available))) {
|
||||||
// 跳转商品详情页面
|
// 跳转商品详情页面
|
||||||
if (this.showType == 1) { //白名单
|
if (this.showType == 1) { //白名单
|
||||||
localStorage.setItem('token', row.token);
|
localStorage.setItem('token', row.token);
|
||||||
|
@ -593,7 +593,7 @@
|
||||||
if (item.available === 1) {
|
if (item.available === 1) {
|
||||||
return true;
|
return true;
|
||||||
} else if (item.available === 8) {
|
} else if (item.available === 8) {
|
||||||
if (item.type === 3) {
|
if (item.type === 3 && item.period_type != 2 && item.period_type != 3) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -103,7 +103,7 @@
|
||||||
</div>
|
</div>
|
||||||
<!-- 立即兑换 -->
|
<!-- 立即兑换 -->
|
||||||
<div class="exchangeBtn"
|
<div class="exchangeBtn"
|
||||||
:class="(gstatus===1||(exchangeCommity.type===3&&gstatus===8))?'':'bottomBtn noexchangeBtn'"
|
:class="(gstatus===1||(exchangeCommity.period_type!=2 && exchangeCommity.period_type!=3&&exchangeCommity.type===3&&gstatus===8))?'':'bottomBtn noexchangeBtn'"
|
||||||
:style="{'background': bgcolor,'color':ftcolor}" @click="exchangeBtn()">
|
:style="{'background': bgcolor,'color':ftcolor}" @click="exchangeBtn()">
|
||||||
立即兑换
|
立即兑换
|
||||||
</div>
|
</div>
|
||||||
|
@ -506,7 +506,7 @@
|
||||||
/* 直冲、立减金商品状态为 1 时可兑换。
|
/* 直冲、立减金商品状态为 1 时可兑换。
|
||||||
* 红包商品状态为 1 8 时也可兑换
|
* 红包商品状态为 1 8 时也可兑换
|
||||||
*/
|
*/
|
||||||
if (gstatus == 1 || (row.type === 3 && [1, 8].includes(row.available))) {
|
if (gstatus == 1 || (row.period_type != 2 && row.period_type != 3 && row.type === 3 && [1, 8].includes(row.available))) {
|
||||||
// 跳转商品详情页面
|
// 跳转商品详情页面
|
||||||
if (this.showType == 1) { //白名单
|
if (this.showType == 1) { //白名单
|
||||||
localStorage.setItem('token', row.token);
|
localStorage.setItem('token', row.token);
|
||||||
|
@ -587,7 +587,7 @@
|
||||||
if (item.available === 1) {
|
if (item.available === 1) {
|
||||||
return true;
|
return true;
|
||||||
} else if (item.available === 8) {
|
} else if (item.available === 8) {
|
||||||
if (item.type === 3) {
|
if (item.type === 3 && item.period_type != 2 && item.period_type != 3) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
</div>
|
</div>
|
||||||
<!-- 立即兑换 -->
|
<!-- 立即兑换 -->
|
||||||
<div class="exchangeBtn"
|
<div class="exchangeBtn"
|
||||||
:class="(gstatus===1||(exchangeCommity.type===3&&gstatus===8))?'':'bottomBtn noexchangeBtn'"
|
:class="(gstatus===1||(exchangeCommity.period_type!=2 && exchangeCommity.period_type!=3&&exchangeCommity.type===3&&gstatus===8))?'':'bottomBtn noexchangeBtn'"
|
||||||
:style="{'background': bgcolor,'color':ftcolor}" @click="exchangeBtn()">
|
:style="{'background': bgcolor,'color':ftcolor}" @click="exchangeBtn()">
|
||||||
立即兑换
|
立即兑换
|
||||||
</div>
|
</div>
|
||||||
|
@ -527,7 +527,7 @@
|
||||||
/* 直冲、立减金商品状态为 1 时可兑换。
|
/* 直冲、立减金商品状态为 1 时可兑换。
|
||||||
* 红包商品状态为 1 8 时也可兑换
|
* 红包商品状态为 1 8 时也可兑换
|
||||||
*/
|
*/
|
||||||
if (gstatus == 1 || (row.type === 3 && [1, 8].includes(row.available))) {
|
if (gstatus == 1 || (row.period_type != 2 && row.period_type != 3 && row.type === 3 && [1, 8].includes(row.available))) {
|
||||||
// 跳转商品详情页面
|
// 跳转商品详情页面
|
||||||
if (this.showType == 1) { //白名单
|
if (this.showType == 1) { //白名单
|
||||||
localStorage.setItem('token', row.token);
|
localStorage.setItem('token', row.token);
|
||||||
|
@ -608,7 +608,7 @@
|
||||||
if (item.available === 1) {
|
if (item.available === 1) {
|
||||||
return true;
|
return true;
|
||||||
} else if (item.available === 8) {
|
} else if (item.available === 8) {
|
||||||
if (item.type === 3) {
|
if (item.type === 3 && item.period_type != 2 && item.period_type != 3) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue