style: 调整加号面板中更多操作选项的样式

This commit is contained in:
Zeew 2025-08-15 22:36:41 +08:00
parent 69690cd2da
commit aa87129838
7 changed files with 119 additions and 134 deletions

View File

@ -1,14 +1 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128px" height="128px" viewBox="0 0 128 128" version="1.1">
<title>编组 5</title>
<g id="当前版" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="更多" transform="translate(-399.000000, -1147.000000)">
<g id="编组-7" transform="translate(47.000000, 1147.000000)">
<g id="编组-5" transform="translate(352.000000, 0.000000)">
<rect id="矩形备份-45" fill="#FFFFFF" x="0" y="0" width="128" height="128" rx="20"></rect>
<path d="M55.145898,42 C56.2822142,42 57.3210036,42.6420071 57.8291796,43.6583592 L58.8944272,45.7888544 C59.5719952,47.1439905 60.9570477,48 62.472136,48 L87,48 C88.6568542,48 90,49.3431458 90,51 L90,83 C90,84.6568542 88.6568542,86 87,86 L41,86 C39.3431458,86 38,84.6568542 38,83 L38,45 C38,43.3431458 39.3431458,42 41,42 L55.145898,42 Z M82,54 L46,54 C44.8954305,54 44,54.8954305 44,56 C44,57.1045695 44.8954305,58 46,58 L46,58 L82,58 C83.1045695,58 84,57.1045695 84,56 C84,54.8954305 83.1045695,54 82,54 L82,54 Z" id="形状结合" fill="#5C6168"></path>
</g>
</g>
</g>
</g>
</svg>
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1755247071973" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2556" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M983.04 229.868308H563.928615a98.461538 98.461538 0 0 1-69.159384-28.376616L373.366154 81.683692A10.259692 10.259692 0 0 0 366.355692 78.769231H40.96C18.313846 78.769231 0 97.673846 0 121.028923v781.942154C0 926.326154 18.313846 945.230769 40.96 945.230769h942.08c22.646154 0 40.96-18.904615 40.96-42.259692V272.128c0-23.374769-18.313846-42.259692-40.96-42.259692z" p-id="2557"></path></svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 724 B

View File

@ -1,16 +1 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128px" height="128px" viewBox="0 0 128 128" version="1.1">
<title>编组 5</title>
<g id="当前版" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="更多" transform="translate(-223.000000, -1147.000000)">
<g id="编组-7" transform="translate(47.000000, 1147.000000)">
<g id="编组-5" transform="translate(176.000000, 0.000000)">
<rect id="矩形备份-45" fill="#FFFFFF" x="0" y="0" width="128" height="128" rx="20"></rect>
<g id="编组-4" transform="translate(37.999754, 44.000000)" fill="#5C6168">
<path d="M14.7827779,20.3047469 C15.3170315,19.8659839 16.0901816,19.8418682 16.6534183,20.2642957 L16.6534183,20.2642957 L42.967,40 L4.00024625,40 C1.79110725,40 0.000246247657,38.209139 0.000246247657,36 L0.000887612509,34.9779328 C0.151240169,34.8917402 0.292787062,34.7844307 0.421213562,34.6560042 L0.421213562,34.6560042 L14.6721151,20.4051026 Z M48.0002462,0 C50.2093852,-4.05812251e-16 52.0002462,1.790861 52.0002462,4 L52.0002462,36 C52.0002462,37.742383 50.8862004,39.2245667 49.331551,39.7731088 L19.0534183,17.0642957 L18.8514268,16.9197066 C16.6722771,15.4321507 13.7258341,15.6945294 11.843688,17.5766755 L11.843688,17.5766755 L0,29.42 L0.000246247657,4 C0.000246247657,1.790861 1.79110725,4.05812251e-16 4.00024625,0 L48.0002462,0 Z M39.0002462,8 C36.7911072,8 35.0002462,9.790861 35.0002462,12 C35.0002462,14.209139 36.7911072,16 39.0002462,16 C41.2093852,16 43.0002462,14.209139 43.0002462,12 C43.0002462,9.790861 41.2093852,8 39.0002462,8 Z" id="形状结合" transform="translate(26.000123, 20.000000) scale(-1, 1) translate(-26.000123, -20.000000) "></path>
</g>
</g>
</g>
</g>
</g>
</svg>
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1755247075414" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2699" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M249.304615 632.595692a25.088 25.088 0 0 1 34.993231 0l160.925539 155.47077a88.969846 88.969846 0 0 0 62.030769 25.068307 89.009231 89.009231 0 0 0 62.030769-25.068307l54.350769-52.539077a38.931692 38.931692 0 0 1 54.153846-0.118154L946.510769 996.627692A168.231385 168.231385 0 0 1 854.390154 1024H169.412923C81.979077 1024 9.846154 957.499077 0.925538 872.329846l248.359385-239.734154zM854.488615 0C947.889231 0 1023.881846 76.012308 1024 169.432615v685.154462a168.369231 168.369231 0 0 1-31.015385 97.654154L722.510769 689.388308a102.675692 102.675692 0 0 0-71.640615-28.947693 102.656 102.656 0 0 0-71.640616 28.947693l-54.350769 52.539077c-9.846154 9.491692-25.206154 9.491692-35.052307 0l-160.886154-155.47077a88.989538 88.989538 0 0 0-62.050462-25.048615c-23.236923 0-45.331692 8.920615-62.030769 25.048615L0 784.167385V169.432615C0 76.012308 76.012308 0 169.393231 0h685.095384z m-164.253538 177.329231c-91.785846 0-166.518154 74.752-166.518154 166.557538 0 91.805538 74.732308 166.577231 166.518154 166.577231s166.537846-74.771692 166.537846-166.596923c0-91.785846-74.752-166.537846-166.537846-166.537846z m0 64.118154a102.537846 102.537846 0 0 1 102.439385 102.439384 102.478769 102.478769 0 0 1-102.419693 102.459077 102.498462 102.498462 0 0 1-102.439384-102.459077 102.557538 102.557538 0 0 1 102.439384-102.439384z" p-id="2700"></path></svg>

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -1,12 +1 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128px" height="128px" viewBox="0 0 128 128" version="1.1">
<title>编组 3</title>
<g id="当前版" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="更多" transform="translate(-47.000000, -1147.000000)">
<g id="编组-3" transform="translate(47.000000, 1147.000000)">
<rect id="矩形备份-43" fill="#FFFFFF" x="0" y="0" width="128" height="128" rx="20"></rect>
<path d="M72.145898,43 C73.2822142,43 74.3210036,43.6420071 74.8291796,44.6583592 L75.8944272,46.7888544 C76.5719952,48.1439905 77.9570477,49 79.472136,49 L87,49 C88.6568542,49 90,50.3431458 90,52 L90,82 C90,83.6568542 88.6568542,85 87,85 L41,85 C39.3431458,85 38,83.6568542 38,82 L38,52 C38,50.3431458 39.3431458,49 41,49 L48.5273733,49 C50.042196,49 51.4270534,48.1442873 52.1047524,46.7895135 L53.1708204,44.6583592 C53.6789964,43.6420071 54.7177858,43 55.854102,43 L72.145898,43 Z M64,54 C57.372583,54 52,59.372583 52,66 C52,72.627417 57.372583,78 64,78 C70.627417,78 76,72.627417 76,66 C76,59.372583 70.627417,54 64,54 Z M64,58 C68.418278,58 72,61.581722 72,66 C72,70.418278 68.418278,74 64,74 C59.581722,74 56,70.418278 56,66 C56,61.581722 59.581722,58 64,58 Z" id="形状结合" fill="#5C6168"></path>
</g>
</g>
</g>
</svg>
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1755247060274" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2413" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M929.181538 212.086154H768L729.6 103.975385A38.144 38.144 0 0 0 693.799385 78.769231H330.200615c-16.009846 0-30.345846 10.121846-35.682461 25.225846L256 212.086154H94.818462C42.436923 212.086154 0 254.680615 0 307.278769v542.72C0 902.636308 42.436923 945.230769 94.818462 945.230769h834.363076C981.563077 945.230769 1024 902.616615 1024 850.018462v-542.72c0-52.617846-42.436923-95.232-94.818462-95.232zM512 754.806154c-104.763077 0-189.636923-85.228308-189.636923-190.424616 0-105.216 84.873846-190.444308 189.636923-190.444307 104.763077 0 189.636923 85.228308 189.636923 190.424615 0 105.216-84.873846 190.424615-189.636923 190.424616z m-113.782154-190.424616c0 30.286769 11.992615 59.352615 33.319385 80.777847a113.526154 113.526154 0 0 0 80.462769 33.476923 113.526154 113.526154 0 0 0 80.443077-33.476923 114.510769 114.510769 0 0 0 33.339077-80.797539 114.510769 114.510769 0 0 0-33.319385-80.777846 113.526154 113.526154 0 0 0-80.462769-33.476923 113.526154 113.526154 0 0 0-80.443077 33.476923 114.510769 114.510769 0 0 0-33.339077 80.777846z" p-id="2414"></path></svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

1
images/take_video.svg Normal file
View File

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1755268334921" class="icon" viewBox="0 0 1210 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2729" xmlns:xlink="http://www.w3.org/1999/xlink" width="236.328125" height="200"><path d="M907.63776 0c32.093091 0 62.882909 13.498182 85.573818 37.492364A131.816727 131.816727 0 0 1 1028.632669 128v139.589818l140.218182-58.368a28.858182 28.858182 0 0 1 28.090182 3.328A32.581818 32.581818 0 0 1 1210.183215 238.987636V785.687273c0 10.472727-4.887273 20.340364-13.032728 26.298182-8.145455 6.004364-18.571636 7.354182-27.857454 3.67709l-140.637091-56.087272V896a131.816727 131.816727 0 0 1-35.421091 90.507636C970.543942 1010.478545 939.754124 1023.976727 907.63776 1024h-786.618182c-32.116364 0-62.906182-13.498182-85.597091-37.492364A131.84 131.84 0 0 1 0.001396 896V127.976727C0.001396 94.045091 12.754851 61.486545 35.44576 37.469091 58.136669 13.498182 88.926487 0 121.019578 0H907.63776zM488.728669 350.766545c-31.022545-17.92-69.818182 4.468364-69.818182 40.308364v241.850182c0 35.84 38.795636 58.228364 69.818182 40.308364l209.454546-120.925091c31.022545-17.92 31.022545-62.72 0-80.616728l-209.454546-120.925091zM151.274124 69.818182a58.181818 58.181818 0 1 0 0 116.363636 58.181818 58.181818 0 0 0 0-116.363636z" p-id="2730"></path></svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -1,18 +1 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128px" height="128px" viewBox="0 0 128 128" version="1.1">
<title>编组 6</title>
<g id="当前版" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="更多" transform="translate(-575.000000, -1147.000000)">
<g id="编组-7" transform="translate(47.000000, 1147.000000)">
<g id="编组-6" transform="translate(528.000000, 0.000000)">
<rect id="矩形备份-47" fill="#FFFFFF" x="0" y="0" width="128" height="128" rx="20"></rect>
<g id="编组-8" transform="translate(36.000000, 38.000000)" fill="#5C6168">
<g id="编组" transform="translate(0.000000, 7.000000)">
<path d="M4,0 L36.8333254,0 C39.0424644,-4.05812251e-16 40.8333254,1.790861 40.8333254,4 L40.8333254,33 C40.8333254,35.209139 39.0424644,37 36.8333254,37 L4,37 C1.790861,37 2.705415e-16,35.209139 0,33 L0,4 C-2.705415e-16,1.790861 1.790861,4.05812251e-16 4,0 Z M55,6.13115896 C55.5522847,6.13115896 56,6.57887421 56,7.13115896 L56,7.13115896 L56,30.0746984 C56,30.2644936 55.945988,30.4503696 55.8442748,30.6106089 C55.5482997,31.076889 54.9303697,31.2149484 54.4640895,30.9189733 L54.4640895,30.9189733 L45.1666578,25.0173513 L45.1666578,11.80315 L54.4897047,6.27115974 C54.6441465,6.17951904 54.8204163,6.13115896 55,6.13115896 Z M11.9999986,7.5625 C12.5522834,7.5625 12.9999986,8.01021525 12.9999986,8.5625 L12.9999986,13.125 C12.9999986,13.6772847 12.5522834,14.125 11.9999986,14.125 L7.4999986,14.125 C6.94771385,14.125 6.4999986,13.6772847 6.4999986,13.125 L6.4999986,8.5625 C6.4999986,8.01021525 6.94771385,7.5625 7.4999986,7.5625 L11.9999986,7.5625 Z" id="Fill-2"></path>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1755247128137" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2985" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M768.001182 78.769231c27.155692 0 53.208615 11.421538 72.408615 31.724307a111.537231 111.537231 0 0 1 29.971692 76.603077v118.09477l118.646154-49.388308a24.418462 24.418462 0 0 1 23.768615 2.816A27.569231 27.569231 0 0 1 1024.001182 280.989538V743.581538a27.569231 27.569231 0 0 1-11.027693 22.252308c-6.892308 5.060923-15.714462 6.203077-23.571692 3.091692L870.401182 721.526154v115.396923a111.537231 111.537231 0 0 1-29.991385 76.583385C821.209797 933.789538 795.176566 945.230769 768.020874 945.230769H102.401182c-27.175385 0-53.228308-11.421538-72.428308-31.724307A111.556923 111.556923 0 0 1 0.001182 836.903385v-649.846154C0.001182 158.345846 10.792566 130.796308 29.992566 110.473846 49.192566 90.190769 75.245489 78.769231 102.401182 78.769231H768.001182z" p-id="2986"></path></svg>

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -1,14 +1 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128px" height="128px" viewBox="0 0 128 128" version="1.1">
<title>编组 3</title>
<g id="当前版" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="更多" transform="translate(-47.000000, -1355.000000)">
<g id="编组-7" transform="translate(47.000000, 1147.000000)">
<g id="编组-3" transform="translate(0.000000, 208.000000)">
<rect id="矩形备份-43" fill="#FFFFFF" x="0" y="0" width="128" height="128" rx="20"></rect>
<path d="M64.2515723,36 C69.6355149,36 74,40.6354433 74,46.3536346 L74,59.7131631 C73.9654088,65.4051572 69.6110456,70 64.2515723,70 L63.7484277,70 C58.3644851,70 54,65.3644524 54,59.6463654 L54,46.2868369 C54.0345912,40.5947385 58.3889544,36 63.7484277,36 L64.2515723,36 Z M62,78 L66,78 L66,90 L62,90 L62,78 Z M53.2380952,86 L74.7619048,86 C75.4456859,86 76,86.5543141 76,87.2380952 L76,88.7619048 C76,89.4456859 75.4456859,90 74.7619048,90 L53.2380952,90 C52.5543141,90 52,89.4456859 52,88.7619048 L52,87.2380952 C52,86.5543141 52.5543141,86 53.2380952,86 Z M47.7494824,58 C48.1927879,58 48.5586146,58.3317262 48.6122725,58.7604888 L48.6190476,58.8695652 C48.6190476,67.5334064 55.5266818,74.5217391 64,74.5217391 C72.3770305,74.5217391 79.2237585,67.6913297 79.3782842,59.1642666 L79.3809524,58.8695652 C79.3809524,58.3893176 79.77027,58 80.2505176,58 L82.1304348,58 C82.5737403,58 82.9395669,58.3317262 82.9932249,58.7604888 L83,58.8695652 C83,69.4156284 74.5147575,78 64,78 C53.5903901,78 45.1699078,69.5864574 45.0025391,59.185352 L45,58.8695652 C45,58.3893176 45.3893176,58 45.8695652,58 L47.7494824,58 Z" id="形状结合" fill="#5C6168" fill-rule="nonzero"></path>
</g>
</g>
</g>
</g>
</svg>
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1755247132142" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3128" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M70.951385 196.824615l125.735384-119.000615c8.861538-8.448 19.396923-15.143385 31.015385-19.692308a100.036923 100.036923 0 0 1 36.627692-6.931692c25.6 0 49.703385 9.511385 67.741539 26.624l135.305846 128.177231c8.920615 8.388923 15.970462 18.392615 20.795077 29.380923 4.824615 11.008 7.305846 22.784 7.305846 34.697846 0 24.280615-10.043077 47.084308-28.100923 64.196923l-98.934154 93.735385a440.812308 440.812308 0 0 0 95.035077 129.851077 467.987692 467.987692 0 0 0 137.058461 90.368l98.934154-93.735385c8.861538-8.428308 19.416615-15.123692 31.035077-19.692308a100.036923 100.036923 0 0 1 36.627692-6.912c25.6 0 49.703385 9.491692 67.741539 26.604308l135.424 128.059077c8.920615 8.428308 15.990154 18.432 20.814769 29.459692 4.824615 11.027692 7.286154 22.823385 7.286154 34.756923 0 24.260923-10.043077 47.064615-28.100923 64.196923L844.8 929.851077c-28.790154 27.411692-68.588308 42.948923-109.430154 42.948923-8.625231 0-16.876308-0.669538-25.009231-2.008615-159.153231-24.832-317.006769-105.019077-444.376615-225.595077C138.712615 624.738462 54.193231 475.313231 27.628308 324.096c-8.034462-46.178462 8.132923-93.735385 43.323077-127.271385z" p-id="3129"></path></svg>

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -134,15 +134,21 @@ class _MorePanelState extends TIMUIKitState<MorePanel> {
);
},
icon: Container(
height: 64,
width: 64,
height: 60,
width: 60,
margin: const EdgeInsets.only(bottom: 4),
decoration: const BoxDecoration(color: Colors.white, borderRadius: BorderRadius.all(Radius.circular(5))),
decoration: const BoxDecoration(
color: Color(0xFFF0F0F0),
borderRadius: BorderRadius.all(Radius.circular(10))),
child: Center(
child: SvgPicture.asset(
"images/photo.svg",
package: 'tencent_cloud_chat_uikit',
height: 64,
width: 64,
height: 26,
width: 26,
colorFilter: const ColorFilter.mode(
Color(0xFF606060), BlendMode.srcIn),
),
),
)),
if (PlatformUtils().isMobile)
@ -153,15 +159,21 @@ class _MorePanelState extends TIMUIKitState<MorePanel> {
_onFeatureTap("take_photo", c, model, theme);
},
icon: Container(
height: 64,
width: 64,
height: 60,
width: 60,
margin: const EdgeInsets.only(bottom: 4),
decoration: const BoxDecoration(color: Colors.white, borderRadius: BorderRadius.all(Radius.circular(5))),
decoration: const BoxDecoration(
color: Color(0xFFF0F0F0),
borderRadius: BorderRadius.all(Radius.circular(10))),
child: Center(
child: SvgPicture.asset(
"images/screen.svg",
package: 'tencent_cloud_chat_uikit',
height: 64,
width: 64,
height: 26,
width: 26,
colorFilter: const ColorFilter.mode(
Color(0xFF606060), BlendMode.srcIn),
),
),
)),
if (PlatformUtils().isMobile)
@ -172,15 +184,27 @@ class _MorePanelState extends TIMUIKitState<MorePanel> {
_onFeatureTap("take_video", c, model, theme);
},
icon: Container(
height: 64,
width: 64,
height: 60,
width: 60,
margin: const EdgeInsets.only(bottom: 4),
decoration: const BoxDecoration(color: Colors.white, borderRadius: BorderRadius.all(Radius.circular(5))),
child: Image.asset(
"images/take_video.png",
decoration: const BoxDecoration(
color: Color(0xFFF0F0F0),
borderRadius: BorderRadius.all(Radius.circular(10))),
child: Center(
child: SvgPicture.asset(
"images/take_video.svg",
package: 'tencent_cloud_chat_uikit',
height: 64,
width: 64,
height: 26,
width: 26,
colorFilter: const ColorFilter.mode(
Color(0xFF606060), BlendMode.srcIn),
),
// Image.asset(
// "images/take_video.png",
// package: 'tencent_cloud_chat_uikit',
// height: 64,
// width: 64,
// ),
),
)),
if (PlatformUtils().isWeb)
@ -196,15 +220,21 @@ class _MorePanelState extends TIMUIKitState<MorePanel> {
);
},
icon: Container(
height: 64,
width: 64,
height: 60,
width: 60,
margin: const EdgeInsets.only(bottom: 4),
decoration: const BoxDecoration(color: Colors.white, borderRadius: BorderRadius.all(Radius.circular(5))),
decoration: const BoxDecoration(
color: Color(0xFFF0F0F0),
borderRadius: BorderRadius.all(Radius.circular(10))),
child: Center(
child: SvgPicture.asset(
"images/photo.svg",
package: 'tencent_cloud_chat_uikit',
height: 64,
width: 64,
height: 26,
width: 26,
colorFilter: const ColorFilter.mode(
Color(0xFF606060), BlendMode.srcIn),
),
),
)),
if (PlatformUtils().isWeb)
@ -220,11 +250,16 @@ class _MorePanelState extends TIMUIKitState<MorePanel> {
);
},
icon: Container(
height: 64,
width: 64,
height: 60,
width: 60,
margin: const EdgeInsets.only(bottom: 4),
decoration: const BoxDecoration(color: Colors.white, borderRadius: BorderRadius.all(Radius.circular(5))),
child: Icon(Icons.video_file, color: hexToColor("5c6168"), size: 26),
decoration: const BoxDecoration(
color: Color(0xFFF0F0F0),
borderRadius: BorderRadius.all(Radius.circular(10))),
child: Center(
child:
Icon(Icons.video_file, color: Color(0xFF606060), size: 26),
),
)),
MorePanelItem(
id: "file",
@ -238,15 +273,21 @@ class _MorePanelState extends TIMUIKitState<MorePanel> {
);
},
icon: Container(
height: 64,
width: 64,
height: 60,
width: 60,
margin: const EdgeInsets.only(bottom: 4),
decoration: const BoxDecoration(color: Colors.white, borderRadius: BorderRadius.all(Radius.circular(5))),
decoration: const BoxDecoration(
color: Color(0xFFF0F0F0),
borderRadius: BorderRadius.all(Radius.circular(10))),
child: Center(
child: SvgPicture.asset(
"images/file.svg",
package: 'tencent_cloud_chat_uikit',
height: 64,
width: 64,
height: 26,
width: 26,
colorFilter:
const ColorFilter.mode(Color(0xFF606060), BlendMode.srcIn),
),
),
)),
if (isInstallCallkit && PlatformUtils().isMobile)
@ -262,15 +303,21 @@ class _MorePanelState extends TIMUIKitState<MorePanel> {
);
},
icon: Container(
height: 64,
width: 64,
height: 60,
width: 60,
margin: const EdgeInsets.only(bottom: 4),
decoration: const BoxDecoration(color: Colors.white, borderRadius: BorderRadius.all(Radius.circular(5))),
decoration: const BoxDecoration(
color: Color(0xFFF0F0F0),
borderRadius: BorderRadius.all(Radius.circular(10))),
child: Center(
child: SvgPicture.asset(
"images/video-call.svg",
package: 'tencent_cloud_chat_uikit',
height: 64,
width: 64,
height: 26,
width: 26,
colorFilter: const ColorFilter.mode(
Color(0xFF606060), BlendMode.srcIn),
),
),
)),
if (isInstallCallkit && PlatformUtils().isMobile)
@ -286,15 +333,21 @@ class _MorePanelState extends TIMUIKitState<MorePanel> {
);
},
icon: Container(
height: 64,
width: 64,
height: 60,
width: 60,
margin: const EdgeInsets.only(bottom: 4),
decoration: const BoxDecoration(color: Colors.white, borderRadius: BorderRadius.all(Radius.circular(5))),
decoration: const BoxDecoration(
color: Color(0xFFF0F0F0),
borderRadius: BorderRadius.all(Radius.circular(10))),
child: Center(
child: SvgPicture.asset(
"images/voice-call.svg",
package: 'tencent_cloud_chat_uikit',
height: 64,
width: 64,
height: 26,
width: 26,
colorFilter: const ColorFilter.mode(
Color(0xFF606060), BlendMode.srcIn),
),
),
)),
if (config.extraAction != null) ...?config.extraAction,