/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .inner-box { padding: 0.625rem 0.625rem 4.375rem; } .inner-box .address-box { box-sizing: border-box; min-height: 5.34375rem; background: #FFFFFF; border-radius: 0.5rem; background-image: url(../static/images/address_bg.png); background-repeat: no-repeat; background-size: 100% 0.9375rem; background-position: left bottom; padding: 1.1875rem 0.9375rem 1.125rem; display: flex; align-items: center; justify-content: space-between; } .inner-box .address-box .left { width: 92%; } .inner-box .address-box .left .name-box { display: flex; align-items: center; } .inner-box .address-box .left .name-box .text { font-size: 1rem; font-family: PingFang SC; font-weight: bold; color: #111111; line-height: 1; } .inner-box .address-box .left .name-box .text.name { margin-right: 0.9375rem; } .inner-box .address-box .left .address { font-size: 0.875rem; font-family: PingFang SC; font-weight: 500; color: #666666; line-height: 1.3125rem; text-align: left; margin-top: 0.71875rem; } .inner-box .address-box .arrow-box { width: 0.375rem; height: 0.71875rem; display: flex; align-items: cenetr; justify-content: cenetr; } .inner-box .address-box .arrow-box uni-image { width: 100%; height: 100%; } .inner-box .goods-list { margin-top: 0.625rem; padding: 0 0.9375rem; background-color: #FFFFFF; border-radius: 0.5rem; } .inner-box .goods-list .item { padding: 0.9375rem 0; border-bottom: 1px solid #EDEEEF; display: flex; align-items: center; } .inner-box .goods-list .item .img-box { width: 5rem; height: 5rem; margin-right: 0.9375rem; } .inner-box .goods-list .item .img-box uni-image { width: 100%; height: 100%; } .inner-box .goods-list .item .info-box { width: calc(100% - 5.9375rem); height: 5rem; display: flex; flex-direction: column; justify-content: space-between; } .inner-box .goods-list .item .info-box .name-box { font-size: 0.875rem; font-family: PingFang SC; font-weight: 500; color: #111111; line-height: 1.25rem; } .inner-box .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; } .inner-box .goods-list .item .info-box .spec { margin-top: 0.3125rem; font-size: 0.75rem; font-family: PingFang SC; font-weight: 500; color: #999999; line-height: 1; } .inner-box .goods-list .item .info-box .price-num { display: flex; align-items: center; justify-content: space-between; } .inner-box .goods-list .item .info-box .price-num .price { display: flex; align-items: flex-end; } .inner-box .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; } .inner-box .goods-list .item .info-box .price-num .price .num { font-size: 1rem; font-family: PingFang SC; font-weight: 500; color: #111111; line-height: 1; } .inner-box .goods-list .item .info-box .price-num .num { font-size: 0.75rem; font-family: PingFang SC; font-weight: 500; color: #999999; line-height: 1; } .inner-box .goods-list .sub-total { height: 2.75rem; display: flex; align-items: center; justify-content: flex-end; } .inner-box .goods-list .sub-total .label { font-size: 0.75rem; font-family: PingFang SC; font-weight: 500; color: #999999; } .inner-box .goods-list .sub-total .price { display: flex; align-items: flex-end; } .inner-box .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; } .inner-box .goods-list .sub-total .price .num { font-size: 1rem; font-family: PingFang SC; font-weight: bold; color: #FF6633; line-height: 1; } .inner-box .other-info { margin-top: 0.625rem; background-color: #fff; border-radius: 0.625rem; overflow: hidden; padding: 0 0.9375rem; } .inner-box .other-info .title { height: 2.5rem; line-height: 2.5rem; font-size: 0.9375rem; color: #000; font-weight: bold; border-bottom: 0.0625rem solid #eeeeee; } .inner-box .other-info .item { height: 2.5rem; display: flex; align-items: center; justify-content: space-between; } .inner-box .other-info .item:last-child { border-bottom: none; } .inner-box .other-info .item .left { flex: 1; display: flex; align-items: center; } .inner-box .other-info .item .left .label { min-width: 4.375rem; font-size: 0.875rem; color: #000; } .inner-box .other-info .item .left .text { font-size: 0.875rem; color: #1b1b1b; } .inner-box .other-info .item .right { display: flex; align-items: center; justify-content: flex-end; } .inner-box .other-info .item .right .text { font-size: 0.875rem; color: #1b1b1b; } .inner-box .other-info .item .right .ic-close { margin-left: 0.3125rem; width: 0.9375rem; height: 0.9375rem; } .inner-box .other-info .item .right .ic-back { margin-left: 0.3125rem; width: 0.46875rem; height: 0.9375rem; } .inner-box .other-info .item .item-btn { max-width: 6.25rem; padding: 0 0.46875rem; height: 1.5rem; border-radius: 0.75rem; line-height: 1.5rem; font-size: 0.75rem; color: #000; border: 0.03125rem solid #d8d8d8; display: flex; align-items: center; justify-content: center; } .inner-box .remarks { height: 2.75rem; padding: 0 0.9375rem; background: #FFFFFF; border-radius: 0.5rem; margin-top: 0.625rem; display: flex; align-items: center; } .inner-box .remarks uni-input { width: 100%; font-size: 0.875rem; font-family: PingFang SC; font-weight: 500; color: #000000; } .inner-box .remarks .input { font-size: 0.875rem; font-family: PingFang SC; font-weight: 500; color: #999999; } .btn-box { height: 4.375rem; z-index: 9999; width: 100%; padding: 0 0.9375rem; position: fixed; bottom: 0; left: 0; box-sizing: border-box; background-color: #ffffff; display: flex; align-items: center; justify-content: center; } .btn-box .btn { width: 100%; height: 2.75rem; line-height: 2.75rem; text-align: center; font-size: 1.0625rem; font-family: PingFang SC; font-weight: 400; color: #FFFFFF; background: #C39A58; border-radius: 0.3125rem; } .pay-type { box-sizing: border-box; height: 6rem; background: #FFFFFF; border-radius: 0.5rem; margin-top: 0.625rem; padding: 1.25rem 0.9375rem; display: flex; flex-direction: column; justify-content: space-between; } .pay-type .title { font-size: 0.875rem; font-family: PingFang SC; font-weight: 500; color: #999999; line-height: 1; } .pay-type .item { display: flex; align-items: center; justify-content: space-between; } .pay-type .item .left { display: flex; align-items: center; } .pay-type .item .left uni-image { width: 1.375rem; height: 1.375rem; margin-right: 0.625rem; } .pay-type .item .left .text { font-size: 0.9375rem; font-family: PingFang SC; font-weight: bold; color: #222222; line-height: 1; } .coupon { height: 100%; } .coupon .empty { display: flex; align-items: center; justify-content: center; height: 20.3125rem; width: 100%; } .coupon .empty uni-image { width: 8.75rem; height: 6.25rem; } .coupon-box { overflow-y: auto; padding: 2.5rem 0.625rem 2.5rem; height: 20.3125rem; width: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; box-sizing: border-box; } .coupon-box .coupon-item { width: 100%; display: flex; align-items: center; justify-content: flex-start; margin-bottom: 0.5rem; height: 5.3125rem; } .coupon-box .coupon-item:last-child { margin-bottom: 0; } .coupon-box .coupon-item .left { color: #fff; font-size: 1.125rem; font-weight: bold; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; width: 7.1875rem; } .coupon-box .coupon-item .left uni-image { position: absolute; width: 7.1875rem; height: 5.3125rem; color: #fff; } .coupon-box .coupon-item .left .num { font-size: 1.25rem; } .coupon-box .coupon-item .left .pic-num { font-size: 0.625rem; z-index: 99; } .coupon-box .coupon-item .right { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; height: 5.3125rem; width: calc(100% - 7.1875rem); padding: 0 0.53125rem 0 0.75rem; background-color: #fff; box-sizing: border-box; } .coupon-box .coupon-item .right .title { width: 100%; font-size: 0.9375rem; color: #282828; height: 2.90625rem; line-height: 2.90625rem; border-bottom: 1px solid #f0f0f0; } .coupon-box .coupon-item .right .btns { display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: 0.625rem; color: #999; height: 2.375rem; } .coupon-box .coupon-item .right .btns .btn { width: 4.25rem; height: 1.375rem; border-radius: 0.6875rem; font-size: 0.6875rem; color: #fff; text-align: center; line-height: 1.375rem; background-color: #C39A58; } .coupon-box .coupon-item .right .btns .btn .gray { background-color: #ccc; }