fr-icon-women.vue 2.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <template>
  2. <fr-svg @click="onClick" :uuid="`fr-icon-women-${size}${strokeWidth}${theme}${fill}${strokeLinecap}${strokeLinejoin}`" :width="size" :height="size" :isCache="true" :src="iconSvg" />
  3. </template>
  4. <script>
  5. // #ifdef UNI-APP-X
  6. import icons from "../../mixins/icons.uts";
  7. // #endif
  8. // #ifndef UNI-APP-X
  9. import icons from "../../mixins/icons.js";
  10. // #endif
  11. /**
  12. * @description 《女》图标
  13. * @tutorial https://www.flowerui.com/documents/flower-icons/icons.html
  14. * @property {Number} size 图标大小
  15. * @property {Number} strokeWidth 线段粗细
  16. * @property {String} theme 图标大小
  17. * @property {Array} fill 图标颜色,["外部描边颜色","外部填充颜色","内部描边颜色","内部填充颜色"]
  18. * @property {String} strokeLinecap 图标大小
  19. * @property {String} strokeLinejoin 图标大小
  20. * @event {Function} click 图标点击事件
  21. */
  22. export default {
  23. mixins: [icons],
  24. computed: {
  25. // #ifdef UNI-APP-X
  26. iconSvg(): string {
  27. // #endif
  28. // #ifndef UNI-APP-X
  29. iconSvg() {
  30. // #endif
  31. 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="M19.2252 6.36909C16.0422 6.36909 11.1616 8.207 12.8592 19.5832C12.8848 19.7545 12.9184 19.9407 12.9543 20.1395C13.2635 21.8513 13.7419 24.4998 10.7 26.6839C12.7689 28.3816 15.7155 30.0792 19.2965 30.8143C19.1521 31.6597 18.9342 32.6118 18.7655 33.2284C18.4735 34.2956 17.8639 35.0527 16.774 35.3755C15.8142 35.6598 14.8085 35.8899 13.7777 36.1257C13.513 36.1862 13.2465 36.2472 12.9789 36.3095C11.6928 36.6089 10.3834 36.9394 9.22177 37.4079C8.05819 37.8772 6.97581 38.5107 6.19417 39.4553C5.3976 40.4179 4.9723 41.6322 5.0014 43.1495C5.01046 43.6217 5.41498 44 5.91088 44H42.0891C42.5849 44 42.9894 43.6218 42.9986 43.1496C43.028 41.6323 42.6028 40.418 41.8062 39.4553C41.0246 38.5107 39.9422 37.8772 38.7786 37.4079C37.6169 36.9394 36.3073 36.6089 35.0212 36.3095C34.7537 36.2472 34.4874 36.1863 34.2227 36.1257C33.1917 35.8899 32.1859 35.6599 31.226 35.3755C30.1361 35.0527 29.5264 34.2956 29.2345 33.2284C29.0338 32.4948 28.7626 31.2865 28.6288 30.3477C31.367 29.5236 34.2768 28.0434 37.3 25.6777L37.2857 25.664C35.8673 24.3063 33.2071 21.7596 33.0181 15.7163C33.0181 7.39375 27.7124 0.0786526 19.2252 6.36909Z" fill="${this.colors(1)}" stroke="${this.colors(0)}" stroke-width="${this.strokeWidth}" stroke-linejoin="${this.strokeLinejoin}"/></svg>`
  32. }
  33. }
  34. }
  35. </script>