|
@@ -7,7 +7,7 @@
|
|
|
<!-- {{ L["您好,欢迎来到"] }}-->
|
|
|
{{ configInfo.data.basic_site_name }}
|
|
|
</span>
|
|
|
- <div v-show="loginFlag">
|
|
|
+ <div v-show="loginFlag" class="login_info">
|
|
|
<span class="register h1" @click="goToByPush('/member/home')" >{{
|
|
|
memberInfo.memberNickName || memberInfo.memberName
|
|
|
}}</span>
|
|
@@ -16,7 +16,7 @@
|
|
|
>
|
|
|
</div>
|
|
|
|
|
|
- <div v-show="!loginFlag && !isRegisterStatus">
|
|
|
+ <div v-show="!loginFlag && !isRegisterStatus" class="login_info">
|
|
|
<span class="register h1" @click="goToByPush('/login')">{{
|
|
|
L["登录"]
|
|
|
}}</span>
|
|
@@ -25,7 +25,7 @@
|
|
|
}}</span>
|
|
|
</div>
|
|
|
|
|
|
- <div>
|
|
|
+ <div class="supplier-wrap">
|
|
|
<span class="supplier h1" @click="goSupplierUrl()"
|
|
|
>{{ L['供应商'] }}</span
|
|
|
>
|
|
@@ -191,19 +191,22 @@ $colorMain: #e2231a !default; //主色、文字选中、搜索
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
- padding-bottom: 10px;
|
|
|
+ // padding-bottom: 10px;
|
|
|
+ padding: 10px 240px;
|
|
|
// padding-top: 10px;
|
|
|
- padding-left: 150px;
|
|
|
border-bottom: 1px solid #dbdbdb;
|
|
|
|
|
|
.header {
|
|
|
width: 100%;
|
|
|
height: 33px;
|
|
|
display: flex;
|
|
|
- justify-content: space-around;
|
|
|
align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
|
|
|
.header_left {
|
|
|
+ flex: 1;
|
|
|
+ white-space: nowrap;
|
|
|
+ // overflow: hidden;
|
|
|
height: 100%;
|
|
|
font-weight: bold;
|
|
|
font-size: 14px;
|
|
@@ -211,14 +214,33 @@ $colorMain: #e2231a !default; //主色、文字选中、搜索
|
|
|
line-height: 36px;
|
|
|
display: flex;
|
|
|
|
|
|
+ .supplier-wrap {
|
|
|
+ min-width: 40px;
|
|
|
+ white-space: nowrap;
|
|
|
+ }
|
|
|
+
|
|
|
+ .login_info {
|
|
|
+ white-space: nowrap;
|
|
|
+ }
|
|
|
+
|
|
|
.hello {
|
|
|
+ max-width: 300px;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ overflow: hidden;
|
|
|
margin-right: 20px;
|
|
|
-
|
|
|
+ padding-left: 20px;
|
|
|
}
|
|
|
|
|
|
.h1 {
|
|
|
- margin: 0 5px;
|
|
|
- padding: 5px 10px;
|
|
|
+ display: inline-block;
|
|
|
+ height: 100%;
|
|
|
+ min-width: 40px;
|
|
|
+ max-width: 200px;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ overflow: hidden;
|
|
|
+ // margin: 0 5px;
|
|
|
+ text-align: center;
|
|
|
+ padding: 0 10px;
|
|
|
cursor: pointer;
|
|
|
|
|
|
&:hover {
|
|
@@ -229,13 +251,18 @@ $colorMain: #e2231a !default; //主色、文字选中、搜索
|
|
|
}
|
|
|
|
|
|
.header_right {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row-reverse;
|
|
|
+ flex: 1;
|
|
|
+ // overflow: hidden;
|
|
|
+ white-space: nowrap;
|
|
|
height: 100%;
|
|
|
font-weight: 400;
|
|
|
font-size: 14px;
|
|
|
color: #282E30;
|
|
|
|
|
|
ul {
|
|
|
- width: 100%;
|
|
|
+ // width: 100%;
|
|
|
height: 100%;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
@@ -249,12 +276,13 @@ $colorMain: #e2231a !default; //主色、文字选中、搜索
|
|
|
}
|
|
|
|
|
|
li {
|
|
|
- float: left;
|
|
|
- text-align: center;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ min-width: 40px;
|
|
|
+ white-space: nowrap;
|
|
|
border-right: 1px solid #ddd;
|
|
|
padding: 0 10px;
|
|
|
- height: 33px;
|
|
|
- line-height: 33px;
|
|
|
.li_item {
|
|
|
position: relative;
|
|
|
cursor: pointer;
|
|
@@ -292,7 +320,7 @@ $colorMain: #e2231a !default; //主色、文字选中、搜索
|
|
|
}
|
|
|
|
|
|
&:before {
|
|
|
- top: 16px;
|
|
|
+ top: 8px;
|
|
|
border-top: 5px solid #888;
|
|
|
}
|
|
|
|