Network.js 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. "use strict";
  2. exports.__esModule = true;
  3. exports.default = void 0;
  4. var prefix = 'van-empty-network-';
  5. var _default = {
  6. render: function render() {
  7. var h = arguments[0];
  8. var genStop = function genStop(color, offset, opacity) {
  9. return h("stop", {
  10. "attrs": {
  11. "stop-color": color,
  12. "offset": offset + "%",
  13. "stop-opacity": opacity
  14. }
  15. });
  16. };
  17. return h("svg", {
  18. "attrs": {
  19. "viewBox": "0 0 160 160",
  20. "xmlns": "http://www.w3.org/2000/svg"
  21. }
  22. }, [h("defs", [h("linearGradient", {
  23. "attrs": {
  24. "id": prefix + "1",
  25. "x1": "64.022%",
  26. "y1": "100%",
  27. "x2": "64.022%",
  28. "y2": "0%"
  29. }
  30. }, [genStop('#FFF', 0, 0.5), genStop('#F2F3F5', 100)]), h("linearGradient", {
  31. "attrs": {
  32. "id": prefix + "2",
  33. "x1": "50%",
  34. "y1": "0%",
  35. "x2": "50%",
  36. "y2": "84.459%"
  37. }
  38. }, [genStop('#EBEDF0', 0), genStop('#DCDEE0', 100, 0)]), h("linearGradient", {
  39. "attrs": {
  40. "id": prefix + "3",
  41. "x1": "100%",
  42. "y1": "0%",
  43. "x2": "100%",
  44. "y2": "100%"
  45. }
  46. }, [genStop('#EAEDF0', 0), genStop('#DCDEE0', 100)]), h("linearGradient", {
  47. "attrs": {
  48. "id": prefix + "4",
  49. "x1": "100%",
  50. "y1": "100%",
  51. "x2": "100%",
  52. "y2": "0%"
  53. }
  54. }, [genStop('#EAEDF0', 0), genStop('#DCDEE0', 100)]), h("linearGradient", {
  55. "attrs": {
  56. "id": prefix + "5",
  57. "x1": "0%",
  58. "y1": "43.982%",
  59. "x2": "100%",
  60. "y2": "54.703%"
  61. }
  62. }, [genStop('#EAEDF0', 0), genStop('#DCDEE0', 100)]), h("linearGradient", {
  63. "attrs": {
  64. "id": prefix + "6",
  65. "x1": "94.535%",
  66. "y1": "43.837%",
  67. "x2": "5.465%",
  68. "y2": "54.948%"
  69. }
  70. }, [genStop('#EAEDF0', 0), genStop('#DCDEE0', 100)]), h("radialGradient", {
  71. "attrs": {
  72. "id": prefix + "7",
  73. "cx": "50%",
  74. "cy": "0%",
  75. "fx": "50%",
  76. "fy": "0%",
  77. "r": "100%",
  78. "gradientTransform": "matrix(0 1 -.54835 0 .5 -.5)"
  79. }
  80. }, [genStop('#EBEDF0', 0), genStop('#FFF', 100, 0)])]), h("g", {
  81. "attrs": {
  82. "fill": "none",
  83. "fill-rule": "evenodd"
  84. }
  85. }, [h("g", {
  86. "attrs": {
  87. "opacity": ".8"
  88. }
  89. }, [h("path", {
  90. "attrs": {
  91. "d": "M0 124V46h20v20h14v58H0z",
  92. "fill": "url(#" + prefix + "1)",
  93. "transform": "matrix(-1 0 0 1 36 7)"
  94. }
  95. }), h("path", {
  96. "attrs": {
  97. "d": "M121 8h22.231v14H152v77.37h-31V8z",
  98. "fill": "url(#" + prefix + "1)",
  99. "transform": "translate(2 7)"
  100. }
  101. })]), h("path", {
  102. "attrs": {
  103. "fill": "url(#" + prefix + "7)",
  104. "d": "M0 139h160v21H0z"
  105. }
  106. }), h("path", {
  107. "attrs": {
  108. "d": "M37 18a7 7 0 013 13.326v26.742c0 1.23-.997 2.227-2.227 2.227h-1.546A2.227 2.227 0 0134 58.068V31.326A7 7 0 0137 18z",
  109. "fill": "url(#" + prefix + "2)",
  110. "fill-rule": "nonzero",
  111. "transform": "translate(43 36)"
  112. }
  113. }), h("g", {
  114. "attrs": {
  115. "opacity": ".6",
  116. "stroke-linecap": "round",
  117. "stroke-width": "7"
  118. }
  119. }, [h("path", {
  120. "attrs": {
  121. "d": "M20.875 11.136a18.868 18.868 0 00-5.284 13.121c0 5.094 2.012 9.718 5.284 13.12",
  122. "stroke": "url(#" + prefix + "3)",
  123. "transform": "translate(43 36)"
  124. }
  125. }), h("path", {
  126. "attrs": {
  127. "d": "M9.849 0C3.756 6.225 0 14.747 0 24.146c0 9.398 3.756 17.92 9.849 24.145",
  128. "stroke": "url(#" + prefix + "3)",
  129. "transform": "translate(43 36)"
  130. }
  131. }), h("path", {
  132. "attrs": {
  133. "d": "M57.625 11.136a18.868 18.868 0 00-5.284 13.121c0 5.094 2.012 9.718 5.284 13.12",
  134. "stroke": "url(#" + prefix + "4)",
  135. "transform": "rotate(-180 76.483 42.257)"
  136. }
  137. }), h("path", {
  138. "attrs": {
  139. "d": "M73.216 0c-6.093 6.225-9.849 14.747-9.849 24.146 0 9.398 3.756 17.92 9.849 24.145",
  140. "stroke": "url(#" + prefix + "4)",
  141. "transform": "rotate(-180 89.791 42.146)"
  142. }
  143. })]), h("g", {
  144. "attrs": {
  145. "transform": "translate(31 105)",
  146. "fill-rule": "nonzero"
  147. }
  148. }, [h("rect", {
  149. "attrs": {
  150. "fill": "url(#" + prefix + "5)",
  151. "width": "98",
  152. "height": "34",
  153. "rx": "2"
  154. }
  155. }), h("rect", {
  156. "attrs": {
  157. "fill": "#FFF",
  158. "x": "9",
  159. "y": "8",
  160. "width": "80",
  161. "height": "18",
  162. "rx": "1.114"
  163. }
  164. }), h("rect", {
  165. "attrs": {
  166. "fill": "url(#" + prefix + "6)",
  167. "x": "15",
  168. "y": "12",
  169. "width": "18",
  170. "height": "6",
  171. "rx": "1.114"
  172. }
  173. })])])]);
  174. }
  175. };
  176. exports.default = _default;