优化小程序版本更新检测逻辑,增强用户体验。新增扫码功能,支持用户通过扫一扫获取信息并展示解析结果,提升交互性。更新样式以适应新功能,确保界面友好。
This commit is contained in:
@@ -1236,3 +1236,28 @@
|
||||
background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
|
||||
color: #fff; font-size: 26rpx; font-weight: 500; border-radius: 20rpx;
|
||||
}
|
||||
|
||||
/* ===== 扫一扫结果弹窗 ===== */
|
||||
.scan-result-modal .modal-close { top: 24rpx; right: 24rpx; }
|
||||
.scan-result-header { margin-bottom: 24rpx; }
|
||||
.scan-result-title { font-size: 32rpx; font-weight: 600; color: #fff; }
|
||||
.scan-result-body {
|
||||
max-height: 320rpx;
|
||||
padding: 24rpx;
|
||||
background: rgba(255,255,255,0.06);
|
||||
border-radius: 16rpx;
|
||||
margin-bottom: 24rpx;
|
||||
word-break: break-all;
|
||||
}
|
||||
.scan-result-text { font-size: 26rpx; color: rgba(255,255,255,0.9); line-height: 1.5; }
|
||||
.scan-result-actions { display: flex; gap: 24rpx; }
|
||||
.scan-result-btn {
|
||||
flex: 1;
|
||||
padding: 24rpx;
|
||||
text-align: center;
|
||||
font-size: 28rpx;
|
||||
color: rgba(255,255,255,0.9);
|
||||
background: rgba(255,255,255,0.1);
|
||||
border-radius: 24rpx;
|
||||
}
|
||||
.scan-result-btn.primary { background: #00CED1; color: #000; }
|
||||
|
||||
Reference in New Issue
Block a user