|
|
@ -76,7 +76,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="con" |
|
|
|
v-if="item.state == 0 && isOrder" |
|
|
|
v-if="item.state == 0 && userInfo.money < item.price" |
|
|
|
style="margin-top: 10rpx; |
|
|
|
color: #f40;font-weight: 900;font-size: 28rpx;"> |
|
|
|
<view style="flex: 1;"> |
|
|
@ -164,14 +164,6 @@ |
|
|
|
parseInt(localStorage.getItem('orderIndex')) : 0 |
|
|
|
localStorage.removeItem('orderIndex') |
|
|
|
}, |
|
|
|
computed : { |
|
|
|
isOrder(){ |
|
|
|
if(this.userInfo.isOpen == 'Y' && |
|
|
|
this.userInfo.orderNum == this.userInfo.encourageNum + 1){ |
|
|
|
return true |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
getUserInfo() { |
|
|
|
this.request('userInfo').then(res => { |
|
|
|