This commit is contained in:
yumoqing 2025-09-01 20:50:47 +08:00
parent 4b2ed36943
commit 0fd47c408b
2 changed files with 1 additions and 1 deletions

1
bricks/imgs/camera.svg Normal file
View File

@ -0,0 +1 @@
<svg t="1756730700908" class="icon" viewBox="0 0 1381 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5410" width="100%" height="100%"><path d="M690.604651 840.453953c-160.148837 0-290.232558-131.143442-290.232558-291.923348C400.372093 387.738791 530.455814 256.595349 690.604651 256.595349s290.232558 131.143442 290.232558 291.935256C980.837209 709.298605 850.753488 840.453953 690.604651 840.453953z m0-511.095069c-119.962791 0-217.6 98.208744-217.6 218.874046 0 120.665302 97.637209 218.874047 217.6 218.874047s217.6-98.208744 217.6-218.874047c0-120.665302-97.637209-218.874047-217.6-218.874046z" fill="#000000" p-id="5411"></path><path d="M1343.702326 1023.106977H37.506977c-19.944186 0-36.316279-16.467349-36.316279-36.530605V183.546047c0-20.063256 16.372093-36.530605 36.316279-36.530605h325.060465l110.437209-132.941395a35.816186 35.816186 0 0 1 27.981396-13.181024H881.116279c10.716279 0 20.837209 4.798512 27.981395 13.181024l110.43721 132.941395h325.060465c19.944186 0 36.316279 16.467349 36.316279 36.530605v803.030325c-0.893023 20.063256-16.967442 36.530605-37.209302 36.530605zM73.823256 950.045767h1233.860465V220.064744H1001.972093c-10.716279 0-20.837209-4.786605-27.981395-13.169116L863.553488 73.954233h-345.897674L407.218605 206.895628a35.816186 35.816186 0 0 1-27.981396 13.169116H73.823256V950.057674z" fill="${color}" p-id="5412"></path></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -546,7 +546,6 @@ bricks.UiImage =class extends bricks.VBox {
this.remove_widget(this.imgw); this.remove_widget(this.imgw);
} }
this.value = e.target.result; this.value = e.target.result;
console.log('this.value=', this.value);
this.imgw = new bricks.Image({ this.imgw = new bricks.Image({
url:this.value, url:this.value,
width:'100%' width:'100%'