| | |
| | | placeholder="请输入关键词" |
| | | v-model="keyWord" |
| | | @focus="showInputBox(true)" |
| | | :class="{ Unlogin: !userInfo }" |
| | | > |
| | | <div class="iconList" slot="suffix"> |
| | | <i class="search iconfont" v-if="!isShow"></i> |
| | |
| | | <div class="label">余额</div> |
| | | <div class="content"> |
| | | <span class="button">充值</span> |
| | | <span class="number">¥4900.82</span> |
| | | <span class="number">¥0</span> |
| | | </div> |
| | | </li> |
| | | |
| | |
| | | </li> |
| | | |
| | | <li> |
| | | <div class="label">订单管理</div> |
| | | <div class="label"> |
| | | <router-link to="/personalCenter">订单管理</router-link> |
| | | </div> |
| | | </li> |
| | | |
| | | <li> |
| | |
| | | </div> |
| | | |
| | | <!-- 输入下拉框 --> |
| | | <div class="inputBox" v-if="isShowBox"> |
| | | <div class="inputBox" :class="{ Unlogin: !userInfo }" v-if="isShowBox"> |
| | | <div class="hotKey"> |
| | | <div class="title">热门搜索</div> |
| | | <ul class="keyCard"> |
| | |
| | | right: 88px; |
| | | width: 300px; |
| | | background-color: #fff; |
| | | |
| | | &.Unlogin { |
| | | right: 158px; |
| | | } |
| | | |
| | | ::v-deep input { |
| | | width: 300px; |
| | | background-color: #fff; |
| | |
| | | position: absolute; |
| | | top: 62px; |
| | | right: 88px; |
| | | // right: -158px; |
| | | padding: 12px 20px 8px 20px; |
| | | width: 300px; |
| | | background-color: #fff; |
| | | border-top: 1px solid rgb(204, 204, 204); |
| | | z-index: 4; |
| | | |
| | | &.Unlogin { |
| | | top: 52px; |
| | | right: 158px; |
| | | } |
| | | |
| | | .hotKey, |
| | | .historyKey { |
| | | margin-top: 12px; |