/** * 这里是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; } .cont .inner .order-placer { margin-top: 0.9375rem; padding: 0 0.625rem; } .cont .inner .order-placer .inner { box-sizing: border-box; border-radius: 0.5rem; height: 4.6875rem; padding: 1.25rem 0.9375rem; display: flex; align-items: center; background: #FFFFFF; } .cont .inner .order-placer .inner .location { width: 0.75rem; height: 0.84375rem; margin-right: 0.5625rem; flex-shrink: 0; } .cont .inner .order-placer .inner .info .name-phone { display: flex; align-items: center; } .cont .inner .order-placer .inner .info .name-phone .text { font-size: 0.875rem; font-family: PingFang SC; font-weight: bold; color: #333333; line-height: 1; margin-right: 0.625rem; } .cont .inner .order-placer .inner .info .name-phone .text:last-child { margin-right: 0; } .cont .inner .order-placer .inner .info .address { font-size: 0.8125rem; font-family: PingFang SC; font-weight: 500; color: #999999; line-height: 1.3; margin-top: 0.3125rem; } .content { margin: 0.625rem 0; padding: 0 0.625rem 4.375rem 0.625rem; } .content .goods-list { padding: 0 0.9375rem; background-color: #FFFFFF; border-radius: 0.5rem; } .content .goods-list .item { padding: 0.9375rem 0; border-bottom: 1px solid #EDEEEF; display: flex; align-items: center; } .content .goods-list .item .img-box { width: 5rem; height: 5rem; margin-right: 0.9375rem; } .content .goods-list .item .img-box uni-image { width: 100%; height: 100%; } .content .goods-list .item .info-box { width: calc(100% - 5.9375rem); height: 5rem; display: flex; flex-direction: column; justify-content: space-between; } .content .goods-list .item .info-box .name-box { font-size: 0.875rem; font-family: PingFang SC; font-weight: 500; color: #111111; line-height: 1.25rem; } .content .goods-list .item .info-box .name-box .tag { display: inline-block; padding: 0 0.1875rem; height: 0.9375rem; background: linear-gradient(90deg, #C39A58 0%, #E2C99E 100%); border-radius: 0.125rem; margin-right: 0.3125rem; font-size: 0.6875rem; font-family: PingFang SC; font-weight: bold; color: #FFFFFF; line-height: 0.9375rem; float: left; margin-top: 0.21875rem; } .content .goods-list .item .info-box .spec { margin-top: 0.5625rem; font-size: 0.75rem; font-family: PingFang SC; font-weight: 500; color: #999999; line-height: 1; } .content .goods-list .item .info-box .price-num { display: flex; align-items: center; justify-content: space-between; } .content .goods-list .item .info-box .price-num .price { display: flex; align-items: flex-end; } .content .goods-list .item .info-box .price-num .price .unit { font-size: 0.75rem; font-family: PingFang SC; font-weight: 500; color: #111111; line-height: 1.2; margin-right: 0.125rem; } .content .goods-list .item .info-box .price-num .price .num { font-size: 1rem; font-family: PingFang SC; font-weight: 500; color: #111111; line-height: 1; } .content .goods-list .item .info-box .price-num .num { font-size: 0.75rem; font-family: PingFang SC; font-weight: 500; color: #999999; line-height: 1; } .content .goods-list .sub-total { height: 2.75rem; display: flex; align-items: center; justify-content: flex-end; } .content .goods-list .sub-total .discount { font-size: 0.75rem; font-family: PingFang SC; font-weight: 500; color: #999999; line-height: 1; margin-right: 0.9375rem; } .content .goods-list .sub-total .label { font-size: 0.75rem; font-family: PingFang SC; font-weight: 500; color: #999999; } .content .goods-list .sub-total .price { display: flex; align-items: flex-end; } .content .goods-list .sub-total .price .unit { font-size: 0.75rem; font-family: PingFang SC; font-weight: 500; color: #FF6633; line-height: 1.2; margin-right: 0.125rem; } .content .goods-list .sub-total .price .num { font-size: 1rem; font-family: PingFang SC; font-weight: bold; color: #FF6633; line-height: 1; } .content .order-info { 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 { position: relative; 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; } .btn-box .btn .contact-btn { top: 0; position: absolute; width: 100%; height: 100%; opacity: 0; }