/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ page { background-color: #FDF7F0; height: 100%; } .content .cont { position: relative; width: 100%; display: flex; flex-direction: column; } .content .cont .bg { width: 100%; height: 100%; position: fixed; z-index: 1; } .content .cont .bg image { width: 100%; height: 100%; } .content .cont .cont-box { z-index: 1000; margin-top: 88rpx; } .content .cont .cont-box .user { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30rpx; } .content .cont .cont-box .user image { border-radius: 50%; border: 2rpx solid #ffffff; width: 120rpx; height: 120rpx; } .content .cont .cont-box .user .user-box { padding: 30rpx; display: flex; align-items: center; justify-content: center; } .content .cont .cont-box .user .user-box .sex { font-weight: bold; font-size: 40supx; font-family: PingFang SC; color: #925924; } .content .cont .cont-box .user .user-box .username { margin-left: 15rpx; font-size: 40supx; font-family: PingFang SC; color: #925924; } .content .cont .cont-box .items { width: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 20rpx; } .content .cont .cont-box .items .result-box { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30rpx; background-color: #fff; border-radius: 15rpx; margin-bottom: 15rpx; } .content .cont .cont-box .items .result-box .time { margin-top: 15rpx; font-family: PingFang SC; font-size: 24rpx; color: #9B9B9B; } .content .cont .cont-box .items .result-box .title { margin-top: 15rpx; font-family: PingFang SC; font-size: 28rpx; color: #626468; } .content .cont .cont-box .items .result-box .name { margin-top: 30rpx; font-family: PingFang SC; font-weight: bold; font-size: 60rpx; color: #925924; } .content .cont .cont-box .items .result-box .descs { font-family: PingFang SC; font-size: 28rpx; color: #2A2B2E; padding: 30rpx; margin-top: 30rpx; background-color: #F5F6F6; border-radius: 10rpx; } .content .cont .cont-box .items .item-box { width: 100%; } .content .cont .cont-box .items .item-box .item { width: 100%; padding: 30rpx; background-color: #fff; border-radius: 30rpx; } .content .cont .cont-box .items .item-box .item .title-box { display: flex; align-items: center; justify-content: flex-start; } .content .cont .cont-box .items .item-box .item .title-box .title { margin-left: 10rpx; font-size: 32supx; font-family: PingFang SC; color: #925924; font-weight: bold; } .content .cont .cont-box .items .item-box .item .title-box .title-line { width: 8rpx; height: 28rpx; background: #2BC7B9; border-radius: 2px 2px 2px 2px; opacity: 1; } .content .cont .cont-box .items .item-box .item .descs { white-space: pre-line; margin-top: 10rpx; font-size: 28supx; font-family: PingFang SC; color: #2A2B2E; } .content .cont .cont-box .items .item-box .line { margin: 0rpx 30rpx; border-bottom: #b5b5b5 3rpx dashed; } .content .cont .cont-box .tips { width: 100%; display: flex; align-items: center; justify-content: center; margin: 15rpx 0rpx; color: #9B9B9B; font-size: 24rpx; } .content .cont .cont-box .banner { height: 250rpx; width: 100%; padding: 15rpx 20rpx; } .share { width: 100rpx; height: 100rpx; z-index: 9999; border-radius: 50%; position: fixed; bottom: 100rpx; right: 50rpx; background-color: #925924; color: #fff; font-weight: bold; font-size: 28rpx; display: flex; flex-direction: column; align-items: center; justify-content: center; }