@charset "UTF-8"; /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ page { background: #F5F5F5; } page .content { padding: 0 20rpx 20rpx 20rpx; box-sizing: border-box; } image { width: 100%; } .inputs { height: 54rpx; background-color: #E4E4E4; border-radius: 27rpx; position: absolute; right: 20rpx; top: 20rpx; -webkit-transition: width 0.5s; transition: width 0.5s; overflow: hidden; padding-top: 8rpx; box-sizing: border-box; } .inputs .inputbox { width: 85%; text-indent: 1rem; font-size: 26rpx; } .inputs .icon { position: absolute; top: 8rpx; right: 26rpx; } .loading { position: fixed; top: 440px; width: 95%; left: 2.5%; text-align: center; } .loading .img { width: 300rpx; height: 40rpx; } .tab-box { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-justify-content: space-around; justify-content: space-around; font-size: 30rpx; line-height: 80rpx; background-color: #FFFFFF; margin-top: -10rpx; } .tab-box .tab-item { cursor: pointer; position: relative; } .tab-box .tab-item.active .bottom-line { bottom: 0; position: absolute; display: inline-block; width: 90rpx; height: 6rpx; left: 0; right: 0; margin: auto; background: #57C878; } .top { position: fixed; right: 10px; bottom: 40px; z-index: 100; } .top image { width: 100rpx; height: 100rpx; } .top .backtop { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-pack: end; -webkit-justify-content: flex-end; justify-content: flex-end; margin-bottom: 10rpx; } .top .more { display: -webkit-box; display: -webkit-flex; display: flex; } .top .box { width: 80rpx; height: 80rpx; background-color: rgba(161, 161, 161, 0.45); border-radius: 50%; text-align: center; line-height: 80rpx; box-sizing: border-box; margin: 14rpx 10rpx 0 0; color: #fff; }