wpfw_ewei_wxapp/pages/quickbuy/index.wxss
2023-02-26 08:10:18 +08:00

628 lines
9.1 KiB
Plaintext

@import "../order/cycle/address.wxss";
.flex {
display: -ms-flexbox;
display: -webkit-box;
display: -webkit-flex;
display: flex;
}
.footercart {
position: fixed;
left: 0;
bottom: 0;
}
page {
background: #f5f5f5;
height: 100%;
}
.banner>image {
width: 100%;
height: 310rpx;
position: absolute;
top: 0;
left: 0;
z-index: -2;
}
.banner {
position: relative;
z-index: -1;
}
.shopMsg image {
width: 120rpx;
height: 120rpx;
margin: 0 auto 22rpx auto;
display: block;
}
.circle .shopMsg image {
border-radius: 50%;
}
.round .shopMsg image {
border-radius: 20rpx;
}
.shopMsg swiper {
margin: 0 auto;
width: 440rpx;
}
.shopMsg {
color: #fff;
text-align: center;
font-size: 26rpx;
height: 310rpx;
padding-top: 50rpx;
box-sizing: border-box;
background: linear-gradient(90deg,rgba(0,0,0,0.05),rgba(0,0,0,0.2));
position: relative;
}
.changeCss3 .banner>image {
height: 370rpx;
}
.shopMsg>view>view:nth-of-type(1) {
font-size: 32rpx;
font-weight: bold;
margin-bottom: 18rpx;
}
.shopMsg view view {
text-align: center;
}
.shopMsg view>view:nth-of-type(2) {
width: 100%;
overflow: hidden;
height: 40rpx;
margin: 0 auto;
}
.shopMsg view view view {
height: 40rpx;
white-space: nowrap;
font-size: 26rpx;
}
.shopMsg view view {
font-size: 26rpx;
}
.changeCss2 view view {
text-align: left;
margin-left: 0;
}
.changeCss2 .shopMsg {
text-align: left;
display: flex;
}
.changeCss2 .shopMsg image {
margin: 90rpx 20rpx 0 28rpx;
padding: 0;
}
.changeCss2 .shopMsg>view {
padding-top: 102rpx;
}
.changeCss3 .navTop {
width: 702rpx;
margin: 0 auto;
border-radius: 10rpx;
margin-top: -60rpx;
}
.changeCss3 .shopMsg {
height: 370rpx;
}
.navTop {
background: #fff;
justify-content: space-around;
font-size: 22rpx;
color: #333;
padding-bottom: 20rpx;
}
.marb20 {
margin-bottom: 20rpx;
}
.padbot {
padding-bottom: 98rpx;
}
.navTop icon {
font-size: 44rpx;
display: block;
margin: 24rpx auto 16rpx auto;
text-align: center;
}
.main {
height: 100%;
}
.left {
width: 168rpx;
background: #f7f7f7;
padding-bottom: 40rpx;
}
.left view {
line-height: 88rpx;
font-size: 26rpx;
color: #666;
text-align: center;
}
scroll-view.right2 {
width: 582rpx;
box-sizing: border-box;
background: #fff;
}
::-webkit-scrollbar {
width: 0;
height: 0;
}
::-webkit-scrollbar-thumb {
background: transparent;
}
::-webkit-scrollbar-track {
background: transparent;
}
.right2 .tit {
font-size: 24rpx;
padding: 24rpx 0 20rpx 20rpx;
}
.right2 image {
width: 150rpx;
height: 150rpx;
margin-right: 20rpx;
}
.goodsList {
position: relative;
margin-bottom: 36rpx;
padding: 0 20rpx;
}
.right2 .addShopCar {
position: absolute;
right: 20rpx;
bottom: -10rpx;
font-size: 30rpx;
color: #666;
width: auto;
}
.addShopCar icon {
font-size: 52rpx;
border-radius: 50%;
color: #fa4040;
}
.addShopCar text {
padding: 0 10rpx;
line-height: 54rpx;
}
.goodsList>view {
width: 374rpx;
}
.height {
height: 139rpx;
}
.height view:nth-of-type(1) {
font-size: 26rpx;
line-height: 36rpx;
margin-bottom: 10rpx;
margin-top: -6rpx;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.height view:nth-of-type(2) {
font-size: 24rpx;
color: #999;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
overflow: hidden;
}
.goodsList .height+view {
font-size: 30rpx;
font-weight: bold;
color: #ff5555;
}
.goodsList view i {
font-size: 22rpx;
color: #b3b3b3;
line-height: 30rpx;
font-weight: normal;
}
.left view.active {
border-left: 2px solid;
background: #fff;
}
.left view.active view {
color: #ff5555;
}
.nogoods {
text-align: center;
padding: 20rpx 0;
font-size: 26rpx;
}
.shopCar {
width: 110rpx;
height: 110rpx;
background: #fa4040;
border-radius: 50%;
box-shadow: 0 0 8px;
position: fixed;
bottom: 94rpx;
left: 30rpx;
}
.shopCar .shopCarImg {
width: 110rpx;
height: 110rpx;
border-radius: 50%;
position: relative;
color: #fff;
font-size: 58rpx;
text-align: center;
line-height: 110rpx;
}
.shopCar i {
width: 16rpx;
height: 16rpx;
position: absolute;
border-radius: 50%;
background: #e40100;
right: 24rpx;
top: 28rpx;
}
.footerList .noGoods {
text-align: center;
font-size: 26rpx;
display: block;
margin: 80rpx auto;
}
.shopCarList {
position: fixed;
height: 100%;
width: 100%;
top: 0;
left: 0;
transition: all 0.6s;
display: flex;
flex-direction: column;
z-index: 1002;
}
.displayNo {
top: 100%;
}
.shopCarList>view:nth-of-type(2) {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
background: #fff;
}
.scListTit {
justify-content: space-between;
background: #f7f5f5;
line-height: 80rpx;
padding: 0 28rpx;
font-size: 26rpx;
}
.scListTit text:nth-of-type(2) {
color: #999;
}
.carList {
overflow: hidden;
padding-bottom: 8rpx;
margin: 0 28rpx;
font-size: 28rpx;
border-bottom: 1px solid #e6e6e6;
}
.carList>view {
float: right;
}
.carList>view.goodsMsg {
float: left;
width: 400rpx;
}
.carList .goodsMsg view:nth-of-type(1) {
line-height: 36rpx;
padding-top: 30rpx;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.carList .goodsMsg view:nth-of-type(2) {
color: #b3b3b3;
font-size: 24rpx;
padding-bottom: 30rpx;
}
.money {
color: #ff5555;
margin: 48rpx 30rpx 0 0;
}
.carList .addShopCar {
margin-top: 40rpx;
}
.tips {
font-size: 22rpx;
color: #666;
text-align: center;
line-height: 56rpx;
background: #f5f5f5;
}
.shopCar2 {
background: #474749;
height: 98rpx;
color: #fff;
font-size: 22rpx;
width: 100%;
}
.carIcon {
position: relative;
width: 110rpx;
height: 110rpx;
border-radius: 50%;
border: 8rpx solid #474749;
margin: 0 32rpx 0 30rpx;
background: #ff5555;
margin-top: -40rpx;
float: left;
}
.shopCar2 icon {
width: 110rpx;
font-size: 58rpx;
color: #fff;
text-align: center;
line-height: 110rpx;
}
.total view:nth-of-type(1) {
font-size: 32rpx;
margin-top: 14rpx;
}
.total+view {
background: #ff9d55;
width: 200rpx;
text-align: center;
line-height: 98rpx;
float: right;
font-size: 28rpx;
}
.total {
float: left;
}
.shopCar2 i {
position: absolute;
top: -2rpx;
right: -10rpx;
width: 40rpx;
height: 40rpx;
border-radius: 50%;
background: #e40100;
display: block;
text-align: center;
font-size: 22rpx;
line-height: 40rpx;
}
.bigimg {
padding: 0 16rpx;
}
.bigimg image,swiper {
width: 552rpx;
height: 360rpx;
}
.subtit {
font-size: 24rpx;
color: #999;
padding: 0 0 24rpx 20rpx;
}
.leftItem {
display: flex;
}
.leftItem image {
width: 24rpx;
height: 24rpx;
margin: 32rpx 0 0 8rpx;
}
.leftItem view {
flex: 1;
}
.footerList {
max-height: 620rpx;
min-height: 320rpx;
}
div {
position: fixed;
width: 50rpx;
height: 50rpx;
background: red;
border-radius: 50%;
animation: mymove 1s ease-in;
right: 80rpx;
}
@-webkit-keyframes mymove {
20% {
right: 200rpx;
top: 400rpx;
}
99% {
right: 680rpx;
top: 1080rpx;
width: 20rpx;
height: 20rpx;
}
100% {
right: 80rpx;
width: 50rpx;
height: 50rpx;
}
}
@keyframes mymove {
20% {
right: 200rpx;
top: 400rpx;
}
99% {
right: 680rpx;
top: 1080rpx;
width: 20rpx;
height: 20rpx;
}
100% {
right: 80rpx;
width: 50rpx;
height: 50rpx;
}
}
@-webkit-keyframes mymove1 {
0% {
left: 0;
}
99.9% {
left: -2000rpx;
}
100% {
left: 584rpx;
}
}
@keyframes mymove1 {
0% {
left: 0;
}
99.9% {
left: -2000rpx;
}
100% {
left: 584rpx;
}
}
.good_box {
width: 18px;
height: 18px;
position: fixed;
border-radius: 50%;
overflow: hidden;
left: -50%;
top: 50%;
z-index: +99;
background: #ff5555;
}
.main .wx-swiper-dot {
width: 16rpx;
height: 16rpx;
border-radius: 50%;
background: rgba(255,85,85,0.3);
margin-bottom: 16rpx;
}
.main .wx-swiper-dot-active {
background: rgba(255,85,85,1);
}
.footercart .total+view {
background: #ff5555;
}
.optSearch {
position: absolute;
width: 30px;
height: 30px;
left: 0px;
top: 0px;
line-height: 30px;
text-align: center;
}
.image {
position: relative;
}
.image .salez {
z-index: 11;
top: 0;
left: 0;
right: 0;
width: auto;
height: auto;
position: absolute;
bottom: 0;
width: 150rpx;
height: 150rpx;
}