/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* padding / margin */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .header.data-v-6358e377 { height: 60rpx; width: 100%; padding: 0 30rpx; font-size: 22rpx; font-weight: bold; background: #FFF0DA; display: flex; align-items: center; justify-content: space-between; } .body.data-v-6358e377 { padding: 0 30rpx; font-size: 30rpx; color: #434349; background: #fff; } .warning.data-v-6358e377 { color: #D18D09; } .body.data-v-6358e377 { padding: 30rpx; } .article.data-v-6358e377 { display: flex; align-items: center; justify-content: space-between; padding: 40rpx 22rpx; background: #f7f7fb; border-radius: 16rpx 16rpx 16rpx 16rpx; margin-bottom: 29rpx; position: relative; } .title.data-v-6358e377 { font-size: 28rpx; color: #434349; position: relative; z-index: 1; } .btn.data-v-6358e377 { padding: 20rpx 10rpx; font-size: 28rpx; font-weight: normal; color: var(--uni-color-primary); background: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8rpx; min-width: 160rpx; width: 160rpx; } .status.data-v-6358e377 { --is-read: #00a9a9; --un-read: #f95d3b; font-size: 20rpx; color: #fefffe; padding: 6rpx 13rpx; position: absolute; top: 0; left: 0; border-radius: 20rpx 20rpx 20rpx 0; z-index: 0; } .status.data-v-6358e377::before { content: ""; width: 16rpx; height: 16rpx; position: absolute; bottom: -16rpx; left: 0; } .status.data-v-6358e377::after { content: ""; width: 32rpx; height: 32rpx; background-color: #f7f7fb; position: absolute; bottom: -32rpx; left: 0; border-radius: 32rpx; } .status.read.data-v-6358e377, .status.read.data-v-6358e377::before { background-color: var(--is-read); } .status.unread.data-v-6358e377, .status.unread.data-v-6358e377::before { background-color: var(--un-read); } .arrow-right.data-v-6358e377 { --width: 13rpx; --height: 10rpx; display: inline-block; width: calc(var(--width)); height: calc(var(--height) * 2); border-top: var(--height) solid transparent; border-bottom: var(--height) solid transparent; border-left: var(--width) solid var(--uni-color-primary); position: relative; } .arrow-right.data-v-6358e377::after { content: ""; border-top: var(--height) solid transparent; border-bottom: var(--height) solid transparent; border-left: var(--width) solid #f7f7fb; position: absolute; left: -14rpx; top: 50%; transform: translateY(-50%); }