<template>
	<fr-svg @click="onClick" :uuid="`fr-icon-vegetables-${size}${strokeWidth}${theme}${fill}${strokeLinecap}${strokeLinejoin}`" :width="size" :height="size" :isCache="true" :src="iconSvg" />
</template>
<script>
	// #ifdef UNI-APP-X
	import icons from "../../mixins/icons.uts";
	// #endif
	// #ifndef UNI-APP-X
	import icons from "../../mixins/icons.js";
	// #endif
	/**
	 * @description 《青菜》图标
	 * @tutorial https://www.flowerui.com/documents/flower-icons/icons.html
	 * @property {Number} size 图标大小
	 * @property {Number} strokeWidth 线段粗细
	 * @property {String} theme 图标大小
	 * @property {Array} fill 图标颜色，["外部描边颜色","外部填充颜色","内部描边颜色","内部填充颜色"]
	 * @property {String} strokeLinecap 图标大小
	 * @property {String} strokeLinejoin 图标大小
	 * @event {Function} click 图标点击事件
	 */
	export default {
		mixins: [icons],
		computed: {
			// #ifdef UNI-APP-X
			iconSvg(): string {
			// #endif
			// #ifndef UNI-APP-X
			iconSvg() {
			// #endif
				return `<?xml version="1.0" encoding="UTF-8"?><svg width="${this.size}" height="${this.size}" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M32 7.90249C33.5 7.5 35.3291 7.61106 36.4393 7.90249C38.9414 8.56028 40.7649 9.68991 41.8557 11.2615C43.1186 13.0795 43.3371 15.3991 42.508 18.1559C40.8094 23.7957 33.908 27.296 33.5 27.5" stroke="${this.colors(0)}" stroke-width="${this.strokeWidth}" stroke-linecap="${this.strokeLinecap}" stroke-linejoin="${this.strokeLinejoin}"/><path d="M27.2471 41.2702C27.7619 41.368 28.2851 41.4194 28.809 41.4214C30.2786 41.4214 31.5442 41.0058 32.5663 40.187C33.6786 39.3023 34.5 38 34.8325 36.2784C35.165 34.5569 34.6799 32.943 34.1525 31.3686C33.7799 30.2501 33.5347 28.5637 33.5 27.5" stroke="${this.colors(0)}" stroke-width="${this.strokeWidth}" stroke-linecap="${this.strokeLinecap}" stroke-linejoin="${this.strokeLinejoin}"/><path d="M13 26.5001C13 26.5001 7.19013 23.7937 5.49291 18.156C4.66304 15.3999 4.88161 13.0817 6.14446 11.2616C7.23662 9.69072 9.05804 8.56109 11.5601 7.9026C12.671 7.61117 13.7341 7.46338 14.7221 7.46338" stroke="${this.colors(0)}" stroke-width="${this.strokeWidth}" stroke-linecap="${this.strokeLinecap}" stroke-linejoin="${this.strokeLinejoin}"/><path d="M13.5 27C14 28 13.5675 29.7963 13.0402 31.3721C12.5128 32.9479 11.9688 34.5743 12.3595 36.2812C12.7501 37.9882 13.5127 39.3045 14.6236 40.1898C15.6485 41.0079 16.53 41.5 18.0003 41.5C18.5235 41.4979 20.0003 41 20.0003 41" stroke="${this.colors(0)}" stroke-width="${this.strokeWidth}" stroke-linecap="${this.strokeLinecap}" stroke-linejoin="${this.strokeLinejoin}"/><path d="M23.5 4C28.7466 4 33 6.64313 33 14.375C33 22.1076 23.5 32 23.5 32C23.5 32 14 22.1069 14 14.375C14 6.64241 18.2528 4 23.5 4Z" stroke="${this.colors(0)}" stroke-width="${this.strokeWidth}" stroke-linecap="${this.strokeLinecap}" stroke-linejoin="${this.strokeLinejoin}"/><path d="M23.9991 42.229C21.9892 42.2292 20.2806 41.5671 19.1309 40.5596C17.8028 39.3925 17.127 37.7334 17.127 35.6268C17.127 33.8706 18.0762 32.4059 18.9942 30.9876C19.6457 29.9801 20.5484 27.9977 20.5484 27.9977C20.5484 27.9977 21.0229 26.3606 20.9447 25.2978C20.8 23.3332 18.8929 21.8541 18.5834 20.8404C18.208 19.5796 18.2996 18.8122 18.8679 18.4278C19.0427 18.3077 19.713 18.2675 19.713 18.2675C19.713 18.2675 19.5867 16.4218 19.6658 15.8133C19.7609 15.0833 20.142 14.0415 21.0376 13.9648C21.6576 13.9116 22.1478 14.0043 22.4656 14.6718C22.5683 14.8876 22.6391 15.1492 22.7383 15.5107C23.0395 16.6424 23.521 17.9663 23.9949 19.0425C24.4695 17.9691 24.9518 16.6452 25.255 15.5114C25.3542 15.1499 25.4257 14.8883 25.5284 14.6718C25.8462 14.0043 26.3371 13.9125 26.9571 13.9661C27.7133 14.0316 28.2331 15.0847 28.3282 15.8133C28.4073 16.4218 28.392 17.2322 28.281 18.2675H28.3282C28.5433 18.2675 28.954 18.3063 29.1296 18.4271C29.6986 18.8115 29.7318 19.946 29.4134 20.8397C29 21.9999 27.2039 23.1328 27 24.9999C26.8714 26.1771 27.0948 26.8691 27.4511 27.9984C27.8469 29.2528 28.3511 29.9808 29.0047 30.9869C29.9227 32.4052 30.8719 33.872 30.8719 35.6268C30.8719 37.7327 30.1975 39.3925 28.868 40.5582C27.7155 41.5657 26.0094 42.2289 23.9991 42.229Z" fill="${this.colors(1)}" stroke="${this.colors(0)}" stroke-width="${this.strokeWidth}" stroke-linecap="${this.strokeLinecap}" stroke-linejoin="${this.strokeLinejoin}"/></svg>`
			}
		}
	}
</script>