@charset "UTF-8"; /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /* uni.scss */ /* 页面左右间距 */ /* 文字尺寸 */ /* 文字尺寸 */ /*文字颜色*/ /* 边框颜色 */ /* 图片加载中颜色 */ /* 行为相关颜色 */ /* 颜色变量 */ /* 项目主色 */ /* 文字基本颜色 */ .red { color: #f60808; } .green { color: #15ab54; } .yellow { color: #f0ad4e; } .blue { color: #1f96f6; } .blank { color: #000; } .white { color: #fff; } .promain { color: #025b58; } .prosecond { color: #ed742f; } .textmain { color: #333; } .textgrey { color: #999; } .fuColor { color: #c6cadb; } .fontssm { font-size: 22rpx; } .fontsm { font-size: 24rpx; } .fontmid { font-size: 28rpx; } .fontbase { font-size: 30rpx; } /* 背景颜色 */ /* 边框颜色 */ /* input 样式 */ .input-placeholder { color: #999999; } .navigator-hover { background: transparent !important; opacity: 1; } .uni-page-head-transparent .uni-page-head-btn { background: transparent !important; } uni-toast { z-index: 99999; } button { background: transparent; } button::after { border: 0; } page { background-color: #F8F9FE; } .content { min-height: 100vh; } .content .one { background-color: #FFFFFF; padding: 30rpx; width: 100%; height: 220rpx; display: flex; justify-content: flex-start; flex-direction: row; align-items: center; } .content .one .one_img { width: 210rpx; height: 160rpx; } .content .one .one_img image { width: 100%; height: 100%; } .content .one .title { margin-left: 16rpx; width: 465rpx; } .content .one .title .title_one { height: 105rpx; font-size: 36rpx; font-family: PingFangSC-Medium, PingFang SC; font-weight: 600; text-overflow: -o-ellipsis-lastline; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; } .content .one .title .title_time { font-size: 30rpx; display: flex; justify-content: flex-end; } .content .newsBox { width: 100%; padding: 32rpx 0 0; align-items: center; position: relative; } .content .newsBox .sel { position: absolute; top: -68rpx; left: 50%; width: 100rpx; height: 68rpx; } .content .time { font-size: 22rpx; color: #fff; padding: 6rpx 12rpx; line-height: 52rpx; background: #d6d6d6; border-radius: 12rpx; margin-bottom: 32rpx; } .content .newsCon { width: 100%; padding: 32rpx; border-radius: 8rpx; background-color: #fff; } .content .newshead { margin-bottom: 16rpx; font-size: 30rpx; } .content .shopshead image { width: 124rpx; height: 124rpx; margin-right: 10rpx; } .content .shopshead .elli { flex: 1; font-size: 26rpx; height: 80rpx; line-height: 42rpx; } .content .shopshead .elli image { width: 100%; }