/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ /*自定义主题色 */ .evan-switch[data-v-687346f1] { position: relative; border-width: 1px; border-color: rgba(0, 0, 0, 0.1); border-style: solid; transition: background-color 0.3s; width: 3.125rem; height: 1.125rem; background: #0bb3f2; border-radius: 0.5625rem; box-sizing: content-box; } .evan-switch--disabled[data-v-687346f1] { opacity: 0.3; } .evan-switch__circle[data-v-687346f1] { position: absolute; left: -0.125rem; top: -0.25rem; width: 1.5625rem; height: 1.5625rem; background: #FFFFFF; box-shadow: 0px 2px 10px 0px rgba(166, 217, 212, 0.49); border-radius: 50%; box-shadow: 0 3px 1px 0 rgba(0, 0, 0, 0.05), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 3px 3px 0 rgba(0, 0, 0, 0.05); transition: transform 0.3s; } /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ /*自定义主题色 */ body { height: 100%; } .content { height: 100%; display: flex; flex-direction: column; justify-content: space-between; } .content .inner { height: calc(100% - 3.75rem); padding: 0.625rem; } .content .inner .address-box { padding: 0.9375rem; background: #FFFFFF; border-radius: 0.5rem; margin-bottom: 0.625rem; position: relative; } .content .inner .address-box .textarea { width: 100%; height: 6.25rem; font-size: 0.9375rem; color: #999999; padding-bottom: 3.125rem; } .content .inner .address-box .btns { right: 0.3125rem; bottom: 0.3125rem; position: absolute; } .content .inner .address-box .btns .btn { width: 4.84375rem; height: 2rem; line-height: 2rem; font-size: 0.8125rem; font-family: PingFang SC; font-weight: 500; text-align: center; border-radius: 1rem; } .content .inner .address-box .btns .btn.parse { background: #0bb3f2; color: #FFFFFF; } .content .inner .form-box { padding: 0 0.9375rem; background: #FFFFFF; border-radius: 0.5rem; } .content .inner .form-box .form-item { padding: 0.9375rem 0; display: flex; align-items: flex-start; border-bottom: 1px solid #F1F1F1; } .content .inner .form-box .form-item:last-child { border-bottom: none; } .content .inner .form-box .form-item .label { width: 5.625rem; text-align: left; font-size: 0.9375rem; line-height: 1.375rem; font-family: PingFang SC; font-weight: 500; color: #222222; flex-shrink: 0; } .content .inner .form-box .form-item uni-input { text-align: left; } .content .inner .form-box .form-item .form-input { font-size: 0.9375rem; font-family: PingFang SC; font-weight: 500; color: #999999; text-align: left; } .content .inner .form-box .form-item .form-textarea { font-size: 0.9375rem; color: #999999; height: 3.125rem; padding: 0.125rem 0; } .content .inner .form-box .form-item .birth-picker { flex: 1; display: flex; align-items: center; } .content .inner .form-box .form-item .birth-picker .right-box { width: 100%; display: flex; align-items: center; } .content .inner .form-box .form-item .birth-picker .right-box .input-box { width: 14.6875rem; } .content .inner .form-box .form-item .birth-picker .right-box .arrow { width: 0.40625rem; height: 0.71875rem; margin-left: 0.625rem; } .content .inner .setting-box { height: 2.75rem; background: #FFFFFF; border-radius: 0.5rem; margin-top: 0.625rem; padding: 0 0.9375rem; display: flex; align-items: center; justify-content: space-between; } .content .inner .setting-box .label { font-size: 0.875rem; font-family: PingFang SC; font-weight: 500; color: #111111; } .content .btn-box { height: 3.75rem; padding: 0 0.9375rem; display: flex; align-items: center; justify-content: center; background: #FFFFFF; } .content .btn-box .sub-btn { width: 100%; height: 2.75rem; line-height: 2.75rem; text-align: center; font-size: 0.9375rem; font-family: PingFang SC; font-weight: bold; color: #FFFFFF; background: #0bb3f2; border-radius: 1.375rem; }