/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .container.data-v-f4b4ba20 { min-height: 100vh; background: #fff; padding-bottom: calc(120rpx + env(safe-area-inset-bottom)); } .nav-bar.data-v-f4b4ba20 { display: flex; align-items: center; height: 88rpx; padding: 0 30rpx; background: #fff; } .nav-bar .back.data-v-f4b4ba20 { padding: 20rpx; margin-left: -20rpx; } .nav-bar .title.data-v-f4b4ba20 { flex: 1; text-align: center; font-size: 34rpx; font-weight: 500; } .brand-title.data-v-f4b4ba20 { padding: 30rpx; font-size: 40rpx; font-weight: bold; color: #333; } .brand-grid.data-v-f4b4ba20 { padding: 0 20rpx; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20rpx; } .brand-item.data-v-f4b4ba20 { background: #FFF9F2; border-radius: 16rpx; padding: 30rpx; display: flex; flex-direction: column; align-items: center; transition: all 0.3s; } .brand-item.active.data-v-f4b4ba20 { background: #FFE4CC; } .brand-item image.data-v-f4b4ba20 { width: 240rpx; height: 240rpx; margin-bottom: 20rpx; } .brand-item .name.data-v-f4b4ba20 { font-size: 28rpx; color: #333; text-align: center; margin-bottom: 10rpx; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .brand-item .price.data-v-f4b4ba20 { font-size: 26rpx; color: #FF9500; } .bottom-bar.data-v-f4b4ba20 { position: fixed; bottom: 0; left: 0; right: 0; padding: 20rpx 30rpx calc(20rpx + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05); } .bottom-bar .submit-btn.data-v-f4b4ba20 { width: 100%; height: 80rpx; background: #FFB74D; color: #fff; font-size: 28rpx; border-radius: 40rpx; display: flex; align-items: center; justify-content: center; border: none; } .bottom-bar .submit-btn.data-v-f4b4ba20::after { border: none; } .bottom-bar .submit-btn.data-v-f4b4ba20:active { opacity: 0.9; }