/* pages/share/share.wxss */ .container { top: 0; left: 0; width: 100%; height: 100%; background-position: center center; background-size: cover; position: absolute; // padding: 90rpx 0 0; margin-top: 0; // overflow-y: scroll; z-index: 0; background: #000; &::after { content: ''; display: block; height: 380rpx } .mask { position: fixed; top: 0; left: 0; opacity: 0.5; width: 100%; height: 100%; z-index: 10; filter: blur(30px); } .content { width: 540rpx; height: 60%; top: 90rpx; left: 85rpx; background: #fff; position: absolute; z-index: 10; border-radius: 15rpx; display: flex; flex-direction: column; overflow: hidden; padding: 20rpx; image { flex: 1; width: 100%; object-fit: scale-down; height: 80%; border-radius: 15rpx; } .canvas { position: absolute; right: -9999px; top: -9999px; width: 100%; height: 100%; z-index: 100; } .info { width: 100%; height: 200rpx; display: flex; flex-direction: row; padding: 10rpx 0; .txt { display: flex; flex-direction: column; flex: 1; font-size: 24rpx; justify-content: space-between; padding: 10rpx 0; .up { display: flex; flex-direction: column; .desc-title { font-size: 32rpx; line-height: 40rpx; margin-bottom: 40rpx; } } .desc-little { font-size: 20rpx; color: #666666; } } .qrcode { margin-top: 10rpx; width: 190rpx; height: 190rpx; flex: 0 0 190rpx; object-fit: contain; } } } .bottom-tools { width: 100%; background: rgba(0, 0, 0, 0.8); border-top-left-radius: 15rpx; border-top-right-radius: 15rpx; height: 340rpx; position: absolute; z-index: 10; bottom: 0; display: flex; flex-direction: column; .title { color: #fff; border: 1px solid rgba(255, 255, 255, 0.1); text-align: center; font-size: 40rpx; height: 80rpx; display: flex; justify-content: center; align-items: center; } .share_box { width: 100%; flex: 1; display: flex; flex-direction: row; padding-top: 30rpx; button { background: #2D2D2D; margin: 0 15rpx 0 30rpx; border-radius: 10px 10px 10px 10px; display: flex; flex: 1; opacity: 1; color: #fff; height: 100rpx; text-align: center; justify-content: center; align-items: center; line-height: 100rpx; &:last-child { margin: 0 30rpx 0 15rpx; } } } } } .container :not(not) { filter: none; }