header购物车样式调整

master
mabo 2021-05-17 11:34:10 +08:00
parent 182a77f0cb
commit 25690e86e7
1 changed files with 4 additions and 4 deletions

View File

@ -51,8 +51,8 @@
</DropdownMenu> </DropdownMenu>
</Dropdown> </Dropdown>
</li> </li>
<li class="hover-color" @click="goUserCenter('home/MyOrder')"><span class="nav-item">我的订单</span></li> <li class="hover-color" @click="goUserCenter('/home/MyOrder')"><span class="nav-item">我的订单</span></li>
<li class="hover-color" @click="goUserCenter('home/MyTracks')"><span class="nav-item">我的足迹</span></li> <li class="hover-color" @click="goUserCenter('/home/MyTracks')"><span class="nav-item">我的足迹</span></li>
<li v-if="$route.name !== 'Cart'" style="position:relative;" @mouseenter="getCartList"> <li v-if="$route.name !== 'Cart'" style="position:relative;" @mouseenter="getCartList">
<i class="cart-badge" v-show="cartNum">{{cartNum < 100 ? cartNum : '99'}}</i> <i class="cart-badge" v-show="cartNum">{{cartNum < 100 ? cartNum : '99'}}</i>
<Dropdown placement="bottom-start"> <Dropdown placement="bottom-start">
@ -83,7 +83,7 @@
</div> </div>
<div class="shopping-cart-info"> <div class="shopping-cart-info">
<div class="shopping-cart-title "> <div class="shopping-cart-title ">
<p class="hover-pointer goods-title">{{ item.goodsSku.goodsName }}</p> <p class="hover-pointer goods-title ellipsis">{{ item.goodsSku.goodsName }}</p>
</div> </div>
<div class="shopping-cart-detail"> <div class="shopping-cart-detail">
<p> <p>
@ -303,7 +303,7 @@ export default {
.shopping-cart-list { .shopping-cart-list {
padding: 10px 15px; padding: 10px 15px;
box-sizing: border-box; box-sizing: border-box;
height: 300px; max-height: 300px;
overflow: scroll; overflow: scroll;
} }
.shopping-cart-box { .shopping-cart-box {