/** * 这里是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 { padding: 0.625rem; } .content .inner .top { box-sizing: border-box; background: #FFFFFF; border-radius: 0.5rem; display: flex; flex-direction: column; align-items: center; padding: 1.5625rem 0; } .content .inner .top .title { font-size: 1.25rem; font-family: PingFang SC; font-weight: 500; color: #222222; line-height: 1; text-align: center; } .content .inner .top .icon { margin: 1.875rem 0; width: 3.125rem; height: 3.125rem; } .content .inner .order-info { margin-top: 0.625rem; background: #FFFFFF; border-radius: 0.5rem; padding: 1.25rem 0.9375rem; } .content .inner .order-info .title { font-size: 0.9375rem; font-family: PingFang SC; font-weight: bold; color: #222222; line-height: 1; } .content .inner .order-info .item { margin-top: 1.25rem; display: flex; align-items: center; justify-content: space-between; } .content .inner .order-info .item .label { font-size: 0.8125rem; font-family: PingFang SC; font-weight: 500; color: #666666; line-height: 1; } .content .inner .order-info .item .text { font-size: 0.8125rem; font-family: PingFang SC; font-weight: 500; color: #222222; line-height: 1rem; } .content .inner .order-info .item .cont-text { font-size: 0.8125rem; font-family: PingFang SC; font-weight: 500; color: #666666; } .content .inner .order-info .item .cont-text .bold { color: #111111; } .content .inner .order-info .item .sn-box { display: flex; align-items: center; } .content .inner .order-info .item .sn-box .copy-btn { width: 1.8125rem; height: 1rem; line-height: 1rem; text-align: center; font-size: 0.6875rem; font-family: PingFang SC; font-weight: 500; color: #222222; background: #F5F5F5; border-radius: 0.125rem; margin-left: 0.75rem; } .content .inner .order-info .line { width: 100%; height: 1px; background: #F0F0F0; margin-top: 0.9375rem; } .content .btn-box { margin-top: 0.625rem; box-sizing: border-box; display: flex; align-items: center; } .content .btn-box .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 .btn-box .btn.cancel { border: 1px solid #DDDDDD; color: #666666; }