yumoqing 2b921a209d sync: local modifications to integrated_crm_app
- Updated app/integrated_crm_app.py, build.sh, conf/config.json
- Added config.ini, schema.sql, send_email.py, test_db_conn.py
- Added full wwwroot/ with bricks framework, all module frontends, login/main UI
2026-04-28 18:54:07 +08:00

15 lines
331 B
JavaScript

bricks = window.bricks || {};
bricks.GlbViewer = class extends bricks.VBox {
constructor(opts){
super(opts);
this.dom_element.innerHTML=`<model-viewer
src="${this.opts.url}"
auto-rotate
camera-controls
style="width: 100%; height: 100vh;">
</model-viewer>`
}
}
bricks.Factory.register('GlbViewer', bricks.GlbViewer);