This commit is contained in:
yumoqing 2025-10-13 16:44:43 +08:00
parent 78dc544776
commit 01e0c60284
3 changed files with 4 additions and 2 deletions

View File

@ -0,0 +1 @@
<svg t="1760344859024" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7644" width="100%" height="100%"><path d="M740.571429 0h256v658.285714h-256z" fill="#4B6DAA" p-id="7645"></path><path d="M868.571429 164.571429m-73.142858 0a73.142857 73.142857 0 1 0 146.285715 0 73.142857 73.142857 0 1 0-146.285715 0Z" fill="#D8A852" p-id="7646"></path><path d="M45.714286 548.571429a73.142857 73.142857 0 0 0 73.142857 73.142857h285.293714l-18.066286 84.461714c-13.787429 64.438857-10.093714 142.976-1.901714 198.144 8.192 55.168 57.6 119.68 109.293714 119.68h4.370286c44.068571 0 59.867429-48.621714 59.867429-109.714286 0-297.142857 146.285714-292.571429 146.285714-292.571428h36.571429V36.571429h-530.285715a73.142857 73.142857 0 0 0 0 146.285714h-54.857143a73.142857 73.142857 0 0 0 0 146.285714h-54.857142a73.142857 73.142857 0 0 0-73.142858 73.142857c0 45.586286 29.494857 62.939429 73.142858 69.412572 21.266286 3.163429 59.904 3.730286 73.142857 3.730285h-54.857143a73.142857 73.142857 0 0 0-73.142857 73.142858z" fill="#FBCE9D" p-id="7647"></path><path d="M356.571429 182.857143a18.285714 18.285714 0 0 0-18.285715-18.285714H162.377143c12.854857 11.245714 29.494857 18.285714 47.908571 18.285714h-54.857143a72.466286 72.466286 0 0 0-47.908571 18.285714H338.285714a18.285714 18.285714 0 0 0 18.285715-18.285714zM301.714286 310.857143H107.52c12.854857 11.245714 29.494857 18.285714 47.908571 18.285714h-54.857142a72.466286 72.466286 0 0 0-47.908572 18.285714H301.714286a18.285714 18.285714 0 1 0 0-36.571428zM301.714286 457.142857H55.661714c12.013714 7.369143 27.209143 11.940571 44.909715 14.555429 21.266286 3.163429 59.904 3.730286 73.142857 3.730285h-54.857143a72.466286 72.466286 0 0 0-47.908572 18.285715H301.714286a18.285714 18.285714 0 1 0 0-36.571429z" fill="#F7B563" p-id="7648"></path></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

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

@ -0,0 +1 @@
<svg t="1760344705790" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6634" width="100%" height="100%"><path d="M727.771429 909.061224h-181.812245c-95.608163 0-179.2-38.661224-208.457143-53.812244h-67.918368c-25.6 0-47.020408-20.897959-47.020408-47.020409V431.020408c0-25.6 20.897959-47.020408 47.020408-47.020408h72.09796c12.538776-4.702041 57.469388-22.987755 78.367347-59.036735 7.836735-13.061224 14.628571-42.318367 21.420408-68.963265 11.493878-47.020408 22.465306-91.428571 48.065306-117.55102 23.510204-24.032653 65.306122-31.346939 104.489796-17.763266 50.677551 17.240816 85.159184 62.171429 92.473469 120.163266 6.791837 56.946939-2.612245 110.236735-6.791837 130.612244-1.044898 4.179592 1.044898 6.791837 2.089796 8.359184 1.044898 1.567347 3.657143 3.657143 7.836735 3.657143h119.640816c46.497959 0 100.310204 44.408163 100.310204 101.355102 0 26.122449-39.706122 331.232653-63.216326 369.893878-26.122449 43.363265-88.816327 54.334694-118.595918 54.334693zM134.791837 847.412245c-10.971429 0-19.853061-8.881633-19.853061-19.853061V420.571429c0-10.971429 8.881633-19.853061 19.853061-19.853062s19.853061 8.881633 19.853061 19.853062v406.987755c0 10.971429-8.881633 19.853061-19.853061 19.853061z" fill="#E5404F" p-id="6635"></path></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -84,8 +84,8 @@ bricks.ModelOutput = class extends bricks.VBox {
otext:'结果满意吗?', otext:'结果满意吗?',
i18n:true, i18n:true,
}); });
var likew = new bricks.Svg({rate:1.5, url:bricks_resource('imgs/like.svg')}); var likew = new bricks.Svg({rate:1.5, url:bricks_resource('imgs/praise.svg')});
var unlikew = new bricks.Svg({rate:1.5, url:bricks_resource('imgs/dislike.svg')}); var unlikew = new bricks.Svg({rate:1.5, url:bricks_resource('imgs/criticize.svg')});
likew.bind('click', this.estimate_llm.bind(this, likew, 1)); likew.bind('click', this.estimate_llm.bind(this, likew, 1));
unlikew.bind('click', this.estimate_llm.bind(this, unlikew, -1)) unlikew.bind('click', this.estimate_llm.bind(this, unlikew, -1))
this.estimate_w.add_widget(txtw); this.estimate_w.add_widget(txtw);