Commit d4641233 by Tang

Merge remote-tracking branch 'origin/master'

parents 8c183517 0f8027f1
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<div class="container d-none d-xl-block d-lg-block"> <div class="container d-none d-xl-block d-lg-block">
<div class="top-banner"> <div class="top-banner">
<div>全球商业语言</div> <div>全球商业语言</div>
<div class="top-banner-item tb-hover">咨询电话:400-7000-690</div>
<div class="top-banner-item language"> <div class="top-banner-item language">
<el-dropdown class="language-dropdown"> <el-dropdown class="language-dropdown">
<span class="el-dropdown-link"> <span class="el-dropdown-link">
...@@ -14,6 +13,7 @@ ...@@ -14,6 +13,7 @@
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</div> </div>
<div class="top-banner-item tb-hover">咨询电话:400-7000-690</div>
<div class="top-banner-item"> <div class="top-banner-item">
<img src="../../assets/image/head/wx.png" alt="" /> <img src="../../assets/image/head/wx.png" alt="" />
<a class="tb-hover" target="_blank" href="/gs1cnweixin">官方微信</a> <a class="tb-hover" target="_blank" href="/gs1cnweixin">官方微信</a>
......
...@@ -10,7 +10,7 @@ import "./assets/css/layout.scss"; ...@@ -10,7 +10,7 @@ import "./assets/css/layout.scss";
import "bootstrap/dist/js/bootstrap.min.js"; import "bootstrap/dist/js/bootstrap.min.js";
import "./plugins/element.js"; import "./plugins/element.js";
import "./plugins/qrcode.js"; import "./plugins/qrcode.js";
// import "./assets/css/element-variables.scss"; import "./assets/css/element-variables.scss";
import GsTable from './components/table/index' import GsTable from './components/table/index'
// 百度地图 // 百度地图
......
...@@ -192,10 +192,12 @@ export default { ...@@ -192,10 +192,12 @@ export default {
.nav-link { .nav-link {
border: 0; border: 0;
color: #454545; color: #454545;
font-size: 15px;
&.active, &.active,
&:hover { &:hover {
border-bottom: 3px solid #f26335; border-bottom: 3px solid #f26335;
color: #04408d; color: #04408d;
font-weight: bold;
} }
} }
} }
......
...@@ -119,10 +119,12 @@ export default { ...@@ -119,10 +119,12 @@ export default {
.nav-link { .nav-link {
border: 0; border: 0;
color: #454545; color: #454545;
font-size: 15px;
&.active, &.active,
&:hover { &:hover {
border-bottom: 3px solid #f26335; border-bottom: 3px solid #f26335;
color: #04408d; color: #04408d;
font-weight: bold;
} }
} }
} }
......
...@@ -24,6 +24,8 @@ export default { ...@@ -24,6 +24,8 @@ export default {
border-bottom: 1px dashed #c5d8ee; border-bottom: 1px dashed #c5d8ee;
padding: 20px 0; padding: 20px 0;
margin: 0; margin: 0;
font-size: 14px;
color: #454545;
.list-left { .list-left {
flex: 1; flex: 1;
display: flex; display: flex;
......
...@@ -46,6 +46,7 @@ export default { ...@@ -46,6 +46,7 @@ export default {
padding: 20px 0; padding: 20px 0;
margin: 0; margin: 0;
border-bottom: 1px solid #E9E9E9; border-bottom: 1px solid #E9E9E9;
font-size: 13px;
} }
} }
} }
......
<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-8 list-left"> <div class="col-lg-10 list-left">
<span></span> <span></span>
<span>{{tmp.title}}</span> <span>{{tmp.title}}</span>
</div> </div>
<div class="col-lg-4 list-right">{{tmp.time}}</div> <div class="col-lg-2 list-right">{{tmp.time}}</div>
</div> </div>
<div class="row"> <div class="row">
<div class="col"> <div class="col">
...@@ -36,7 +36,7 @@ export default { ...@@ -36,7 +36,7 @@ export default {
.row { .row {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
padding: 8px 0; padding: 11px 0;
margin: 0; margin: 0;
cursor: pointer; cursor: pointer;
.list-left { .list-left {
...@@ -72,17 +72,27 @@ export default { ...@@ -72,17 +72,27 @@ export default {
height: 35px; height: 35px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center;
cursor: pointer; cursor: pointer;
background: #F26335; background: #F26335;
border-radius: 4px; border-radius: 4px;
position: relative;
&:hover{
background: #A82C04;
img{
right: 14px;
}
}
span{ span{
color: #fff; color: #fff;
font-size: 14px; font-size: 14px;
margin-left: 20px;
// font-family: PingFangSC-Regular, PingFang SC; // font-family: PingFangSC-Regular, PingFang SC;
} }
img{ img{
margin-left: 10px; position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
} }
} }
} }
......
...@@ -7,19 +7,19 @@ ...@@ -7,19 +7,19 @@
<div class="banner-item"> <div class="banner-item">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-lg-8 carousel-caption-left"> <div class="col-lg-7 carousel-caption-left">
<div class="carousel-title">{{ el.title }}</div> <div class="carousel-title">{{ el.title }}</div>
<p class="carousel-note"> <p class="carousel-note">
{{ el.brief }} {{ el.brief }}
</p> </p>
<button class="carousel-btn" @click="learnMore(i)"> <button class="carousel-btn" @click="learnMore(i)">
了解更多<img <span>了解更多</span><img
src="../../assets/image/home/more-arrow.png" src="../../assets/image/home/more-arrow.png"
alt="" alt=""
/> />
</button> </button>
</div> </div>
<div class="col-4 carousel-caption-right d-lg-block"> <div class="col-5 carousel-caption-right d-lg-block">
<img :src="el.picIndexPath" alt="" /> <img :src="el.picIndexPath" alt="" />
</div> </div>
</div> </div>
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
<template #prevArrow> <template #prevArrow>
<div class="custom-arrow"></div> <div class="custom-arrow"></div>
</template> </template>
<template #customPaging> <template #customPaging>
<div class="custom-dot"></div> <div class="custom-dot"></div>
</template> </template>
...@@ -39,7 +38,7 @@ ...@@ -39,7 +38,7 @@
</VueSlickCarousel> </VueSlickCarousel>
</div> </div>
<!-- 要闻、中心、地方、国际 --> <!-- 要闻、中心、地方、国际 -->
<div class="bgWhite padding40"> <div class="bgWhite ywzxdfgj">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-lg-6"> <div class="col-lg-6">
...@@ -360,10 +359,10 @@ ...@@ -360,10 +359,10 @@
</div> </div>
</div> </div>
<div class="spqqsfz-cont row"> <div class="spqqsfz-cont row">
<div class="spqqsfz-cont-left col-lg-3"> <div class="spqqsfz-cont-left col-lg-2">
<img :src="spqqsfz.surl" alt="" /> <div class="spqqsfz-cont-left-tp"><img :src="spqqsfz.surl" alt="" /></div>
</div> </div>
<div class="spqqsfz-cont-right col-lg-9"> <div class="spqqsfz-cont-right col-lg-10">
<!-- <img src="../../assets/image/home/spqqsfz-bj2.png" alt="" /> --> <!-- <img src="../../assets/image/home/spqqsfz-bj2.png" alt="" /> -->
<div class="right-cont"> <div class="right-cont">
<div class="row"> <div class="row">
...@@ -383,7 +382,7 @@ ...@@ -383,7 +382,7 @@
<div class="row"> <div class="row">
<div class="col offset-2 offset-lg-3"> <div class="col offset-2 offset-lg-3">
<button class="spqqsfz-btn" @click="spqqsfzHandelClick"> <button class="spqqsfz-btn" @click="spqqsfzHandelClick">
更多商品信息<img <span>更多商品信息</span><img
src="../../assets/image/home/more-arrow.png" src="../../assets/image/home/more-arrow.png"
alt="" alt=""
/> />
...@@ -1009,12 +1008,14 @@ export default { ...@@ -1009,12 +1008,14 @@ export default {
}, },
// 商品全球身份证 // 商品全球身份证
async homeNewGtin() { async homeNewGtin() {
console.log(process.env, 'process.env'); console.log(process.env, "process.env");
this.$http.get(`${process.env.VUE_APP_GDS_URL}/Data/NewGtin`).then((res) => { this.$http
res.body.murl = `http://data-studio.gds.org.cn/${res.body.murl}`; .get(`${process.env.VUE_APP_GDS_URL}/Data/NewGtin`)
res.body.surl = `http://data-studio.gds.org.cn/${res.body.surl}`; .then((res) => {
this.spqqsfz = res.body; res.body.murl = `http://data-studio.gds.org.cn/${res.body.murl}`;
}); res.body.surl = `http://data-studio.gds.org.cn/${res.body.surl}`;
this.spqqsfz = res.body;
});
}, },
// 党建文化新闻列表 // 党建文化新闻列表
async homeGet4PartyTopNews() { async homeGet4PartyTopNews() {
...@@ -1208,12 +1209,18 @@ export default { ...@@ -1208,12 +1209,18 @@ export default {
.slick-arrow { .slick-arrow {
margin: 0 10px; margin: 0 10px;
&.slick-prev { &.slick-prev {
top: auto;
bottom: 25px;
transform: translate(0, 0);
&::before { &::before {
width: 10px; width: 10px;
height: 18px; height: 18px;
} }
} }
&.slick-next { &.slick-next {
top: auto;
bottom: 25px;
transform: translate(0, 0);
&::before { &::before {
width: 10px; width: 10px;
height: 18px; height: 18px;
...@@ -1222,9 +1229,13 @@ export default { ...@@ -1222,9 +1229,13 @@ export default {
} }
.slick-dots { .slick-dots {
bottom: 25px !important; bottom: 25px !important;
display: flex;
align-items: center;
justify-content: center;
height: 20px;
li { li {
width: 8px; width: 10px;
height: 8px; height: 10px;
&.slick-active { &.slick-active {
.custom-dot { .custom-dot {
background: #ffffff; background: #ffffff;
...@@ -1272,6 +1283,8 @@ export default { ...@@ -1272,6 +1283,8 @@ export default {
} }
.smallImages { .smallImages {
.slick-arrow { .slick-arrow {
width: 24px;
height: 50px;
margin: 0 10px; margin: 0 10px;
&.slick-prev { &.slick-prev {
&::before { &::before {
...@@ -1291,9 +1304,20 @@ export default { ...@@ -1291,9 +1304,20 @@ export default {
@media screen and (min-width: 992px) { @media screen and (min-width: 992px) {
.banner { .banner {
.carousel-title { .carousel-title {
font-size: 50px; font-size: 36px;
line-height: 60px; line-height: 60px;
} }
.slick-arrow {
&.slick-prev {
left: 44%;
}
&.slick-next {
right: 44%;
}
}
}
.ywzxdfgj{
padding: 30px 0;
} }
.dzfwDialog-width { .dzfwDialog-width {
width: 980px; width: 980px;
...@@ -1304,16 +1328,22 @@ export default { ...@@ -1304,16 +1328,22 @@ export default {
width: auto; width: auto;
} }
.newsBanner { .newsBanner {
height: 450px !important; width: 90.5%;
height: 431px !important;
} }
.home-bottom-cont { .home-bottom-cont {
> div { > div {
width: 24.4%; width: 24.4%;
} }
} }
.spqqsfz-cont-left{
.spqqsfz-cont-left-tp{
position: absolute;
}
}
} }
@media screen and (max-width: 992px) { @media screen and (max-width: 992px) {
.banner { .banner {
.carousel-title { .carousel-title {
font-size: 25px; font-size: 25px;
line-height: 30px; line-height: 30px;
...@@ -1344,9 +1374,9 @@ export default { ...@@ -1344,9 +1374,9 @@ export default {
.banner { .banner {
height: 420px; height: 420px;
position: relative; position: relative;
background: #f26335;
.banner-item { .banner-item {
height: 100%; height: 100%;
background: #f26335;
.container, .container,
.row { .row {
height: 100%; height: 100%;
...@@ -1369,20 +1399,32 @@ export default { ...@@ -1369,20 +1399,32 @@ export default {
height: 37px; height: 37px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center;
background: #0e2c6b; background: #0e2c6b;
border-radius: 4px; border-radius: 4px;
font-size: 16px; font-size: 16px;
color: #ffffff; color: #ffffff;
position: relative;
span{
margin-left: 18px;
}
&:hover{
background: #061A4D;
img{
right: 10px;
}
}
img { img {
margin-left: 10px; position: absolute;
right: 15px;
top: 50%;
transform: translateY(-50%);
} }
} }
} }
.carousel-caption-right { .carousel-caption-right {
display: none; display: none;
img { img {
// width: 100%; width: 100%;
height: 100%; height: 100%;
} }
} }
...@@ -1431,6 +1473,7 @@ export default { ...@@ -1431,6 +1473,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
flex: 1; flex: 1;
justify-content: center;
} }
} }
} }
...@@ -1552,8 +1595,12 @@ export default { ...@@ -1552,8 +1595,12 @@ export default {
text-align: center; text-align: center;
} }
.ywdt-tp { .ywdt-tp {
margin-bottom: 20px; margin-bottom: 14px;
cursor: pointer; cursor: pointer;
height: 38px;
display: flex;
align-items: center;
justify-content: center;
} }
.ywdt-bt { .ywdt-bt {
color: #0e2c6b; color: #0e2c6b;
...@@ -1599,17 +1646,23 @@ export default { ...@@ -1599,17 +1646,23 @@ export default {
.dzfw-border { .dzfw-border {
text-align: center; text-align: center;
// padding: 25px 0; // padding: 25px 0;
height: 133px; height: 134.8px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
border-top: 1px solid #f0f5fa; border-top: 1px solid #f0f5fa;
} }
.dzfw-tp{
height: 40px;
display: flex;
align-items: center;
justify-content: center;
}
.dzfw-bt { .dzfw-bt {
width: 100px; width: 120px;
font-size: 12px; font-size: 14px;
margin: 0 auto; margin: 0 auto;
margin-top: 20px; margin-top: 14px;
// font-family: PingFangSC-Medium, PingFang SC; // font-family: PingFangSC-Medium, PingFang SC;
font-weight: 600; font-weight: 600;
color: #0e2c6b; color: #0e2c6b;
...@@ -1691,7 +1744,7 @@ export default { ...@@ -1691,7 +1744,7 @@ export default {
position: absolute; position: absolute;
left: 0; left: 0;
top: 0; top: 0;
width: 100%; width: 95.4%;
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
...@@ -1724,13 +1777,25 @@ export default { ...@@ -1724,13 +1777,25 @@ export default {
height: 41px; height: 41px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; background: #0E2C6B;
background: #061a4d;
border-radius: 4px; border-radius: 4px;
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
position: relative;
span{
margin-left: 18px;
}
&:hover{
background: #061a4d;
img{
right: 10px;
}
}
img { img {
margin-left: 10px; position: absolute;
right: 14px;
top: 50%;
transform: translateY(-50%);
} }
} }
} }
......
...@@ -17,10 +17,11 @@ export default { ...@@ -17,10 +17,11 @@ export default {
</script> </script>
<style lang="scss"> <style lang="scss">
.zxcxgj-cate { .zxcxgj-cate {
font-size: 16px; font-size: 18px;
color: #04408d; color: #454545;
border-bottom: 1px solid #c5d8ee; border-bottom: 1px solid #c5d8ee;
padding: 14px 0; padding: 14px 0;
font-weight: bold;
>div { >div {
display: flex; display: flex;
align-items: center; align-items: center;
......
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