Authored by zhangxiaoru

全球购标签居中

... ... @@ -24,7 +24,11 @@
<span class="occupy"></span>
{{/if}}
<span class="brand-name">{{name}}</span>
{{#if brandId}}<span class="global"></span>{{/if}}
{{#if brandId}}
<div class="global-box">
<span class="global"></span>
</div>
{{/if}}
<span class="entry">
进入店铺
<i class="iconfont">&#xe614;</i>
... ...
... ... @@ -98,9 +98,7 @@
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: inline-block;
/* position: absolute; */
float: left;
}
.brand-thumb {
... ... @@ -118,6 +116,15 @@
display: inline-block;
}
.global-box {
margin-left: 10px;
height: 80px;
width: 92px;
display: flex;
align-items: center;
float: left;
}
.global {
background-image: resolve("product/global.png");
display: inline-block;
... ... @@ -125,9 +132,6 @@
height: 34px;
background-size: 100%;
background-repeat: no-repeat;
position: relative;
top: -30%;
margin-left: 10px;
}
.entry {
... ...