/** * @description: 清除浮动 * @Author: * @param {type} * @return: */ /** * @description: 响应式图片 * @Author: * @param {type} * @return: */ /** * @description: 横向排列,垂直居中布局 * @Author: * @param {type} * @return: */ /** * @description: 单行文本超出隐藏 * @Author: * @param {type} * @return: */ /** * @description: 多行文本超出隐藏 * @Author: * @param {Number} num 最多要显示几行 * @return: */ /** * @description: flex 垂直居中布局 * @Author: * @param {String} cposition 水平排列方式 * @return: */ /** * @description: 设置元素尺寸 * @Author: * @param {Number} w 宽度 * @param {Number} h 高度 * @return: */ /** * @description: 2x的雪碧图缩放 * @Author: * @param {Number} spriteW 雪碧图原始宽度 * @param {Number} spriteH 雪碧图原始高度 * @param {Number} bgOffsetX 背景定位原始X轴偏移量 * @param {Number} bgOffsetY 背景定位原始Y轴偏移量 * @return: */ /** * @description: 设置字体 * @Author: * @param {type} * @return: */ /** * @description: 修改滚动条样式 * @Author: * @param {String} scrollW 滚动条宽度 * @param {String} scrollC 滚动条背景色 * @param {String} trackP 滑块背景色 * @return: */ /** * @description: 设置背景图 * @Author: * @param {String} url 图片路径 * @return: */ /** * @description: 修改输入框占位符的字体颜色 * @Author: * @param {type} * @return: */ /** * @description: 禁止选中内容 * @Author: * @param {type} * @return: */ /** * @description: 鼠标移入图片放大效果 * @Author: * @param {type} * @return: */ /** * @description: 铺满整个容器的绝对定位 * @Author: * @param {type} * @return: */ /** * @description: 绝对定位水平垂直居中 * @Author: * @param {type} * @return: */ /** * @description: 统一容器,视项目不同,数值有所不同 * @Author: * @param {type} * @return: */ /** * @description: 替代flex的inline-block * @Author: * @param {type} * @return: */ /** * @description: 首页栏目标题样式 * @Author: * @param {type} * @return: */ /** * @description: 两端对齐辅助元素 * @Author: * @param {type} * @return: */ .new-detail-97 { padding-bottom: 0.6rem; background: url('../images/bg6.png') center center / cover no-repeat; } .new-detail-97-content div.info-content { padding-top: 0.2rem; } .new-detail-97-content div.info-content div.content-left { padding: 0.4rem; background-color: #fff; float: left; width: 8.6rem; } @media screen and (max-width: 1024px) { .new-detail-97-content div.info-content div.content-left { float: none; width: 100%; } } .new-detail-97-content div.info-content div.content-left h2.article-title { font-size: 0.28rem; font-family: Microsoft YaHei; font-weight: 400; line-height: 1.5; color: #333333; } @media screen and (max-width: 1024px) { .new-detail-97-content div.info-content div.content-left h2.article-title { font-size: 0.36rem; line-height: 1.5; } } .new-detail-97-content div.info-content div.content-left p.article-info { font-size: 0.14rem; font-family: Microsoft YaHei; font-weight: 400; line-height: 0.24rem; color: #868991; padding: 0.2rem 0 0.27rem 0; border-bottom: 1px solid #bfbfbf; } @media screen and (max-width: 1024px) { .new-detail-97-content div.info-content div.content-left p.article-info { font-size: 0.28rem; line-height: 1.5; } } .new-detail-97-content div.info-content div.content-left p.article-info span.split { display: inline-block; margin: 0 0.1rem; vertical-align: top; } .new-detail-97-content div.info-content div.content-left div.text-content { padding-top: 0.3rem; padding-bottom: 0.46rem; font-size: 0.16rem; font-family: Microsoft YaHei !important; font-weight: 400; line-height: 0.3rem; color: #333333; } .new-detail-97-content div.info-content div.content-left div.text-content p, .new-detail-97-content div.info-content div.content-left div.text-content span { font-size: inherit !important; font-family: inherit !important; line-height: inherit !important; } @media screen and (max-width: 1024px) { .new-detail-97-content div.info-content div.content-left div.text-content { font-size: 0.28rem; line-height: 2; } } .new-detail-97-content div.info-content div.content-left div.text-content img { max-width: 100%; display: inline-block; height: auto; } @media screen and (max-width: 1024px) { .new-detail-97-content div.info-content div.content-left div.text-content img { float: left; margin-bottom: 0.2rem; } } .new-detail-97-content div.info-content div.content-left div.prev-next { padding-top: 0.24rem; font-size: 0.14rem; font-family: Microsoft YaHei; font-weight: 400; line-height: 0.36rem; color: #333333; border-top: 1px solid #bfbfbf; } @media screen and (max-width: 1024px) { .new-detail-97-content div.info-content div.content-left div.prev-next { font-size: 0.28rem; line-height: 1.5; } } .new-detail-97-content div.info-content div.content-left div.prev-next a:hover { color: #0355c9; transition: color 0.3s; } .new-detail-97-content div.info-content div.content-left div.prev-next div.page-left { float: left; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .new-detail-97-content div.info-content div.content-left div.prev-next div.page-right { float: right; max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .new-detail-97-content div.info-content div.content-right { float: right; width: 3.2rem; } @media screen and (max-width: 1024px) { .new-detail-97-content div.info-content div.content-right { float: none; width: 100%; margin-top: 0.4rem; } } .new-detail-97-content div.info-content div.content-right div.hot-list { padding: 0.2rem; background-color: #fff; } @media screen and (max-width: 1024px) { .new-detail-97-content div.info-content div.content-right div.hot-list { float: none; width: 100%; } } .new-detail-97-content div.info-content div.content-right div.hot-list h2.title { font-size: 0.2rem; font-family: Microsoft YaHei; font-weight: 400; line-height: 0.24rem; color: #333333; margin-bottom: 0.1rem; } @media screen and (max-width: 1024px) { .new-detail-97-content div.info-content div.content-right div.hot-list h2.title { font-size: 0.28rem; line-height: 1.5; } } .new-detail-97-content div.info-content div.content-right div.hot-list div.hot-top { position: relative; height: 2.1rem; overflow: hidden; } @media screen and (max-width: 1024px) { .new-detail-97-content div.info-content div.content-right div.hot-list div.hot-top { height: auto; } } .new-detail-97-content div.info-content div.content-right div.hot-list div.hot-top img { display: block; max-width: 100%; height: auto; width: 100%; } .new-detail-97-content div.info-content div.content-right div.hot-list div.hot-top h2.top-title { position: absolute; left: 0; right: 0; bottom: 0; height: 0.35rem; line-height: 0.35rem; background-color: rgba(0, 0, 0, 0.6); font-size: 0.14rem; color: #fff; padding: 0 0.1rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } @media screen and (max-width: 1024px) { .new-detail-97-content div.info-content div.content-right div.hot-list div.hot-top h2.top-title { height: 0.7rem; line-height: 0.7rem; font-size: 0.28rem; } } .new-detail-97-content div.info-content div.content-right div.hot-list ul.hot-list-wrapper { padding-top: 0.2rem; } .new-detail-97-content div.info-content div.content-right div.hot-list ul.hot-list-wrapper li.list-item { font-size: 0.14rem; font-family: Microsoft YaHei; font-weight: 400; line-height: 0.19rem; color: #333333; margin-bottom: 0.2rem; } .new-detail-97-content div.info-content div.content-right div.hot-list ul.hot-list-wrapper li.list-item:last-child { margin-bottom: 0; } @media screen and (max-width: 1024px) { .new-detail-97-content div.info-content div.content-right div.hot-list ul.hot-list-wrapper li.list-item { font-size: 0.28rem; line-height: 1.5; } } .new-detail-97-content div.info-content div.content-right div.hot-list ul.hot-list-wrapper li.list-item i.dotted { display: inline-block; width: 0.04rem; height: 0.04rem; border-radius: 50%; background-color: #dedede; vertical-align: super; margin-right: 0.07rem; } .new-detail-97-content div.info-content div.content-right div.hot-list ul.hot-list-wrapper li.list-item p.name { display: inline-block; max-width: 80%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } @media screen and (max-width: 1024px) { .new-detail-97-content div.info-content div.content-right div.hot-list ul.hot-list-wrapper li.list-item p.name { max-width: 90%; } } .new-detail-97-content div.info-content div.content-right div.qrcode { padding: 0.2rem; background-color: #fff; border-radius: 0.08rem; margin-top: 0.3rem; } @media screen and (max-width: 1024px) { .new-detail-97-content div.info-content div.content-right div.qrcode { display: none; } } .new-detail-97-content div.info-content div.content-right div.qrcode h2.title { font-size: 0.2rem; font-family: Microsoft YaHei; font-weight: 400; line-height: 0.24rem; color: #333333; text-align: center; } .new-detail-97-content div.info-content div.content-right div.qrcode img.qrcode-img { width: 1.4rem; height: 1.4rem; display: block; margin: 0 auto; margin-top: 0.14rem; }