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.
1259 lines
22 KiB
1259 lines
22 KiB
.header-box {
|
|
width: 100%;
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
background-color: #fff;
|
|
z-index: 99999999;
|
|
.box {
|
|
margin-left: 14rpx;
|
|
margin-right: 14rpx;
|
|
// width: 70%;
|
|
display: flex;
|
|
align-items: center;
|
|
border-radius: 50rpx;
|
|
border: 1px solid #06CA64;
|
|
input {
|
|
margin: 0 15rpx;
|
|
font-weight: 400;
|
|
font-size: 25rpx;
|
|
color: #333;
|
|
flex: 1;
|
|
}
|
|
.icon-search1 {
|
|
margin-left: 38rpx;
|
|
}
|
|
.icon-yuyin {
|
|
margin-right: 30rpx;
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/** index.wxss **/
|
|
|
|
page {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
height: calc(100% - 180rpx);
|
|
}
|
|
|
|
.nav-box {
|
|
height: 180rpx;
|
|
width: 100%;
|
|
box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.1);
|
|
display: flex;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.nav {
|
|
width: 90%;
|
|
height: 100%;
|
|
padding: 5px 0% 0px 1%;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
box-shadow: rgba(240, 240, 240, 0.4) 0 2rpx;
|
|
border-top: solid 1px #f2f2f2;
|
|
border-bottom: solid 1px #f7f7f7;
|
|
white-space: nowrap;
|
|
background-color: #fff;
|
|
/* position: fixed; */
|
|
/* top: 0; left: 0; */
|
|
z-index: 99;
|
|
font-size: $text-base;
|
|
}
|
|
|
|
.nav-item-box {
|
|
width: 150rpx;
|
|
display: inline-block;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.nav-item-img {
|
|
width: 90rpx;
|
|
height: 90rpx;
|
|
border-radius: 50%;
|
|
border: 4rpx solid #3aa24b00;
|
|
margin: 0 auto;
|
|
display: block;
|
|
}
|
|
|
|
.nav-item {
|
|
/* display: inline-block; */
|
|
text-align: center;
|
|
/* height: 24px; */
|
|
padding: 5rpx 4rpx;
|
|
font-size: 28rpx;
|
|
margin-top: 10rpx;
|
|
|
|
&.active {
|
|
color: #ffffff;
|
|
background-color: #3aa24b;
|
|
border-radius: 34rpx;
|
|
}
|
|
}
|
|
|
|
.all {
|
|
width: 10%;
|
|
position: relative;
|
|
z-index: 10;
|
|
display: flex;
|
|
|
|
.border {
|
|
background-color: #000;
|
|
width: 2rpx;
|
|
height: 100%;
|
|
filter: blur(2rpx);
|
|
opacity: .15;
|
|
}
|
|
|
|
.text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 28rpx;
|
|
color: #666666;
|
|
background-color: #fff;
|
|
}
|
|
}
|
|
|
|
.mask {
|
|
position: fixed;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 999999;
|
|
background-color: #000;
|
|
opacity: .4;
|
|
}
|
|
|
|
.tab-content {
|
|
display: flex;
|
|
/* margin-top: 68rpx; */
|
|
width: 100%;
|
|
height: calc(100% - 240rpx);
|
|
font-size: $text-base;
|
|
}
|
|
|
|
.content-left {
|
|
overflow-y: scroll;
|
|
width: 22%;
|
|
height: 100%;
|
|
background: #f7f7f7;
|
|
text-align: center;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.noneData {
|
|
text-align: center;
|
|
font-size: $text-5xl;
|
|
|
|
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;
|
|
|
|
&.active {
|
|
color: #3aa24b;
|
|
background-color: #ffffff;
|
|
/* border-left: #3aa24b solid 8rpx; */
|
|
}
|
|
}
|
|
|
|
.list {
|
|
background: #ffffff;
|
|
padding: 20rpx 0;
|
|
overflow: hidden;
|
|
|
|
&: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);
|
|
}
|
|
|
|
.info-image {
|
|
width: 108rpx;
|
|
height: 108rpx;
|
|
/* border: solid 1px #cdcdcd; */
|
|
float: left;
|
|
/* margin-right: 20rpx; */
|
|
margin-left: 20rpx;
|
|
}
|
|
}
|
|
|
|
.next {
|
|
background-color: #fff;
|
|
text-align: center;
|
|
padding: 30px 0;
|
|
font-size: 30rpx;
|
|
}
|
|
|
|
.info {
|
|
/* height: 124rpx; */
|
|
padding: 0 20rpx;
|
|
margin-bottom: 20rpx;
|
|
flex: 1;
|
|
|
|
&-title {
|
|
padding: 20rpx 0;
|
|
overflow: hidden;
|
|
|
|
.info-name {
|
|
font-weight: bold;
|
|
font-size: 32rpx;
|
|
float: left;
|
|
}
|
|
|
|
.info-stock {
|
|
float: right;
|
|
font-size: $text-base;
|
|
}
|
|
}
|
|
|
|
&-count {
|
|
/* overflow: hidden; */
|
|
padding: 10rpx 0;
|
|
|
|
&::after {
|
|
content: "";
|
|
display: block;
|
|
height: 0;
|
|
visibility: hidden;
|
|
clear: both;
|
|
}
|
|
}
|
|
}
|
|
|
|
.unit-price {
|
|
width: 100%;
|
|
font-size: $text-base;
|
|
float: left;
|
|
}
|
|
|
|
.count-btn {
|
|
float: right;
|
|
overflow: hidden;
|
|
margin-top: -50rpx;
|
|
|
|
.icon-minus,
|
|
.icon-add,
|
|
.icon-jian,
|
|
.icon-jia {
|
|
font-size: 48rpx;
|
|
color: #3aa24b;
|
|
}
|
|
|
|
.icon-jian,
|
|
.icon-jia {
|
|
color: #FFFFFF;
|
|
background: #3aa24b;
|
|
border-radius: 50%;
|
|
width: 52rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.num {
|
|
width: 64rpx;
|
|
font-size: 28rpx;
|
|
text-align: center;
|
|
line-height: 40rpx;
|
|
padding: 0;
|
|
margin-top: 4rpx;
|
|
}
|
|
}
|
|
|
|
.notNull {
|
|
border: solid 1px #3aa24b;
|
|
border-radius: 30rpx;
|
|
padding: 0 6rpx;
|
|
|
|
.icon-jian,
|
|
.icon-jia {
|
|
border: none;
|
|
color: #3aa24b;
|
|
background: none;
|
|
}
|
|
}
|
|
|
|
.norms {
|
|
float: right;
|
|
border: solid 4rpx #3aa24b;
|
|
color: #3aa24b;
|
|
padding: 10rpx 16rpx;
|
|
font-size: $text-base;
|
|
margin-top: -50rpx;
|
|
}
|
|
|
|
.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;
|
|
|
|
button {
|
|
border-radius: 0;
|
|
border: none;
|
|
font-size: 32rpx;
|
|
line-height: 100rpx;
|
|
background: #3aa24b;
|
|
}
|
|
}
|
|
|
|
.total-price {
|
|
color: #fb615d;
|
|
padding: 4rpx 0;
|
|
}
|
|
|
|
.other-price {
|
|
font-size: $text-base;
|
|
color: #b6b6b6;
|
|
}
|
|
|
|
.search {
|
|
width: calc(100% - 150rpx);
|
|
font-size: 28rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.search_arr {
|
|
border: 1px solid #d9d9d9;
|
|
border-radius: 60rpx;
|
|
|
|
input {
|
|
margin-left: 20rpx;
|
|
height: 30px;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
.sousuo {
|
|
width: 70rpx;
|
|
line-height: 30px;
|
|
text-align: right;
|
|
font-size: 32rpx;
|
|
}
|
|
|
|
.big-type {
|
|
position: fixed;
|
|
z-index: 999999;
|
|
background-color: #fff;
|
|
width: 100%;
|
|
padding: 30rpx 30rpx 20rpx 30rpx;
|
|
box-sizing: border-box;
|
|
transition: .3s all;
|
|
border-radius: 0 0 20rpx 20rpx;
|
|
|
|
.title {
|
|
font-size: 28rpx;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.list-box {
|
|
margin-top: 20rpx;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
|
|
.listx {
|
|
width: calc(100% / 5);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 16rpx 0px;
|
|
|
|
.img {
|
|
width: 110rpx;
|
|
height: 110rpx;
|
|
border-radius: 50%;
|
|
border: 4rpx solid #3aa24b00;
|
|
}
|
|
|
|
.tab-selected-img {
|
|
border: 4rpx solid #3aa24b;
|
|
}
|
|
|
|
.name {
|
|
font-size: $text-base;
|
|
margin-top: 12rpx;
|
|
text-align: center;
|
|
padding: 10rpx 8rpx;
|
|
box-sizing: border-box;
|
|
border-radius: 40rpx;
|
|
width: 100%;
|
|
|
|
&.active {
|
|
background-color: #3aa24b;
|
|
border-radius: 34rpx;
|
|
color: #fff;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.retract {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #666666;
|
|
// font-size: $text-base;
|
|
font-size: $text-base;
|
|
margin-top: 30rpx;
|
|
|
|
.left {
|
|
margin-right: 6rpx;
|
|
}
|
|
}
|
|
}
|
|
|
|
.page_row {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: row;
|
|
padding: 6px 0;
|
|
position: relative;
|
|
z-index: 9999999;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.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;
|
|
|
|
&:before,
|
|
&:after {
|
|
position: absolute;
|
|
content: '';
|
|
width: 28rpx;
|
|
height: 4rpx;
|
|
background: #CCCCCC;
|
|
top: 20rpx;
|
|
right: 0;
|
|
}
|
|
|
|
&:before {
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
&:after {
|
|
transform: rotate(-45deg);
|
|
}
|
|
}
|
|
|
|
.Arrow,
|
|
.round {
|
|
width: 30rpx;
|
|
height: 30rpx;
|
|
background: red;
|
|
border-radius: 30rpx;
|
|
}
|
|
|
|
.round {
|
|
border-radius: 50%;
|
|
position: fixed;
|
|
right: 0;
|
|
top: 0;
|
|
}
|
|
|
|
.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: $text-base;
|
|
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%;
|
|
}
|
|
|
|
.record_btn {
|
|
width: 50rpx;
|
|
height: 55rpx;
|
|
padding-left: 20rpx;
|
|
padding-top: 2px;
|
|
}
|
|
|
|
/* 使屏幕变暗 */
|
|
.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;
|
|
}
|
|
|
|
.select {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 0 0 20rpx;
|
|
justify-content: center;
|
|
|
|
.select_text {
|
|
font-size: 32rpx;
|
|
color: #333333;
|
|
line-height: 68rpx;
|
|
}
|
|
|
|
.select_img {
|
|
width: 40rpx;
|
|
height: 40rpx;
|
|
display: block;
|
|
transition: transform 0.3s;
|
|
opacity: 0.4;
|
|
|
|
&_rotate {
|
|
transform: rotate(180deg);
|
|
opacity: 0.8;
|
|
}
|
|
}
|
|
}
|
|
|
|
.languge_list {
|
|
line-height: 90rpx;
|
|
text-align: center;
|
|
font-size: 32rpx;
|
|
}
|
|
|
|
.record_action {
|
|
text-align: center;
|
|
position: absolute;
|
|
bottom: 20px;
|
|
width: 100%;
|
|
line-height: 40px;
|
|
color: #666666;
|
|
}
|
|
|
|
.yuyin_btn {
|
|
position: relative;
|
|
width: 55px;
|
|
height: 55px;
|
|
margin: auto;
|
|
}
|
|
|
|
@keyframes warn1 {
|
|
100% {
|
|
transform: scale(0.8);
|
|
-webkit-transform: scale(0.8);
|
|
opacity: 0.0;
|
|
}
|
|
|
|
50% {
|
|
transform: scale(0.5);
|
|
-webkit-transform: scale(0.5);
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
|
|
.pulse {
|
|
position: absolute;
|
|
width: 101px;
|
|
height: 101px;
|
|
left: -23px;
|
|
top: -23px;
|
|
/* border: 1px solid #F56C6C; */
|
|
background: #3aa24b;
|
|
-webkit-border-radius: 50%;
|
|
-moz-border-radius: 50%;
|
|
border-radius: 50%;
|
|
z-index: 1;
|
|
opacity: 0;
|
|
animation: warn1 2s linear 0.8s infinite;
|
|
}
|
|
|
|
.arrow-down {
|
|
border: solid #333333;
|
|
border-width: 0 2px 2px 0;
|
|
display: inline-block;
|
|
padding: 6px;
|
|
transform: rotate(45deg);
|
|
-webkit-transform: rotate(45deg);
|
|
}
|
|
|
|
.search_box {
|
|
border-radius: 60rpx;
|
|
border: 1px solid #3aa24b;
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 5rpx 5rpx 5rpx 20rpx;
|
|
box-sizing: border-box;
|
|
|
|
.box {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
input {
|
|
width: 100%;
|
|
padding-left: 10rpx;
|
|
}
|
|
|
|
.btn {
|
|
/* width: 150rpx; */
|
|
text-align: center;
|
|
padding: 15rpx 30rpx;
|
|
background-color: #3aa24b;
|
|
color: #fff;
|
|
border-radius: 60rpx;
|
|
font-size: 32rpx;
|
|
}
|
|
}
|
|
|
|
.top-text {
|
|
position: relative;
|
|
text-align: center;
|
|
|
|
.text {
|
|
position: absolute;
|
|
left: 20rpx;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: #3aa24b;
|
|
font-weight: bold;
|
|
font-size: 80rpx;
|
|
}
|
|
|
|
.title {
|
|
font-size: 30rpx;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
|
|
.top-bar {
|
|
position: relative;
|
|
z-index: 9999999;
|
|
background-color: #fff;
|
|
}
|
|
|
|
/* 全新样式 */
|
|
.first-box {
|
|
height: 160rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
margin-top: 5rpx;
|
|
padding-top: 12rpx;
|
|
position: relative;
|
|
z-index: 9;
|
|
border-bottom: 1px solid #CCCCCC;
|
|
|
|
.left {
|
|
padding-left: 19rpx;
|
|
flex: 1;
|
|
width: 90%;
|
|
|
|
.scroll-view {
|
|
width: 100%;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.list-box {
|
|
display: inline-block;
|
|
margin-right: 24rpx;
|
|
}
|
|
|
|
.type-list {
|
|
width: 100rpx;
|
|
height: 160rpx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
.image {
|
|
width: 80rpx;
|
|
height: 80rpx;
|
|
}
|
|
|
|
.name {
|
|
font-weight: 400;
|
|
font-size: $text-sm;
|
|
// font-size: 25rpx;
|
|
color: #333333;
|
|
margin-top: 8rpx;
|
|
transition: .3s all;
|
|
|
|
&-active {
|
|
color: #06CA64;
|
|
position: relative;
|
|
|
|
&::after {
|
|
width: 55rpx;
|
|
height: 5rpx;
|
|
content: "";
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: -20rpx;
|
|
transform: translateX(-50%);
|
|
background: #06CA64;
|
|
border-radius: 3px 3px 0px 0px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.right {
|
|
width: 76rpx;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #FFFFFF;
|
|
box-shadow: -3rpx 0rpx 10rpx -2rpx rgba(77, 77, 77, 0.3);
|
|
|
|
.text {
|
|
font-weight: 400;
|
|
font-size: $text-lg;
|
|
color: #4D4D4D;
|
|
}
|
|
|
|
.icon {
|
|
width: 24rpx;
|
|
height: 14rpx;
|
|
margin-top: 15rpx;
|
|
}
|
|
}
|
|
}
|
|
|
|
.first-type-mask {
|
|
position: fixed;
|
|
width: 100%;
|
|
height: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
z-index: 999999;
|
|
background-color: #000;
|
|
opacity: .4;
|
|
}
|
|
|
|
.first-big-type {
|
|
position: fixed;
|
|
z-index: 999999999;
|
|
background-color: #fff;
|
|
width: 100%;
|
|
padding: 30rpx 30rpx 20rpx 30rpx;
|
|
box-sizing: border-box;
|
|
transition: .3s all;
|
|
border-radius: 0 0 20rpx 20rpx;
|
|
|
|
.title {
|
|
// font-size: 28rpx;
|
|
font-size: $text-lg;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.list-box {
|
|
margin-top: 20rpx;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
|
|
.listx {
|
|
width: calc(100% / 5);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 16rpx 0px;
|
|
|
|
.img {
|
|
width: 80rpx;
|
|
height: 80rpx;
|
|
}
|
|
|
|
.name {
|
|
font-weight: 400;
|
|
font-size: $text-base;
|
|
// font-size: 25rpx;
|
|
color: #333333;
|
|
margin-top: 8rpx;
|
|
|
|
&.active {
|
|
color: #06CA64;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.retract {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #666666;
|
|
font-size: $text-base;
|
|
margin-top: 30rpx;
|
|
|
|
.left {
|
|
margin-right: 6rpx;
|
|
}
|
|
}
|
|
}
|
|
|
|
.page-container {
|
|
display: flex;
|
|
|
|
.left {
|
|
width: 150rpx;
|
|
height: 100%;
|
|
overflow-y: scroll;
|
|
font-weight: 400;
|
|
font-size: $text-base;
|
|
// font-size: $text-lg;
|
|
color: #333333;
|
|
background: #F8FAF7;
|
|
padding-top: 14rpx;
|
|
|
|
.text {
|
|
padding-bottom: 37rpx;
|
|
margin-top: 38rpx;
|
|
|
|
.name {
|
|
padding: 0 0rpx 0 18rpx;
|
|
transition: .3s all;
|
|
}
|
|
|
|
&-active {
|
|
color: #06CA64;
|
|
position: relative;
|
|
|
|
&::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 6rpx;
|
|
background: #06CA64;
|
|
border-radius: 2rpx;
|
|
width: 4rpx;
|
|
height: 100%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.right {
|
|
padding-top: 14rpx;
|
|
margin-left: 14rpx;
|
|
flex: 1;
|
|
|
|
.right-list-top {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 14rpx;
|
|
}
|
|
|
|
.right-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
|
|
.of-stock {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: #FFFFFF;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.right-list-left {
|
|
width: 174rpx;
|
|
height: 174rpx;
|
|
position: relative;
|
|
|
|
.image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.of-stock-text {
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%) translateY(-50%);
|
|
top: 50%;
|
|
font-weight: 400;
|
|
font-size: $text-lg;
|
|
color: #FFFFFF;
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
border-radius: 60rpx;
|
|
padding: 16rpx 24rpx;
|
|
width: 50%;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
.right-list-right {
|
|
margin-left: 22rpx;
|
|
margin-right: 17rpx;
|
|
min-height: 174rpx;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
border-bottom: 1px solid #E4E6E3;
|
|
|
|
.top {
|
|
.name {
|
|
font-weight: bold;
|
|
font-size: 29rpx;
|
|
color: #333333;
|
|
}
|
|
|
|
.inventory {
|
|
font-weight: 400;
|
|
font-size: $text-sm;
|
|
color: #999999;
|
|
margin-top: 13rpx;
|
|
}
|
|
}
|
|
|
|
.under {
|
|
margin-top: 14rpx;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
|
|
.price-box {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
line-height: 1;
|
|
flex: 1;
|
|
flex-wrap: wrap;
|
|
|
|
.price {
|
|
font-weight: bold;
|
|
font-size: $text-lg;
|
|
color: #FF261F;
|
|
|
|
text {
|
|
font-size: $text-5xl;
|
|
}
|
|
}
|
|
|
|
.original {
|
|
text-decoration-line: line-through;
|
|
font-size: $text-sm;
|
|
color: #959595;
|
|
margin-left: 9rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.no-original {
|
|
font-size: $text-sm;
|
|
color: #959595;
|
|
margin-left: 9rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
.choose-box {
|
|
display: flex;
|
|
align-items: center;
|
|
position: relative;
|
|
|
|
.line-one {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
width: 88%;
|
|
height: 1px;
|
|
background-color: #D6D6D6;
|
|
z-index: -1;
|
|
}
|
|
|
|
.line-two {
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 0;
|
|
width: 88%;
|
|
height: 1px;
|
|
background-color: #D6D6D6;
|
|
z-index: -1;
|
|
}
|
|
|
|
.add,
|
|
.minus {
|
|
width: 58rpx;
|
|
height: 58rpx;
|
|
background: #06CA64;
|
|
border-radius: 21rpx 0rpx 21rpx 0rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
.icon {
|
|
width: 28rpx;
|
|
height: 28rpx;
|
|
}
|
|
}
|
|
|
|
.minus .icon {
|
|
height: 4rpx;
|
|
}
|
|
|
|
.input {
|
|
width: 67rpx;
|
|
height: 58rpx;
|
|
line-height: 58rpx;
|
|
text-align: center;
|
|
font-size: 29rpx;
|
|
color: #333333;
|
|
margin: 0 10rpx;
|
|
}
|
|
}
|
|
|
|
.specifications {
|
|
font-size: $text-lg;
|
|
color: #FFFFFF;
|
|
width: 125rpx;
|
|
height: 58rpx;
|
|
text-align: center;
|
|
border-radius: 50rpx;
|
|
background-color: #06CA64;
|
|
line-height: 58rpx;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.right-list-under {
|
|
margin: 30rpx 26rpx 24rpx 0;
|
|
|
|
.goods-under-list {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
margin-bottom: 30rpx;
|
|
|
|
&:last-child {
|
|
margin-bottom: 0rpx;
|
|
}
|
|
|
|
.price-box {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
flex: 1;
|
|
flex-wrap: wrap;
|
|
|
|
.price {
|
|
font-weight: bold;
|
|
font-size: $text-5xl;
|
|
color: #FF261F;
|
|
line-height: 1;
|
|
}
|
|
|
|
.original {
|
|
font-size: $text-sm;
|
|
color: #959595;
|
|
margin-left: 20rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.no-original {
|
|
font-size: $text-sm;
|
|
color: #959595;
|
|
margin-left: 9rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
.choose-box {
|
|
display: flex;
|
|
align-items: center;
|
|
position: relative;
|
|
|
|
.line-one {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
width: 88%;
|
|
height: 1px;
|
|
background-color: #D6D6D6;
|
|
z-index: -1;
|
|
}
|
|
|
|
.line-two {
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 0;
|
|
width: 88%;
|
|
height: 1px;
|
|
background-color: #D6D6D6;
|
|
z-index: -1;
|
|
}
|
|
|
|
.minus {
|
|
width: 58rpx;
|
|
height: 58rpx;
|
|
background: #06CA64;
|
|
border-radius: 21rpx 0rpx 21rpx 0rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
.icon {
|
|
width: 28rpx;
|
|
height: 4rpx;
|
|
}
|
|
}
|
|
|
|
.input {
|
|
width: 67rpx;
|
|
height: 58rpx;
|
|
line-height: 58rpx;
|
|
text-align: center;
|
|
font-size: 29rpx;
|
|
color: #333333;
|
|
margin: 0 10rpx;
|
|
}
|
|
|
|
.add {
|
|
width: 58rpx;
|
|
height: 58rpx;
|
|
background: #06CA64;
|
|
border-radius: 21rpx 0rpx 21rpx 0rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
.icon {
|
|
width: 28rpx;
|
|
height: 28rpx;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.no-stock {
|
|
font-weight: 400;
|
|
font-size: $text-lg;
|
|
color: #FFFFFF;
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
border-radius: 60rpx;
|
|
padding: 16rpx 24rpx;
|
|
}
|
|
|
|
.icon-down {
|
|
color: "#898989"
|
|
}
|