本文共 13669 字,大约阅读时间需要 45 分钟。
新闻列表、侧边栏、footer
.main{ .wrapper{ .main-content-wrapper{ .list-outer-group{ background: #fff; margin-top: 14px; .list-tab{ width: 100%; height: 66px; overflow: hidden; //比较重要 border: 1px solid #eeeeee; border-left: none; border-right: none; li{ float: left; padding: 0 10px; margin-top: 20px; a{ color: #878787; } &:first-of-type{ border-left: 5px solid $themeColor; //加个竖线 } &.active{ a{ color: #212121; } } } } } } }}
.list-inner-group{ @include news_list; }
.load-more-group{ padding: 20px 0; text-align: center; .load-more{ width: 402px; height: 40px; background: #d2dcea; color: #6d85ac; //字体颜色 border: none; // 去除边框 outline: none; cursor: pointer; } }
@import "constants.scss";.footer{ font-size: 14px; color: #c9c9c9; padding-top: 20px; .top-group{ background: #555e67; height: 100px; padding-top: 26px; box-sizing: border-box; .top-inner-group{ width: $pageWidth; margin: 0 auto; //overflow: hidden; position: relative; .logo-box{ width: 168px; height: 54px; float: left; background: url("http://xfz.cn/static/build/images/foot-logo.png"); background-repeat: no-repeat; background-size: 100%; } .detail-group{ float: left; margin-left: 84px; .line1{ overflow: hidden; .links{ float: left; overflow: hidden; li{ float: left; padding: 0 10px; a{ color: #c9c9c9; } &:first-of-type{ padding-left: 0; } &:last-of-type{ border-right: none; } border-right:1px solid #c9c9c9; } } .about-us{ float: left; margin-left: 40px; .title{ float: left; } .social-group{ float: left; overflow: hidden; li{ float: left; color: #fff; .text{ margin-left: 24px; } } .weixin{ background: url("https://www.xfz.cn/static/build/images/wx-icon.png"); background-repeat: no-repeat; background-size: 30%; cursor: pointer; &:hover .wx-qrcode{ display: block; } .wx-qrcode{ width: 204px; height: 204px; background: url("https://www.xfz.cn/static/build/images/wxQr.jpg"); background-size: 100%; position: absolute; right: 360px; top: -220px; display: none; } } .weibo{ margin-left: 20px; background: url("https://www.xfz.cn/static/build/images/xl-icon.png"); background-repeat: no-repeat; background-size: 18%; a{ color: #fff; } } } } } .line2{ overflow: hidden; margin-top: 20px; .address{ float: left; } .contact{ float: left; margin-left: 40px; } } } } } .bottom-group{ background: #383e44; height: 60px; text-align: center; line-height: 60px; }}
@import "constants.scss";.footer{ font-size: 14px; color: #c9c9c9; padding-top: 20px; .top-group{ background: #555e67; height: 100px; padding-top: 26px; box-sizing: border-box; .top-inner-group{ width: $pageWidth; margin: 0 auto; //overflow: hidden; position: relative; .logo-box{ width: 168px; height: 54px; float: left; background: url("http://xfz.cn/static/build/images/foot-logo.png"); background-repeat: no-repeat; background-size: 100%; } .detail-group{ float: left; margin-left: 84px; .line1{ overflow: hidden; .links{ float: left; overflow: hidden; li{ float: left; padding: 0 10px; a{ color: #c9c9c9; } &:first-of-type{ padding-left: 0; } &:last-of-type{ border-right: none; } border-right:1px solid #c9c9c9; } } .about-us{ float: left; margin-left: 40px; .title{ float: left; } .social-group{ float: left; overflow: hidden; li{ float: left; color: #fff; .text{ margin-left: 24px; } } .weixin{ background: url("https://www.xfz.cn/static/build/images/wx-icon.png"); background-repeat: no-repeat; background-size: 30%; cursor: pointer; &:hover .wx-qrcode{ display: block; } .wx-qrcode{ width: 204px; height: 204px; background: url("https://www.xfz.cn/static/build/images/wxQr.jpg"); background-size: 100%; position: absolute; right: 360px; top: -220px; display: none; } } .weibo{ margin-left: 20px; background: url("https://www.xfz.cn/static/build/images/xl-icon.png"); background-repeat: no-repeat; background-size: 18%; a{ color: #fff; } } } } } .line2{ overflow: hidden; margin-top: 20px; .address{ float: left; } .contact{ float: left; margin-left: 40px; } } } } } .bottom-group{ background: #383e44; height: 60px; text-align: center; line-height: 60px; }}
转载地址:http://chbtz.baihongyu.com/