|
@@ -375,7 +375,7 @@
|
375
|
375
|
</ul>
|
376
|
376
|
<div class="navigation__right">
|
377
|
377
|
<button
|
378
|
|
- v-if="user.login"
|
|
378
|
+ v-if="user.login && goods.totalInventory > 0"
|
379
|
379
|
class="button"
|
380
|
380
|
@click="openSpec('cart', $event)"
|
381
|
381
|
>
|
|
@@ -384,14 +384,14 @@
|
384
|
384
|
</div>
|
385
|
385
|
</button>
|
386
|
386
|
<button
|
387
|
|
- v-if="user.login"
|
|
387
|
+ v-if="user.login && goods.totalInventory > 0"
|
388
|
388
|
class="button"
|
389
|
389
|
@click="openSpec('buy', $event)"
|
390
|
390
|
>
|
391
|
391
|
<div class="navigation__btn">立即购买</div>
|
392
|
392
|
</button>
|
393
|
393
|
<button
|
394
|
|
- v-if="!user.login"
|
|
394
|
+ v-if="!user.login && goods.totalInventory > 0"
|
395
|
395
|
class="button"
|
396
|
396
|
open-type="getUserInfo"
|
397
|
397
|
lang="zh_CN"
|
|
@@ -402,7 +402,7 @@
|
402
|
402
|
</div>
|
403
|
403
|
</button>
|
404
|
404
|
<button
|
405
|
|
- v-if="!user.login"
|
|
405
|
+ v-if="!user.login && goods.totalInventory > 0"
|
406
|
406
|
class="button"
|
407
|
407
|
open-type="getUserInfo"
|
408
|
408
|
lang="zh_CN"
|