@charset "UTF-8"; /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .safe-area-bottom.data-v-54d3589c { padding-bottom: env(safe-area-inset-bottom); } text.data-v-54d3589c { font-family: Source Han Sans CN; } /* 容器样式 */ .container.data-v-54d3589c { position: relative; background: #fff; overflow: hidden; } .container .main .steps.data-v-54d3589c { padding: 24rpx 32rpx; background: #F3D4A3; } .container .main .steps .step-content.data-v-54d3589c { background: #fff; border-radius: 20rpx; padding: 30rpx; } .container .main .steps .step-content .step-banner.data-v-54d3589c { display: flex; justify-content: flex-start; align-items: flex-start; flex-direction: column; } .container .main .steps .step-content .step-banner .title.data-v-54d3589c { font-size: 30rpx; font-family: Source Han Sans CN; color: #333; font-weight: bold; } .container .main .steps .step-content .step-banner .title .count.data-v-54d3589c { font-size: 40rpx; font-family: Source Han Sans CN; color: #EBA72A; } .container .main .steps .step-content .step-banner .subtitle.data-v-54d3589c { margin-top: 10rpx; font-size: 28rpx; color: #999; } .container .main .question.data-v-54d3589c { padding: 40rpx; } .container .main .question .root.data-v-54d3589c { display: flex; justify-content: flex-start; align-items: center; } .container .main .question .root .question-text.data-v-54d3589c { position: relative; /* 相对定位 */ margin-left: 40rpx; padding: 20rpx; border: 4rpx solid #FDF2D4; background-color: #FDF2D4; color: #000000; border-radius: 20rpx; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); font-weight: b; /* 外层箭头(作为边框) */ /* 内层箭头(作为背景) */ } .container .main .question .root .question-text text.data-v-54d3589c { font-family: Source Han Sans CN; font-weight: bold; font-size: 30rpx; color: #1F1F1F; } .container .main .question .root .question-text .arrow-border.data-v-54d3589c { position: absolute; top: 20%; left: -26rpx; -webkit-transform: translateX(-50%); transform: translateX(-50%); border-width: 25rpx; border-style: solid; border-color: transparent #FDF2D4 transparent transparent; /* 浅紫色边框 */ z-index: 99; } .container .main .question .root .question-text .arrow-background.data-v-54d3589c { position: absolute; top: 20%; left: -29rpx; -webkit-transform: translateX(-50%); transform: translateX(-50%); border-width: 22rpx; /* 小三角形 */ border-style: solid; border-color: transparent #FDF2D4 transparent transparent; /* 白色背景 */ margin-top: 3rpx; /* 与大三角形重叠 */ margin-left: 10rpx; /* 与大三角形重叠 */ z-index: 999; } .container .main .question .question-content.data-v-54d3589c { margin: 40rpx 0; padding: 20rpx 0; max-height: 52vh; overflow: scroll; } .container .main .question .question-content .select-list .select-item.data-v-54d3589c { border-radius: 60rpx; padding: 30rpx 50rpx; margin: 20rpx 0; background-color: #f8f8f8; font-weight: bold; } .container .main .question .question-content .select-list .select-item.active.data-v-54d3589c { background-color: #EBA72A; color: #fff; } /* 单选项样式 */ .radio-item.data-v-54d3589c { margin-bottom: 32rpx; padding: 24rpx; border-radius: 12rpx; background: #f8f8f8; } /* 按钮容器 */ .action-buttons.data-v-54d3589c { position: relative; padding: 0 40rpx; margin: 20rpx 0 60rpx 0; display: flex; justify-content: space-between; flex-direction: column; } /* 适配不同屏幕尺寸 */ @media (min-width: 768px) { .container.data-v-54d3589c { max-width: 600px; margin: 0 auto; } }