/* miniprogram/pages/addDevicelog/addDeviceLog.wxss */ page { background-color: #ffffff; } .main { margin-left: 30rpx; margin-right: 30rpx; } /* .top-title { margin-top: 40rpx; height: 34rpx; line-height: 34rpx; font-size: 34rpx; font-weight: bold; color: rgba(51, 51, 51, 1); } */ .form-item { height: 100rpx; border-bottom: 1rpx solid #e3e3e3; display: flex; align-items: center; } .map-view{ width: 750rpx; height: 485rpx; position: fixed; top: 0px; left: 0px; z-index: 999; } .content{ margin-top: 495rpx; } .left { width: 210rpx; line-height: 120rpx; font-size: 27rpx; font-weight: 500; color: rgba(102, 102, 102, 1); } .right-input { width: 480rpx; font-size: 25rpx; line-height: 120rpx; /* font-weight: 500; */ color: rgba(170, 170, 170, 1); } .sex-box { width: 480rpx; font-size: 30rpx; font-weight: bold; color: rgba(51, 51, 51, 1); } .radio-item:nth-child(2) { margin-left: 80rpx; } .select-box { display: flex; } .more { width: 14rpx; height: 26rpx; } .form-item:last-child { border-bottom: 0rpx solid #e3e3e3; } .bottom { background-color: #f6f6f6; padding-top: 70rpx; height: 190rpx; overflow-y: hidden; } .bottom .save-btn { margin-right: 30rpx; margin-left: 30rpx; width: 690rpx; height: 102rpx; background: rgba(78, 135, 241, 1); border-radius: 6rpx; line-height: 102rpx; font-size: 34rpx; font-weight: bold; color: rgba(255, 255, 255, 1); } .saveButtom{ margin-bottom: 30rpx; } /* .van-cell{ height: 100rpx; } */ /* -------------------------------------新的--------------------------------------- */ /* index.wxss */ .camera-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #000; z-index: 999; } .camera { width: 100%; height: calc(100% - 160rpx); } .camera-controls { position: absolute; bottom: 0; left: 0; width: 100%; height: 160rpx; background-color: rgba(0, 0, 0, 0.7); display: flex; align-items: center; justify-content: space-around; } .flash-btn, .capture-btn, .cancel-btn { color: white; font-size: 28rpx; padding: 20rpx 40rpx; border-radius: 8rpx; } .capture-btn { background-color: #f00; width: 120rpx; height: 120rpx; border-radius: 50%; display: flex; align-items: center; justify-content: center; } .flash-btn, .cancel-btn { background-color: rgba(255, 255, 255, 0.2); } /* 新增样式 */ .upload-status { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; } .upload-tips { color: #666; font-size: 28rpx; text-align: center; margin: 20rpx 0; } /* 新增闪光灯控制样式 */ .camera-section { flex: 1; display: flex; flex-direction: column; gap: 15rpx; } .flash-control { display: flex; align-items: center; justify-content: center; gap: 10rpx; font-size: 26rpx; color: #666; padding: 5rpx 0; } .flash-status { color: #07c160; font-weight: 500; } /* 原有样式保持不变 */ .btn-group { display: flex; gap: 20rpx; padding: 20rpx; align-items: center; margin-bottom: 20rpx; } .action-btn { flex: 1; padding: 0 25rpx; border-radius: 12rpx; color: #fff; font-size: 32rpx; } .camera-btn { background-color: #07c160; } .album-btn { background-color: #1677ff; flex: 1; } /* 图片预览相关样式 */ .image-grid { display: flex; flex-wrap: wrap; gap: 15rpx; padding: 0 20rpx; } .image-item { position: relative; width: calc(33.333% - 10rpx); aspect-ratio: 1/1; border-radius: 8rpx; overflow: hidden; } .image-item image { width: 100%; height: 100%; } /* 上传状态样式 */ .status-mask { position: absolute; bottom: 0; left: 0; width: 100%; height: 15rpx; } .progress-bar { height: 100%; background-color: #07c160; } .progress-text { position: absolute; top: -30rpx; right: 10rpx; font-size: 24rpx; color: #07c160; background-color: rgba(255,255,255,0.8); padding: 2rpx 10rpx; border-radius: 4rpx; } .status-icon { position: absolute; top: 10rpx; right: 10rpx; width: 40rpx; height: 40rpx; border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; font-size: 24rpx; } .success { background-color: #07c160; } .fail { background-color: #ff4d4f; } .delete-icon { position: absolute; top: 10rpx; right: 10rpx; width: 40rpx; height: 40rpx; background-color: rgba(0,0,0,0.5); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30rpx; } .retry-btn { width: calc(100% - 40rpx); margin: 20rpx; padding: 20rpx 0; background-color: #1677ff; color: white; border-radius: 8rpx; font-size: 28rpx; }