@charset "UTF-8"; /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ /*店铺信息 start*/ .m-store:after { content: " "; position: absolute; left: 0; bottom: 0; right: 0; height: 1px; border-bottom: 1px solid #ebebe7; color: #ebebe7; -webkit-transform-origin: 0 100%; transform-origin: 0 100%; -webkit-transform: scaleY(0.5); transform: scaleY(0.5); } .m-store { height: 100rpx; background-color: #f5f5f5; border-bottom: 0rpx solid #e3e3e3; position: relative; overflow: hidden; } .m-store-c { position: absolute; height: 100%; width: 850rpx; margin-left: 20rpx; } .m-store-ck { float: left; width: 100rpx; height: 100%; position: relative; } .m-store-ck icon, .m-store-ck .uni-icons { position: absolute; top: 50%; left: 50%; margin-top: -23rpx; margin-left: -23rpx; } .m-store-info { height: 100rpx; line-height: 100rpx; width: 538rpx; float: left; box-sizing: border-box; position: relative; } /*.m-store-info::before {content: " ";position: absolute;left: 0;bottom: 0;right: 0;height: 1rpx;border-bottom: 1rpx solid #e3e3e3;color: #CCCCCC;-webkit-transform-origin: 0 100%;transform-origin: 0 100%;-webkit-transform: scaleY(0.5);transform: scaleY(0.5);z-index: 3;}*/ .pre-info-price { height: 18rpx; font-size: 12rpx; color: #b0b0b0; margin: 0 0 0 10rpx; } .m-act-img { width: 100rpx; height: 100rpx; } .m-item-act { position: relative; height: 100%; width: 850rpx; height: 100rpx; } .act-item-name { width: 438rpx; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } .m-act-change { float: right; width: 100rpx; background-color: #fff; height: 100%; font-size: 28rpx; position: absolute; font-size: 28rpx; top: 30rpx; right: 120rpx; color: #888; } /*选择规格遮罩 start*/ .m-panel-sp { position: fixed; width: 100%; height: 100%; top: 0; left: 0; z-index: 4; background-color: rgba(0, 0, 0, 0.2); } .m-panel-sp-content { background-color: #fff; position: absolute; width: 100%; bottom: 0; box-shadow: 0px -10rpx 15rpx rgba(0, 0, 0, 0.35); } .m-panel-sp-pinfo { height: 80rpx; box-sizing: border-box; padding: 20rpx; position: relative; } .m-panel-sp-pimg { width: 100rpx; height: 100rpx; background-color: #fff; border-radius: 8rpx; box-sizing: border-box; padding: 10rpx; box-shadow: 0px 0rpx 10rpx rgba(0, 0, 0, 0.35); float: left; } .m-panel-sp-pimg image { width: 100%; height: 100%; } .m-panel-sp-pname { padding-left: 20rpx; width: 580rpx; /*float:right;*/ font-size: 28rpx; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; margin-top: 6rpx; } .m-panel-sp-pname .m-pprice { color: #f30213; font-size: 32rpx; line-height: 50rpx; font-weight: bold; } .m-panel-sp-icon { position: absolute; right: 20rpx; top: 20rpx; } /* .m-panel-sp-listbox{height: 604rpx;} */ .m-panel-sp-listbox-item { height: 130rpx; border-top: 1rpx solid #e3e3e3; box-sizing: border-box; padding: 10rpx 20rpx; } /*选择规格遮罩 end*/ .u-cart-num { position: absolute; bottom: 20rpx; right: 20rpx; z-index: 2; } .m-cart-ck { float: left; width: 100rpx; background-color: #fff; height: 100%; position: relative; } .m-cart-ck icon, .m-cart-ck .uni-icons { position: absolute; top: 50%; left: 50%; margin-top: -23rpx; margin-left: -23rpx; } .m-product-info { width: 466rpx; height: 160rpx; } .m-product-info::before { border: none; } .m-product-item:after { content: " "; position: absolute; left: 0; bottom: 0; right: 0; height: 1px; border-bottom: 1px solid #ebebe7; color: #ebebe7; /*transform-origin: 0 100%;*/ -webkit-transform: scaleY(0.5); transform: scaleY(0.5); } .m-product-item { border-bottom: 0rpx solid #e3e3e3; position: relative; overflow: hidden; height: auto; margin-top: 6rpx; } .m-item-c { position: relative; height: 100%; width: 850rpx; height: 160rpx; } .u-del { width: 100rpx; background-color: #f30213; float: right; height: 100%; color: #fff; font-size: 28rpx; text-align: center; line-height: 160rpx; } /*底部按钮 start*/ .m-footer-btn:before { content: " "; position: absolute; left: 0; bottom: 0; right: 0; height: 1px; border-bottom: 1px solid #ebebe7; color: #ebebe7; -webkit-transform-origin: 0 100%; transform-origin: 0 100%; -webkit-transform: scaleY(0.5); transform: scaleY(0.5); } .m-footer-btn { height: 100rpx; width: 100%; position: fixed; bottom: 0; left: 0; background-color: #fff; border-top: 0rpx solid #e3e3e3; z-index: 3; } .m-footer-btn { height: 100rpx; width: 100%; position: fixed; bottom: 0; left: 0; background-color: #fff; border-top: 1rpx solid #d5d5d5; border-radius: 0; z-index: 100; } .m-footer-btn-list { width: 70%; height: 100%; position: relative; float: left; } .m-footer-btn-item { position: relative; float: left; width: 100%; font-size: 24rpx; color: #888; line-height: 40rpx; padding: 15rpx 0; box-sizing: border-box; height: 100%; } .m-footer-btn-main { width: 30%; height: 100%; float: left; background-color: #f30213; color: #fff; line-height: 100rpx; font-size: 32rpx; text-align: center; border-radius: 0; } .m-cart-total { text-align: right; padding-right: 20rpx; } .m-cart-total text { font-size: 36rpx; color: #f30213; } .m-cart-total label { color: #f30213; } .m-cart-del { line-height: 70rpx; font-size: 32rpx; } /*底部按钮 end*/ .del { -webkit-animation: mdel 0.2s 1; animation: mdel 0.2s 1; left: -100rpx; } @-webkit-keyframes mdel { 0% { left: 0; } 100% { left: -100rpx; } } @keyframes mdel { 0% { left: 0; } 100% { left: -100rpx; } } view { font-size: 28rpx; line-height: 2; } .m-product-name { line-height: 40rpx; height: 80rpx; } .m-footer-btn-icon { width: 40rpx; height: 28rpx; position: relative; line-height: 28rpx; top: 28rpx; } .m-cell::before { border-top: 0px solid #ebebe7; } .m-order-typetxt { color: #db384c; } .m-product-img { width: 160rpx; height: 160rpx; }