/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .login-container.data-v-1cf27b2a { display: flex; flex-direction: column; min-height: 100vh; width: 100%; background-color: #eff1fc; position: relative; padding-top: 550rpx; } .index-up.data-v-1cf27b2a { position: absolute; top: -70rpx; left: 0; width: 100%; } .index-up .index-up-img.data-v-1cf27b2a { width: 100%; height: 20rpx; } .index-ball-father.data-v-1cf27b2a { width: 100%; display: flex; justify-content: flex-end; position: fixed; top: 120rpx; left: 0; z-index: 999; margin-top: 120rpx; } .index-ball-father .white-ball.data-v-1cf27b2a { width: 60rpx; height: 60rpx; background-color: #fff; border-radius: 50%; margin-right: 20rpx; box-shadow: 2rpx 2rpx 4rpx rgba(0, 0, 0, 0.1); display: flex; justify-content: center; align-items: center; } .index-ball-father .super-white-ball.data-v-1cf27b2a { width: 70rpx; height: 60rpx; background-color: #fff; border-radius: 50%; margin-right: 40rpx; box-shadow: 2rpx 2rpx 4rpx rgba(0, 0, 0, 0.1); display: flex; justify-content: center; align-items: center; } .index-ball-father .small-img.data-v-1cf27b2a { width: 25rpx; height: 25rpx; } .index-smallPhoto.data-v-1cf27b2a { width: 100%; display: flex; justify-content: flex-end; margin-top: 480rpx; margin-bottom: 50rpx; } .index-smallPhoto .photo-box.data-v-1cf27b2a { margin-right: 40rpx; height: 180rpx; width: 250rpx; z-index: 2; position: relative; } .index-smallPhoto .photo-box .photo-box-img.data-v-1cf27b2a { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .white-content-father.data-v-1cf27b2a { width: 100%; display: flex; justify-content: center; margin-top: 30rpx; } .white-content-father .white-content.data-v-1cf27b2a { height: 650rpx; width: 92%; margin-left: 4%; background-color: #fff; box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1); border-radius: 30rpx; z-index: 2; display: flex; align-items: center; flex-direction: column; position: relative; } .white-content-father .white-content .white-content-img.data-v-1cf27b2a { position: absolute; top: 90rpx; left: 50%; transform: translateX(-50%); width: 420rpx; height: 320rpx; } .white-content-father .white-content .white-content-secondimg.data-v-1cf27b2a { position: absolute; top: 20rpx; left: 34%; transform: translateX(-34%); width: 610rpx; height: 450rpx; } .white-content-father .white-content .white-font.data-v-1cf27b2a { margin-top: 350rpx; font-size: 27rpx; } .white-content-father .white-content .second-font.data-v-1cf27b2a { margin-top: 10rpx; font-size: 27rpx; } .bottom-text.data-v-1cf27b2a { font-size: 22rpx; } .white-content-father-time.data-v-1cf27b2a { width: 100%; display: flex; justify-content: center; } .white-content-father-time .white-bgc.data-v-1cf27b2a { width: 100%; height: 100%; background-color: #fff; padding-left: 50rpx; display: flex; align-items: center; box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1); border: 2rpx solid #fff; } .white-content-father-time .white-content.data-v-1cf27b2a { height: 110rpx; width: 92%; overflow: hidden; /* 2. 水平方向拉满容器,垂直方向保持原始比例 */ background-size: 100% auto; border-radius: 35rpx; z-index: 2; } .white-content-father-time .white-shu.data-v-1cf27b2a { height: 100%; width: 2rpx; background-color: #fff; margin: 0 20rpx; } .bad-button.data-v-1cf27b2a { width: 100%; margin-top: 40rpx; display: flex; justify-content: flex-end; } .bad-button .blue-button.data-v-1cf27b2a { background: linear-gradient(to right, #00C9FF, #0076FF); color: #fff; font-size: 25rpx; padding: 10rpx 20rpx; border-radius: 35rpx; margin-right: 40rpx; } .zhiling-box.data-v-1cf27b2a { display: flex; justify-content: space-around; align-items: center; width: 92%; margin-left: 4%; height: 110rpx; background-color: #fff; box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1); border-radius: 35rpx; } .zhiling-box .zhiling-img.data-v-1cf27b2a { width: 25rpx; height: 25rpx; } .white-box-father.data-v-1cf27b2a { display: flex; width: 100%; flex-wrap: wrap; } .white-box-father .white-box.data-v-1cf27b2a { margin-top: 35rpx; width: 20%; margin-left: 4%; height: 220rpx; background-color: #fff; border-radius: 35rpx; display: flex; justify-content: center; align-items: center; flex-direction: column; box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1); } .white-box-father .white-box .box-img.data-v-1cf27b2a { width: 55rpx; height: 55rpx; margin-bottom: 25rpx; } .white-box-father .white-box .box-font.data-v-1cf27b2a { font-size: 25rpx; } .white-scan.data-v-1cf27b2a { background-color: #fff; border-radius: 35rpx; display: flex; flex-direction: column; box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1); width: 92%; margin-left: 4%; height: 700rpx; z-index: 2; margin-bottom: 300rpx; } .white-scan .scan-title.data-v-1cf27b2a { width: 100%; height: 180rpx; display: flex; position: relative; align-items: center; } .white-scan .scan-img.data-v-1cf27b2a { margin-left: 65rpx; width: 65rpx; height: 65rpx; } .white-scan .scan-font.data-v-1cf27b2a { margin-left: 30rpx; } .white-scan .scan-font .weight.data-v-1cf27b2a { font-weight: 500; } .white-scan .scan-font .noral.data-v-1cf27b2a { font-size: 25rpx; color: #999999; } .other-scan.data-v-1cf27b2a { width: 100%; height: 520rpx; display: flex; justify-content: center; align-items: center; flex-direction: column; } .other-scan .scan-circle.data-v-1cf27b2a { width: 300rpx; height: 300rpx; border-radius: 50%; background-color: #fbfbfb; display: flex; align-items: center; position: relative; } .other-scan .scan-circle .scan-img.data-v-1cf27b2a { width: 30%; height: 30%; margin: 0 auto; } .other-scan .scan-circle .small-circle.data-v-1cf27b2a { position: absolute; top: 50%; left: 50%; transform-origin: center center; /* 从中心缩放,否则宽高从左上角开始 */ transform: translate(-50%, -50%); animation: shrinkExpand-1cf27b2a 1s infinite; border-radius: 50%; background-color: #f5f5f5; } .other-scan .scan-text.data-v-1cf27b2a { margin-top: 30rpx; } .scan-back.data-v-1cf27b2a { position: absolute; right: 60rpx; top: auto; color: #999999; font-size: 32rpx; } @keyframes shrinkExpand-1cf27b2a { 0%, 100% { width: 100%; height: 100%; } 50% { width: 0%; height: 0%; } } /* 扫码遮罩层 */ .scan-mask.data-v-1cf27b2a { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1000; } /* 半透明背景 */ .mask-bg.data-v-1cf27b2a { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.6); } /* 中心容器 */ .mask-center.data-v-1cf27b2a { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; } /* 扫码区域 */ .reader.data-v-1cf27b2a { width: 600rpx; height: 600rpx; background: #000; /* 可以用透明,html5-qrcode 会覆盖视频流 */ border-radius: 16rpx; box-sizing: border-box; overflow: hidden; } .result.data-v-1cf27b2a { margin: 0 auto; } .back-imge.data-v-1cf27b2a { position: absolute; top: 100rpx; left: 30rpx; width: 50rpx; height: 50rpx; z-index: 1; } .jia-box.data-v-1cf27b2a { position: absolute; top: 0rpx; left: 0; display: flex; height: 80rpx; width: 100%; justify-content: center; } .jia.data-v-1cf27b2a { width: 30rpx; height: 30rpx; border-radius: 50%; background-color: #01a8ff; color: #fff; display: flex; justify-content: center; align-items: center; font-size: 30rpx; } .jia .jia-img.data-v-1cf27b2a { width: 20rpx; height: 20rpx; z-index: 2; } .gray-box.data-v-1cf27b2a { border-radius: 20rpx; height: 30rpx; width: 50rpx; margin-right: 15rpx; background-color: #cbcdd8; } .black-box.data-v-1cf27b2a { border-radius: 20rpx; height: 30rpx; width: 50rpx; margin-right: 15rpx; background-color: #A4A8BD; } .button-blue.data-v-1cf27b2a { position: absolute; bottom: 30rpx; width: 50%; display: flex; justify-content: center; align-items: center; height: 90rpx; border-radius: 37rpx; background: linear-gradient(to right, #00C9FF, #0076FF); color: #fff; font-size: 33rpx; margin-top: 80rpx; } .button-blue-spec.data-v-1cf27b2a { position: absolute; bottom: 30rpx; left: 8%; width: 40%; display: flex; justify-content: center; align-items: center; height: 90rpx; border-radius: 37rpx; background: linear-gradient(to right, #00C9FF, #0076FF); color: #fff; font-size: 33rpx; margin-top: 80rpx; } .button-white-spec.data-v-1cf27b2a { position: absolute; bottom: 30rpx; right: 8%; width: 40%; display: flex; justify-content: center; align-items: center; height: 90rpx; border-radius: 37rpx; background: linear-gradient(to bottom, #f3f3f5, #dee4e9); border: 2rpx solid #b1c0ca; font-size: 33rpx; margin-top: 80rpx; }