12
index.html
|
@ -9,5 +9,17 @@
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
<script type="module" src="/src/main.ts"></script>
|
<script type="module" src="/src/main.ts"></script>
|
||||||
|
<script language="javascript">
|
||||||
|
if (window.location.host === 'tdesign.tencent.com') {
|
||||||
|
const aegis = new Aegis({
|
||||||
|
id: 'rDISNMyXgqWDFPyHMB', // 项目ID,即上报key
|
||||||
|
reportAssetSpeed: true, // 静态资源测速
|
||||||
|
});
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
window.global = window;
|
||||||
|
</script>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,47 +1,32 @@
|
||||||
<svg width="200" height="140" viewBox="0 0 200 140" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="200" height="140" viewBox="0 0 200 140" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<g mask="url(#mask0_17_619)">
|
<g mask="url(#mask0_17_619)">
|
||||||
<path d="M30 62H118V122H30V62Z" fill="#97A3B7"/>
|
<path d="M30 62H118V122H30V62Z" fill="#97A3B7" />
|
||||||
<g filter="url(#filter0_f_17_619)">
|
<g filter="url(#filter0_f_17_619)">
|
||||||
<rect x="12" y="84" width="80" height="60" fill="#E3E6EB"/>
|
<rect x="12" y="84" width="80" height="60" fill="#E3E6EB" />
|
||||||
</g>
|
</g>
|
||||||
<g filter="url(#filter1_f_17_619)">
|
<g filter="url(#filter1_f_17_619)">
|
||||||
<rect x="80" y="54" width="80" height="60" fill="#E3E6EB"/>
|
<rect x="80" y="54" width="80" height="60" fill="#E3E6EB" />
|
||||||
</g>
|
</g>
|
||||||
<rect x="46" y="105" width="32" height="2" fill="white"/>
|
<rect x="46" y="105" width="32" height="2" fill="white" />
|
||||||
<rect x="46" y="98" width="32" height="2" fill="white"/>
|
<rect x="46" y="98" width="32" height="2" fill="white" />
|
||||||
<rect x="46" y="88" width="16" height="2" fill="white"/>
|
<rect x="46" y="88" width="16" height="2" fill="white" />
|
||||||
</g>
|
</g>
|
||||||
<path opacity="0.9" d="M63 20H151V30H63V20Z" fill="currentcolor"/>
|
<path opacity="0.9" d="M63 20H151V30H63V20Z" fill="currentcolor" />
|
||||||
<mask id="mask1_17_619" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="63" y="30" width="88" height="50">
|
<mask id="mask1_17_619" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="63" y="30" width="88" height="50">
|
||||||
<path d="M63 30H151V80H63V30Z" fill="currentcolor"/>
|
<path d="M63 30H151V80H63V30Z" fill="currentcolor" />
|
||||||
</mask>
|
</mask>
|
||||||
<g mask="url(#mask1_17_619)">
|
<g mask="url(#mask1_17_619)">
|
||||||
<path d="M63 30H151V80H63V30Z" fill="currentcolor"/>
|
<path d="M63 30H151V80H63V30Z" fill="currentcolor" />
|
||||||
<g opacity="0.3" filter="url(#filter2_f_17_619)">
|
<g opacity="0.3" filter="url(#filter2_f_17_619)">
|
||||||
<path d="M30 62H118V122H30V62Z" fill="#97A3B7"/>
|
<path d="M30 62H118V122H30V62Z" fill="#97A3B7" />
|
||||||
</g>
|
</g>
|
||||||
</g>
|
</g>
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M95.6863 40.8577L105.964 51.1345C106.295 51.0466 106.642 50.9998 107 50.9998C109.213 50.9998 111 52.7865 111 54.9998C111 55.3574 110.953 55.7038 110.866 56.0333L121.142 66.3135L118.314 69.1419L113.716 64.5448C111.653 65.423 109.384 65.9089 107 65.9089C99.7273 65.9089 93.5164 61.3853 91 54.9998C92.1785 52.0093 94.1673 49.4271 96.6961 47.5268L92.8579 43.6861L95.6863 40.8577ZM99 54.9998C99 59.4158 102.584 62.9998 107 62.9998C108.483 62.9998 109.872 62.5957 111.063 61.8917L108.034 58.8657C107.704 58.9532 107.358 58.9998 107 58.9998C104.787 58.9998 103 57.2131 103 54.9998C103 54.6423 103.047 54.2958 103.134 53.9663L100.107 50.9389C99.4037 52.1295 99 53.5178 99 54.9998ZM107 44.0907C114.273 44.0907 120.484 48.6143 123 54.9998C122.071 57.3574 120.638 59.4612 118.834 61.1773L114.729 57.0717C114.906 56.4108 115 55.7162 115 54.9998C115 50.5838 111.416 46.9998 107 46.9998C106.284 46.9998 105.589 47.0941 104.928 47.2711L102.378 44.7205C103.848 44.3101 105.398 44.0907 107 44.0907Z" fill="white"/>
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
||||||
<rect x="68" y="24" width="2" height="2" fill="white"/>
|
d="M95.6863 40.8577L105.964 51.1345C106.295 51.0466 106.642 50.9998 107 50.9998C109.213 50.9998 111 52.7865 111 54.9998C111 55.3574 110.953 55.7038 110.866 56.0333L121.142 66.3135L118.314 69.1419L113.716 64.5448C111.653 65.423 109.384 65.9089 107 65.9089C99.7273 65.9089 93.5164 61.3853 91 54.9998C92.1785 52.0093 94.1673 49.4271 96.6961 47.5268L92.8579 43.6861L95.6863 40.8577ZM99 54.9998C99 59.4158 102.584 62.9998 107 62.9998C108.483 62.9998 109.872 62.5957 111.063 61.8917L108.034 58.8657C107.704 58.9532 107.358 58.9998 107 58.9998C104.787 58.9998 103 57.2131 103 54.9998C103 54.6423 103.047 54.2958 103.134 53.9663L100.107 50.9389C99.4037 52.1295 99 53.5178 99 54.9998ZM107 44.0907C114.273 44.0907 120.484 48.6143 123 54.9998C122.071 57.3574 120.638 59.4612 118.834 61.1773L114.729 57.0717C114.906 56.4108 115 55.7162 115 54.9998C115 50.5838 111.416 46.9998 107 46.9998C106.284 46.9998 105.589 47.0941 104.928 47.2711L102.378 44.7205C103.848 44.3101 105.398 44.0907 107 44.0907Z"
|
||||||
<rect x="74" y="24" width="2" height="2" fill="white"/>
|
fill="white" />
|
||||||
<rect x="80" y="24" width="66" height="2" fill="white"/>
|
<rect x="68" y="24" width="2" height="2" fill="white" />
|
||||||
<path d="M157 53.9998L181.249 95.9998H132.751L157 53.9998Z" fill="white" stroke="black"/>
|
<rect x="74" y="24" width="2" height="2" fill="white" />
|
||||||
<path d="M157 88.9998L157 70.9998" stroke="black"/>
|
<rect x="80" y="24" width="66" height="2" fill="white" />
|
||||||
<defs>
|
<path d="M157 53.9998L181.249 95.9998H132.751L157 53.9998Z" fill="white" stroke="black" />
|
||||||
<filter id="filter0_f_17_619" x="-38" y="34" width="180" height="160" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
<path d="M157 88.9998L157 70.9998" stroke="black" />
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
||||||
<feGaussianBlur stdDeviation="25" result="effect1_foregroundBlur_17_619"/>
|
|
||||||
</filter>
|
|
||||||
<filter id="filter1_f_17_619" x="30" y="4" width="180" height="160" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
||||||
<feGaussianBlur stdDeviation="25" result="effect1_foregroundBlur_17_619"/>
|
|
||||||
</filter>
|
|
||||||
<filter id="filter2_f_17_619" x="24" y="56" width="100" height="72" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
||||||
<feGaussianBlur stdDeviation="3" result="effect1_foregroundBlur_17_619"/>
|
|
||||||
</filter>
|
|
||||||
</defs>
|
|
||||||
</svg>
|
</svg>
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
@ -1,47 +1,36 @@
|
||||||
<svg width="200" height="140" viewBox="0 0 200 140" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="200" height="140" viewBox="0 0 200 140" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<g mask="url(#mask0_16559_24301)">
|
<g mask="url(#mask0_16559_24301)">
|
||||||
<path d="M30 62H118V122H30V62Z" fill="#97A3B7"/>
|
<path d="M30 62H118V122H30V62Z" fill="#97A3B7" />
|
||||||
<g filter="url(#filter0_f_16559_24301)">
|
<g filter="url(#filter0_f_16559_24301)">
|
||||||
<rect x="12" y="84" width="80" height="60" fill="#E3E6EB"/>
|
<rect x="12" y="84" width="80" height="60" fill="#E3E6EB" />
|
||||||
</g>
|
</g>
|
||||||
<g filter="url(#filter1_f_16559_24301)">
|
<g filter="url(#filter1_f_16559_24301)">
|
||||||
<rect x="80" y="54" width="80" height="60" fill="#E3E6EB"/>
|
<rect x="80" y="54" width="80" height="60" fill="#E3E6EB" />
|
||||||
</g>
|
</g>
|
||||||
<path d="M49 93L42 100L49 107" stroke="white" stroke-width="2"/>
|
<path d="M49 93L42 100L49 107" stroke="white" stroke-width="2" />
|
||||||
<path d="M69 107L76 100L69 93" stroke="white" stroke-width="2"/>
|
<path d="M69 107L76 100L69 93" stroke="white" stroke-width="2" />
|
||||||
<path d="M62.3647 87.4431L55.6355 112.557" stroke="white" stroke-width="2"/>
|
<path d="M62.3647 87.4431L55.6355 112.557" stroke="white" stroke-width="2" />
|
||||||
</g>
|
</g>
|
||||||
<path opacity="0.9" d="M63 20H151V30H63V20Z" fill="currentcolor"/>
|
<path opacity="0.9" d="M63 20H151V30H63V20Z" fill="currentcolor" />
|
||||||
<mask id="mask1_16559_24301" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="63" y="30" width="88" height="50">
|
<mask id="mask1_16559_24301" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="63" y="30" width="88" height="50">
|
||||||
<path d="M63 30H151V80H63V30Z" fill="currentcolor"/>
|
<path d="M63 30H151V80H63V30Z" fill="currentcolor" />
|
||||||
</mask>
|
</mask>
|
||||||
<g mask="url(#mask1_16559_24301)">
|
<g mask="url(#mask1_16559_24301)">
|
||||||
<path d="M63 30H151V80H63V30Z" fill="currentcolor"/>
|
<path d="M63 30H151V80H63V30Z" fill="currentcolor" />
|
||||||
<g opacity="0.3" filter="url(#filter2_f_16559_24301)">
|
<g opacity="0.3" filter="url(#filter2_f_16559_24301)">
|
||||||
<path d="M30 62H118V122H30V62Z" fill="#97A3B7"/>
|
<path d="M30 62H118V122H30V62Z" fill="#97A3B7" />
|
||||||
</g>
|
</g>
|
||||||
</g>
|
</g>
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M105.25 41C112.015 41 117.5 46.4845 117.5 53.25C117.5 55.6827 116.791 57.9498 115.568 59.8558L121 65.2877L117.288 69L111.856 63.5681C109.95 64.7909 107.683 65.5 105.25 65.5C98.4845 65.5 93 60.0155 93 53.25C93 46.4845 98.4845 41 105.25 41ZM105.25 44.5C100.418 44.5 96.5 48.4175 96.5 53.25C96.5 58.0825 100.418 62 105.25 62C110.082 62 114 58.0825 114 53.25C114 48.4175 110.082 44.5 105.25 44.5Z" fill="white"/>
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
||||||
<rect x="68" y="24" width="2" height="2" fill="white"/>
|
d="M105.25 41C112.015 41 117.5 46.4845 117.5 53.25C117.5 55.6827 116.791 57.9498 115.568 59.8558L121 65.2877L117.288 69L111.856 63.5681C109.95 64.7909 107.683 65.5 105.25 65.5C98.4845 65.5 93 60.0155 93 53.25C93 46.4845 98.4845 41 105.25 41ZM105.25 44.5C100.418 44.5 96.5 48.4175 96.5 53.25C96.5 58.0825 100.418 62 105.25 62C110.082 62 114 58.0825 114 53.25C114 48.4175 110.082 44.5 105.25 44.5Z"
|
||||||
<rect x="74" y="24" width="2" height="2" fill="white"/>
|
fill="white" />
|
||||||
<rect x="80" y="24" width="66" height="2" fill="white"/>
|
<rect x="68" y="24" width="2" height="2" fill="white" />
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M153 56C140.85 56 131 65.8497 131 78C131 82.6039 132.414 86.8776 134.832 90.4102L127 98.5L139.495 95.3681C143.222 98.2709 147.909 100 153 100C165.15 100 175 90.1503 175 78C175 65.8497 165.15 56 153 56Z" fill="white"/>
|
<rect x="74" y="24" width="2" height="2" fill="white" />
|
||||||
<path d="M131 78L131.5 78V78L131 78ZM134.832 90.4102L135.191 90.758L135.475 90.4647L135.245 90.1278L134.832 90.4102ZM127 98.5L126.641 98.1522L125.422 99.411L127.122 98.985L127 98.5ZM139.495 95.3681L139.802 94.9736L139.61 94.8238L139.373 94.8831L139.495 95.3681ZM153 100L153 100.5L153 100.5L153 100ZM175 78L174.5 78L174.5 78L175 78ZM131.5 78C131.5 66.1259 141.126 56.5 153 56.5V55.5C140.574 55.5 130.5 65.5736 130.5 78L131.5 78ZM135.245 90.1278C132.882 86.6757 131.5 82.5 131.5 78H130.5C130.5 82.7079 131.946 87.0794 134.419 90.6926L135.245 90.1278ZM134.473 90.0624L126.641 98.1522L127.359 98.8478L135.191 90.758L134.473 90.0624ZM127.122 98.985L139.616 95.8531L139.373 94.8831L126.878 98.015L127.122 98.985ZM153 99.5C148.024 99.5 143.445 97.8105 139.802 94.9736L139.187 95.7626C143 98.7314 147.794 100.5 153 100.5V99.5ZM174.5 78C174.5 89.8741 164.874 99.5 153 99.5L153 100.5C165.426 100.5 175.5 90.4264 175.5 78L174.5 78ZM153 56.5C164.874 56.5 174.5 66.1259 174.5 78H175.5C175.5 65.5736 165.426 55.5 153 55.5V56.5Z" fill="black"/>
|
<rect x="80" y="24" width="66" height="2" fill="white" />
|
||||||
<defs>
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
||||||
<filter id="filter0_f_16559_24301" x="-38" y="34" width="180" height="160" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
d="M153 56C140.85 56 131 65.8497 131 78C131 82.6039 132.414 86.8776 134.832 90.4102L127 98.5L139.495 95.3681C143.222 98.2709 147.909 100 153 100C165.15 100 175 90.1503 175 78C175 65.8497 165.15 56 153 56Z"
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
fill="white" />
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
<path
|
||||||
<feGaussianBlur stdDeviation="25" result="effect1_foregroundBlur_16559_24301"/>
|
d="M131 78L131.5 78V78L131 78ZM134.832 90.4102L135.191 90.758L135.475 90.4647L135.245 90.1278L134.832 90.4102ZM127 98.5L126.641 98.1522L125.422 99.411L127.122 98.985L127 98.5ZM139.495 95.3681L139.802 94.9736L139.61 94.8238L139.373 94.8831L139.495 95.3681ZM153 100L153 100.5L153 100.5L153 100ZM175 78L174.5 78L174.5 78L175 78ZM131.5 78C131.5 66.1259 141.126 56.5 153 56.5V55.5C140.574 55.5 130.5 65.5736 130.5 78L131.5 78ZM135.245 90.1278C132.882 86.6757 131.5 82.5 131.5 78H130.5C130.5 82.7079 131.946 87.0794 134.419 90.6926L135.245 90.1278ZM134.473 90.0624L126.641 98.1522L127.359 98.8478L135.191 90.758L134.473 90.0624ZM127.122 98.985L139.616 95.8531L139.373 94.8831L126.878 98.015L127.122 98.985ZM153 99.5C148.024 99.5 143.445 97.8105 139.802 94.9736L139.187 95.7626C143 98.7314 147.794 100.5 153 100.5V99.5ZM174.5 78C174.5 89.8741 164.874 99.5 153 99.5L153 100.5C165.426 100.5 175.5 90.4264 175.5 78L174.5 78ZM153 56.5C164.874 56.5 174.5 66.1259 174.5 78H175.5C175.5 65.5736 165.426 55.5 153 55.5V56.5Z"
|
||||||
</filter>
|
fill="black" />
|
||||||
<filter id="filter1_f_16559_24301" x="30" y="4" width="180" height="160" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
||||||
<feGaussianBlur stdDeviation="25" result="effect1_foregroundBlur_16559_24301"/>
|
|
||||||
</filter>
|
|
||||||
<filter id="filter2_f_16559_24301" x="24" y="56" width="100" height="72" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
||||||
<feGaussianBlur stdDeviation="3" result="effect1_foregroundBlur_16559_24301"/>
|
|
||||||
</filter>
|
|
||||||
</defs>
|
|
||||||
</svg>
|
</svg>
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 3.0 KiB |
|
@ -1,42 +1,32 @@
|
||||||
<svg width="200" height="140" viewBox="0 0 200 140" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="200" height="140" viewBox="0 0 200 140" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g mask="url(#mask0_17_619)">
|
||||||
<g mask="url(#mask0_16559_24251)">
|
<path d="M30 62H118V122H30V62Z" fill="#97A3B7" />
|
||||||
<path d="M68 48L106.105 70V114L68 136L29.8949 114V70L68 48Z" fill="#97A3B7"/>
|
<g filter="url(#filter0_f_17_619)">
|
||||||
<g filter="url(#filter0_f_16559_24251)">
|
<rect x="12" y="84" width="80" height="60" fill="#E3E6EB" />
|
||||||
<rect x="46.3911" y="92" width="80" height="60" fill="#E3E6EB"/>
|
</g>
|
||||||
</g>
|
<g filter="url(#filter1_f_17_619)">
|
||||||
<g filter="url(#filter1_f_16559_24251)">
|
<rect x="80" y="54" width="80" height="60" fill="#E3E6EB" />
|
||||||
<rect y="23" width="80" height="60" fill="#E3E6EB"/>
|
</g>
|
||||||
</g>
|
<rect x="46" y="105" width="32" height="2" fill="white" />
|
||||||
</g>
|
<rect x="46" y="98" width="32" height="2" fill="white" />
|
||||||
<mask id="mask1_16559_24251" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="80" y="9" width="78" height="88">
|
<rect x="46" y="88" width="16" height="2" fill="white" />
|
||||||
<path d="M119 9L157.105 31V75L119 97L80.8949 75V31L119 9Z" fill="currentcolor"/>
|
</g>
|
||||||
</mask>
|
<path opacity="0.9" d="M63 20H151V30H63V20Z" fill="currentcolor" />
|
||||||
<g mask="url(#mask1_16559_24251)">
|
<mask id="mask1_17_619" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="63" y="30" width="88" height="50">
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M80.895 31V75L119 97L157.105 75V31L119 53L80.895 31Z" fill="currentcolor"/>
|
<path d="M63 30H151V80H63V30Z" fill="currentcolor" />
|
||||||
<path opacity="0.9" d="M119 -35L157.105 -13L157.105 31.5L119 53.5L80.8952 31.5L80.895 -13L119 -35Z" fill="currentcolor"/>
|
</mask>
|
||||||
<g opacity="0.3" filter="url(#filter2_f_16559_24251)">
|
<g mask="url(#mask1_17_619)">
|
||||||
<path d="M68 48L106.105 70V114L68 136L29.8949 114V70L68 48Z" fill="#97A3B7"/>
|
<path d="M63 30H151V80H63V30Z" fill="currentcolor" />
|
||||||
</g>
|
<g opacity="0.3" filter="url(#filter2_f_17_619)">
|
||||||
</g>
|
<path d="M30 62H118V122H30V62Z" fill="#97A3B7" />
|
||||||
<path d="M143 68.822L147.867 85.875L148 86.3405L148.469 86.2228L165.671 81.911L153.336 94.6522L152.999 95L153.336 95.3478L165.671 108.089L148.469 103.777L148 103.659L147.867 104.125L143 121.178L138.133 104.125L138 103.659L137.531 103.777L120.329 108.089L132.664 95.3478L133.001 95L132.664 94.6522L120.329 81.911L137.531 86.2228L138 86.3405L138.133 85.875L143 68.822Z" fill="white" stroke="black"/>
|
</g>
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M123.243 35.0821L126.071 33.4493L123.243 31.8164L120.414 33.4493L123.243 35.0821ZM119 32.6329L121.828 31L114.757 26.9179L111.929 28.5507L119 32.6329ZM127.485 35.8986C122.806 38.6001 115.194 38.6001 110.515 35.8986C105.835 33.197 105.835 28.803 110.515 26.1014C115.194 23.3999 122.806 23.3999 127.485 26.1014C132.165 28.803 132.165 33.197 127.485 35.8986ZM107.686 24.4686C101.438 28.0756 101.438 33.9244 107.686 37.5314C113.934 41.1384 124.066 41.1384 130.314 37.5314C136.562 33.9244 136.562 28.0756 130.314 24.4686C124.066 20.8616 113.934 20.8616 107.686 24.4686Z" fill="white"/>
|
</g>
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M41.8989 86.2863L44.7272 87.9193L44.7275 94.4512L41.8992 92.8181L41.8989 86.2863ZM53.9194 93.2269L56.7477 94.86L56.7479 101.392L53.9196 99.7587L53.9194 93.2269ZM44.7281 107.515L41.8999 105.882L41.9 109.148L44.7283 110.781L44.7282 107.515L53.92 112.822L53.9201 116.088L56.7484 117.721L56.7483 114.455L53.9201 112.822L53.92 109.556L44.728 104.249L44.7281 107.515Z" fill="white"/>
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
||||||
<defs>
|
d="M95.6863 40.8577L105.964 51.1345C106.295 51.0466 106.642 50.9998 107 50.9998C109.213 50.9998 111 52.7865 111 54.9998C111 55.3574 110.953 55.7038 110.866 56.0333L121.142 66.3135L118.314 69.1419L113.716 64.5448C111.653 65.423 109.384 65.9089 107 65.9089C99.7273 65.9089 93.5164 61.3853 91 54.9998C92.1785 52.0093 94.1673 49.4271 96.6961 47.5268L92.8579 43.6861L95.6863 40.8577ZM99 54.9998C99 59.4158 102.584 62.9998 107 62.9998C108.483 62.9998 109.872 62.5957 111.063 61.8917L108.034 58.8657C107.704 58.9532 107.358 58.9998 107 58.9998C104.787 58.9998 103 57.2131 103 54.9998C103 54.6423 103.047 54.2958 103.134 53.9663L100.107 50.9389C99.4037 52.1295 99 53.5178 99 54.9998ZM107 44.0907C114.273 44.0907 120.484 48.6143 123 54.9998C122.071 57.3574 120.638 59.4612 118.834 61.1773L114.729 57.0717C114.906 56.4108 115 55.7162 115 54.9998C115 50.5838 111.416 46.9998 107 46.9998C106.284 46.9998 105.589 47.0941 104.928 47.2711L102.378 44.7205C103.848 44.3101 105.398 44.0907 107 44.0907Z"
|
||||||
<filter id="filter0_f_16559_24251" x="-3.60889" y="42" width="180" height="160" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
fill="white" />
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
<rect x="68" y="24" width="2" height="2" fill="white" />
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
<rect x="74" y="24" width="2" height="2" fill="white" />
|
||||||
<feGaussianBlur stdDeviation="25" result="effect1_foregroundBlur_16559_24251"/>
|
<rect x="80" y="24" width="66" height="2" fill="white" />
|
||||||
</filter>
|
<path d="M157 53.9998L181.249 95.9998H132.751L157 53.9998Z" fill="white" stroke="black" />
|
||||||
<filter id="filter1_f_16559_24251" x="-50" y="-27" width="180" height="160" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
<path d="M157 88.9998L157 70.9998" stroke="black" />
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
||||||
<feGaussianBlur stdDeviation="25" result="effect1_foregroundBlur_16559_24251"/>
|
|
||||||
</filter>
|
|
||||||
<filter id="filter2_f_16559_24251" x="23.895" y="42" width="88.21" height="100" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
||||||
<feGaussianBlur stdDeviation="3" result="effect1_foregroundBlur_16559_24251"/>
|
|
||||||
</filter>
|
|
||||||
</defs>
|
|
||||||
</svg>
|
</svg>
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 2.4 KiB |
|
@ -1,42 +1,33 @@
|
||||||
<svg width="200" height="140" viewBox="0 0 200 140" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="200" height="140" viewBox="0 0 200 140" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<g mask="url(#mask0_22_990)">
|
<g mask="url(#mask0_22_990)">
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M144.569 105.61L96.5692 133.322L48.5693 105.61V83.7121L96.569 55.9995L144.569 83.7122V105.61Z" fill="#97A3B7"/>
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
||||||
<g filter="url(#filter0_f_22_990)">
|
d="M144.569 105.61L96.5692 133.322L48.5693 105.61V83.7121L96.569 55.9995L144.569 83.7122V105.61Z"
|
||||||
<rect x="-3" y="33.9995" width="80" height="60" fill="#E3E6EB"/>
|
fill="#97A3B7" />
|
||||||
</g>
|
<g filter="url(#filter0_f_22_990)">
|
||||||
<g filter="url(#filter1_f_22_990)">
|
<rect x="-3" y="33.9995" width="80" height="60" fill="#E3E6EB" />
|
||||||
<rect x="97" y="97.9995" width="80" height="60" fill="#E3E6EB"/>
|
</g>
|
||||||
</g>
|
<g filter="url(#filter1_f_22_990)">
|
||||||
</g>
|
<rect x="97" y="97.9995" width="80" height="60" fill="#E3E6EB" />
|
||||||
<mask id="mask1_22_990" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="53" y="16" width="86" height="69">
|
</g>
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M113.357 42.715L129.829 33.2059C128.859 32.4995 127.789 31.823 126.643 31.1615C121.268 28.0584 114.723 26.0153 107.758 25.023C103.549 19.4606 97.5775 16.1248 90.4344 16.1945C83.6788 16.2821 74.9482 21.9412 68.9271 30.5602C68.096 30.975 67.2847 31.4099 66.4949 31.8659C52.1168 40.1664 49.5542 52.6155 59.0218 61.9309C57.9871 56.1259 58.712 51.0657 62.1231 45.7161C62.0653 46.3482 61.9127 50.143 61.8906 50.7834C61.2209 69.6969 76.9107 84.8409 88.03 84.7113C96.4806 84.6119 103.595 79.6976 108.349 72.0797C114.563 70.8487 120.438 68.786 125.443 65.8968C138.919 58.1167 142.01 46.7146 134.547 37.629L117.948 47.2113C119.71 50.8655 117.997 55.034 112.87 57.9936C107.744 60.9532 100.523 61.9424 94.1928 60.9252C91.3499 60.4563 88.6706 59.5834 86.4524 58.3029L86.4042 58.275L113.357 42.715ZM78.6546 53.7727C72.5285 49.7965 72.9717 43.5469 79.8498 39.5762C86.7276 35.6056 97.5532 35.3496 104.441 38.8864L78.6546 53.7727ZM93.5561 18.1703C98.1657 18.1302 102.284 20.5752 105.496 24.7401C97.0486 23.8219 88.1122 24.4143 79.9732 26.5054C83.672 21.3809 88.444 18.2301 93.5561 18.1703ZM91.3238 81.6169C85.471 81.685 80.3525 77.691 76.9473 71.2848C85.7921 73.6267 95.8719 74.0599 105.374 72.6022C101.618 78.1222 96.6601 81.5531 91.3238 81.6169Z" fill="currentcolor"/>
|
</g>
|
||||||
</mask>
|
<mask id="mask1_22_990" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="53" y="16" width="86" height="69">
|
||||||
<g mask="url(#mask1_22_990)">
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M113.357 42.715L129.829 33.2059C128.859 32.4995 127.789 31.823 126.643 31.1615C121.268 28.0584 114.723 26.0153 107.758 25.023C103.549 19.4606 97.5775 16.1248 90.4344 16.1945C83.6788 16.2821 74.9482 21.9412 68.9271 30.5602C68.096 30.975 67.2847 31.4099 66.4949 31.8659C52.1168 40.1664 49.5542 52.6155 59.0218 61.9309C57.9871 56.1259 58.712 51.0657 62.1231 45.7161C62.0653 46.3482 61.9127 50.143 61.8906 50.7834C61.2209 69.6969 76.9107 84.8409 88.03 84.7113C96.4806 84.6119 103.595 79.6976 108.349 72.0797C114.563 70.8487 120.438 68.786 125.443 65.8968C138.919 58.1167 142.01 46.7146 134.547 37.629L117.948 47.2113C119.71 50.8655 117.997 55.034 112.87 57.9936C107.744 60.9532 100.523 61.9424 94.1928 60.9252C91.3499 60.4563 88.6706 59.5834 86.4524 58.3029L86.4042 58.275L113.357 42.715ZM78.6546 53.7727C72.5285 49.7965 72.9717 43.5469 79.8498 39.5762C86.7276 35.6056 97.5532 35.3496 104.441 38.8864L78.6546 53.7727ZM93.5561 18.1703C98.1657 18.1302 102.284 20.5752 105.496 24.7401C97.0486 23.8219 88.1122 24.4143 79.9732 26.5054C83.672 21.3809 88.444 18.2301 93.5561 18.1703ZM91.3238 81.6169C85.471 81.685 80.3525 77.691 76.9473 71.2848C85.7921 73.6267 95.8719 74.0599 105.374 72.6022C101.618 78.1222 96.6601 81.5531 91.3238 81.6169Z" fill="currentcolor"/>
|
d="M113.357 42.715L129.829 33.2059C128.859 32.4995 127.789 31.823 126.643 31.1615C121.268 28.0584 114.723 26.0153 107.758 25.023C103.549 19.4606 97.5775 16.1248 90.4344 16.1945C83.6788 16.2821 74.9482 21.9412 68.9271 30.5602C68.096 30.975 67.2847 31.4099 66.4949 31.8659C52.1168 40.1664 49.5542 52.6155 59.0218 61.9309C57.9871 56.1259 58.712 51.0657 62.1231 45.7161C62.0653 46.3482 61.9127 50.143 61.8906 50.7834C61.2209 69.6969 76.9107 84.8409 88.03 84.7113C96.4806 84.6119 103.595 79.6976 108.349 72.0797C114.563 70.8487 120.438 68.786 125.443 65.8968C138.919 58.1167 142.01 46.7146 134.547 37.629L117.948 47.2113C119.71 50.8655 117.997 55.034 112.87 57.9936C107.744 60.9532 100.523 61.9424 94.1928 60.9252C91.3499 60.4563 88.6706 59.5834 86.4524 58.3029L86.4042 58.275L113.357 42.715ZM78.6546 53.7727C72.5285 49.7965 72.9717 43.5469 79.8498 39.5762C86.7276 35.6056 97.5532 35.3496 104.441 38.8864L78.6546 53.7727ZM93.5561 18.1703C98.1657 18.1302 102.284 20.5752 105.496 24.7401C97.0486 23.8219 88.1122 24.4143 79.9732 26.5054C83.672 21.3809 88.444 18.2301 93.5561 18.1703ZM91.3238 81.6169C85.471 81.685 80.3525 77.691 76.9473 71.2848C85.7921 73.6267 95.8719 74.0599 105.374 72.6022C101.618 78.1222 96.6601 81.5531 91.3238 81.6169Z"
|
||||||
<g opacity="0.3" filter="url(#filter2_f_22_990)">
|
fill="currentcolor" />
|
||||||
<path d="M96.569 55.9995L144.569 83.7122V139.138L96.569 166.85L48.5692 139.138V83.7122L96.569 55.9995Z" fill="#97A3B7"/>
|
</mask>
|
||||||
</g>
|
<g mask="url(#mask1_22_990)">
|
||||||
</g>
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
||||||
<ellipse cx="155" cy="78" rx="22" ry="22" transform="rotate(180 155 78)" fill="white" stroke="black"/>
|
d="M113.357 42.715L129.829 33.2059C128.859 32.4995 127.789 31.823 126.643 31.1615C121.268 28.0584 114.723 26.0153 107.758 25.023C103.549 19.4606 97.5775 16.1248 90.4344 16.1945C83.6788 16.2821 74.9482 21.9412 68.9271 30.5602C68.096 30.975 67.2847 31.4099 66.4949 31.8659C52.1168 40.1664 49.5542 52.6155 59.0218 61.9309C57.9871 56.1259 58.712 51.0657 62.1231 45.7161C62.0653 46.3482 61.9127 50.143 61.8906 50.7834C61.2209 69.6969 76.9107 84.8409 88.03 84.7113C96.4806 84.6119 103.595 79.6976 108.349 72.0797C114.563 70.8487 120.438 68.786 125.443 65.8968C138.919 58.1167 142.01 46.7146 134.547 37.629L117.948 47.2113C119.71 50.8655 117.997 55.034 112.87 57.9936C107.744 60.9532 100.523 61.9424 94.1928 60.9252C91.3499 60.4563 88.6706 59.5834 86.4524 58.3029L86.4042 58.275L113.357 42.715ZM78.6546 53.7727C72.5285 49.7965 72.9717 43.5469 79.8498 39.5762C86.7276 35.6056 97.5532 35.3496 104.441 38.8864L78.6546 53.7727ZM93.5561 18.1703C98.1657 18.1302 102.284 20.5752 105.496 24.7401C97.0486 23.8219 88.1122 24.4143 79.9732 26.5054C83.672 21.3809 88.444 18.2301 93.5561 18.1703ZM91.3238 81.6169C85.471 81.685 80.3525 77.691 76.9473 71.2848C85.7921 73.6267 95.8719 74.0599 105.374 72.6022C101.618 78.1222 96.6601 81.5531 91.3238 81.6169Z"
|
||||||
<path d="M155 83L155 65" stroke="black"/>
|
fill="currentcolor" />
|
||||||
<rect x="155" y="87" width="0.00390625" height="0.00390625" fill="#C4C4C4" stroke="black" stroke-width="2" stroke-linejoin="round"/>
|
<g opacity="0.3" filter="url(#filter2_f_22_990)">
|
||||||
<path d="M96.5693 112L96.5693 87.9995" stroke="white" stroke-width="2"/>
|
<path d="M96.569 55.9995L144.569 83.7122V139.138L96.569 166.85L48.5692 139.138V83.7122L96.569 55.9995Z"
|
||||||
<path d="M86.5693 97.9995L96.5693 87.9995L106.569 97.9995" stroke="white" stroke-width="2"/>
|
fill="#97A3B7" />
|
||||||
<defs>
|
</g>
|
||||||
<filter id="filter0_f_22_990" x="-53" y="-16.0005" width="180" height="160" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
</g>
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
<ellipse cx="155" cy="78" rx="22" ry="22" transform="rotate(180 155 78)" fill="white" stroke="black" />
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
<path d="M155 83L155 65" stroke="black" />
|
||||||
<feGaussianBlur stdDeviation="25" result="effect1_foregroundBlur_22_990"/>
|
<rect x="155" y="87" width="0.00390625" height="0.00390625" fill="#C4C4C4" stroke="black" stroke-width="2"
|
||||||
</filter>
|
stroke-linejoin="round" />
|
||||||
<filter id="filter1_f_22_990" x="47" y="47.9995" width="180" height="160" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
<path d="M96.5693 112L96.5693 87.9995" stroke="white" stroke-width="2" />
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
<path d="M86.5693 97.9995L96.5693 87.9995L106.569 97.9995" stroke="white" stroke-width="2" />
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
||||||
<feGaussianBlur stdDeviation="25" result="effect1_foregroundBlur_22_990"/>
|
|
||||||
</filter>
|
|
||||||
<filter id="filter2_f_22_990" x="42.5693" y="49.9995" width="108" height="122.851" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
||||||
<feGaussianBlur stdDeviation="3" result="effect1_foregroundBlur_22_990"/>
|
|
||||||
</filter>
|
|
||||||
</defs>
|
|
||||||
</svg>
|
</svg>
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 3.9 KiB |
|
@ -1,27 +1,23 @@
|
||||||
<svg width="200" height="140" viewBox="0 0 200 140" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="200" height="140" viewBox="0 0 200 140" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<g mask="url(#mask0_21_716)">
|
<g mask="url(#mask0_21_716)">
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M33 46.843L96.3214 119L159.643 46.843C142.742 31.9998 120.583 23 96.3214 23C72.0601 23 49.9009 31.9998 33 46.843Z" fill="#97A3B7"/>
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
||||||
<g filter="url(#filter0_f_21_716)">
|
d="M33 46.843L96.3214 119L159.643 46.843C142.742 31.9998 120.583 23 96.3214 23C72.0601 23 49.9009 31.9998 33 46.843Z"
|
||||||
<rect x="95" y="21" width="80" height="60" fill="#E3E6EB"/>
|
fill="#97A3B7" />
|
||||||
</g>
|
<g filter="url(#filter0_f_21_716)">
|
||||||
<g filter="url(#filter1_f_21_716)">
|
<rect x="95" y="21" width="80" height="60" fill="#E3E6EB" />
|
||||||
<rect x="-7" y="43" width="80" height="60" fill="#E3E6EB"/>
|
</g>
|
||||||
</g>
|
<g filter="url(#filter1_f_21_716)">
|
||||||
</g>
|
<rect x="-7" y="43" width="80" height="60" fill="#E3E6EB" />
|
||||||
<path d="M72.8122 63.6882L69.6548 66.8455L75.9009 73.0916C71.2469 75.1648 66.9663 77.925 63.188 81.2433L96.3213 119L108.234 105.425L114.647 111.837L117.804 108.68L80.4504 71.3261C80.4505 71.3261 80.4503 71.3261 80.4504 71.3261L72.8122 63.6882Z" fill="currentcolor"/>
|
</g>
|
||||||
<path d="M129.455 81.2433L114.137 98.6982L85.3974 69.9585C88.9142 69.1786 92.5697 68.7674 96.3213 68.7674C109.016 68.7674 120.611 73.4766 129.455 81.2433Z" fill="currentcolor"/>
|
</g>
|
||||||
<path d="M152 21.822L156.867 38.875L157 39.3405L157.469 39.2228L174.671 34.911L162.336 47.6522L161.999 48L162.336 48.3478L174.671 61.089L157.469 56.7772L157 56.6595L156.867 57.125L152 74.178L147.133 57.125L147 56.6595L146.531 56.7772L129.329 61.089L141.664 48.3478L142.001 48L141.664 47.6522L129.329 34.911L146.531 39.2228L147 39.3405L147.133 38.875L152 21.822Z" fill="white" stroke="black"/>
|
<path
|
||||||
<path d="M101 31L90 42L101 53L93 61" stroke="white" stroke-width="2"/>
|
d="M72.8122 63.6882L69.6548 66.8455L75.9009 73.0916C71.2469 75.1648 66.9663 77.925 63.188 81.2433L96.3213 119L108.234 105.425L114.647 111.837L117.804 108.68L80.4504 71.3261C80.4505 71.3261 80.4503 71.3261 80.4504 71.3261L72.8122 63.6882Z"
|
||||||
<defs>
|
fill="currentcolor" />
|
||||||
<filter id="filter0_f_21_716" x="45" y="-29" width="180" height="160" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
<path
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
d="M129.455 81.2433L114.137 98.6982L85.3974 69.9585C88.9142 69.1786 92.5697 68.7674 96.3213 68.7674C109.016 68.7674 120.611 73.4766 129.455 81.2433Z"
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
fill="currentcolor" />
|
||||||
<feGaussianBlur stdDeviation="25" result="effect1_foregroundBlur_21_716"/>
|
<path
|
||||||
</filter>
|
d="M152 21.822L156.867 38.875L157 39.3405L157.469 39.2228L174.671 34.911L162.336 47.6522L161.999 48L162.336 48.3478L174.671 61.089L157.469 56.7772L157 56.6595L156.867 57.125L152 74.178L147.133 57.125L147 56.6595L146.531 56.7772L129.329 61.089L141.664 48.3478L142.001 48L141.664 47.6522L129.329 34.911L146.531 39.2228L147 39.3405L147.133 38.875L152 21.822Z"
|
||||||
<filter id="filter1_f_21_716" x="-57" y="-7" width="180" height="160" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
fill="white" stroke="black" />
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
<path d="M101 31L90 42L101 53L93 61" stroke="white" stroke-width="2" />
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
||||||
<feGaussianBlur stdDeviation="25" result="effect1_foregroundBlur_21_716"/>
|
|
||||||
</filter>
|
|
||||||
</defs>
|
|
||||||
</svg>
|
</svg>
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 1.5 KiB |
|
@ -1,6 +1,14 @@
|
||||||
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.5 3.75C2.5 3.05965 3.05962 2.5 3.75 2.5H8.125C8.81538 2.5 9.375 3.05965 9.375 3.75V10C9.375 10.6903 8.81538 11.25 8.125 11.25H3.75C3.05962 11.25 2.5 10.6903 2.5 10V3.75ZM3.75 3.75H8.125V10H3.75V3.75Z" fill="currentcolor"/>
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.625 10C10.625 9.30965 11.1846 8.75 11.875 8.75H16.25C16.9404 8.75 17.5 9.30965 17.5 10V16.25C17.5 16.9403 16.9404 17.5 16.25 17.5H11.875C11.1846 17.5 10.625 16.9403 10.625 16.25V10ZM11.875 10H16.25V16.25H11.875V10Z" fill="currentcolor"/>
|
d="M2.5 3.75C2.5 3.05965 3.05962 2.5 3.75 2.5H8.125C8.81538 2.5 9.375 3.05965 9.375 3.75V10C9.375 10.6903 8.81538 11.25 8.125 11.25H3.75C3.05962 11.25 2.5 10.6903 2.5 10V3.75ZM3.75 3.75H8.125V10H3.75V3.75Z"
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.75 12.5C3.05962 12.5 2.5 13.0597 2.5 13.75V16.25C2.5 16.9403 3.05962 17.5 3.75 17.5H8.125C8.81538 17.5 9.375 16.9403 9.375 16.25V13.75C9.375 13.0597 8.81538 12.5 8.125 12.5H3.75ZM8.125 13.75H3.75V16.25H8.125V13.75Z" fill="currentcolor"/>
|
fill="currentcolor" />
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.625 3.75C10.625 3.05965 11.1846 2.5 11.875 2.5H16.25C16.9404 2.5 17.5 3.05965 17.5 3.75V6.25C17.5 6.94035 16.9404 7.5 16.25 7.5H11.875C11.1846 7.5 10.625 6.94035 10.625 6.25V3.75ZM11.875 3.75H16.25V6.25H11.875V3.75Z" fill="currentcolor"/>
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
||||||
|
d="M10.625 10C10.625 9.30965 11.1846 8.75 11.875 8.75H16.25C16.9404 8.75 17.5 9.30965 17.5 10V16.25C17.5 16.9403 16.9404 17.5 16.25 17.5H11.875C11.1846 17.5 10.625 16.9403 10.625 16.25V10ZM11.875 10H16.25V16.25H11.875V10Z"
|
||||||
|
fill="currentcolor" />
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
||||||
|
d="M3.75 12.5C3.05962 12.5 2.5 13.0597 2.5 13.75V16.25C2.5 16.9403 3.05962 17.5 3.75 17.5H8.125C8.81538 17.5 9.375 16.9403 9.375 16.25V13.75C9.375 13.0597 8.81538 12.5 8.125 12.5H3.75ZM8.125 13.75H3.75V16.25H8.125V13.75Z"
|
||||||
|
fill="currentcolor" />
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
||||||
|
d="M10.625 3.75C10.625 3.05965 11.1846 2.5 11.875 2.5H16.25C16.9404 2.5 17.5 3.05965 17.5 3.75V6.25C17.5 6.94035 16.9404 7.5 16.25 7.5H11.875C11.1846 7.5 10.625 6.94035 10.625 6.25V3.75ZM11.875 3.75H16.25V6.25H11.875V3.75Z"
|
||||||
|
fill="currentcolor" />
|
||||||
</svg>
|
</svg>
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.3 KiB |
|
@ -85,27 +85,6 @@ export default defineComponent({
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '@/style/variables';
|
@import '@/style/variables';
|
||||||
|
|
||||||
.main-color {
|
|
||||||
background: @brand-color;
|
|
||||||
color: @text-color-primary;
|
|
||||||
|
|
||||||
.card-subtitle {
|
|
||||||
color: @text-color-anti;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dashboard-item-top span {
|
|
||||||
color: @text-color-anti;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dashboard-item-block {
|
|
||||||
color: @text-color-anti;
|
|
||||||
opacity: 0.6;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dashboard-item-bottom {
|
|
||||||
color: @text-color-anti;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.card {
|
.card {
|
||||||
&-option {
|
&-option {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
@ -3,8 +3,12 @@
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { computed, defineComponent, PropType } from 'vue';
|
import { computed, defineComponent, PropType } from 'vue';
|
||||||
|
import { useStore } from 'vuex';
|
||||||
import { getBrandColor } from '@/config/color';
|
import { getBrandColor } from '@/config/color';
|
||||||
|
|
||||||
|
const panelColor =
|
||||||
|
'conic-gradient(from 90deg at 50% 50%, #FF0000 -19.41deg, #FF0000 18.76deg, #FF8A00 59.32deg, #FFE600 99.87deg, #14FF00 141.65deg, #00A3FF 177.72deg, #0500FF 220.23deg, #AD00FF 260.13deg, #FF00C7 300.69deg, #FF0000 340.59deg, #FF0000 378.76deg)';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'Color',
|
name: 'Color',
|
||||||
props: {
|
props: {
|
||||||
|
@ -14,10 +18,13 @@ export default defineComponent({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
setup(props) {
|
setup(props) {
|
||||||
|
const store = useStore();
|
||||||
|
|
||||||
const style = computed(() => {
|
const style = computed(() => {
|
||||||
const { value } = props;
|
const { value } = props;
|
||||||
|
const { colorList } = store.state.setting;
|
||||||
return {
|
return {
|
||||||
backgroundColor: getBrandColor(value)['@brand-color'],
|
backgroundColor: value !== 'dynamic' ? getBrandColor(value, colorList)['@brand-color'] : panelColor,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,6 @@ import ResultWifiIcon from '@/assets/assets-result-wifi.svg?component';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'Result',
|
name: 'Result',
|
||||||
components: { Result403Icon, Result500Icon, Result404Icon },
|
|
||||||
props: {
|
props: {
|
||||||
bgUrl: {
|
bgUrl: {
|
||||||
type: String as PropType<string>,
|
type: String as PropType<string>,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
type ColorToken = Record<string, string>;
|
export type ColorToken = Record<string, string>;
|
||||||
type ColorSeries = Record<string, ColorToken>;
|
export type ColorSeries = Record<string, ColorToken>;
|
||||||
|
|
||||||
const BACKGROUND_TOKEN: ColorSeries = {
|
export const BACKGROUND_TOKEN: ColorSeries = {
|
||||||
BLUE_GREY: {
|
BLUE_GREY: {
|
||||||
'@gray-color-1': '#F1F2F5',
|
'@gray-color-1': '#F1F2F5',
|
||||||
'@gray-color-2': '#EBEDF1',
|
'@gray-color-2': '#EBEDF1',
|
||||||
|
@ -36,110 +36,129 @@ const BACKGROUND_TOKEN: ColorSeries = {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const COLOR_TOKEN: ColorSeries = {
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
|
export const NEUTRAL_GREY_TOKEN: ColorToken = {
|
||||||
|
'@gray-color-1': '#F3F3F3',
|
||||||
|
'@gray-color-2': '#EEEEEE',
|
||||||
|
'@gray-color-3': '#E7E7E7',
|
||||||
|
'@gray-color-4': '#DCDCDC',
|
||||||
|
'@gray-color-5': '#C5C5C5',
|
||||||
|
'@gray-color-6': '#A6A6A6',
|
||||||
|
'@gray-color-7': '#8B8B8B',
|
||||||
|
'@gray-color-8': '#777777',
|
||||||
|
'@gray-color-9': '#5E5E5E',
|
||||||
|
'@gray-color-10': '#4B4B4B',
|
||||||
|
'@gray-color-11': '#383838',
|
||||||
|
'@gray-color-12': '#2C2C2C',
|
||||||
|
'@gray-color-13': '#242424',
|
||||||
|
'@gray-color-14': '#181818',
|
||||||
|
};
|
||||||
|
|
||||||
|
export const COLOR_TOKEN: ColorSeries = {
|
||||||
DEFAULT: {
|
DEFAULT: {
|
||||||
'@brand-color': '#0052D9',
|
'@brand-color': '#0052D9',
|
||||||
'@brand-color-1': '#ECF2FE',
|
'@brand-color-1': '#e0ebff',
|
||||||
'@brand-color-2': '#D4E3FC',
|
'@brand-color-2': '#c0d8ff',
|
||||||
'@brand-color-3': '#BBD3FB',
|
'@brand-color-3': '#a1c4ff',
|
||||||
'@brand-color-4': '#96BBF8',
|
'@brand-color-4': '#81b1ff',
|
||||||
'@brand-color-5': '#699EF5',
|
'@brand-color-5': '#5f9bff',
|
||||||
'@brand-color-6': '#4787F0',
|
'@brand-color-6': '#3d87ff',
|
||||||
'@brand-color-7': '#266FE8',
|
'@brand-color-7': '#176eff',
|
||||||
'@brand-color-8': '#0052D9',
|
'@brand-color-8': '#0052D9',
|
||||||
'@brand-color-9': '#0034B5',
|
'@brand-color-9': '#0048cd',
|
||||||
'@brand-color-10': '#001F97',
|
'@brand-color-10': '#0035b5',
|
||||||
},
|
},
|
||||||
|
|
||||||
CYAN: {
|
CYAN: {
|
||||||
'@brand-color': '#0594FA',
|
'@brand-color': '#0594FA',
|
||||||
'@brand-color-1': '#d6f7ff',
|
'@brand-color-1': '#d7eefe',
|
||||||
'@brand-color-2': '#b2ecff',
|
'@brand-color-2': '#aeddfd',
|
||||||
'@brand-color-3': '#85daff',
|
'@brand-color-3': '#84cafd',
|
||||||
'@brand-color-4': '#5cc5fc',
|
'@brand-color-4': '#58b8fc',
|
||||||
'@brand-color-5': '#31adfb',
|
'@brand-color-5': '#29a4fb',
|
||||||
'@brand-color-6': '#0594fa',
|
'@brand-color-6': '#0594FA',
|
||||||
'@brand-color-7': '#007edf',
|
'@brand-color-7': '#29a4fb',
|
||||||
'@brand-color-8': '#0068c0',
|
'@brand-color-8': '#0594FA',
|
||||||
'@brand-color-9': '#00549e',
|
'@brand-color-9': '#0378df',
|
||||||
'@brand-color-10': '#00417d',
|
'@brand-color-10': '#01409b',
|
||||||
},
|
},
|
||||||
GREEN: {
|
GREEN: {
|
||||||
'@brand-color': '#00a870',
|
'@brand-color': '#00A870',
|
||||||
'@brand-color-1': '#dff7ed',
|
'@brand-color-1': '#8dffd9',
|
||||||
'@brand-color-2': '#a9e8cd',
|
'@brand-color-2': '#00f2a2',
|
||||||
'@brand-color-3': '#69d5ab',
|
'@brand-color-3': '#00dc92',
|
||||||
'@brand-color-4': '#30bf8b',
|
'@brand-color-4': '#00c583',
|
||||||
'@brand-color-5': '#00a870',
|
'@brand-color-5': '#00A870',
|
||||||
'@brand-color-6': '#00935d',
|
'@brand-color-6': '#009a5d',
|
||||||
'@brand-color-7': '#007e4a',
|
'@brand-color-7': '#00c583',
|
||||||
'@brand-color-8': '#006937',
|
'@brand-color-8': '#00A870',
|
||||||
'@brand-color-9': '#005426',
|
'@brand-color-9': '#009a5d',
|
||||||
'@brand-color-10': '#004114',
|
'@brand-color-10': '#004a14',
|
||||||
},
|
},
|
||||||
ORANGE: {
|
ORANGE: {
|
||||||
'@brand-color': '#ED7B2F',
|
'@brand-color': '#ED7B2F',
|
||||||
'@brand-color-1': '#ffefdb',
|
'@brand-color-1': '#fce5d7',
|
||||||
'@brand-color-2': '#ffd3a3',
|
'@brand-color-2': '#f8cdaf',
|
||||||
'@brand-color-3': '#ffb473',
|
'@brand-color-3': '#f4b285',
|
||||||
'@brand-color-4': '#ff9247',
|
'@brand-color-4': '#f19659',
|
||||||
'@brand-color-5': '#ed7b2f',
|
'@brand-color-5': '#ED7B2F',
|
||||||
'@brand-color-6': '#d6621c',
|
'@brand-color-6': '#e75510',
|
||||||
'@brand-color-7': '#c24c08',
|
'@brand-color-7': '#f19659',
|
||||||
'@brand-color-8': '#a23c00',
|
'@brand-color-8': '#ED7B2F',
|
||||||
'@brand-color-9': '#872d00',
|
'@brand-color-9': '#e75510',
|
||||||
'@brand-color-10': '#691f00',
|
'@brand-color-10': '#7f0a02',
|
||||||
},
|
},
|
||||||
RED: {
|
RED: {
|
||||||
'@brand-color': '#E34D59',
|
'@brand-color': '#E34D59',
|
||||||
'@brand-color-1': '#ffe9e9',
|
'@brand-color-1': '#fbe5e7',
|
||||||
'@brand-color-2': '#ffccce',
|
'@brand-color-2': '#f7ccd0',
|
||||||
'@brand-color-3': '#ffacaf',
|
'@brand-color-3': '#f3b2b8',
|
||||||
'@brand-color-4': '#ff888c',
|
'@brand-color-4': '#ef989f',
|
||||||
'@brand-color-5': '#fb646d',
|
'@brand-color-5': '#ea7b84',
|
||||||
'@brand-color-6': '#e34d59',
|
'@brand-color-6': '#E34D59',
|
||||||
'@brand-color-7': '#c93043',
|
'@brand-color-7': '#ea7b84',
|
||||||
'@brand-color-8': '#b01531',
|
'@brand-color-8': '#E34D59',
|
||||||
'@brand-color-9': '#960022',
|
'@brand-color-9': '#e42c3a',
|
||||||
'@brand-color-10': '#730021',
|
'@brand-color-10': '#8d0309',
|
||||||
},
|
},
|
||||||
PINK: {
|
PINK: {
|
||||||
'@brand-color': '#ED49B4',
|
'@brand-color': '#ED49B4',
|
||||||
'@brand-color-1': '#ffe9ff',
|
'@brand-color-1': '#fce5f4',
|
||||||
'@brand-color-2': '#ffd1fc',
|
'@brand-color-2': '#facae9',
|
||||||
'@brand-color-3': '#ffb2f2',
|
'@brand-color-3': '#f7aede',
|
||||||
'@brand-color-4': '#ff8fe1',
|
'@brand-color-4': '#f491d2',
|
||||||
'@brand-color-5': '#f6c',
|
'@brand-color-5': '#f172c5',
|
||||||
'@brand-color-6': '#ed49b4',
|
'@brand-color-6': '#ED49B4',
|
||||||
'@brand-color-7': '#d42c9d',
|
'@brand-color-7': '#f172c5',
|
||||||
'@brand-color-8': '#bc0088',
|
'@brand-color-8': '#ED49B4',
|
||||||
'@brand-color-9': '#9b006b',
|
'@brand-color-9': '#e80f9d',
|
||||||
'@brand-color-10': '#7b0052',
|
'@brand-color-10': '#8f025e',
|
||||||
},
|
},
|
||||||
PURPLE: {
|
PURPLE: {
|
||||||
'@brand-color': '#834ec2',
|
'@brand-color': '#834EC2',
|
||||||
'@brand-color-1': '#f3e0ff',
|
'@brand-color-1': '#eee6f7',
|
||||||
'@brand-color-2': '#e6c4ff',
|
'@brand-color-2': '#ddceee',
|
||||||
'@brand-color-3': '#d8abff',
|
'@brand-color-3': '#ccb6e6',
|
||||||
'@brand-color-4': '#c68cff',
|
'@brand-color-4': '#bb9ede',
|
||||||
'@brand-color-5': '#ae78f0',
|
'@brand-color-5': '#ab87d5',
|
||||||
'@brand-color-6': '#9963d8',
|
'@brand-color-6': '#9a6fce',
|
||||||
'@brand-color-7': '#834ec2',
|
'@brand-color-7': '#9a6fce',
|
||||||
'@brand-color-8': '#6d3bac',
|
'@brand-color-8': '#834EC2',
|
||||||
'@brand-color-9': '#572796',
|
'@brand-color-9': '#783ac3',
|
||||||
'@brand-color-10': '#421381',
|
'@brand-color-10': '#4c1397',
|
||||||
},
|
},
|
||||||
YELLOW: {
|
YELLOW: {
|
||||||
'@brand-color': '#ebb105',
|
'@brand-color': '#EBB105',
|
||||||
'@brand-color-1': '#fff8b8',
|
'@brand-color-1': '#fde9ab',
|
||||||
'@brand-color-2': '#ffe478',
|
'@brand-color-2': '#fbd152',
|
||||||
'@brand-color-3': '#fbca25',
|
'@brand-color-3': '#EBB105',
|
||||||
'@brand-color-4': '#ebb105',
|
'@brand-color-4': '#dda204',
|
||||||
'@brand-color-5': '#d29c00',
|
'@brand-color-5': '#ca8d03',
|
||||||
'@brand-color-6': '#ba8700',
|
'@brand-color-6': '#b67803',
|
||||||
'@brand-color-7': '#a37200',
|
'@brand-color-7': '#fbd152',
|
||||||
'@brand-color-8': '#8c5f00',
|
'@brand-color-8': '#EBB105',
|
||||||
'@brand-color-9': '#754c00',
|
'@brand-color-9': '#dda204',
|
||||||
'@brand-color-10': '#5e3a00',
|
'@brand-color-10': '#603100',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -152,14 +171,35 @@ export function getGreyColor(type: string): ColorToken {
|
||||||
return BACKGROUND_TOKEN[name] || {};
|
return BACKGROUND_TOKEN[name] || {};
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getBrandColor(type: string): ColorToken {
|
export function getBrandColor(type: string, colorList: ColorSeries): ColorToken {
|
||||||
const name = toUnderline(type);
|
const name = /^#[A-F\d]{6}$/i.test(type) ? type : toUnderline(type);
|
||||||
return COLOR_TOKEN[name] || COLOR_TOKEN.DEFAULT;
|
return colorList[name || 'DEFAULT'];
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getColorList(colorArray: [ColorToken]): string[] {
|
export function getColorList(colorArray: Array<ColorToken>): Array<string> {
|
||||||
const pureColorList = [];
|
const pureColorList = [];
|
||||||
colorArray.map((colorToken) => Object.keys(colorToken).map((key) => pureColorList.push(colorToken[key])));
|
colorArray.map((colorToken) => Object.keys(colorToken).map((key) => pureColorList.push(colorToken[key])));
|
||||||
|
|
||||||
return pureColorList;
|
return pureColorList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function insertThemeStylesheet(theme: string, colorMap: ColorToken) {
|
||||||
|
const styleSheet = document.createElement('style');
|
||||||
|
styleSheet.type = 'text/css';
|
||||||
|
styleSheet.innerText = `:root[theme-color='${theme}'],
|
||||||
|
:root[theme-color='${theme}'][theme-mode='dark']{
|
||||||
|
--td-brand-color: ${colorMap['@brand-color']};
|
||||||
|
--td-brand-color-1: ${colorMap['@brand-color-1']};
|
||||||
|
--td-brand-color-2: ${colorMap['@brand-color-2']};
|
||||||
|
--td-brand-color-3: ${colorMap['@brand-color-3']};
|
||||||
|
--td-brand-color-4: ${colorMap['@brand-color-4']};
|
||||||
|
--td-brand-color-5: ${colorMap['@brand-color-5']};
|
||||||
|
--td-brand-color-6: ${colorMap['@brand-color-6']};
|
||||||
|
--td-brand-color-7: ${colorMap['@brand-color-7']};
|
||||||
|
--td-brand-color-8: ${colorMap['@brand-color-8']};
|
||||||
|
--td-brand-color-9: ${colorMap['@brand-color-9']};
|
||||||
|
--td-brand-color-10: ${colorMap['@brand-color-10']};
|
||||||
|
}`;
|
||||||
|
|
||||||
|
document.head.appendChild(styleSheet);
|
||||||
|
}
|
||||||
|
|
|
@ -1,174 +0,0 @@
|
||||||
export default [
|
|
||||||
{
|
|
||||||
path: '/dashboard',
|
|
||||||
icon: 'dashboard',
|
|
||||||
title: '仪表盘',
|
|
||||||
component: '../layouts/index.tsx',
|
|
||||||
redirect: '/dashboard/base',
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
title: '概览仪表盘',
|
|
||||||
path: 'base',
|
|
||||||
component: '../pages/dashboard/base/index.vue',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '统计报表',
|
|
||||||
path: 'detail',
|
|
||||||
component: '../pages/dashboard/detail/index.vue',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: '/list',
|
|
||||||
icon: 'view-module',
|
|
||||||
title: '列表页',
|
|
||||||
component: '../layouts/index.tsx',
|
|
||||||
redirect: '/list/base',
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
title: '基础列表页',
|
|
||||||
path: 'base',
|
|
||||||
component: '../pages/list/base/index.vue',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '卡片列表页',
|
|
||||||
path: 'card',
|
|
||||||
component: '../pages/list/card/index.vue',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '筛选列表页',
|
|
||||||
path: 'filter',
|
|
||||||
component: '../pages/list/filter/index.vue',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '树状筛选列表页',
|
|
||||||
path: 'tree',
|
|
||||||
component: '../pages/list/tree/index.vue',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: '/form',
|
|
||||||
icon: 'queue',
|
|
||||||
title: '表单页',
|
|
||||||
component: '../layouts/index.tsx',
|
|
||||||
redirect: '/form/base',
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
title: '基础表单页',
|
|
||||||
path: 'base',
|
|
||||||
component: '../pages/form/base/index.vue',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '分步表单页',
|
|
||||||
path: 'step',
|
|
||||||
component: '../pages/form/step/index.vue',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: '/detail',
|
|
||||||
icon: 'layers',
|
|
||||||
title: '详情页',
|
|
||||||
component: '../layouts/index.tsx',
|
|
||||||
redirect: '/detail/base',
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
title: '基础详情页',
|
|
||||||
path: 'base',
|
|
||||||
component: '../pages/detail/base/index.vue',
|
|
||||||
// 默认不填,则需要每个页面都会经过登录的校验,若不需要进行登录校验则将needLogin:设为false
|
|
||||||
meta: { needLogin: false, title: '基础详情页' },
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '多卡片详情页',
|
|
||||||
path: 'advanced',
|
|
||||||
component: '../pages/detail/advanced/index.vue',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '数据详情页',
|
|
||||||
path: 'deploy',
|
|
||||||
component: '../pages/detail/deploy/index.vue',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '二级详情页',
|
|
||||||
path: 'secondary',
|
|
||||||
component: '../pages/detail/secondary/index.vue',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: '/result',
|
|
||||||
icon: 'check-circle',
|
|
||||||
title: '结果页',
|
|
||||||
component: '../layouts/index.tsx',
|
|
||||||
redirect: '/result/success',
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
title: '成功页',
|
|
||||||
path: 'success',
|
|
||||||
component: '../pages/result/success/index.vue',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '失败页',
|
|
||||||
path: 'fail',
|
|
||||||
component: '../pages/result/fail/index.vue',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '网络异常',
|
|
||||||
path: 'network-error',
|
|
||||||
component: '../pages/result/network-error/index.vue',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '无权限',
|
|
||||||
path: '403',
|
|
||||||
component: '../pages/result/403/index.vue',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '访问页面不存在页',
|
|
||||||
path: '404',
|
|
||||||
component: '../pages/result/404/index.vue',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '服务器出错页',
|
|
||||||
path: '500',
|
|
||||||
component: '../pages/result/500/index.vue',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '浏览器不兼容页',
|
|
||||||
path: 'browser-incompatible',
|
|
||||||
component: '../pages/result/browser-incompatible/index.vue',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: '/user',
|
|
||||||
icon: 'user-circle',
|
|
||||||
title: '个人页',
|
|
||||||
component: '../layouts/index.tsx',
|
|
||||||
redirect: '/user/index',
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
title: '个人中心',
|
|
||||||
path: 'index',
|
|
||||||
component: '../pages/user/index.vue',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
// 自定义登录页面
|
|
||||||
{
|
|
||||||
path: '/login',
|
|
||||||
title: '登录页',
|
|
||||||
component: '../layouts/blank.vue',
|
|
||||||
icon: 'chevron-right-rectangle',
|
|
||||||
redirect: '/login/index',
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
title: '登录中心',
|
|
||||||
path: 'index',
|
|
||||||
meta: { needLogin: false },
|
|
||||||
component: '../pages/login/index.vue',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
];
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div :class="layoutCls">
|
<div :class="layoutCls">
|
||||||
<t-head-menu :class="menuCls" :theme="theme" expand-type="popup" :value="active">
|
<t-head-menu :class="menuCls" :theme="theme" expand-type="popup" :value="active">
|
||||||
<template #logo>
|
<template #logo>
|
||||||
<span v-if="showLogo" class="header-logo-container" @click="goHome">
|
<span v-if="showLogo" class="header-logo-container" @click="handleNav('/dashboard/base')">
|
||||||
<tLogoFull class="t-logo" />
|
<tLogoFull class="t-logo" />
|
||||||
</span>
|
</span>
|
||||||
<div v-else class="header-operate-left">
|
<div v-else class="header-operate-left">
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
<search :layout="layout" />
|
<search :layout="layout" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<sub-menu v-show="layout !== 'side'" class="header-menu" :nav-data="menu" />
|
<menu-content v-show="layout !== 'side'" class="header-menu" :nav-data="menu" />
|
||||||
<template #operations>
|
<template #operations>
|
||||||
<div class="operations-container">
|
<div class="operations-container">
|
||||||
<!-- 搜索框 -->
|
<!-- 搜索框 -->
|
||||||
|
@ -75,14 +75,14 @@ import { MenuRoute } from '@/interface';
|
||||||
|
|
||||||
import Notice from './Notice.vue';
|
import Notice from './Notice.vue';
|
||||||
import Search from './Search.vue';
|
import Search from './Search.vue';
|
||||||
import SubMenu from './SubMenu';
|
import MenuContent from './MenuContent';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
components: {
|
components: {
|
||||||
tLogoFull,
|
tLogoFull,
|
||||||
Notice,
|
Notice,
|
||||||
Search,
|
Search,
|
||||||
SubMenu,
|
MenuContent,
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
theme: {
|
theme: {
|
||||||
|
@ -122,10 +122,6 @@ export default defineComponent({
|
||||||
store.commit('setting/toggleSettingPanel', true);
|
store.commit('setting/toggleSettingPanel', true);
|
||||||
};
|
};
|
||||||
|
|
||||||
const goHome = () => {
|
|
||||||
router.push('/dashboard/base');
|
|
||||||
};
|
|
||||||
|
|
||||||
const active = computed(() => {
|
const active = computed(() => {
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
if (!route.path) {
|
if (!route.path) {
|
||||||
|
@ -173,16 +169,15 @@ export default defineComponent({
|
||||||
};
|
};
|
||||||
|
|
||||||
const navToGitHub = () => {
|
const navToGitHub = () => {
|
||||||
window.open('https://github.com/TDesignOteam/tdesign-vue-next-starter');
|
window.open('https://github.com/tencent/tdesign-vue-next-starter');
|
||||||
};
|
};
|
||||||
|
|
||||||
const navToHelper = () => {
|
const navToHelper = () => {
|
||||||
window.open('http://tdesign.tencent.com/starter/get-started.html');
|
window.open('http://tdesign.tencent.com/starter/docs/get-started');
|
||||||
};
|
};
|
||||||
|
|
||||||
return {
|
return {
|
||||||
isSidebarCompact,
|
isSidebarCompact,
|
||||||
goHome,
|
|
||||||
toggleSettingPanel,
|
toggleSettingPanel,
|
||||||
active,
|
active,
|
||||||
showMenu,
|
showMenu,
|
||||||
|
|
|
@ -55,7 +55,6 @@ const useRenderNav = (list: Array<MenuRoute>) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'SubMenu',
|
|
||||||
props: {
|
props: {
|
||||||
navData: {
|
navData: {
|
||||||
type: Array as PropType<MenuRoute[]>,
|
type: Array as PropType<MenuRoute[]>,
|
|
@ -3,7 +3,7 @@ import { useRoute, useRouter } from 'vue-router';
|
||||||
import { useStore } from 'vuex';
|
import { useStore } from 'vuex';
|
||||||
import { PREFIX } from '@/config/global';
|
import { PREFIX } from '@/config/global';
|
||||||
import pgk from '../../../package.json';
|
import pgk from '../../../package.json';
|
||||||
import SubMenu from './SubMenu';
|
import MenuContent from './MenuContent';
|
||||||
import tLogo from '@/assets/assets-t-logo.svg?component';
|
import tLogo from '@/assets/assets-t-logo.svg?component';
|
||||||
import tLogoFull from '@/assets/assets-logo-full.svg?component';
|
import tLogoFull from '@/assets/assets-logo-full.svg?component';
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ const useComputed = (props) => {
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'SideNav',
|
name: 'SideNav',
|
||||||
components: {
|
components: {
|
||||||
SubMenu,
|
MenuContent,
|
||||||
tLogoFull,
|
tLogoFull,
|
||||||
tLogo,
|
tLogo,
|
||||||
},
|
},
|
||||||
|
@ -165,7 +165,7 @@ export default defineComponent({
|
||||||
),
|
),
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<sub-menu navData={this.menu} />
|
<menu-content navData={this.menu} />
|
||||||
</t-menu>
|
</t-menu>
|
||||||
<div class={`${PREFIX}-side-nav-placeholder${this.collapsed ? '-hidden' : ''}`}></div>
|
<div class={`${PREFIX}-side-nav-placeholder${this.collapsed ? '-hidden' : ''}`}></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -14,7 +14,8 @@ const { state } = store;
|
||||||
* @returns {}
|
* @returns {}
|
||||||
*/
|
*/
|
||||||
export function getColorFromTheme(theme: string) {
|
export function getColorFromTheme(theme: string) {
|
||||||
const themeColor = getBrandColor(theme);
|
const { setting } = state as any;
|
||||||
|
const themeColor = getBrandColor(theme, setting.colorList);
|
||||||
const themeColorList: Array<string> = [];
|
const themeColorList: Array<string> = [];
|
||||||
|
|
||||||
// eslint-disable-next-line no-restricted-syntax
|
// eslint-disable-next-line no-restricted-syntax
|
||||||
|
|
|
@ -29,11 +29,11 @@ export default defineComponent({
|
||||||
};
|
};
|
||||||
|
|
||||||
const navToGitHub = () => {
|
const navToGitHub = () => {
|
||||||
window.open('https://github.com/TDesignOteam/tdesign-vue-next-starter');
|
window.open('https://github.com/tencent/tdesign-vue-next-starter');
|
||||||
};
|
};
|
||||||
|
|
||||||
const navToHelper = () => {
|
const navToHelper = () => {
|
||||||
window.open('http://tdesign.tencent.com/starter/get-started.html');
|
window.open('http://tdesign.tencent.com/starter/docs/get-started');
|
||||||
};
|
};
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -78,8 +78,6 @@ import QrcodeVue from 'qrcode.vue';
|
||||||
import { MessagePlugin } from 'tdesign-vue-next';
|
import { MessagePlugin } from 'tdesign-vue-next';
|
||||||
import { useCounter } from '@/utils/hooks';
|
import { useCounter } from '@/utils/hooks';
|
||||||
|
|
||||||
import { passwordValidator } from '../helper';
|
|
||||||
|
|
||||||
const INITIAL_DATA = {
|
const INITIAL_DATA = {
|
||||||
phone: '',
|
phone: '',
|
||||||
account: '',
|
account: '',
|
||||||
|
@ -94,7 +92,7 @@ const FORM_RULES = {
|
||||||
{ required: true, message: '手机号必填', type: 'error' },
|
{ required: true, message: '手机号必填', type: 'error' },
|
||||||
{ telnumber: true, message: '请输入正确的手机号', type: 'warning' },
|
{ telnumber: true, message: '请输入正确的手机号', type: 'warning' },
|
||||||
],
|
],
|
||||||
password: [{ required: true, message: '密码必填', type: 'error' }, { validator: passwordValidator }],
|
password: [{ required: true, message: '密码必填', type: 'error' }],
|
||||||
verifyCode: [{ required: true, message: '验证码必填', type: 'error' }],
|
verifyCode: [{ required: true, message: '验证码必填', type: 'error' }],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,6 @@
|
||||||
import { defineComponent, ref } from 'vue';
|
import { defineComponent, ref } from 'vue';
|
||||||
import { MessagePlugin } from 'tdesign-vue-next';
|
import { MessagePlugin } from 'tdesign-vue-next';
|
||||||
import { useCounter } from '@/utils/hooks';
|
import { useCounter } from '@/utils/hooks';
|
||||||
import { passwordValidator } from '../helper';
|
|
||||||
|
|
||||||
const INITIAL_DATA = {
|
const INITIAL_DATA = {
|
||||||
phone: '',
|
phone: '',
|
||||||
|
@ -90,7 +89,7 @@ const FORM_RULES = {
|
||||||
{ required: true, message: '邮箱必填', type: 'error' },
|
{ required: true, message: '邮箱必填', type: 'error' },
|
||||||
{ email: true, message: '请输入正确的邮箱', type: 'warning' },
|
{ email: true, message: '请输入正确的邮箱', type: 'warning' },
|
||||||
],
|
],
|
||||||
password: [{ required: true, message: '密码必填', type: 'error' }, { validator: passwordValidator }],
|
password: [{ required: true, message: '密码必填', type: 'error' }],
|
||||||
verifyCode: [{ required: true, message: '验证码必填', type: 'error' }],
|
verifyCode: [{ required: true, message: '验证码必填', type: 'error' }],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
export const passwordValidator = (val) => {
|
|
||||||
if (!/^[a-z0-9_]{1,20}$/.test(val)) {
|
|
||||||
return { result: false, message: '需要为1-20个英文或数字字符', type: 'error' };
|
|
||||||
}
|
|
||||||
if (val && val.indexOf('_') === -1) {
|
|
||||||
return { result: false, message: '需包含下划线_', type: 'warning' };
|
|
||||||
}
|
|
||||||
return { result: true };
|
|
||||||
};
|
|
||||||
|
|
||||||
export default {
|
|
||||||
passwordValidator,
|
|
||||||
};
|
|
|
@ -21,8 +21,7 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, ref, computed } from 'vue';
|
import { defineComponent, ref } from 'vue';
|
||||||
import { useStore } from 'vuex';
|
|
||||||
|
|
||||||
import Login from './components/Login.vue';
|
import Login from './components/Login.vue';
|
||||||
import Register from './components/Register.vue';
|
import Register from './components/Register.vue';
|
||||||
|
@ -40,19 +39,13 @@ export default defineComponent({
|
||||||
},
|
},
|
||||||
setup() {
|
setup() {
|
||||||
const type = ref('login');
|
const type = ref('login');
|
||||||
const store = useStore();
|
|
||||||
const switchType = (val: string) => {
|
const switchType = (val: string) => {
|
||||||
type.value = val;
|
type.value = val;
|
||||||
};
|
};
|
||||||
|
|
||||||
const mode = computed(() => {
|
|
||||||
return store.state.setting.mode;
|
|
||||||
});
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
type,
|
type,
|
||||||
switchType,
|
switchType,
|
||||||
mode,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<result
|
<result title="浏览器不兼容" type="ie" tip="抱歉,您正在使用的浏览器版本过低,无法打开当前网页。">
|
||||||
title="浏览器不兼容"
|
|
||||||
type="ie"
|
|
||||||
tip="抱歉,您正在使用的浏览器版本过低,无法打开当前网页"
|
|
||||||
bg-url="https://tdesign.gtimg.com/starter/result-page/browser-incompatible.png"
|
|
||||||
>
|
|
||||||
<div class="result-slot-container">
|
<div class="result-slot-container">
|
||||||
<t-button class="result-button" @click="() => $router.push('/')">返回首页</t-button>
|
<t-button class="result-button" @click="() => $router.push('/')">返回首页</t-button>
|
||||||
<div class="recommend-container">
|
<div class="recommend-container">
|
||||||
|
@ -54,8 +49,8 @@ export default defineComponent({
|
||||||
top: 175px;
|
top: 175px;
|
||||||
padding: 24px 48px;
|
padding: 24px 48px;
|
||||||
width: 640px;
|
width: 640px;
|
||||||
background: #ffffff;
|
background: @bg-color-container;
|
||||||
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
|
box-shadow: 0px 1px 2px @shadow-1;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,18 +1,26 @@
|
||||||
import STYLE_CONFIG from '@/config/style';
|
import STYLE_CONFIG from '@/config/style';
|
||||||
|
import { COLOR_TOKEN, ColorSeries } from '@/config/color';
|
||||||
|
|
||||||
// 定义的state初始值
|
// 定义的state初始值
|
||||||
const state = {
|
const state = {
|
||||||
...STYLE_CONFIG,
|
...STYLE_CONFIG,
|
||||||
showSettingPanel: false,
|
showSettingPanel: false,
|
||||||
|
colorList: COLOR_TOKEN,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
type IInitStateType = typeof state;
|
||||||
|
|
||||||
|
interface IStateType extends IInitStateType {
|
||||||
|
isAsideFooter: boolean;
|
||||||
|
showSettingPanel: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
const mutations = {
|
const mutations = {
|
||||||
update(state, payload) {
|
update(state: IStateType, payload: IStateType) {
|
||||||
state.showBreadcrumb = payload.showBreadcrumb;
|
state.showBreadcrumb = payload.showBreadcrumb;
|
||||||
state.mode = payload.mode;
|
state.mode = payload.mode;
|
||||||
state.layout = payload.layout;
|
state.layout = payload.layout;
|
||||||
state.isSidebarCompact = payload.isSidebarCompact;
|
state.isSidebarCompact = payload.isSidebarCompact;
|
||||||
state.logoPosition = payload.logoPosition;
|
|
||||||
state.splitMenu = payload.splitMenu;
|
state.splitMenu = payload.splitMenu;
|
||||||
state.isFooterAside = payload.isFooterAside;
|
state.isFooterAside = payload.isFooterAside;
|
||||||
state.isSidebarFixed = payload.isSidebarFixed;
|
state.isSidebarFixed = payload.isSidebarFixed;
|
||||||
|
@ -21,15 +29,19 @@ const mutations = {
|
||||||
state.backgroundTheme = payload.backgroundTheme;
|
state.backgroundTheme = payload.backgroundTheme;
|
||||||
state.brandTheme = payload.brandTheme;
|
state.brandTheme = payload.brandTheme;
|
||||||
},
|
},
|
||||||
toggleSidebarCompact(state) {
|
toggleSidebarCompact(state: IStateType) {
|
||||||
state.isSidebarCompact = !state.isSidebarCompact;
|
state.isSidebarCompact = !state.isSidebarCompact;
|
||||||
},
|
},
|
||||||
showSidebarCompact(state, payload) {
|
showSidebarCompact(state: IStateType, payload: boolean) {
|
||||||
state.isSidebarCompact = payload;
|
state.isSidebarCompact = payload;
|
||||||
},
|
},
|
||||||
toggleSettingPanel(state, payload) {
|
|
||||||
|
toggleSettingPanel(state: IStateType, payload: boolean) {
|
||||||
state.showSettingPanel = payload;
|
state.showSettingPanel = payload;
|
||||||
},
|
},
|
||||||
|
addColor(state: IStateType, payload: ColorSeries) {
|
||||||
|
state.colorList = { ...state.colorList, ...payload };
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const getters = {
|
const getters = {
|
||||||
|
|