@import '~@/assets/iconfont/iconfont.css'; // 全局样式 * { margin: 0; padding: 0; list-style-type: none; box-sizing: border-box; outline: none; } html { margin: 0; padding: 0; } body { font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif; background-color: #f1f1f1; margin: 0; padding: 0; } a { color: #343440; text-decoration: none; } ul{ margin: 0; padding: 0; li{ list-style: none; } } .clearfix { &::after { content: ""; display: table; height: 0; line-height: 0; visibility: hidden; clear: both; } } /**滚动条的宽度*/ ::-webkit-scrollbar { width: 10px; height: 10px; } //滚动条的滑块 ::-webkit-scrollbar-thumb { background-color: #44A9E4; border-radius: 5px; } .icon { width: 1em; height: 1em; vertical-align: -0.15em; fill: currentColor; overflow: hidden; } //浮动 .float-r { float: right; } //文章一行显示,多余省略号显示 .title-item { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; text-overflow: ellipsis; } .tooltip-style, .popover-external-set { width: 250px; background:rgba(0,0,0,1); color: #fff; border-radius: 6px; } .tooltip-style{ display:none; position:absolute; } .popover-external-set { position: fixed; z-index: 1000; } .tooltip-style, .popover-content-set{ .tooltip-top{ display: flex; justify-content: space-between; align-items: center; font-size: 14px; height: 40px; line-height: 40px; padding: 0 10px; border-bottom: 1px solid #fff; } .tooltip-top span, .tooltip-top i{ font-size: 12px; font-style: normal; } ul{ padding: 10px; } ul li{ display: flex; justify-content: flex-start; align-items: center; line-height: 24px; font-style: normal; font-size: 12px; } ul li p{ width: 60px; font-weight: bold; text-align: right; } ul li span, ul li em{ width: 100px; display: block; text-align: right; font-style: normal; } ul li i{ font-style: normal; font-weight: bold; padding: 0 10px; color: #0348f3; } ul li span.percentage, ul li em.percentage{ width: auto; } .tag-item{ display: block; // width: 50px; height: 18px; line-height: 16px; padding: 0 4px; border-radius: 3px; font-size: 12px; color: #A6ADB6; border: 1px solid #E6E8ED; background-color: #F3F5F9; text-align: center; &.tag-sort{ color: #FD7359 !important; border-color: #FBC0B5 !important; background-color: #FCECE9 !important; } &.tag-place{ color: #018BFF !important; border-color: #9BD1FF !important; background-color: #DCEDFD !important; } &.tag-all{ color: #0C0E1E; border-color: #545B65 !important; background-color: #E6E8ED !important; } } } .swiper-title{ font-size: 22px; color: #545B65; .swiper-wrapper{ margin: 10px 0; border-bottom: 1px solid #EDEFF3; } } .swiper-slide-title { width: auto !important; margin-right: 20px; cursor: pointer; .tab-name { padding: 10px; &.active { padding-bottom: 10px; color: #0348F3; border-bottom: 3px solid #0348F3; } } }