UI optimization

Former-commit-id: 943d39389c9cdd7a19d8151fed048805d5c931d7
pull/174/head
Physton 2023-05-12 20:09:32 +08:00
parent ff4944f739
commit 840df462e9
7 changed files with 34 additions and 6 deletions

View File

@ -1 +1 @@
611e2b7444b13bf5b7d8c0b33f5ebdf29c8acbe6
7a8fa4c6bf57d607e9d7bcd29aabe94360120f14

View File

@ -1 +1 @@
0ea2fb62ebce37f6ed523ac5d17a0e5348aff4fe
6bf73be990f0ca7747c794fd7adb39e8561102bc

View File

@ -1 +1 @@
c7798a9458676ec68abdf57ecdab0f0afe9d1e2b
df4cff5d2399bb26e29681091837b0e821faa96b

View File

@ -0,0 +1,28 @@
<template>
<div class="icon-svg" :style="{width: width + 'px', height: height + 'px'}">
<svg t="1683889314683" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="11799" :width="width" :height="height" :style="{fill: color}">
<path d="M972.353753 405.620568l-98.014307-19.641248a387.002968 387.002968 0 0 0-17.178095-41.233826l55.53291-83.299366a63.946019 63.946019 0 0 0-7.997251-80.708257l-61.546843-61.546843a63.850052 63.850052 0 0 0-80.708256-7.997251l-83.299366 55.500922a386.747056 386.747056 0 0 0-41.297804-17.146106L618.203493 51.502296A63.91403 63.91403 0 0 0 555.473056 0.063978h-87.01009a63.978008 63.978008 0 0 0-62.730437 51.438318l-19.641248 98.046297c-14.171129 4.926307-27.9264 10.716316-41.233826 17.146106L261.590078 111.193777a63.850052 63.850052 0 0 0-80.740245 7.997251L119.334979 180.737871a63.978008 63.978008 0 0 0-7.997251 80.708257l55.500921 83.299366c-6.461779 13.339415-12.219799 27.094686-17.146106 41.265815l-98.078285 19.609259A63.978008 63.978008 0 0 0 0.17594 468.351004v87.010091a63.978008 63.978008 0 0 0 51.438318 62.730436l98.046296 19.673237c4.926307 14.171129 10.716316 27.9264 17.146106 41.233826L111.337728 762.29796a63.946019 63.946019 0 0 0 7.997251 80.708257l61.546843 61.546843a63.850052 63.850052 0 0 0 80.708256 7.997251l83.299366-55.532911c13.339415 6.493768 27.094686 12.251788 41.265815 17.178095l19.609259 98.014308a63.978008 63.978008 0 0 0 62.730437 51.470307h87.01009a63.978008 63.978008 0 0 0 62.730437-51.470307l19.673237-98.014308c14.171129-4.926307 27.9264-10.748305 41.233826-17.178095l83.299366 55.532911a63.91403 63.91403 0 0 0 80.708256-7.997251l61.546843-61.546843a63.978008 63.978008 0 0 0 7.997251-80.708257l-55.53291-83.299366c6.493768-13.371404 12.251788-27.126675 17.178095-41.297804l98.014307-19.609259A63.978008 63.978008 0 0 0 1023.82406 555.361095v-87.010091c0-30.485521-21.560589-56.748493-51.470307-62.730436z m-110.585986 169.381775a63.882041 63.882041 0 0 0-47.855549 41.74565c-4.126581 11.803942-8.924932 23.256006-14.299085 34.35619a63.850052 63.850052 0 0 0 4.318515 63.402205l55.532911 83.299366-61.546843 61.546844-83.299366-55.532911a63.882041 63.882041 0 0 0-63.338228-4.382494c-11.132173 5.374153-22.552248 10.236481-34.420168 14.363063a63.91403 63.91403 0 0 0-41.681672 47.85555l-19.673237 98.078285h-87.01009l-19.609259-98.078285a63.882041 63.882041 0 0 0-41.713661-47.85555 325.328168 325.328168 0 0 1-34.388179-14.299085 63.786074 63.786074 0 0 0-63.370217 4.318516l-83.299366 55.532911-61.546843-61.546844 55.500922-83.299366c12.571678-18.873512 14.203118-42.993221 4.382493-63.338227a323.280872 323.280872 0 0 1-14.331074-34.420168 63.978008 63.978008 0 0 0-47.855549-41.681672l-98.046297-19.673237L64.153947 468.351004l98.078286-19.609259a63.946019 63.946019 0 0 0 47.855549-41.713661c4.126581-11.803942 8.892943-23.287995 14.299085-34.388179a63.818063 63.818063 0 0 0-4.350504-63.370216L164.56743 225.970323 226.082284 164.423479l83.299366 55.500922a63.882041 63.882041 0 0 0 63.338228 4.382494 322.769048 322.769048 0 0 1 34.388179-14.331074 63.946019 63.946019 0 0 0 41.713661-47.85555l19.641248-98.046296 87.01009-0.031989 19.609259 98.078285a63.91403 63.91403 0 0 0 41.74565 47.85555c11.803942 4.126581 23.256006 8.892943 34.35619 14.299085a63.91403 63.91403 0 0 0 63.402206-4.350505l83.299366-55.500922 61.546843 61.546844-55.532911 83.299366a64.169942 64.169942 0 0 0-4.382493 63.338227c5.374153 11.100184 10.236481 22.552248 14.363063 34.388179a63.882041 63.882041 0 0 0 47.855549 41.713661l98.014308 19.641248 0.095967 87.010091-98.078286 19.641248z" p-id="11800"></path>
<path d="M512 287.933023A223.923026 223.923026 0 1 0 512.031989 735.747087 223.923026 223.923026 0 0 0 512 287.901034z m0 419.887664a195.964637 195.964637 0 1 1 195.932648-195.932649A195.996626 195.996626 0 0 1 512 707.820687z" p-id="11801"></path>
<path d="M512 383.900034a127.956015 127.956015 0 1 0 0 255.912031 127.956015 127.956015 0 0 0 0-255.912031z m0 223.955016a95.999 95.999 0 0 1 0-191.934023 95.999 95.999 0 0 1 0 191.934023z" p-id="11802"></path>
</svg>
</div>
</template>
<script>
export default {
name: 'IconSetting',
props: {
width: {
type: Number,
default: 16,
},
height: {
type: Number,
default: 16,
},
color: {
type: String,
default: '#02b7fd',
},
},
}
</script>

View File

@ -1 +1 @@
fcce473cde78aed997785eaf0480aec6e9e54f86
43f924fba9777aa2be694724907ee37f345b9c5b

View File

@ -80,7 +80,7 @@ export default {
}
} else {
// 移除末尾的.,因为有些翻译会加上.
res.translated_text = res.translated_text.replace(/\.$/, '')
res.translated_text = res.translated_text.replace(/\.+$/, '')
res.translated_text = res.translated_text.trim()
}
resolve(res)

File diff suppressed because one or more lines are too long