Major enhancements to the emblemscanner module:
**Camera System:**
- Device-specific camera rules from Themblem API
- Web-view fallback for problematic devices in same page
- Loading spinner prevents camera mode jumping
- Debug mode with comprehensive diagnostics
**Self-contained Architecture:**
- Inline utility functions (no external dependencies)
- Camera rule matching and API integration
- Web-view URL generation with proper parameters
- Message handling for web-view QR results
**UI Improvements:**
- Hide overlays during loading state
- Enhanced debug overlay with camera rule info
- Worker/native camera mode detection
- Loading feedback with "初始化相机..." message
Module is now production-ready for camera setup and UI, with framework for QR processing integration.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Create portable QR scanning page module with:
- WeChat native camera integration with overlay system
- Animated QR targeting arcs and visual feedback
- Torch/flash controls and camera setup
- Inline modal system (verification, guide, service)
- Return page navigation support via query parameter
- Debug overlay and device detection
- Complete asset bundle (arc.png, qrmarkers.png, buttons)
Module can be integrated into other WeChat Mini Programs by copying pages/emblemscanner/ directory.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>