493 lines
9.6 KiB
Plaintext
493 lines
9.6 KiB
Plaintext
@charset "UTF-8"
|
||
/**
|
||
* 这里是uni-app内置的常用样式变量
|
||
*
|
||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||
*
|
||
*/
|
||
/**
|
||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||
*
|
||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||
*/
|
||
/* 颜色变量 */
|
||
/* 行为相关颜色 */
|
||
/* 文字基本颜色 */
|
||
/* 背景颜色 */
|
||
/* 边框颜色 */
|
||
/* 尺寸变量 */
|
||
/* 文字尺寸 */
|
||
/* 图片尺寸 */
|
||
/* Border Radius */
|
||
/* 水平间距 */
|
||
/* 垂直间距 */
|
||
/* 透明度 */
|
||
/* 文章场景相关 */
|
||
|
||
@charset "UTF-8";
|
||
/**
|
||
* 这里是uni-app内置的常用样式变量
|
||
*
|
||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||
*
|
||
*/
|
||
/**
|
||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||
*
|
||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||
*/
|
||
/* 颜色变量 */
|
||
/* 行为相关颜色 */
|
||
/* 文字基本颜色 */
|
||
/* 背景颜色 */
|
||
/* 边框颜色 */
|
||
/* 尺寸变量 */
|
||
/* 文字尺寸 */
|
||
/* 图片尺寸 */
|
||
/* Border Radius */
|
||
/* 水平间距 */
|
||
/* 垂直间距 */
|
||
/* 透明度 */
|
||
/* 文章场景相关 */
|
||
.m-product-all {
|
||
padding: 24rpx;
|
||
padding-top: 0rpx;
|
||
}
|
||
.m-product-list {
|
||
padding-top: 10rpx;
|
||
padding-top: 0rpx;
|
||
}
|
||
.m-product-list .store-box {
|
||
background-color: #fff;
|
||
border-radius: 20rpx;
|
||
margin-bottom: 30rpx;
|
||
}
|
||
.m-product-list .store-box .m-cell {
|
||
padding: 0;
|
||
}
|
||
.m-product-list .store-box .m-cell-access .m-cell-ft:after {
|
||
width: 4px;
|
||
height: 4px;
|
||
margin-top: -8rpx;
|
||
margin-left: 8rpx;
|
||
}
|
||
/*店铺信息 start*/
|
||
.m-store:after {
|
||
content: " ";
|
||
position: absolute;
|
||
left: 0;
|
||
bottom: 0;
|
||
right: 0;
|
||
height: 1px;
|
||
color: #ebebe7;
|
||
-webkit-transform-origin: 0 100%;
|
||
transform-origin: 0 100%;
|
||
-webkit-transform: scaleY(0.5);
|
||
transform: scaleY(0.5);
|
||
}
|
||
.m-store {
|
||
height: 100rpx;
|
||
border-bottom: 0rpx solid #e3e3e3;
|
||
position: relative;
|
||
overflow: hidden;
|
||
}
|
||
.m-store-c {
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
.m-store-ck {
|
||
display: flex;
|
||
justify-content: center;
|
||
margin-left: 7px;
|
||
width: 27px;
|
||
}
|
||
.thin-border-right {
|
||
border-top-left-radius: 12rpx;
|
||
border-bottom-left-radius: 12rpx;
|
||
border: 1px solid #dddddd;
|
||
}
|
||
.thin-border-left {
|
||
border-top-right-radius: 12rpx;
|
||
border-bottom-right-radius: 12rpx;
|
||
border: 1px solid #dddddd;
|
||
}
|
||
.m-store-info {
|
||
height: 100rpx;
|
||
line-height: 100rpx;
|
||
margin-left: 14rpx;
|
||
font-size: 15px;
|
||
font-weight: bold;
|
||
}
|
||
/*.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 !important;
|
||
font-size: 12px !important;
|
||
color: #b0b0b0 !important;
|
||
margin: 0 0 0 10rpx !important;
|
||
}
|
||
.m-act-img {
|
||
width: 100rpx;
|
||
height: 100rpx;
|
||
}
|
||
.m-item-act {
|
||
position: relative;
|
||
height: 100%;
|
||
width: 850rpx;
|
||
height: 100rpx;
|
||
}
|
||
.act-item-name {
|
||
width: 360rpx;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
}
|
||
.m-act-change {
|
||
float: right;
|
||
width: 100rpx;
|
||
background-color: #fff;
|
||
height: 100rpx;
|
||
line-height: 100rpx;
|
||
font-size: 28rpx;
|
||
position: absolute;
|
||
font-size: 28rpx;
|
||
top: 0rpx;
|
||
right: 100rpx;
|
||
color: #888;
|
||
text-align: center;
|
||
}
|
||
/*选择规格遮罩 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;
|
||
}
|
||
.manage {
|
||
margin: 20rpx 60rpx;
|
||
font-weight: bold;
|
||
text-align: right;
|
||
}
|
||
.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;
|
||
}
|
||
.u-cart-num::after {
|
||
border: none;
|
||
}
|
||
/* .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: relative;
|
||
margin-top: 12rpx;
|
||
z-index: 2;
|
||
}
|
||
.m-cart-ck {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 27px;
|
||
margin: 0 7px;
|
||
margin-top: -16px;
|
||
}
|
||
.uniui-circle-filled {
|
||
font-size: 24px;
|
||
}
|
||
.m-product-info {
|
||
width: 60%;
|
||
max-width: 60%;
|
||
height: auto;
|
||
padding: 0px 18px 14px 5px;
|
||
}
|
||
@media screen and (max-width: 320px) {
|
||
.m-product-info {
|
||
width: 57%;
|
||
}
|
||
}
|
||
@media screen and (min-width: 321px) {
|
||
.m-product-info {
|
||
width: 60%;
|
||
}
|
||
}
|
||
.m-product-info::before {
|
||
border: none;
|
||
}
|
||
.m-product-item::before {
|
||
content: "";
|
||
border: none;
|
||
}
|
||
.m-product-item:last-child::after {
|
||
content: "";
|
||
border: none;
|
||
}
|
||
.m-product-item:after {
|
||
content: " ";
|
||
position: absolute;
|
||
left: 0;
|
||
bottom: 0;
|
||
right: 0;
|
||
height: 1px;
|
||
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;
|
||
}
|
||
.m-item-c {
|
||
position: relative;
|
||
height: 100%;
|
||
width: 850rpx;
|
||
}
|
||
.u-del {
|
||
position: relative;
|
||
font-size: 20px;
|
||
top: -1px;
|
||
color: #888888;
|
||
}
|
||
/*底部按钮 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: 112rpx;
|
||
width: 100%;
|
||
position: fixed;
|
||
bottom: 0;
|
||
padding-bottom: constant(safe-area-inset-bottom);
|
||
padding-bottom: env(safe-area-inset-bottom);
|
||
left: 0;
|
||
background-color: #fff;
|
||
border-top: 0rpx solid #e3e3e3;
|
||
z-index: 3;
|
||
display: flex;
|
||
}
|
||
.m-footer-btn-list {
|
||
display: flex;
|
||
flex: 1;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
margin: 0 8px;
|
||
height: 100%;
|
||
}
|
||
.m-footer-btn-item-left {
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
.m-footer-btn-item-left .m-cart-ck {
|
||
margin-top: 0;
|
||
display: inline;
|
||
}
|
||
.m-footer-btn-main {
|
||
width: 23%;
|
||
height: 100%;
|
||
float: right;
|
||
background: #f30213;
|
||
color: #fff;
|
||
font-size: 32rpx;
|
||
text-align: center;
|
||
border-radius: 9px;
|
||
line-height: 80rpx;
|
||
height: auto;
|
||
text-align: center;
|
||
margin: auto;
|
||
margin-right: 20rpx;
|
||
}
|
||
.m-cart-total text {
|
||
font-size: 16px;
|
||
color: #f30213;
|
||
}
|
||
.m-cart-total label {
|
||
color: #f30213;
|
||
}
|
||
.m-cart-del {
|
||
display: flex;
|
||
align-items: center;
|
||
margin-left: 7px;
|
||
}
|
||
.m-cart-del .icon-delete {
|
||
font-size: 20px;
|
||
}
|
||
/*底部按钮 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: 34rpx;
|
||
font-size: 12px;
|
||
min-height: 34px;
|
||
}
|
||
.m-product-item {
|
||
padding: 0;
|
||
margin-top: 0;
|
||
display: block;
|
||
background-color: transparent;
|
||
}
|
||
.m-product-img {
|
||
width: 80px;
|
||
height: 80px;
|
||
}
|
||
.m-product-img image {
|
||
width: 80px;
|
||
height: 80px;
|
||
padding: 0;
|
||
}
|
||
.m-act-img {
|
||
width: 59px;
|
||
height: 59px;
|
||
}
|
||
.m-act-img image {
|
||
width: 59px;
|
||
height: 59px;
|
||
}
|
||
.m-product-box {
|
||
display: flex;
|
||
margin-right: 10px;
|
||
}
|
||
.m-product-price {
|
||
line-height: 40px !important;
|
||
flex: 1;
|
||
font-size: 12px;
|
||
}
|
||
.off-shelf-img {
|
||
width: 100rpx;
|
||
height: 100rpx;
|
||
float: right;
|
||
position: absolute;
|
||
right: 100rpx;
|
||
z-index: 3;
|
||
}
|
||
.off-shelf-simg {
|
||
width: 100rpx;
|
||
height: 100rpx;
|
||
float: right;
|
||
position: absolute;
|
||
z-index: 3;
|
||
right: -16rpx;
|
||
top: -10px;
|
||
}
|
||
.m-footer-btn-list .m-cart-ck {
|
||
line-height: 24px;
|
||
margin-left: 10rpx;
|
||
}
|
||
.u-num-btn {
|
||
width: 60rpx;
|
||
line-height: 56rpx;
|
||
height: 56rpx;
|
||
background: #f9f9f9;
|
||
}
|
||
.u-cart-num {
|
||
width: 90px;
|
||
height: 25px;
|
||
left: -20px;
|
||
}
|
||
.u-cart-num .u-num-btn {
|
||
width: 29px;
|
||
line-height: 28px;
|
||
height: 28px;
|
||
font-weight: bold;
|
||
}
|
||
.u-cart-num input {
|
||
font-size: 15px !important;
|
||
width: 28px;
|
||
height: 28px;
|
||
line-height: 28px;
|
||
border-top: 1px solid #dddddd;
|
||
border-bottom: 1px solid #dddddd;
|
||
}
|
||
.tag {
|
||
padding: 0 10rpx;
|
||
}
|
||
|