This commit is contained in:
yumoqing 2025-09-29 22:23:14 +08:00
parent ef100c056f
commit 567101ea19
2 changed files with 3 additions and 4 deletions

View File

@ -0,0 +1 @@
<svg t="1759155570691" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5752" width="100%" height="100%"><path d="M945.6 323.52l-211.52 105.6A96 96 0 0 0 640 352a160 160 0 1 0-192 0H275.84a128 128 0 1 0-165.44 1.92A96 96 0 0 0 32 448v384a96 96 0 0 0 96 96h512a96 96 0 0 0 94.08-77.12l211.52 105.6A32 32 0 0 0 992 928V352a32 32 0 0 0-46.4-28.48zM448 224a96 96 0 1 1 96 96 96 96 0 0 1-96-96zM192 192a64 64 0 1 1-64 64 64 64 0 0 1 64-64z m480 640a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V448a32 32 0 0 1 32-32h512a32 32 0 0 1 32 32z m256 44.16l-192-96v-280.32l192-96z" fill="#8a8a8a" p-id="5753"></path><path d="M416 480H224a64 64 0 0 0-64 64v192a64 64 0 0 0 64 64h192a64 64 0 0 0 64-64v-192a64 64 0 0 0-64-64z m-192 256v-192h192v192z" fill="${color}" p-id="5754"></path></svg>

After

Width:  |  Height:  |  Size: 817 B

View File

@ -558,7 +558,7 @@ bricks.UiAudio =class extends bricks.UiFile {
opts.width = opts.width || '100%'; opts.width = opts.width || '100%';
opts.accept = 'audio/'; opts.accept = 'audio/';
super(opts); super(opts);
this.uitype='video'; this.uitype='audio';
this.camera_w = new bricks.Svg({ this.camera_w = new bricks.Svg({
url:bricks_resource('imgs/mic.svg'), url:bricks_resource('imgs/mic.svg'),
tip:'use mic to record audio', tip:'use mic to record audio',
@ -574,7 +574,6 @@ bricks.UiAudio =class extends bricks.UiFile {
var recorder = new bricks.SysAudioRecorder({ var recorder = new bricks.SysAudioRecorder({
"archor":"cc", "archor":"cc",
"auto_open":true, "auto_open":true,
"type": "recorder",
"cheight":3, "cheight":3,
"cwidth":20 "cwidth":20
}); });
@ -632,7 +631,7 @@ bricks.UiVideo =class extends bricks.UiFile {
super(opts); super(opts);
this.uitype='video'; this.uitype='video';
this.camera_w = new bricks.Svg({ this.camera_w = new bricks.Svg({
url:bricks_resource('imgs/camera.svg'), url:bricks_resource('imgs/video-recorder.svg'),
tip:'use cemera to record video', tip:'use cemera to record video',
rate:2}); rate:2});
this.set_css('droparea'); this.set_css('droparea');
@ -647,7 +646,6 @@ bricks.UiVideo =class extends bricks.UiFile {
var recorder = new bricks.SysVideoRecorder({ var recorder = new bricks.SysVideoRecorder({
"archor":"cc", "archor":"cc",
"auto_open":true, "auto_open":true,
"type": "recorder",
"height":"90%", "height":"90%",
"width":"90%" "width":"90%"
}); });