Files
cardtest/pages/userGoods/goodsCode/goodsCode.wxss
zhangmanman 540d76bdb8 [更新]
2021-08-09 15:57:37 +08:00

279 lines
4.5 KiB
Plaintext

.codeTitle {
width: 100%;
background-color: #222222;
border-radius: 0 0 300rpx 300rpx;
box-sizing: border-box;
padding: 30rpx 20rpx 0;
}
.codeTitle image {
text-align: center;
width: 100%;
border-radius: 20rpx;
display: block;
}
.goodsBack {
position: fixed;
width: 100%;
height: 100%;
left: 0;
top: 0;
background: rgba(0, 0, 0, .5);
}
.goodsPop {
height: 84vh;
width: 100%;
background-color: #ffffff;
border-radius: 50rpx 50rpx 0 0;
left: 0;
bottom: 0;
position: fixed;
}
.goodsTab {
display: flex;
}
.goodsTab-label {
background-color: #dadada;
flex: 2;
text-align: center;
width: 50%;
line-height: 90rpx;
border-radius: 40rpx 40rpx 0 0;
/* border-radius: 0 40rpx 0 30rpx; */
}
.goodsTab-label.active {
background-color: #ffffff;
border-radius: 40rpx 30rpx 0 0;
margin-top: -20rpx;
font-weight: 600;
}
.goodsTitle {
background-color: #1f1f1f;
color: #eed4ae;
border-radius: 25rpx;
height: 90rpx;
line-height: 90rpx;
padding: 0 30rpx;
box-sizing: border-box;
display: flex;
margin: 30rpx;
position: relative;
}
.goodsTitle image {
width: 46rpx;
height: 46rpx;
margin: 22rpx 20rpx 0 0;
}
.goodsTitle::after {
position: absolute;
bottom: -10rpx;
left: calc(50% - 20rpx);
content: '';
width: 0;
height: 0;
border-left: 20rpx solid transparent;
border-right: 20rpx solid transparent;
border-top: 16rpx solid #1f1f1f;
}
.goodsPoster {
text-align: center;
width: 100%;
height: 50vh;
overflow-y: scroll;
}
.goodsPoster image {
width: 55%;
margin: 20rpx 0;
}
.goodsScroll-text {
background-color: #ffffff;
position: absolute;
bottom: 160rpx;
left: 0;
width: 100%;
padding: 20rpx 40rpx;
box-sizing: border-box;
text-align: left;
font-size: 28rpx;
}
.goodsTool {
display: flex;
position: absolute;
background-color: #ffffff;
width: 100%;
left: 0;
bottom: 0;
height: 160rpx;
}
.codeShare-label {
flex: 3;
text-align: center;
font-size: 28rpx;
margin-top: 20rpx;
padding: 0 !important;
width: 33.33%;
}
.codeShare-label image {
width: 70rpx;
height: 70rpx;
display: block;
margin: 0 auto 10rpx;
}
/* 朋友圈弹出层 */
.sharePop {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 9;
background-color: rgba(0, 0, 0, .6);
text-align: center;
}
.sharePop-row {
width: 140rpx;
position: fixed;
right: 110rpx;
top: 0;
}
.shareList {
color: #ffffff;
line-height: 60rpx;
font-weight: 700;
font-size: 36rpx;
width: 100%;
height: 100%;
position: absolute;
z-index: 10;
top: 30%;
}
.shareLabel {
margin-bottom: 40rpx;
}
.shareLabel image {
width: 60rpx;
height: 60rpx;
margin: 0 20rpx;
vertical-align: middle;
}
.shareLabel text {
display: inline-block;
background: #0696ca;
width: 40rpx;
height: 40rpx;
line-height: 40rpx;
font-size: 26rpx;
border-radius: 50%;
margin: 8rpx 10rpx 0 0;
}
/* canvas */
.canvasImg {
position: absolute;
left: -1000%;
height: 650px;
width: 375px;
background: #e3e2e2;
}
/* 弹窗背景图 */
.user-lay {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-box-pack: center;
position: fixed;
background: rgba(0, 0, 0, .6);
height: 100vh;
width: 100vw;
top: 0;
left: 0;
z-index: 99;
box-sizing: border-box;
}
/* 图片弹出层 */
.sign-img-lay {
text-align: center;
}
.sign-img-src {
width: 70vw;
vertical-align: top;
}
.sign-img-btn[size="mini"] {
margin-top: 40rpx;
background: #f5d48f;
font-weight: normal;
color: #2f3245;
height: 90rpx;
line-height: 90rpx;
padding: 0;
width: 80%;
}
.remove-btn[size="mini"] {
margin-top: 20rpx;
background: #101010;
color: #e5c175;
font-weight: normal;
}
/* 背景 */
.user-back-img {
width: 100%;
display: block;
}
.user-back {
position: relative;
width: 80%;
text-align: center;
margin: 0 auto;
}
.user-back-cont {
background: #ffffff;
padding: 20rpx;
border-radius: 10rpx;
box-sizing: border-box;
position: absolute;
bottom: 120rpx;
left: 40rpx;
}
.user-back-cont image {
width: 160rpx;
height: 160rpx;
}
.codeBack-yard-name {
width: 100%;
font-size: 26rpx;
text-align: center;
}