199 lines
3.7 KiB
Plaintext
199 lines
3.7 KiB
Plaintext
.code {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
position: relative;
|
|
}
|
|
|
|
.code-back {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.code-cont {
|
|
position: absolute;
|
|
z-index: 9;
|
|
text-align: center;
|
|
}
|
|
|
|
.code-img{
|
|
margin: 0 auto 20rpx;
|
|
overflow: hidden;
|
|
/* width: 260rpx;
|
|
height: 260rpx; */
|
|
/* border: 4rpx solid #144592; */
|
|
padding: 10rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
.code-img image{
|
|
background-color: #ffffff;
|
|
/* border: 4rpx solid #144592; */
|
|
/* border-radius: 50%; */
|
|
}
|
|
|
|
.code-img image {
|
|
width: 100%;
|
|
}
|
|
|
|
.code-text {
|
|
color: #144592;
|
|
font-size: 28rpx;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.code-share {
|
|
position: absolute;
|
|
z-index: 10;
|
|
left: 0;
|
|
bottom: 13%;
|
|
background: linear-gradient(to right, rgb(1, 66, 104), rgba(5, 81, 126, 1));
|
|
width: 50rpx;
|
|
text-align: center;
|
|
border-radius: 0 26rpx 26rpx 0;
|
|
padding: 30rpx 15rpx 30rpx 12rpx;
|
|
box-shadow: 0 0 6rpx 6rpx rgba(0, 0, 0, .2);
|
|
}
|
|
.code-share-city{
|
|
bottom: 26% !important;
|
|
}
|
|
|
|
.code-share-name {
|
|
writing-mode:vertical-rl;
|
|
font-size: 30rpx;
|
|
padding-left: 4rpx;
|
|
color: #fff;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.code-share image {
|
|
width: 36rpx;
|
|
height: 36rpx;
|
|
margin-bottom: 5rpx;
|
|
}
|
|
|
|
.sharePop {
|
|
position: fixed;
|
|
width: 100%;
|
|
z-index: 99;
|
|
left: 0;
|
|
bottom: 0;
|
|
background-color: #0a1930;
|
|
display: none;
|
|
}
|
|
|
|
.sharePop.active {
|
|
display: block;
|
|
}
|
|
|
|
.shareCont-label image {
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
display: block;
|
|
margin: 0 auto 10rpx;
|
|
}
|
|
|
|
.shareCancel {
|
|
border-top: 2rpx solid #0e2c58;
|
|
color: #ffffff;
|
|
width: 100%;
|
|
text-align: center;
|
|
line-height: 100rpx;
|
|
}
|
|
|
|
.shareCont{
|
|
display: flex;
|
|
padding: 30rpx 0;
|
|
}
|
|
|
|
.shareCont-label {
|
|
color: #ffffff;
|
|
flex: 2;
|
|
text-align: center;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.codeShare-button {
|
|
background-color: transparent;
|
|
padding: 0;
|
|
font-weight: normal;
|
|
}
|
|
|
|
/* canvas */
|
|
.canvasImg {
|
|
position: absolute;
|
|
left: -100000%;
|
|
height: 800px;
|
|
width: 375px;
|
|
}
|
|
|
|
/* 轮播图 */
|
|
.swiper{
|
|
width: 100vw;
|
|
height: 100vh;
|
|
position: relative;
|
|
}
|
|
.swiper-item{
|
|
height: 100vh;
|
|
}
|
|
|
|
/* 切换背景图 */
|
|
.changeBg{
|
|
width: 100%;
|
|
background-color: #fff;
|
|
overflow-x: scroll;
|
|
display: flex;
|
|
box-sizing: border-box;
|
|
padding: 30rpx 20rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
.changeBgItem{
|
|
padding: 20rpx 20rpx 20rpx 10rpx;
|
|
white-space:nowrap;
|
|
flex-direction: column;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.changeBgItem-qcode span{
|
|
color: #144592;
|
|
margin-top: 20rpx;
|
|
}
|
|
.changeBgItem .changeCover{
|
|
width: 160rpx;
|
|
height: 250rpx;
|
|
position: relative;
|
|
padding: 10rpx;
|
|
box-sizing: border-box;
|
|
border: solid 1rpx #0e2c5801;
|
|
box-shadow: 0 0 2rpx 2rpx rgba(0, 0, 0, .1);
|
|
border-radius: 10rpx;
|
|
}
|
|
.changeBgItem .changeCoverCode{
|
|
height: 160rpx;
|
|
}
|
|
.selected{
|
|
border: solid 2rpx #0e2c5830 !important;
|
|
box-shadow: 0 0 4rpx 4rpx rgba(5, 81, 126, 0.445) !important;
|
|
}
|
|
.changeBgFixed{
|
|
position: fixed;
|
|
z-index: 10;
|
|
right: 30rpx;
|
|
top: 0;
|
|
background: linear-gradient(to right, rgba(5, 81, 126, 0.8), rgba(5, 81, 126, 0.6));
|
|
width: 50rpx;
|
|
text-align: center;
|
|
border-radius: 0 0 26rpx 26rpx ;
|
|
padding: 30rpx 15rpx 30rpx 12rpx;
|
|
box-shadow: 0 0 6rpx 6rpx rgba(0, 0, 0, .2);
|
|
color: #fff;
|
|
}
|
|
|
|
.pages-load {
|
|
z-index: 1000000;
|
|
background-color: #f9f9f9;
|
|
} |