/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .cont { width: 100%; position: relative; } .cont .bg { width: 100%; height: 10.9375rem; position: absolute; top: 0; left: 0; z-index: 1; background-color: #C39A58; background: linear-gradient(#C39A58, #E2C99E); border-radius: 0 0 3.125rem 3.125rem; } .cont .inner { position: relative; padding: 0.9375rem 0; width: 100%; height: 100%; z-index: 999; } .cont .inner .order-status { display: flex; align-items: center; justify-content: space-between; padding: 0 0.9375rem; } .cont .inner .order-status .inner { display: flex; align-items: center; } .cont .inner .order-status .inner .img-box { width: 3rem; height: 3rem; margin-right: 0.9375rem; } .cont .inner .order-status .inner .img-box uni-image { width: 100%; height: 100%; } .cont .inner .order-status .inner .status-box { height: 3rem; display: flex; flex-direction: column; justify-content: center; } .cont .inner .order-status .inner .status-box .status { font-size: 1.25rem; font-family: PingFang SC; font-weight: bold; color: #FFFFFF; line-height: 1; } .cont .inner .order-status .inner .status-box .desc { font-size: 0.8125rem; font-family: PingFang SC; font-weight: 500; color: #FFFFFF; line-height: 1; margin-top: 0.9375rem; } .content { margin: 0.625rem 0; padding: 0 0.625rem 4.375rem 0.625rem; } .content .package-box { width: 100%; display: flex; padding: 0.625rem; background-color: #fff; align-items: flex-start; justify-content: flex-start; box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.05); border-radius: 0.46875rem; } .content .package-box .left { width: 6.25rem; height: 6.25rem; } .content .package-box .left uni-image { border-radius: 0.46875rem; width: 100%; height: 100%; } .content .package-box .right { height: 6.25rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding-left: 0.46875rem; width: calc(100% - 6.25rem); } .content .package-box .right .title { font-weight: bold; font-size: 1.0625rem; font-family: PingFang SC; color: #111; } .content .package-box .right .desc { margin-top: 0.46875rem; display: flex; align-items: flex-start; justify-content: flex-start; } .content .package-box .right .desc .cycle { background-color: #eee; border-radius: 0.9375rem; padding: 0.15625rem 0.46875rem; font-size: 0.8125rem; font-family: PingFang SC; color: #C39A58; } .content .package-box .right .desc .duration { margin-left: 0.3125rem; background-color: #eee; border-radius: 0.9375rem; padding: 0.15625rem 0.46875rem; font-size: 0.8125rem; font-family: PingFang SC; color: #C39A58; } .content .package-box .right .price-box { flex: 1; display: flex; align-items: flex-end; justify-content: space-between; width: 100%; } .content .package-box .right .price-box .price { padding: 0.15625rem 0.3125rem; background-color: #C39A58; border-radius: 0.9375rem; font-size: 0.625rem; font-family: PingFang SC; color: #ffffff; } .content .package-box .right .price-box .count { font-size: 0.75rem; font-family: PingFang SC; color: #333333; } .content .order-info { box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.05); margin-top: 0.625rem; background: #FFFFFF; border-radius: 0.5rem; padding: 1.25rem 0.9375rem; } .content .order-info .title { font-size: 0.9375rem; font-family: PingFang SC; font-weight: bold; color: #222222; line-height: 1; } .content .order-info .item { margin-top: 1.25rem; display: flex; align-items: center; justify-content: space-between; } .content .order-info .item .label { font-size: 0.8125rem; font-family: PingFang SC; font-weight: 500; color: #666666; line-height: 1; } .content .order-info .item .text { font-size: 0.8125rem; font-family: PingFang SC; font-weight: 500; color: #222222; line-height: 1rem; } .content .order-info .item .cont-text { font-size: 0.8125rem; font-family: PingFang SC; font-weight: 500; color: #666666; } .content .order-info .item .cont-text .bold { color: #111111; } .content .order-info .item .sn-box { display: flex; align-items: center; } .content .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 .order-info .item .check-box { display: flex; align-items: center; } .content .order-info .item .check-box uni-image { width: 0.4375rem; height: 0.75rem; margin-left: 0.3125rem; } .content .order-info .line { width: 100%; height: 1px; background: #F0F0F0; margin-top: 0.9375rem; } .btn-box { z-index: 999; bottom: 0; width: 100%; position: fixed; height: 3.75rem; box-sizing: border-box; background: #FFFFFF; padding: 0 0.9375rem; display: flex; align-items: center; justify-content: flex-end; } .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; margin-left: 0.46875rem; } .btn-box .btn.cancel { border: 1px solid #DDDDDD; color: #666666; } .btn-box .btn.pay { background: #C39A58; color: #FFFFFF; }