Commit b17cdd58 by 林家欣

修改首页H5下标题超宽显示省略号

parent aaf0abf6
...@@ -334,9 +334,7 @@ ...@@ -334,9 +334,7 @@
// 超宽显示省略号 // 超宽显示省略号
@mixin ellipsis { @mixin ellipsis {
@media screen and (min-width: 992px){
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
}
} }
\ No newline at end of file
<template> <template>
<div class="list"> <div class="list">
<div v-for="(tmp, i) in list" :key="i" class="row" @click="handelMsg"> <div v-for="(tmp, i) in list" :key="i" class="row" @click="handelMsg">
<div class="col-lg-10 list-left"> <div class="col-9 col-lg-10 list-left">
<span></span> <span></span>
<span>{{tmp.title}}</span> <span :title="tmp.title">{{tmp.title}}</span>
</div> </div>
<div class="col-lg-2 list-right">{{tmp.time}}</div> <div class="col-3 col-lg-2 list-right">{{tmp.time}}</div>
</div> </div>
<div class="row"> <div class="row">
<div class="col"> <div class="col">
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div v-for="(tmp, i) in list" :key="i" class="row" @click="handelMsg"> <div v-for="(tmp, i) in list" :key="i" class="row" @click="handelMsg">
<div class="col li"> <div class="col li">
<span></span> <span></span>
<span>{{tmp.title}}</span> <span :title="tmp.title">{{tmp.title}}</span>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div v-for="(tmp, i) in list" :key="i" class="row" @click="handelMsg"> <div v-for="(tmp, i) in list" :key="i" class="row" @click="handelMsg">
<div class="col li"> <div class="col li">
<span></span> <span></span>
<span>{{tmp.name}}</span> <span :title="tmp.name">{{tmp.name}}</span>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div v-for="(tmp, i) in list" :key="i" class="row" @click="handelMsg"> <div v-for="(tmp, i) in list" :key="i" class="row" @click="handelMsg">
<div class="col li"> <div class="col li">
<span></span> <span></span>
<span>{{tmp.name}}</span> <span :title="tmp.name">{{tmp.name}}</span>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -118,7 +118,6 @@ ...@@ -118,7 +118,6 @@
</div> </div>
<!-- 业务大厅、定制服务 --> <!-- 业务大厅、定制服务 -->
<div class="container"> <div class="container">
<div class="padding30">
<div class="row"> <div class="row">
<div class="col-lg-6"> <div class="col-lg-6">
<div class="ywdt"> <div class="ywdt">
...@@ -342,7 +341,6 @@ ...@@ -342,7 +341,6 @@
</div> </div>
</div> </div>
</div> </div>
</div>
<!-- 商品全球身份证 --> <!-- 商品全球身份证 -->
<div class="spqqsfz"> <div class="spqqsfz">
<div class="container"> <div class="container">
...@@ -1165,8 +1163,7 @@ export default { ...@@ -1165,8 +1163,7 @@ export default {
&.slick-prev { &.slick-prev {
left: 0; left: 0;
&::before { &::before {
background: url("../../assets/image/home/prevArrow-hover.png") background: url("../../assets/image/home/prevArrow-hover.png") no-repeat;
no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
content: ""; content: "";
} }
...@@ -1183,8 +1180,7 @@ export default { ...@@ -1183,8 +1180,7 @@ export default {
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;
&::before { &::before {
background: url("../../assets/image/home/nextArrow-hover.png") background: url("../../assets/image/home/nextArrow-hover.png") no-repeat;
no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
content: ""; content: "";
} }
...@@ -1325,6 +1321,9 @@ export default { ...@@ -1325,6 +1321,9 @@ export default {
} }
} }
} }
.cate {
margin: 30px 0;
}
.ywzxdfgj { .ywzxdfgj {
padding: 30px 0; padding: 30px 0;
} }
...@@ -1339,17 +1338,25 @@ export default { ...@@ -1339,17 +1338,25 @@ export default {
.newsBanner { .newsBanner {
width: 90.5%; width: 90.5%;
height: 431px !important; height: 431px !important;
.newsBannerB {
.newsBanner-title {
font-size: 18px;
}
}
} }
.home-bottom-cont { .home-bottom-cont {
> div { > div {
width: 24.4%; width: 24.4%;
} }
} }
.spqqsfz {
margin-top: 30px;
.spqqsfz-cont-left { .spqqsfz-cont-left {
.spqqsfz-cont-left-tp { .spqqsfz-cont-left-tp {
position: absolute; position: absolute;
} }
} }
}
} }
@media screen and (max-width: 992px) { @media screen and (max-width: 992px) {
.banner { .banner {
...@@ -1358,6 +1365,16 @@ export default { ...@@ -1358,6 +1365,16 @@ export default {
line-height: 30px; line-height: 30px;
} }
} }
.newsBanner {
.newsBannerB {
.newsBanner-title {
font-size: 13px;
}
}
}
.cate {
margin: 20px 0;
}
.dzfwDialog-width { .dzfwDialog-width {
width: 140px; width: 140px;
margin: 0 auto; margin: 0 auto;
...@@ -1367,6 +1384,7 @@ export default { ...@@ -1367,6 +1384,7 @@ export default {
width: 120px; width: 120px;
} }
.spqqsfz { .spqqsfz {
margin-top: 20px;
.spqqsfz-cont-right { .spqqsfz-cont-right {
background: #e25020 !important; background: #e25020 !important;
} }
...@@ -1387,7 +1405,7 @@ export default { ...@@ -1387,7 +1405,7 @@ export default {
.banner-item { .banner-item {
height: 100%; height: 100%;
position: relative; position: relative;
.banner-tp{ .banner-tp {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
...@@ -1415,7 +1433,7 @@ export default { ...@@ -1415,7 +1433,7 @@ export default {
height: 37px; height: 37px;
display: flex; display: flex;
align-items: center; align-items: center;
background: #0E2C6B; background: #0e2c6b;
border-radius: 4px; border-radius: 4px;
font-size: 16px; font-size: 16px;
color: #ffffff; color: #ffffff;
...@@ -1424,19 +1442,19 @@ export default { ...@@ -1424,19 +1442,19 @@ export default {
margin-left: 18px; margin-left: 18px;
} }
&:hover { &:hover {
background: #061A4D; background: #061a4d;
img { img {
right: 17px; right: 17px;
} }
} }
&:focus { &:focus {
background: #0E2C6B; background: #0e2c6b;
img { img {
right: 20px; right: 20px;
} }
} }
&:active { &:active {
background: #061A4D; background: #061a4d;
img { img {
right: 17px; right: 17px;
} }
...@@ -1461,12 +1479,6 @@ export default { ...@@ -1461,12 +1479,6 @@ export default {
.padding18 { .padding18 {
padding: 18px 0; padding: 18px 0;
} }
.padding40 {
padding: 40px 0;
}
.padding30 {
padding: 30px 0;
}
.marginTop10 { .marginTop10 {
margin-top: 10px; margin-top: 10px;
} }
...@@ -1495,13 +1507,12 @@ export default { ...@@ -1495,13 +1507,12 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
.newsBanner-title { .newsBanner-title {
font-size: 18px; height: 50px;
height: 100%; width: 100%;
text-align: center;
line-height: 50px;
color: rgba(255, 255, 255, 1); color: rgba(255, 255, 255, 1);
display: flex; @include ellipsis;
align-items: center;
flex: 1;
justify-content: center;
} }
} }
} }
...@@ -1564,7 +1575,6 @@ export default { ...@@ -1564,7 +1575,6 @@ export default {
.cate { .cate {
color: #0e2c6b; color: #0e2c6b;
font-size: 18px; font-size: 18px;
margin-bottom: 30px;
font-weight: 600; font-weight: 600;
// font-family: PingFangSC-Medium, PingFang SC; // font-family: PingFangSC-Medium, PingFang SC;
} }
...@@ -1805,7 +1815,7 @@ export default { ...@@ -1805,7 +1815,7 @@ export default {
height: 41px; height: 41px;
display: flex; display: flex;
align-items: center; align-items: center;
background: #0E2C6B; background: #0e2c6b;
border-radius: 4px; border-radius: 4px;
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
...@@ -1814,19 +1824,19 @@ export default { ...@@ -1814,19 +1824,19 @@ export default {
margin-left: 18px; margin-left: 18px;
} }
&:hover { &:hover {
background: #061A4D; background: #061a4d;
img { img {
right: 17px; right: 17px;
} }
} }
&:active { &:active {
background: #061A4D; background: #061a4d;
img { img {
right: 17px; right: 17px;
} }
} }
&:focus { &:focus {
background: #0E2C6B; background: #0e2c6b;
img { img {
right: 20px; right: 20px;
} }
......
...@@ -91,6 +91,7 @@ export default { ...@@ -91,6 +91,7 @@ export default {
"吉林分中心", "吉林分中心",
"长春分中心", "长春分中心",
"黑龙江分中心", "黑龙江分中心",
"哈尔滨分中心",
], ],
}, },
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment