.container { width: 100%; height: 100vh; display: flex; flex-direction: column; background-color: #f8f8f8; } /* 相机样式 */ .camera-container { width: 100%; height: 100%; position: relative; } .camera { width: 100%; height: 100%; } .camera-controls { position: absolute; bottom: 40rpx; left: 0; right: 0; display: flex; justify-content: center; align-items: center; } .btn-capture { width: 280rpx; height: 100rpx; line-height: 100rpx; background-color: #ffffff; margin: 0 20rpx; border-radius: 30rpx; } /* 结果视图样式 */ .result-container { width: 100%; height: 100%; display: flex; flex-direction: column; } .image-container { width: 100%; height: 50%; display: flex; justify-content: center; align-items: center; background-color: #000; } .preview-image, .highlight-canvas { width: 100%; height: 100%; object-fit: contain; } .text-list { flex: 1; width: 100%; background-color: #fff; border-top-left-radius: 20rpx; border-top-right-radius: 20rpx; margin-top: -20rpx; padding: 20rpx; box-sizing: border-box; display: flex; flex-direction: column; } .text-list-header { font-size: 32rpx; font-weight: bold; padding: 20rpx 0; border-bottom: 1rpx solid #eee; } .text-scroll { flex-wrap: wrap; width: 100%; } .no-result { text-align: center; color: #999; padding: 40rpx 0; } .text-item { border: 1rpx solid #f0f0f0; margin: 10rpx; padding: 5rpx 10rpx; background-color: #eee; } .text-content { font-size: 30rpx; color: #333; padding: 3rpx 5rpx; line-height: 1.5; border-radius: 10rpx; } .text-tip { font-size: 24rpx; color: #999; margin-top: 10rpx; } .bottom-controls { padding: 20rpx; display: flex; justify-content: center; } .btn-retake { background-color: #07c160; color:#fff; } .Title{ width: 650rpx; height:100rpx; font-size:36rpx; justify-content: flex-start; align-items: flex-start; margin: 30rpx 0; } .Title1{ font-size:28rpx; color:#1d1d1d; } /* 英语单词标签页内容样式 */ .english-tab-content { display: flex; flex-direction: column; height: 100%; } .generate-article-btn { padding: 20rpx; margin-top: 20rpx; } .generate-article-btn button { width: 100%; border-radius: 40rpx; } .textSelected1{ background-color: #07c160; color:#fff; }