/* 返回上一页 */ .navigation{ position: fixed; top: 0; left: 0; z-index: 9; width: 100%; height: 90rpx; background-color: transparent; transition: .2s; } .navigation.active { background-color: transparent; } .navigation-arrow { width: 44rpx; height: 44rpx; margin: 20rpx 15rpx 0 20rpx; } /* 二维码海报 */ .code { width: 100vw; height: 100vh; position: relative; } .code-back { position: absolute; left: 0; top: 0; width: 100%; height: 100%; } .code-cont { width: 400rpx; position: absolute; z-index: 9; text-align: center; left: calc(50% - 200rpx); bottom: 8vh; } .code-img{ margin: 0 auto 20rpx; overflow: hidden; width: 260rpx; height: 260rpx; border: 4rpx solid #ff4f64; background-color: #ffffff; padding: 10rpx; box-sizing: border-box; border-radius: 50%; } .code-img image { width: 100%; } .code-text { color: #ffffff; font-size: 30rpx; } /* 海报分享 */ .code-share { position: absolute; right: 0; bottom: 15%; background: linear-gradient(to right, #fffafb, #ffd4dd); width: 50rpx; text-align: center; border-radius: 26rpx 0 0 26rpx; padding: 30rpx 10rpx 30rpx 15rpx; box-shadow: 0 0 0 6rpx rgba(249, 96, 116, .8); z-index: 9; } .code-share-name { writing-mode:vertical-rl; font-size: 30rpx; padding-left: 4rpx; color: #da2b54; } .code-share image { width: 36rpx; height: 36rpx; margin-bottom: 5rpx; } /* 弹出层 */ .sharePop-lay{ background: rgba(0, 0, 0, .5); position: fixed; top: 0; left: 0; right: 0; height: 100vh; width: 100vw; z-index: 9; display: none; } .sharePop-lay.active{ display: block; } .sharePop { position: fixed; width: 100%; z-index: 99; left: 0; bottom: 0; background-color: #ffffff; } .shareCont-label image { width: 60rpx; height: 60rpx; display: block; margin: 0 auto 10rpx; } .shareCancel { border-top: 2rpx solid #ebebeb; color: #000000; width: 100%; text-align: center; line-height: 100rpx; } .shareCont{ display: flex; padding: 30rpx 0; } .shareCont-label { color: #000000; flex: 2; text-align: center; font-size: 28rpx; } .codeShare-button { background-color: transparent; padding: 0; font-weight: normal; } /* canvas */ .canvas-img { position: fixed; left: 0%; left: -100%; top: 0; z-index: -1; }