You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
654 lines
10 KiB
654 lines
10 KiB
.header-box {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: $text-3xl;
|
|
|
|
.icon-search1 {
|
|
font-size: $text-8xl;
|
|
margin-left: 38rpx;
|
|
}
|
|
}
|
|
|
|
|
|
.container {
|
|
width: 100%;
|
|
height: calc(100% - 47px);
|
|
}
|
|
|
|
.nav {
|
|
width: 100%;
|
|
padding: 5px 1%;
|
|
height: 49px;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
box-shadow: rgba(240, 240, 240, 0.4) 0 1px;
|
|
border-top: solid 1px #f2f2f2;
|
|
border-bottom: solid 1px #f7f7f7;
|
|
white-space: nowrap;
|
|
/* position: fixed; */
|
|
/* top: 0;
|
|
left: 0; */
|
|
z-index: 99;
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.nav-item {
|
|
width: 200rpx;
|
|
display: inline-block;
|
|
text-align: center;
|
|
/* height: 24px; */
|
|
padding: 12rpx 6rpx;
|
|
font-size: 32rpx;
|
|
}
|
|
|
|
.nav-item.active {
|
|
color: #ffffff;
|
|
background-color: #3aa24b;
|
|
border-radius: 34rpx;
|
|
}
|
|
|
|
.tab-content {
|
|
display: flex;
|
|
/* margin-top: 68rpx; */
|
|
width: 100%;
|
|
height: calc(100% - 49px);
|
|
font-size: 24rpx;
|
|
background: #fafafa;
|
|
}
|
|
|
|
.content-left {
|
|
overflow-y: scroll;
|
|
width: 22%;
|
|
height: 100%;
|
|
background: #f7f7f7;
|
|
text-align: center;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.noneData {
|
|
text-align: center;
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
line-height: 100rpx;
|
|
}
|
|
|
|
.loadingNone {
|
|
text-align: center;
|
|
line-height: 48rpx;
|
|
color: #cccccc;
|
|
}
|
|
|
|
.left-item {
|
|
border-bottom: solid 1px #f4f4f4;
|
|
padding: 40rpx 20rpx;
|
|
}
|
|
|
|
.left-item.active {
|
|
color: #3aa24b;
|
|
background-color: #ffffff;
|
|
/* border-left: #3aa24b solid 8rpx; */
|
|
}
|
|
|
|
.list {
|
|
/* border-bottom: solid 1px rgba(5, 162, 71, 0.2); */
|
|
background: #ffffff;
|
|
margin-bottom: 12rpx;
|
|
padding: 10rpx 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.list .info-image {
|
|
width: 120rpx;
|
|
height: 120rpx;
|
|
border: solid 1px #cdcdcd;
|
|
float: left;
|
|
margin-right: 20rpx;
|
|
margin-left: 20rpx;
|
|
}
|
|
|
|
.list .info {
|
|
/* height: 124rpx; */
|
|
padding: 0 20rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.list .info-title {
|
|
padding: 10rpx 0;
|
|
overflow: hidden;
|
|
width: calc(100% - 56rpx)
|
|
}
|
|
|
|
.list .info-title .info-name {
|
|
font-weight: bold;
|
|
font-size: 28rpx;
|
|
margin-bottom: 10rpx;
|
|
/* float: left; */
|
|
}
|
|
|
|
.list .info-title .info-stock {
|
|
float: right;
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.list .info-count {
|
|
overflow: hidden;
|
|
width: 56rpx;
|
|
height: 56rpx;
|
|
text-align: center;
|
|
background: #3aa24b;
|
|
line-height: 56rpx;
|
|
color: #ffffff;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.unit-price {
|
|
font-size: 24rpx;
|
|
float: left;
|
|
}
|
|
|
|
.count-btn {
|
|
float: right;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.list_cart {
|
|
background: #ffffff;
|
|
padding: 20rpx 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.list_cart:not(:last-child)::after {
|
|
position: absolute;
|
|
box-sizing: border-box;
|
|
content: ' ';
|
|
pointer-events: none;
|
|
right: 0;
|
|
left: 0;
|
|
border-bottom: 1px solid #ededed;
|
|
-webkit-transform: scaleY(.5);
|
|
transform: scaleY(.5);
|
|
}
|
|
|
|
.list_cart .info-image {
|
|
width: 120rpx;
|
|
height: 120rpx;
|
|
/* border: solid 1px #cdcdcd; */
|
|
float: left;
|
|
margin-right: 20rpx;
|
|
margin-left: 20rpx;
|
|
}
|
|
|
|
.list_cart .info {
|
|
/* height: 124rpx; */
|
|
padding: 0 20rpx;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.list_cart .info-title {
|
|
padding: 20rpx 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.list_cart .info-title .info-name {
|
|
font-weight: bold;
|
|
font-size: 26rpx;
|
|
float: left;
|
|
}
|
|
|
|
.list_cart .info-title .info-stock {
|
|
float: right;
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.list_cart .info-count {
|
|
overflow: hidden;
|
|
padding: 10rpx 0;
|
|
}
|
|
|
|
.norms {
|
|
float: right;
|
|
border: solid 4rpx #3aa24b;
|
|
color: #3aa24b;
|
|
padding: 10rpx 16rpx;
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.count-btn .icon-add,
|
|
.count-btn .icon-minus {
|
|
color: #3aa24b;
|
|
font-size: 48rpx;
|
|
}
|
|
|
|
.count-btn .num {
|
|
width: 64rpx;
|
|
font-size: 28rpx;
|
|
text-align: center;
|
|
line-height: 40rpx;
|
|
padding: 0;
|
|
margin-top: 4rpx;
|
|
}
|
|
|
|
.footer {
|
|
height: 100rpx;
|
|
position: fixed;
|
|
z-index: 99999;
|
|
bottom: 0;
|
|
width: 100%;
|
|
background: #ffffff;
|
|
border-top: solid 1px #f7f7f7;
|
|
}
|
|
|
|
.foot-left {
|
|
float: left;
|
|
margin-left: 20rpx;
|
|
overflow: hidden;
|
|
min-width: 400rpx;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.foot-right {
|
|
float: right;
|
|
}
|
|
|
|
.total-price {
|
|
color: #fb615d;
|
|
padding: 4rpx 0;
|
|
}
|
|
|
|
.other-price {
|
|
font-size: 24rpx;
|
|
color: #b6b6b6;
|
|
}
|
|
|
|
.foot-right button {
|
|
border-radius: 0;
|
|
border: none;
|
|
font-size: 28rpx;
|
|
line-height: 100rpx;
|
|
background: #3aa24b;
|
|
}
|
|
|
|
.search {
|
|
width: calc(100% - 90rpx);
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.search_arr {
|
|
border: 1px solid #d9d9d9;
|
|
border-radius: 60rpx;
|
|
margin-left: 20rpx;
|
|
}
|
|
|
|
.search_arr input {
|
|
margin-left: 20rpx;
|
|
height: 60rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.sousuo {
|
|
/* margin-left: 10rpx; */
|
|
width: 70rpx;
|
|
line-height: 60rpx;
|
|
text-align: right;
|
|
font-size: 28rpx;
|
|
/* border: 1px solid #d0d0d0; */
|
|
/* border-radius: 10rpx; */
|
|
}
|
|
|
|
.page_row {
|
|
display: flex;
|
|
flex-direction: row;
|
|
padding: 12rpx 0;
|
|
}
|
|
|
|
.searchcion {
|
|
position: absolute;
|
|
right: 110rpx;
|
|
top: 32rpx;
|
|
z-index: 2222222;
|
|
text-align: center;
|
|
}
|
|
|
|
.clearcion {
|
|
position: absolute;
|
|
right: 144rpx;
|
|
top: 24rpx;
|
|
z-index: 222222;
|
|
width: 28rpx;
|
|
height: 28rpx;
|
|
}
|
|
|
|
.clearcion:before {
|
|
position: absolute;
|
|
content: '';
|
|
width: 28rpx;
|
|
height: 4rpx;
|
|
background: #CCCCCC;
|
|
transform: rotate(45deg);
|
|
top: 20rpx;
|
|
right: 0;
|
|
}
|
|
|
|
.clearcion:after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 28rpx;
|
|
height: 4rpx;
|
|
background: #CCCCCC;
|
|
transform: rotate(-45deg);
|
|
top: 20rpx;
|
|
right: 0;
|
|
}
|
|
|
|
.count-btn .icon-jian,
|
|
.count-btn .icon-jia {
|
|
font-size: 48rpx;
|
|
color: #FFFFFF;
|
|
background: #3aa24b;
|
|
border-radius: 50%;
|
|
width: 52rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.notNull {
|
|
border: solid 1px #3aa24b;
|
|
border-radius: 30rpx;
|
|
padding: 0 6rpx;
|
|
}
|
|
|
|
.notNull .icon-jian,
|
|
.notNull .icon-jia {
|
|
border: none;
|
|
color: #3aa24b;
|
|
background: none;
|
|
}
|
|
|
|
.Arrow {
|
|
width: 30rpx;
|
|
height: 30rpx;
|
|
background: red;
|
|
border-radius: 30rpx;
|
|
}
|
|
|
|
.productName {
|
|
padding: 10rpx 0;
|
|
width: 50%;
|
|
float: left;
|
|
}
|
|
|
|
.order-tag {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
box-sizing: border-box;
|
|
min-width: 32rpx;
|
|
padding: 0 6rpx;
|
|
color: #fff;
|
|
font-weight: 500;
|
|
font-size: 24rpx;
|
|
font-family: PingFang SC, Helvetica Neue, Arial, sans-serif;
|
|
line-height: 28rpx;
|
|
text-align: center;
|
|
background-color: #ee0a24;
|
|
border: 1px solid #fff;
|
|
border-radius: 32rpx;
|
|
-webkit-transform: translate(50%, -50%);
|
|
transform: translate(50%, -50%);
|
|
-webkit-transform-origin: 100%;
|
|
transform-origin: 100%;
|
|
}
|
|
|
|
/*使屏幕变暗 */
|
|
.commodity_screen,
|
|
.commodity_screen_languge {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
background: #000;
|
|
opacity: 0.2;
|
|
overflow: hidden;
|
|
z-index: 100000;
|
|
color: #fff;
|
|
}
|
|
|
|
.commodity_screen_languge {
|
|
z-index: 100001;
|
|
}
|
|
|
|
/*对话框 */
|
|
.commodity_attr_box {
|
|
height: 700rpx;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 100000;
|
|
background: #fff;
|
|
padding-top: 20rpx;
|
|
}
|
|
|
|
.languge_box,
|
|
.cart_pop {
|
|
/* height: 300rpx; */
|
|
width: 100%;
|
|
overflow: hidden;
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 100002;
|
|
background: #fff;
|
|
padding-top: 20rpx;
|
|
}
|
|
|
|
.cart_pop {
|
|
max-height: 65%;
|
|
z-index: 9999;
|
|
margin-bottom: 47px;
|
|
padding: 20rpx 0;
|
|
}
|
|
|
|
.pop_header {
|
|
text-align: right;
|
|
padding: 0 32rpx 20rpx 32rpx;
|
|
border-bottom: solid 1px #d9d9d9;
|
|
}
|
|
|
|
.icon-shanchu1 {
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.record_btn {
|
|
position: absolute;
|
|
left: 0;
|
|
width: 50rpx;
|
|
height: 55rpx;
|
|
padding-left: 20rpx;
|
|
padding-top: 2px;
|
|
}
|
|
|
|
.header {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 9999;
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 新版样式 */
|
|
.first {
|
|
margin-left: 41rpx;
|
|
}
|
|
|
|
.first .box {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.first .box .icon {
|
|
width: 31rpx;
|
|
height: 40rpx;
|
|
}
|
|
|
|
.first .box .text {
|
|
font-weight: bold;
|
|
font-size: 33rpx;
|
|
color: #333333;
|
|
margin-left: 33rpx;
|
|
}
|
|
|
|
.second {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
padding: 21rpx 18rpx 28rpx 18rpx;
|
|
box-sizing: border-box;
|
|
border-bottom: 1px solid #CCCCCC;
|
|
}
|
|
|
|
.second .second-list {
|
|
min-width: 153rpx;
|
|
line-height: 58rpx;
|
|
text-align: center;
|
|
display: inline-block;
|
|
margin-left: 23rpx;
|
|
background: #F0F0F0;
|
|
border-radius: 60rpx;
|
|
font-weight: 400;
|
|
font-size: 26rpx;
|
|
color: #333333;
|
|
padding: 0 20rpx;
|
|
box-sizing: border-box;
|
|
transition: .3s all;
|
|
}
|
|
|
|
.second .second-list-active {
|
|
background: #06CA64;
|
|
color: #fff;
|
|
}
|
|
|
|
.page-container {
|
|
// padding-top: 35rpx;
|
|
display: flex;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
|
|
|
|
.page-container .left {
|
|
width: 150rpx;
|
|
height: 100%;
|
|
overflow-y: scroll;
|
|
font-weight: 400;
|
|
font-size: 26rpx;
|
|
color: #333333;
|
|
background: #F8FAF7;
|
|
padding-top: 35rpx;
|
|
// padding-top: 14rpx;
|
|
}
|
|
|
|
.page-container .left .text {
|
|
padding-bottom: 37rpx;
|
|
}
|
|
|
|
.page-container .left .text .name {
|
|
padding: 0 18rpx;
|
|
transition: .3s all;
|
|
}
|
|
|
|
.page-container .left .text-active {
|
|
color: #06CA64;
|
|
position: relative;
|
|
}
|
|
|
|
.page-container .left .text-active::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 6rpx;
|
|
background: #06CA64;
|
|
border-radius: 2rpx;
|
|
width: 4rpx;
|
|
height: 100%;
|
|
}
|
|
|
|
.page-container .right {
|
|
padding-top: 35rpx;
|
|
flex: 1;
|
|
padding-left: 14rpx;
|
|
padding-right: 14rpx;
|
|
}
|
|
|
|
.page-container .right .right-list {
|
|
display: flex;
|
|
align-items: center;
|
|
padding-bottom: 27rpx;
|
|
border-bottom: 1px solid #CCCCCC;
|
|
margin-top: 42rpx;
|
|
}
|
|
|
|
.page-container .right .right-list:first-child{
|
|
margin-top: 0;
|
|
}
|
|
|
|
.page-container .right .right-list .info {
|
|
flex: 1;
|
|
margin-right: 15rpx;
|
|
}
|
|
|
|
.page-container .right .right-list .info .top {
|
|
font-weight: 500;
|
|
font-size: 29rpx;
|
|
color: #333333;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.page-container .right .right-list .info .under {
|
|
margin-top: 31rpx;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.page-container .right .right-list .info .under .name {
|
|
font-weight: 400;
|
|
font-size: 26rpx;
|
|
color: #666666;
|
|
margin-right: 20rpx;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.page-container .right .right-list .add {
|
|
width: 58rpx;
|
|
height: 58rpx;
|
|
background: #06CA64;
|
|
border-radius: 21rpx 0rpx 21rpx 0rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.page-container .right .right-list .add .icon{
|
|
width: 28rpx;
|
|
height: 28rpx;
|
|
}
|
|
.Arrow,
|
|
.round {
|
|
width: 30rpx;
|
|
height: 30rpx;
|
|
background: red;
|
|
border-radius: 30rpx;
|
|
}
|
|
|
|
.round {
|
|
border-radius: 50%;
|
|
position: fixed;
|
|
right: 0;
|
|
top: 0;
|
|
}
|