|
@@ -88,7 +88,6 @@
|
|
|
<div class="picture">
|
|
|
<img v-if="item.product && item.product.image"
|
|
|
:src="item.product.image" />
|
|
|
- <!-- <img v-else :src="item.productInfo.image" /> -->
|
|
|
</div>
|
|
|
<div class="text invalid">
|
|
|
<div class="name line1">
|
|
@@ -100,7 +99,15 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
+ <div v-if="!invalidList.length && !cartList.length"
|
|
|
+ class="noCart acea-row row-center-wrapper">
|
|
|
+ <div>
|
|
|
+ <div class="picture">
|
|
|
+ <img src="@/assets/images/no-cart.png" />
|
|
|
+ </div>
|
|
|
+ <div class="tip">暂无商品,快去添加吧~</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="footer">
|
|
|
<div class="left">
|
|
@@ -578,8 +585,7 @@
|
|
|
this.createOrder.is_price = 0;
|
|
|
this.activityFrom.type = 0;
|
|
|
this.goodFrom.cate_id = "";
|
|
|
- console.log("kk7")
|
|
|
- this.invalidList = []
|
|
|
+ this.invalidList = [];
|
|
|
this.computedServe()
|
|
|
this.formItem.prices = 0
|
|
|
this.payInfo = {}
|
|
@@ -2213,4 +2219,25 @@
|
|
|
border-radius: 10px;
|
|
|
}
|
|
|
}
|
|
|
+ .noCart {
|
|
|
+ height: 100%;
|
|
|
+ display: flex;
|
|
|
+
|
|
|
+ .tip {
|
|
|
+ text-align: center;
|
|
|
+ color: #ccc;
|
|
|
+ font-size: 14px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .picture {
|
|
|
+ width: 200px;
|
|
|
+ height: 140px;
|
|
|
+ margin: 20px 160px;
|
|
|
+
|
|
|
+ img {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
</style>
|