config.js 67 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699
  1. //http://192.168.16.55
  2. //http://172.17.0.1
  3. var erp="/erp" //:8200
  4. var base="/base" //:8061
  5. var linux="/linux" //:8061
  6. var rcm="/rcm" //:8200
  7. var log="/log" //:8200
  8. var finance="/finance" //:9200
  9. var mes="/mes" //:8061
  10. var quality="/quality" //:8405
  11. window.$website = {
  12. isDemo: true,
  13. isDemoTip: '演示环境不允许操作',
  14. title: 'avue-data数据大屏',
  15. name: 'WELCOME TO AVUE-DATA',
  16. subName: '可视化数据大屏(演示环境-请勿放生产数据)',
  17. url: 'https://data.avuejs.com/api/blade-visual',
  18. autoSave: false,
  19. autoSaveTime: 60000,
  20. tabsList: [0, 1, 2, 3, 4, 5],
  21. componentsList: [{
  22. name: 'test',
  23. component: 'testComponents',
  24. option: 'testOption',
  25. data: true
  26. }],
  27. baseList: [{
  28. "label": '图表',
  29. "icon": 'icon-bar',
  30. "children": [{
  31. "label": '通用型',
  32. "option": {
  33. "name": "通用型",
  34. "title": "通用型",
  35. "icon": 'icon-bar',
  36. "img": '/img/assets/text5.png',
  37. "dataType": 1,
  38. "dataMethod": 'get',
  39. "data": {
  40. "categories": [
  41. "苹果",
  42. "三星",
  43. "小米",
  44. "oppo",
  45. "vivo"
  46. ],
  47. "series": [{
  48. "name": "手机品牌",
  49. "data": [
  50. 1000879,
  51. 3400879,
  52. 2300879,
  53. 5400879,
  54. 3400879
  55. ]
  56. }]
  57. },
  58. "echartFormatter": "(data)=>{\nconsole.log(data);\nreturn {\n title: {\n\t\t\t\t textStyle: {\n\t\t\t\t\tfontWeight: 'normal', \n\t\t\t\t\tcolor: '#fff'\n\t\t\t\t},\n text: 'ECharts 入门示例'\n },\n tooltip: {},\n legend: {\n data:['销量'],\n\t\t\t\ttextStyle: {\n\t\t\t\t\tfontWeight: 'normal', \n\t\t\t\t\tcolor: '#fff'\n\t\t\t\t},\n },\n xAxis: {\n data: [\'衬衫\',\'羊毛衫\',\'雪纺衫\',\'裤子\',\'高跟鞋\',\'袜子\']\n },\n yAxis: {},\n series: [{\n name: '销量',\n type: 'bar',\n data: [5, 20, 36, 10, 10, 20]\n }]\n };\n}",
  59. "dataFormatter": "",
  60. "stylesFormatter": "",
  61. "url": "/bar",
  62. "time": 5000,
  63. "component": {
  64. "width": 600,
  65. "height": 300,
  66. "name": "common",
  67. "prop": "common",
  68. },
  69. }
  70. }, {
  71. "label": 'datav',
  72. "option": {
  73. "name": "datav",
  74. "title": "datav",
  75. "icon": 'icon-datav',
  76. "img": '/img/assets/text6.png',
  77. "dataType": 0,
  78. "dataMethod": 'get',
  79. "data": {
  80. value: 66
  81. },
  82. "dataFormatter": "",
  83. "echartFormatter": "(data)=>{\n console.log(data);\n return {\n config:{\n\t data: [66] \n\t }\n }\n}",
  84. "time": 5000,
  85. "component": {
  86. "width": 150,
  87. "height": 200,
  88. "name": "datav",
  89. "prop": "datav",
  90. },
  91. "option": {
  92. "is": 'dv-water-level-pond'
  93. }
  94. }
  95. }, {
  96. "label": '柱形图',
  97. "option": {
  98. "name": "柱状图",
  99. "title": "柱状图",
  100. "icon": 'icon-bar',
  101. "img": '/img/assets/bar.png',
  102. "dataType": 1,
  103. "dataMethod": 'get',
  104. "data": {
  105. "categories": [
  106. "苹果",
  107. "三星",
  108. "小米",
  109. "oppo",
  110. "vivo"
  111. ],
  112. "series": [{
  113. "name": "手机品牌",
  114. "data": [
  115. 1000879,
  116. 3400879,
  117. 2300879,
  118. 5400879,
  119. 3400879
  120. ]
  121. }]
  122. },
  123. "dataFormatter": "",
  124. "stylesFormatter": "",
  125. "url": "/bar",
  126. "time": 5000,
  127. "component": {
  128. "width": 600,
  129. "height": 300,
  130. "name": "bar",
  131. "prop": "bar",
  132. },
  133. "option": {
  134. "gridX": 90,
  135. "gridY": 0,
  136. "gridX2": 0,
  137. "gridY2": 0,
  138. "legend": true,
  139. "nameColor": "#eee",
  140. "lineColor": "#eee",
  141. "xNameFontSize": 16,
  142. "yNameFontSize": 16,
  143. "labelShow": true,
  144. "labelShowColor": '#fff',
  145. "labelShowFontSize": 14,
  146. "labelShowFontWeight": 300,
  147. "yAxisInverse": false,
  148. "xAxisInverse": false,
  149. "xAxisShow": true,
  150. "yAxisShow": true,
  151. "xAxisSplitLineShow": false,
  152. "yAxisSplitLineShow": false,
  153. "barWidth": 30,
  154. "barRadius": 8,
  155. "barColor": [{
  156. "color1": "#83bff6",
  157. "color2": "#188df0",
  158. "postion": 90,
  159. "$index": 0,
  160. "_show": true
  161. }, {
  162. "color1": "#23B7E5",
  163. "color2": "#564AA3",
  164. "postion": 50,
  165. "$index": 1,
  166. "_show": true
  167. }],
  168. "barMinHeight": 2
  169. }
  170. }
  171. }, {
  172. "label": '折线图',
  173. "option": {
  174. "name": "折线图",
  175. "title": "折线图",
  176. "icon": 'icon-line',
  177. "img": '/img/assets/line.png',
  178. "dataType": 1,
  179. "dataMethod": 'get',
  180. "data": {
  181. "categories": [
  182. "苹果",
  183. "三星",
  184. "小米",
  185. "oppo",
  186. "vivo"
  187. ],
  188. "series": [{
  189. "name": "手机品牌",
  190. "data": [
  191. 1000879,
  192. 3400879,
  193. 2300879,
  194. 5400879,
  195. 3400879
  196. ]
  197. }]
  198. },
  199. "dataFormatter": "",
  200. "stylesFormatter": "",
  201. "url": "/bar",
  202. "time": 5000,
  203. "component": {
  204. "width": 600,
  205. "height": 300,
  206. "name": "line",
  207. "prop": "line",
  208. },
  209. "option": {
  210. "gridX": 90,
  211. "gridY": 0,
  212. "gridX2": 0,
  213. "gridY2": 0,
  214. "nameColor": "#eee",
  215. "lineColor": "#eee",
  216. "lineWidth": 5,
  217. "xNameFontSize": 16,
  218. "yNameFontSize": 16,
  219. "labelShow": false,
  220. "labelShowFontSize": 14,
  221. "labelShowFontWeight": 300,
  222. "yAxisInverse": false,
  223. "xAxisInverse": false,
  224. "xAxisShow": true,
  225. "yAxisShow": true,
  226. "xAxisSplitLineShow": false,
  227. "yAxisSplitLineShow": false,
  228. "barWidth": 30,
  229. "barRadius": 8,
  230. "barColor": [{
  231. "color1": "#83bff6",
  232. "color2": "#188df0",
  233. "postion": 90,
  234. "$index": 0,
  235. "_show": true
  236. }, {
  237. "color1": "#23B7E5",
  238. "color2": "#564AA3",
  239. "postion": 50,
  240. "$index": 1,
  241. "_show": true
  242. }],
  243. "symbolSize": 6,
  244. "smooth": true,
  245. "barMinHeight": 2
  246. }
  247. }
  248. }, {
  249. label: '饼图',
  250. option: {
  251. "name": "饼图",
  252. "title": "饼图",
  253. "icon": 'icon-pie',
  254. "img": '/img/assets/pie.png',
  255. "dataType": 1,
  256. "dataMethod": 'get',
  257. "time": 5000,
  258. "url": "/pie",
  259. "data": [{
  260. "name": "苹果",
  261. "value": 1000879,
  262. "url": "http://www.baidu.com"
  263. }, {
  264. "name": "三星",
  265. "value": 3400879,
  266. "url": "http://www.baidu.com"
  267. }, {
  268. "name": "小米",
  269. "value": 2300879,
  270. "url": "http://www.baidu.com"
  271. }, {
  272. "name": "oppo",
  273. "value": 5400879,
  274. "url": "http://www.baidu.com"
  275. }, {
  276. "name": "大疆",
  277. "value": 3000,
  278. "url": "http://www.baidu.com"
  279. }, {
  280. "name": "抖音",
  281. "value": 2000,
  282. "url": "http://www.baidu.com"
  283. }],
  284. "dataFormatter": "",
  285. "stylesFormatter": "",
  286. "resize": false,
  287. "component": {
  288. "width": 600,
  289. "height": 300,
  290. "name": "pie",
  291. "prop": "pie",
  292. },
  293. "option": {
  294. "legend": true,
  295. "labelShow": true,
  296. "barColor": [
  297. {
  298. "color1": "#83bff6"
  299. },
  300. {
  301. "color1": "#23B7E5"
  302. },
  303. {
  304. "color1": "rgba(154, 168, 212, 1)"
  305. },
  306. {
  307. "color1": "#188df0"
  308. },
  309. {
  310. "color1": "#564AA3"
  311. }
  312. ]
  313. }
  314. }
  315. }, {
  316. label: '象形图',
  317. option: {
  318. "title": "象形图",
  319. "name": "象形图",
  320. "icon": "icon-pictorialBar",
  321. "img": '/img/assets/bar2.png',
  322. "dataType": 1,
  323. "dataMethod": 'get',
  324. "time": 5000,
  325. "url": "/pie",
  326. "data": [{
  327. "name": "苹果",
  328. "value": 1000879,
  329. }, {
  330. "name": "三星",
  331. "value": 3400879,
  332. }, {
  333. "name": "小米",
  334. "value": 2300879,
  335. }, {
  336. "name": "oppo",
  337. "value": 5400879,
  338. }, {
  339. "name": "大疆",
  340. "value": 3000,
  341. }, {
  342. "name": "抖音",
  343. "value": 2000,
  344. }],
  345. "dataFormatter": "",
  346. "stylesFormatter": "",
  347. "component": {
  348. "width": 600,
  349. "height": 300,
  350. "name": "pictorialbar",
  351. "prop": "pictorialbar",
  352. },
  353. "option": {
  354. symbolSize: 30,
  355. split: 30,
  356. symbol: '/img/source/source256.png',
  357. fontSize: '24',
  358. xAxisShow: false,
  359. yAxisShow: true,
  360. color: '#4dffff',
  361. nameColor: '#564AA3',
  362. xNameFontSize: '24',
  363. yNameFontSize: '24',
  364. }
  365. }
  366. }, {
  367. label: '雷达图',
  368. option: {
  369. "title": "雷达图",
  370. "name": "雷达图",
  371. "icon": "icon-radar",
  372. "img": '/img/assets/radar.png',
  373. "dataType": 1,
  374. "dataMethod": 'get',
  375. "time": 5000,
  376. "url": "/radar",
  377. "data": {
  378. indicator: [{
  379. name: '销售',
  380. max: 6500
  381. },
  382. {
  383. name: '管理',
  384. max: 16000
  385. },
  386. {
  387. name: '信息技术',
  388. max: 30000
  389. },
  390. {
  391. name: '客服',
  392. max: 38000
  393. },
  394. {
  395. name: '研发',
  396. max: 52000
  397. },
  398. {
  399. name: '市场',
  400. max: 25000
  401. }
  402. ],
  403. series: [{
  404. data: [{
  405. value: [4300, 10000, 28000, 35000, 50000, 19000],
  406. name: '预算分配(Allocated Budget)'
  407. },
  408. {
  409. value: [5000, 14000, 28000, 31000, 42000, 21000],
  410. name: '实际开销(Actual Spending)'
  411. }
  412. ]
  413. }]
  414. },
  415. "dataFormatter": "",
  416. "stylesFormatter": "",
  417. "component": {
  418. "width": 970,
  419. "height": 400,
  420. "name": "radar",
  421. "prop": "radar",
  422. },
  423. "option": {
  424. width: '100%',
  425. height: 600,
  426. titleShow: true,
  427. title: '各部门开销',
  428. subtext: '最近一个月',
  429. titleColor: '#666',
  430. tipBackgroundColor: 'rgba(50,50,50,0.7)',
  431. tipColor: "#fff",
  432. shape: 'polygon',
  433. radius: "75%",
  434. splitNumber: 4,
  435. radarNameColor: '#fff',
  436. radarNameSize: 18,
  437. titleFontSize: 18,
  438. areaOpacity: 0.3,
  439. legend: true,
  440. // labelShow: true,
  441. "barColor": [{
  442. "color1": "#564AA3",
  443. },
  444. {
  445. "color1": "#188df0",
  446. }
  447. ]
  448. },
  449. }
  450. }, {
  451. label: '散点图',
  452. option: {
  453. "title": "散点图",
  454. "name": "散点图",
  455. "icon": "icon-scatter",
  456. "img": '/img/assets/scatter.png',
  457. "dataType": 1,
  458. "dataMethod": 'get',
  459. "time": 5000,
  460. "url": "/scatter",
  461. "data": [{
  462. "data": [
  463. [1, 8.04],
  464. [2, 6.95]
  465. ]
  466. },
  467. {
  468. "data": [
  469. [1, 4.04],
  470. [2, 3.95]
  471. ]
  472. }],
  473. "dataFormatter": "",
  474. "stylesFormatter": "",
  475. "component": {
  476. "width": 600,
  477. "height": 300,
  478. "name": "scatter",
  479. "prop": "scatter",
  480. },
  481. "option": {
  482. lineSize: 25,
  483. barColor: [{
  484. postion: 0.2,
  485. color1: '#91c7ae'
  486. },
  487. {
  488. postion: 0.8,
  489. color1: '#63869e'
  490. },
  491. {
  492. postion: 1,
  493. color1: '#c23531'
  494. }]
  495. }
  496. }
  497. }, {
  498. label: '漏斗图',
  499. option: {
  500. "title": "漏斗图",
  501. "name": "漏斗图",
  502. "icon": "icon-funnel",
  503. "img": '/img/assets/funnel.png',
  504. "dataType": 1,
  505. "dataMethod": 'get',
  506. "time": 5000,
  507. "url": "/funnel",
  508. "data": [{
  509. value: 335,
  510. name: '直接访问'
  511. },
  512. {
  513. value: 310,
  514. name: '邮件营销'
  515. },
  516. {
  517. value: 234,
  518. name: '联盟广告'
  519. }],
  520. "dataFormatter": "",
  521. "stylesFormatter": "",
  522. "component": {
  523. "width": 400,
  524. "height": 300,
  525. "name": "funnel",
  526. "prop": "funnel",
  527. },
  528. "option": {
  529. radius: true,
  530. "barColor": [{
  531. "color1": "#83bff6",
  532. },
  533. {
  534. "color1": "#23B7E5",
  535. },
  536. {
  537. "color1": "rgba(154, 168, 212, 1)",
  538. },
  539. {
  540. "color1": "#188df0",
  541. },
  542. {
  543. "color1": "#564AA3",
  544. }
  545. ]
  546. }
  547. }
  548. }, {
  549. label: '地图',
  550. option: {
  551. "name": "地图",
  552. "title": "地图",
  553. "icon": "icon-map",
  554. "img": '/img/assets/map.png',
  555. "dataType": 0,
  556. "data": [
  557. {
  558. "name": "测试坐标1",
  559. "value": 1,
  560. "lng": 118.30078125,
  561. "lat": 36.91915611148194,
  562. "zoom": 1
  563. },
  564. {
  565. "name": "测试坐标2",
  566. "value": 1,
  567. "lng": 112.21435546875,
  568. "lat": 37.965854128749434,
  569. "zoom": 1
  570. }
  571. ],
  572. "formatter": "function(name,data){\n console.log(name,data)\n return '名称:'+name.data.name+name.data.value\n}",
  573. "dataFormatter": "",
  574. "stylesFormatter": "",
  575. "component": {
  576. "width": 800,
  577. "height": 607,
  578. "name": "map",
  579. "prop": "map",
  580. },
  581. "option": {
  582. "tipBackgroundColor": "rgba(13, 255, 255, .5)",
  583. "tipColor": "rgba(217, 38, 10, 1)",
  584. "tipFontSize": "30",
  585. "borderWidth": 1,
  586. "scale": 87,
  587. "type": 0,
  588. "borderColor": "#0dffff",
  589. "areaColor": "rgba(6, 29, 51, 0.59)",
  590. "banner": true,
  591. "bannerTime": 3000,
  592. "fontSize": 14,
  593. "zoom": 0.5,
  594. "empAreaColor": "rgba(35, 183, 229, 0.42)",
  595. "empColor": "rgba(217, 38, 10, 1)",
  596. "index": "894edc1d-d2f0-4616-962c-8e61083ada71",
  597. "mapData": "https://data.bladex.vip/blade-visual/map/data?id=1235103352843448322",
  598. "color": "rgba(13, 255, 255, 1)",
  599. }
  600. }
  601. }, {
  602. label: '矩形图',
  603. option: {
  604. "name": "矩形图",
  605. "title": "矩形图",
  606. "icon": 'icon-juxing',
  607. "img": '/img/assets/rectangle.png',
  608. "data": [
  609. {
  610. "name": "分类 1",
  611. "value": 560
  612. },
  613. {
  614. "name": "分类 2",
  615. "value": 500
  616. },
  617. {
  618. "name": "分类 3",
  619. "value": 150
  620. },
  621. {
  622. "name": "分类 4",
  623. "value": 140
  624. },
  625. {
  626. "name": "分类 5",
  627. "value": 115
  628. },
  629. {
  630. "name": "分类 6",
  631. "value": 95
  632. },
  633. {
  634. "name": "分类 7",
  635. "value": 90
  636. },
  637. {
  638. "name": "分类 8",
  639. "value": 75
  640. },
  641. {
  642. "name": "分类 9",
  643. "value": 98
  644. },
  645. {
  646. "name": "分类 10",
  647. "value": 60
  648. },
  649. {
  650. "name": "分类 11",
  651. "value": 45
  652. },
  653. {
  654. "name": "分类 12",
  655. "value": 40
  656. },
  657. {
  658. "name": "分类 13",
  659. "value": 40
  660. },
  661. {
  662. "name": "分类 14",
  663. "value": 35
  664. },
  665. {
  666. "name": "分类 15",
  667. "value": 40
  668. },
  669. {
  670. "name": "分类 16",
  671. "value": 40
  672. },
  673. {
  674. "name": "分类 17",
  675. "value": 40
  676. },
  677. {
  678. "name": "分类 18",
  679. "value": 30
  680. },
  681. {
  682. "name": "分类 19",
  683. "value": 28
  684. },
  685. {
  686. "name": "分类 20",
  687. "value": 16
  688. }
  689. ],
  690. "dataType": 0,
  691. "echartFormatter": "",
  692. "component": {
  693. "width": 754,
  694. "height": 377,
  695. "name": "rectangle",
  696. "prop": "rectangle",
  697. },
  698. option: {
  699. fontSize: 14,
  700. color: '#fff',
  701. tipFontSize: 40,
  702. tipColor: '#fff'
  703. }
  704. }
  705. }, {
  706. label: '定时器',
  707. option: {
  708. "name": "定时器",
  709. "title": "定时器",
  710. "icon": 'icon-datetime',
  711. "img": '/img/assets/time.png',
  712. "echartFormatter": "",
  713. "component": {
  714. "width": 100,
  715. "height": 100,
  716. "name": "time",
  717. "prop": "time",
  718. },
  719. option: {
  720. time: 0
  721. }
  722. }
  723. }, {
  724. label: '自定义Vue组件',
  725. option: {
  726. "name": "自定义Vue组件",
  727. "title": "自定义Vue组件",
  728. "icon": 'icon-bar',
  729. "img": '/img/assets/text4.png',
  730. "dataType": 0,
  731. "data": {
  732. "name": "avue"
  733. },
  734. "dataFormatter": "",
  735. "stylesFormatter": "",
  736. "component": {
  737. "width": 800,
  738. "height": 500,
  739. "name": "vue",
  740. "prop": "vue",
  741. },
  742. "option": {
  743. "content": "<template>\n <div class=\"test\">\n <h1 @click=\"handleClick\">{{dataChart}}<h1>\n </div>\n</template>\n<script>\nexport default{\n data(){\n return{\n \n }\n },\n created(){\n console.log(this);\n },\n methods:{\n handleClick(){\n this.$message.success(this.dataChart.name)\n }\n }\n}\n</script>\n<style>\n .test{\n text-align:center;\n color:red;\n font-size:40px;\n }\n</style>"
  744. }
  745. }
  746. }]
  747. }, {
  748. "label": '文字',
  749. "icon": 'icon-text',
  750. "children": [{
  751. "label": '文本框',
  752. "option": {
  753. "title": "文本框",
  754. "name": "文本框",
  755. "icon": 'icon-text',
  756. "img": '/img/assets/text.png',
  757. "dataType": 0,
  758. "dataFormatter": "",
  759. "stylesFormatter": "",
  760. "child": {
  761. "index": [],
  762. "paramName": ""
  763. },
  764. "data": {
  765. value: '文本框'
  766. },
  767. "component": {
  768. "width": 100,
  769. "height": 40,
  770. "name": "text",
  771. "prop": "text"
  772. },
  773. "option": {
  774. "textAlign": "center",
  775. "fontSize": 26,
  776. "fontWeight": "normal",
  777. "color": "#fff"
  778. },
  779. },
  780. }, {
  781. "label": '跑马灯',
  782. "option": {
  783. "title": "跑马灯",
  784. "name": "跑马灯",
  785. "icon": 'icon-scroll',
  786. "img": '/img/assets/text2.png',
  787. "top": 0,
  788. "left": 0,
  789. "dataType": 0,
  790. "data": {
  791. value: "跑马灯"
  792. },
  793. "dataFormatter": "",
  794. "stylesFormatter": "",
  795. "component": {
  796. "width": 100,
  797. "height": 50,
  798. "name": "text",
  799. "prop": "text"
  800. },
  801. "option": {
  802. scroll: true,
  803. speed: 70,
  804. "textAlign": "center",
  805. "fontSize": 26,
  806. "fontWeight": "normal",
  807. "color": "#fff"
  808. },
  809. },
  810. }, {
  811. "label": '超链接',
  812. "option": {
  813. "title": "超链接",
  814. "name": "超链接",
  815. "icon": 'icon-link',
  816. "img": '/img/assets/text3.png',
  817. "top": 0,
  818. "left": 0,
  819. "data": {
  820. "value": "超链接"
  821. },
  822. "dataFormatter": "",
  823. "stylesFormatter": "",
  824. "component": {
  825. "width": 100,
  826. "height": 50,
  827. "name": "text",
  828. "prop": "text"
  829. },
  830. "option": {
  831. link: true,
  832. linkHref: 'http://avue.top',
  833. linkTarget: '_self',
  834. "textAlign": "center",
  835. "fontSize": 26,
  836. "fontWeight": "normal",
  837. "color": "#fff"
  838. },
  839. },
  840. }, {
  841. "label": '实时时间',
  842. "option": {
  843. "name": "实时时间",
  844. "title": "实时时间",
  845. "icon": 'icon-datetime',
  846. "img": '/img/assets/datetime.png',
  847. "top": 78,
  848. "left": 1604,
  849. "component": {
  850. "width": 250,
  851. "height": 50,
  852. "name": "datetime",
  853. "prop": "datetime",
  854. },
  855. "option": {
  856. "format": 'yyyy-MM-dd hh:mm:ss',
  857. "color": "#fff",
  858. 'textAlign': 'left',
  859. "fontSize": 24,
  860. "fontWeight": "normal"
  861. }
  862. },
  863. }]
  864. }, {
  865. "label": '媒体',
  866. "icon": 'icon-img',
  867. "children": [{
  868. "label": '图片',
  869. "option": {
  870. "title": "图片",
  871. "name": "图片",
  872. "icon": 'icon-img',
  873. "img": '/img/assets/img.png',
  874. "top": 0,
  875. "left": 0,
  876. "dataType": 0,
  877. "data": {
  878. value: '/img/img-default.png'
  879. },
  880. "dataFormatter": "",
  881. "stylesFormatter": "",
  882. "component": {
  883. "width": 180,
  884. "height": 120,
  885. "name": "img",
  886. "prop": "img",
  887. },
  888. "option": {
  889. duration: '1000',
  890. }
  891. }
  892. }, {
  893. "label": '图片框',
  894. "option": {
  895. "title": "图片框",
  896. "name": "图片框",
  897. "icon": 'icon-img',
  898. "img": '/img/assets/imgborder.png',
  899. "top": 0,
  900. "left": 0,
  901. "dataType": 0,
  902. "data": "/img/border/border1.png",
  903. "component": {
  904. "width": 140,
  905. "height": 140,
  906. "name": "imgborder",
  907. "prop": "imgborder",
  908. },
  909. "option": {
  910. backgroundColor: 'rgba(180, 181, 198, 0.1)',
  911. }
  912. }
  913. }, {
  914. label: '轮播图',
  915. option: {
  916. "title": "轮播图",
  917. "name": "轮播图",
  918. "icon": 'icon-banner',
  919. "img": '/img/assets/swiper.png',
  920. "top": 0,
  921. "left": 0,
  922. "dataType": 1,
  923. "dataMethod": 'get',
  924. "time": 5000,
  925. "url": "/swiper",
  926. "data": [
  927. {
  928. value: 'https://img.alicdn.com/tfs/TB1v28TC8v0gK0jSZKbXXbK2FXa-1880-640.jpg',
  929. }, {
  930. value: 'https://img.alicdn.com/tfs/TB1uevcCrj1gK0jSZFuXXcrHpXa-1880-640.jpg',
  931. }, {
  932. value: 'http://www.w3school.com.cn/i/movie.ogg'
  933. }],
  934. "dataFormatter": "",
  935. "stylesFormatter": "",
  936. "component": {
  937. "width": 670,
  938. "height": 370,
  939. "name": "swiper",
  940. "prop": "swiper"
  941. },
  942. "option": {
  943. type: '',
  944. interval: 5000,
  945. opacity: 100,
  946. indicator: 'none',
  947. autoplay: true,
  948. controls: true,
  949. loop: true
  950. },
  951. }
  952. }, {
  953. label: 'iframe',
  954. option: {
  955. "title": "iframe",
  956. "name": "iframe",
  957. "icon": 'icon-iframe',
  958. "img": '/img/assets/iframe.png',
  959. "top": 0,
  960. "left": 0,
  961. "component": {
  962. "width": 670,
  963. "height": 370,
  964. "option": {},
  965. "name": "iframe",
  966. "prop": "iframe"
  967. },
  968. "dataType": 0,
  969. "data": {
  970. value: 'https://avuejs.com'
  971. },
  972. "dataFormatter": "",
  973. "stylesFormatter": "",
  974. "option": {},
  975. }
  976. }, {
  977. label: 'video播放器',
  978. option: {
  979. "title": "video",
  980. "name": "video",
  981. "icon": 'icon-video',
  982. "img": '/img/assets/video.png',
  983. "top": 0,
  984. "left": 0,
  985. "dataType": 0,
  986. "data": {
  987. value: 'http://www.w3school.com.cn/i/movie.ogg'
  988. },
  989. "option": {
  990. autoplay: true,
  991. controls: true,
  992. loop: true
  993. },
  994. "dataFormatter": "",
  995. "stylesFormatter": "",
  996. "component": {
  997. "width": 670,
  998. "height": 370,
  999. "option": {},
  1000. "name": "video",
  1001. "prop": "video"
  1002. },
  1003. }
  1004. }, {
  1005. label: 'hls播放器',
  1006. option: {
  1007. "title": "hls",
  1008. "name": "hls",
  1009. "icon": 'icon-video',
  1010. "img": '/img/assets/video.png',
  1011. "top": 0,
  1012. "left": 0,
  1013. "dataType": 0,
  1014. "data": {
  1015. value: 'https://open.ys7.com/v3/openlive/E10668433_1_1.m3u8?expire=1664027961&id=363444666731335680&t=346b970f0d5cb5d5b5e4734d966275a61fb9efd5038c7a75b7435423c5716908&ev=100'
  1016. },
  1017. "option": {
  1018. autoplay: true
  1019. },
  1020. "dataFormatter": "",
  1021. "stylesFormatter": "",
  1022. "component": {
  1023. "width": 670,
  1024. "height": 370,
  1025. "option": {},
  1026. "name": "clapper",
  1027. "prop": "clapper"
  1028. },
  1029. }
  1030. }]
  1031. }, {
  1032. "label": '指标',
  1033. "icon": 'icon-flop',
  1034. "children": [{
  1035. "label": '翻牌器',
  1036. "option": {
  1037. "title": "翻牌器",
  1038. "name": "翻牌器",
  1039. "icon": 'icon-flop',
  1040. "img": '/img/assets/flop.png',
  1041. "top": 0,
  1042. "left": 0,
  1043. "dataType": 0,
  1044. "child": {
  1045. "index": [],
  1046. "paramName": ""
  1047. },
  1048. "data": {
  1049. value: '12345'
  1050. },
  1051. "dataFormatter": "",
  1052. "stylesFormatter": "",
  1053. "component": {
  1054. "width": 300,
  1055. "height": 100,
  1056. "name": "flop",
  1057. "prop": "flop",
  1058. },
  1059. "option": {
  1060. "type": "img",
  1061. "suffixText": "",
  1062. "suffixTextAlign": "",
  1063. "suffixSplit": '',
  1064. "suffixColor": "",
  1065. "suffixFontSize": '',
  1066. "borderColor": "#fff",
  1067. "borderWidth": 3,
  1068. "backgroundBorder": "/img/border/border1.png",
  1069. "fontSize": 32,
  1070. "fontWeight": "normal",
  1071. "splitx": 0,
  1072. "splity": 0,
  1073. "backgroundColor": "",
  1074. "color": "#fff"
  1075. },
  1076. }
  1077. }, {
  1078. "label": '颜色块',
  1079. "option": {
  1080. "title": "颜色块",
  1081. "name": "颜色块",
  1082. "icon": 'icon-flop',
  1083. "img": '/img/assets/flop2.png',
  1084. "child": {
  1085. "index": [],
  1086. "paramName": ""
  1087. },
  1088. "top": 0,
  1089. "left": 0,
  1090. "dataType": 0,
  1091. "data": [{
  1092. "backgroundColor": '#67C23A',
  1093. "prefixText": "某某某总人数",
  1094. "value": '12345',
  1095. "suffixText": '人',
  1096. }, {
  1097. "backgroundColor": '#409EFF',
  1098. "prefixText": "某某某总人数",
  1099. "value": '12345',
  1100. "suffixText": '人',
  1101. }, {
  1102. "backgroundColor": '#E6A23C',
  1103. "prefixText": "某某某总人数",
  1104. "value": '12345',
  1105. "suffixText": '人',
  1106. }, {
  1107. "backgroundColor": '#F56C6C',
  1108. "prefixText": "某某某总人数",
  1109. "value": '12345',
  1110. "suffixText": '人',
  1111. }, {
  1112. "backgroundColor": '#7232dd',
  1113. "prefixText": "某某某总人数",
  1114. "value": '12345',
  1115. "suffixText": '人',
  1116. }, {
  1117. "backgroundColor": 'blue',
  1118. "prefixText": "某某某总人数",
  1119. "value": '12345',
  1120. "suffixText": '人',
  1121. }],
  1122. "dataFormatter": "",
  1123. "stylesFormatter": "",
  1124. "component": {
  1125. "width": 888,
  1126. "height": 203,
  1127. "name": "flop",
  1128. "prop": "flop",
  1129. },
  1130. "option": {
  1131. "span": 3,
  1132. "decimals": 2,
  1133. "whole": true,
  1134. "padding": 12,
  1135. "textAlign": 'left',
  1136. "splity": 23,
  1137. "splitx": 17,
  1138. "fontSize": 28,
  1139. "prefixSplity": 4,
  1140. "prefixFontSize": 13,
  1141. "backgroundColor": "#F56C6C",
  1142. "suffixText": '人',
  1143. "suffixInline": true,
  1144. "suffixSplitx": 10,
  1145. "suffixFontSize": 18,
  1146. },
  1147. }
  1148. }, {
  1149. "label": '环形图',
  1150. "option": {
  1151. "title": "环形图",
  1152. "name": "环形图",
  1153. "icon": 'icon-circle',
  1154. "img": '/img/assets/progress.png',
  1155. "top": 0,
  1156. "left": 0,
  1157. "dataType": 0,
  1158. "data": {
  1159. "label": "人数增涨",
  1160. "value": 40,
  1161. "data": 80
  1162. },
  1163. "dataFormatter": "",
  1164. "stylesFormatter": "",
  1165. "component": {
  1166. "width": 300,
  1167. "height": 300,
  1168. "name": "progress",
  1169. "prop": "progress"
  1170. },
  1171. "option": {
  1172. "type": "circle",
  1173. "strokeWidth": 25,
  1174. "color": "rgba(154, 168, 212, 1)",
  1175. "fontSize": 40,
  1176. "fontWeight": "normal",
  1177. "suffixColor": "rgba(154, 168, 212, 1)",
  1178. "suffixFontSize": 40,
  1179. "suffixFontWeight": "normal",
  1180. "borderColor": "#564AA3",
  1181. "split": 20,
  1182. "width": 400,
  1183. "height": 80
  1184. },
  1185. }
  1186. }, {
  1187. "label": '进度条',
  1188. "option": {
  1189. "title": "进度条",
  1190. "name": "进度条",
  1191. "icon": 'icon-progress',
  1192. "img": '/img/assets/progress2.png',
  1193. "top": 0,
  1194. "left": 0,
  1195. "data": {
  1196. "label": "人数增涨",
  1197. "value": 40,
  1198. "data": 80
  1199. },
  1200. "dataFormatter": "",
  1201. "stylesFormatter": "",
  1202. "component": {
  1203. "width": 400,
  1204. "height": 100,
  1205. "name": "progress",
  1206. "prop": "progress"
  1207. },
  1208. "option": {
  1209. "type": "line",
  1210. "color": "#fff",
  1211. "fontSize": 24,
  1212. "suffixColor": "#fff",
  1213. "strokeWidth": 13,
  1214. "fontWeight": "normal",
  1215. "borderColor": "#564AA3"
  1216. },
  1217. }
  1218. }, {
  1219. label: '仪表盘',
  1220. option: {
  1221. "title": "仪表盘",
  1222. "icon": 'icon-gauge',
  1223. "img": '/img/assets/gauge.png',
  1224. "name": "仪表盘",
  1225. "dataType": 1,
  1226. "dataMethod": 'get',
  1227. "time": 5000,
  1228. "url": "/gauge",
  1229. "data": {
  1230. min: 1,
  1231. max: 10,
  1232. label: '名称',
  1233. value: 4,
  1234. unit: '%'
  1235. },
  1236. "dataFormatter": "",
  1237. "stylesFormatter": "",
  1238. "component": {
  1239. "width": 390,
  1240. "height": 314,
  1241. "name": "gauge",
  1242. "prop": "gauge"
  1243. },
  1244. "option": {
  1245. "lineSize": 15,
  1246. "axisLabelShow": false,
  1247. "axisLabelFontSize": 25,
  1248. "nameFontSize": 20,
  1249. "valueFontSize": 30,
  1250. "nameColor": "",
  1251. "lineColor": "#eee",
  1252. "barColor": [
  1253. {
  1254. "color1": "rgba(154, 168, 212, 1)",
  1255. "postion": "0.2",
  1256. },
  1257. {
  1258. "color1": "#23B7E5",
  1259. "postion": "0.8",
  1260. },
  1261. {
  1262. "color1": "#564AA3",
  1263. "postion": "1",
  1264. }
  1265. ]
  1266. },
  1267. },
  1268. }, {
  1269. label: '字符云',
  1270. option: {
  1271. "title": "字符云",
  1272. "name": "字符云",
  1273. "icon": "icon-wordCloud",
  1274. "img": '/img/assets/wordcloud.png',
  1275. "top": 725,
  1276. "left": 3780,
  1277. "dataType": 1,
  1278. "dataMethod": 'get',
  1279. "data": [{
  1280. name: '三星',
  1281. value: '1234'
  1282. }, {
  1283. name: '小米',
  1284. value: '1234'
  1285. }, {
  1286. name: '华为',
  1287. value: '1234'
  1288. }, {
  1289. name: 'oppo',
  1290. value: '1234'
  1291. }, {
  1292. name: '抖音',
  1293. value: '1234'
  1294. }, {
  1295. name: '快手',
  1296. value: '1234'
  1297. }, {
  1298. name: '淘宝',
  1299. value: '1234'
  1300. }, {
  1301. name: '百度',
  1302. value: '1234'
  1303. }, {
  1304. name: '京东',
  1305. value: '1234'
  1306. }, {
  1307. name: '天猫',
  1308. value: '1234'
  1309. }, {
  1310. name: '字符1',
  1311. value: '1234'
  1312. }, {
  1313. name: '字符1',
  1314. value: '1234'
  1315. }],
  1316. "dataFormatter": "",
  1317. "stylesFormatter": "",
  1318. "url": "/wordCloud",
  1319. "time": 5000,
  1320. "component": {
  1321. "name": "wordcloud",
  1322. "prop": "wordcloud",
  1323. "width": 600,
  1324. "height": 300,
  1325. },
  1326. option: {
  1327. minFontSize: 30,
  1328. maxFontSize: 80,
  1329. split: 30,
  1330. rotate: true,
  1331. }
  1332. }
  1333. }]
  1334. }, {
  1335. "label": '表格',
  1336. "icon": 'icon-table',
  1337. "children": [{
  1338. "label": '表格',
  1339. "option": {
  1340. "title": "表格",
  1341. "name": "表格",
  1342. "icon": 'icon-table',
  1343. "img": '/img/assets/table.png',
  1344. "top": 0,
  1345. "left": 0,
  1346. "dataType": 0,
  1347. "data": [{
  1348. "type1": '数据1',
  1349. "type2": '数据1'
  1350. }, {
  1351. "type1": '数据2',
  1352. "type2": '数据2'
  1353. }, {
  1354. "type1": '数据3',
  1355. "type2": '数据3'
  1356. }, {
  1357. "type1": '数据4',
  1358. "type2": '数据4'
  1359. }],
  1360. "dataFormatter": "",
  1361. "stylesFormatter": "",
  1362. "component": {
  1363. "width": 700,
  1364. "height": 350,
  1365. "name": "table",
  1366. "prop": "table",
  1367. },
  1368. "option": {
  1369. "showHeader": true,
  1370. "columnShow": true,
  1371. "columnViews": true,
  1372. "headerBackground": "rgba(8, 90, 111, 0.8)",
  1373. "headerColor": "rgba(154, 168, 212, 1)",
  1374. "headerTextAlign": "center",
  1375. "nthColor": "rgba(14, 86, 241, 0.08)",
  1376. "bodyBackground": "rgba(0, 0, 0, 0.01)",
  1377. "bodyColor": "rgba(154, 168, 212, 1)",
  1378. "bodyTextAlign": "center",
  1379. "align": "center",
  1380. "headerAlign": "center",
  1381. "header": false,
  1382. "scrollSpeed": 1,
  1383. "fontSize": 15,
  1384. "count": 4,
  1385. "index": true,
  1386. "column": [{
  1387. "label": "车牌号",
  1388. "prop": "type1"
  1389. }, {
  1390. "label": "驾驶员",
  1391. "prop": "type2"
  1392. }, {
  1393. "label": "里程",
  1394. "prop": "type3"
  1395. }, {
  1396. "label": "油耗",
  1397. "prop": "type4"
  1398. }],
  1399. }
  1400. }
  1401. }, {
  1402. label: '选项卡',
  1403. option: {
  1404. "title": "选项卡",
  1405. "name": "选项卡",
  1406. "icon": "icon-tabs",
  1407. "img": '/img/assets/tabs.png',
  1408. "child": {
  1409. "index": [],
  1410. "paramName": ""
  1411. },
  1412. "dataFormatter": "",
  1413. "stylesFormatter": "",
  1414. "dataType": 0,
  1415. "data": [
  1416. {
  1417. "label": "选项卡1",
  1418. "value": "1"
  1419. },
  1420. {
  1421. "label": "选项卡2",
  1422. "value": "2"
  1423. }
  1424. ],
  1425. "component": {
  1426. "width": 356,
  1427. "height": 46,
  1428. "name": "tabs",
  1429. "prop": "tabs"
  1430. },
  1431. "option": {
  1432. "type": 'tabs',
  1433. "color": "#eee",
  1434. "empColor": "#4dffff",
  1435. "fontSize": 20,
  1436. "split": 8,
  1437. "empBackgroundImage": "/img/banner/banner5.png",
  1438. "backgroundImage": "/img/banner/banner4.png"
  1439. },
  1440. },
  1441. },]
  1442. }, {
  1443. "label": '边框',
  1444. "icon": 'icon-biankuang',
  1445. "children": [{
  1446. label: '边框1',
  1447. option: {
  1448. "title": "边框1",
  1449. "name": "datav",
  1450. "icon": 'icon-biankuang',
  1451. "img": '/img/assets/borderBox/borderBox_01.gif',
  1452. "top": 0,
  1453. "left": 0,
  1454. "data": {},
  1455. "component": {
  1456. "width": 300,
  1457. "height": 150,
  1458. "name": "borderBox",
  1459. "prop": "borderBox"
  1460. },
  1461. "option": {
  1462. type: 1,
  1463. color1: '#83bff6',
  1464. color2: '#00CED1',
  1465. dur: undefined
  1466. }
  1467. }
  1468. }, {
  1469. label: '边框2',
  1470. option: {
  1471. "title": "边框2",
  1472. "name": "datav",
  1473. "icon": 'icon-biankuang',
  1474. "img": '/img/assets/borderBox/borderBox_02.png',
  1475. "top": 0,
  1476. "left": 0,
  1477. "data": {},
  1478. "component": {
  1479. "width": 300,
  1480. "height": 150,
  1481. "name": "borderBox",
  1482. "prop": "borderBox"
  1483. },
  1484. "option": {
  1485. type: 2,
  1486. color1: '#83bff6',
  1487. color2: '#00CED1',
  1488. dur: undefined
  1489. }
  1490. }
  1491. }, {
  1492. label: '边框3',
  1493. option: {
  1494. "title": "边框3",
  1495. "name": "datav",
  1496. "icon": 'icon-biankuang',
  1497. "img": '/img/assets/borderBox/borderBox_03.png',
  1498. "top": 0,
  1499. "left": 0,
  1500. "data": {},
  1501. "component": {
  1502. "width": 300,
  1503. "height": 150,
  1504. "name": "borderBox",
  1505. "prop": "borderBox"
  1506. },
  1507. "option": {
  1508. type: 3,
  1509. color1: '#83bff6',
  1510. color2: '#00CED1',
  1511. dur: undefined
  1512. }
  1513. }
  1514. }, {
  1515. label: '边框4',
  1516. option: {
  1517. "title": "边框4",
  1518. "name": "datav",
  1519. "icon": 'icon-biankuang',
  1520. "img": '/img/assets/borderBox/borderBox_04.png',
  1521. "top": 0,
  1522. "left": 0,
  1523. "component": {
  1524. "width": 300,
  1525. "height": 150,
  1526. "name": "borderBox",
  1527. "prop": "borderBox"
  1528. },
  1529. "option": {
  1530. type: 4,
  1531. color1: '#83bff6',
  1532. color2: '#00CED1',
  1533. dur: undefined
  1534. }
  1535. }
  1536. }, {
  1537. label: '边框5',
  1538. option: {
  1539. "title": "边框5",
  1540. "name": "datav",
  1541. "icon": 'icon-biankuang',
  1542. "img": '/img/assets/borderBox/borderBox_05.png',
  1543. "top": 0,
  1544. "left": 0,
  1545. "data": {},
  1546. "component": {
  1547. "width": 300,
  1548. "height": 150,
  1549. "name": "borderBox",
  1550. "prop": "borderBox"
  1551. },
  1552. "option": {
  1553. type: 5,
  1554. color1: '#83bff6',
  1555. color2: '#00CED1',
  1556. dur: undefined
  1557. }
  1558. }
  1559. }, {
  1560. label: '边框6',
  1561. option: {
  1562. "title": "边框6",
  1563. "name": "datav",
  1564. "icon": 'icon-biankuang',
  1565. "img": '/img/assets/borderBox/borderBox_06.png',
  1566. "top": 0,
  1567. "left": 0,
  1568. "data": {},
  1569. "component": {
  1570. "width": 300,
  1571. "height": 150,
  1572. "name": "borderBox",
  1573. "prop": "borderBox"
  1574. },
  1575. "option": {
  1576. type: 6,
  1577. color1: '#83bff6',
  1578. color2: '#00CED1',
  1579. dur: undefined
  1580. }
  1581. }
  1582. }, {
  1583. label: '边框7',
  1584. option: {
  1585. "title": "边框7",
  1586. "name": "datav",
  1587. "icon": 'icon-biankuang',
  1588. "img": '/img/assets/borderBox/borderBox_07.png',
  1589. "top": 0,
  1590. "left": 0,
  1591. "data": {},
  1592. "component": {
  1593. "width": 300,
  1594. "height": 150,
  1595. "name": "borderBox",
  1596. "prop": "borderBox"
  1597. },
  1598. "option": {
  1599. type: 7,
  1600. color1: '#83bff6',
  1601. color2: '#00CED1',
  1602. dur: undefined
  1603. }
  1604. }
  1605. }, {
  1606. label: '边框8',
  1607. option: {
  1608. "title": "边框8",
  1609. "name": "datav",
  1610. "icon": 'icon-biankuang',
  1611. "img": '/img/assets/borderBox/borderBox_08.gif',
  1612. "top": 0,
  1613. "left": 0,
  1614. "data": {},
  1615. "component": {
  1616. "width": 300,
  1617. "height": 150,
  1618. "name": "borderBox",
  1619. "prop": "borderBox"
  1620. },
  1621. "option": {
  1622. type: 8,
  1623. color1: '#83bff6',
  1624. color2: '#00CED1',
  1625. dur: undefined
  1626. }
  1627. }
  1628. }, {
  1629. label: '边框9',
  1630. option: {
  1631. "title": "边框9",
  1632. "name": "datav",
  1633. "icon": 'icon-biankuang',
  1634. "img": '/img/assets/borderBox/borderBox_09.png',
  1635. "top": 0,
  1636. "left": 0,
  1637. "data": {},
  1638. "component": {
  1639. "width": 300,
  1640. "height": 150,
  1641. "name": "borderBox",
  1642. "prop": "borderBox"
  1643. },
  1644. "option": {
  1645. type: 9,
  1646. color1: '#83bff6',
  1647. color2: '#00CED1',
  1648. dur: undefined
  1649. }
  1650. }
  1651. }, {
  1652. label: '边框10',
  1653. option: {
  1654. "title": "边框10",
  1655. "name": "datav",
  1656. "icon": 'icon-biankuang',
  1657. "img": '/img/assets/borderBox/borderBox_10.png',
  1658. "top": 0,
  1659. "left": 0,
  1660. "data": {},
  1661. "component": {
  1662. "width": 300,
  1663. "height": 150,
  1664. "name": "borderBox",
  1665. "prop": "borderBox"
  1666. },
  1667. "option": {
  1668. type: 10,
  1669. color1: '#83bff6',
  1670. color2: '#00CED1',
  1671. dur: undefined
  1672. }
  1673. }
  1674. }, {
  1675. label: '边框11',
  1676. option: {
  1677. "title": "边框11",
  1678. "name": "datav",
  1679. "icon": 'icon-biankuang',
  1680. "img": '/img/assets/borderBox/borderBox_11.png',
  1681. "top": 0,
  1682. "left": 0,
  1683. "data": {},
  1684. "component": {
  1685. "width": 300,
  1686. "height": 150,
  1687. "name": "borderBox",
  1688. "prop": "borderBox"
  1689. },
  1690. "option": {
  1691. type: 11,
  1692. color1: '#83bff6',
  1693. color2: '#00CED1',
  1694. dur: undefined
  1695. }
  1696. }
  1697. }, {
  1698. label: '边框12',
  1699. option: {
  1700. "title": "边框12",
  1701. "name": "datav",
  1702. "icon": 'icon-biankuang',
  1703. "img": '/img/assets/borderBox/borderBox_12.png',
  1704. "top": 0,
  1705. "left": 0,
  1706. "data": {},
  1707. "component": {
  1708. "width": 300,
  1709. "height": 150,
  1710. "name": "borderBox",
  1711. "prop": "borderBox"
  1712. },
  1713. "option": {
  1714. type: 12,
  1715. color1: '#83bff6',
  1716. color2: '#00CED1',
  1717. dur: undefined
  1718. }
  1719. }
  1720. }]
  1721. }, {
  1722. "label": 'datav例子',
  1723. "icon": 'icon-datav',
  1724. "children": [
  1725. {
  1726. "label": '滚动排名',
  1727. "option": {
  1728. "name": "滚动排名",
  1729. "title": "滚动排名",
  1730. "icon": "icon-datav",
  1731. "img": '/img/assets/table1.gif',
  1732. "dataType": 0,
  1733. "dataMethod": "get",
  1734. "data": [
  1735. {
  1736. "name": "周口",
  1737. "value": 55
  1738. },
  1739. {
  1740. "name": "南阳",
  1741. "value": 120
  1742. },
  1743. {
  1744. "name": "西峡",
  1745. "value": 78
  1746. },
  1747. {
  1748. "name": "驻马店",
  1749. "value": 66
  1750. },
  1751. {
  1752. "name": "新乡",
  1753. "value": 80
  1754. },
  1755. {
  1756. "name": "信阳",
  1757. "value": 45
  1758. },
  1759. {
  1760. "name": "漯河",
  1761. "value": 29
  1762. }
  1763. ],
  1764. "dataFormatter": "",
  1765. "echartFormatter": "(data)=>{\n return {\n config:{\n\t data: data,\n //carousel: 'page',\n valueFormatter ({ value }) {\n return value+'单位'\n }\n\t }\n }\n}",
  1766. "time": 5000,
  1767. "component": {
  1768. "width": 652.35,
  1769. "height": 248.45,
  1770. "name": "datav",
  1771. "prop": "datav"
  1772. },
  1773. "option": {
  1774. "is": "dv-scroll-ranking-board"
  1775. }
  1776. }
  1777. },
  1778. {
  1779. "label": '胶囊排名',
  1780. "option": {
  1781. "name": "胶囊排名",
  1782. "title": "胶囊排名",
  1783. "icon": "icon-datav",
  1784. "img": '/img/assets/table3.png',
  1785. "dataType": 0,
  1786. "dataMethod": "get",
  1787. "data": [
  1788. {
  1789. "name": "周口",
  1790. "value": 55
  1791. },
  1792. {
  1793. "name": "南阳",
  1794. "value": 120
  1795. },
  1796. {
  1797. "name": "西峡",
  1798. "value": 78
  1799. },
  1800. {
  1801. "name": "驻马店",
  1802. "value": 66
  1803. },
  1804. {
  1805. "name": "新乡",
  1806. "value": 80
  1807. },
  1808. {
  1809. "name": "信阳",
  1810. "value": 45
  1811. },
  1812. {
  1813. "name": "漯河",
  1814. "value": 29
  1815. }
  1816. ],
  1817. "dataFormatter": "",
  1818. "echartFormatter": "(data)=>{\n return {\n config:{\n\t data: data,\n colors: ['#e062ae', '#fb7293', '#e690d1', '#32c5e9', '#96bfff'],\n unit: '单位',\n showValue: true\n\t }\n }\n}",
  1819. "time": 5000,
  1820. "component": {
  1821. "width": 652.35,
  1822. "height": 248.45,
  1823. "name": "datav",
  1824. "prop": "datav"
  1825. },
  1826. "option": {
  1827. "is": "dv-capsule-chart"
  1828. }
  1829. }
  1830. }, {
  1831. label: '水位图',
  1832. option: {
  1833. "name": "水位图",
  1834. "title": "datav",
  1835. "icon": 'icon-datav',
  1836. "img": '/img/assets/datav/datav1.png',
  1837. "dataType": 0,
  1838. "dataMethod": 'get',
  1839. "data": {
  1840. value: 66
  1841. },
  1842. "dataFormatter": "",
  1843. "echartFormatter": "(data)=>{\n return {\n config:{\n\t data: [data.value],\n shape: 'roundRect'\n\t }\n }\n}",
  1844. "time": 5000,
  1845. "component": {
  1846. "width": 150,
  1847. "height": 200,
  1848. "name": "datav",
  1849. "prop": "datav",
  1850. },
  1851. "option": {
  1852. "is": 'dv-water-level-pond'
  1853. }
  1854. }
  1855. }, {
  1856. label: '进度池',
  1857. option: {
  1858. "name": "进度池",
  1859. "title": "datav",
  1860. "icon": 'icon-datav',
  1861. "img": '/img/assets/datav/datav2.png',
  1862. "dataType": 0,
  1863. "dataMethod": 'get',
  1864. "data": {
  1865. value: 66
  1866. },
  1867. "dataFormatter": "",
  1868. "echartFormatter": "(data)=>{\n return {\n config:{\n value: data.value,\n borderWidth: 5,\n borderRadius: 10,\n borderGap: 5,\n lineDash: [10, 2],\n localGradient: true\n }\n }\n}",
  1869. "time": 5000,
  1870. "component": {
  1871. "width": 369,
  1872. "height": 153,
  1873. "name": "datav",
  1874. "prop": "datav",
  1875. },
  1876. "option": {
  1877. "is": 'dv-percent-pond'
  1878. }
  1879. }
  1880. }, {
  1881. label: '锥形柱图',
  1882. option: {
  1883. "name": "锥形柱图",
  1884. "title": "datav",
  1885. "icon": 'icon-datav',
  1886. "img": '/img/assets/datav/datav3.png',
  1887. "dataType": 0,
  1888. "dataMethod": 'get',
  1889. "data": [
  1890. {
  1891. name: '周口',
  1892. value: 55
  1893. },
  1894. {
  1895. name: '南阳',
  1896. value: 120
  1897. },
  1898. {
  1899. name: '西峡',
  1900. value: 71
  1901. },
  1902. {
  1903. name: '驻马店',
  1904. value: 66
  1905. },
  1906. {
  1907. name: '新乡',
  1908. value: 80
  1909. },
  1910. {
  1911. name: '信阳',
  1912. value: 35
  1913. },
  1914. {
  1915. name: '漯河',
  1916. value: 15
  1917. }
  1918. ],
  1919. "dataFormatter": "",
  1920. "echartFormatter": "(data)=>{\n return {\n config:{\n data:data,\n img: [\n '/img/conicalColumnChart/1st.png',\n '/img/conicalColumnChart/2st.png',\n '/img/conicalColumnChart/3st.png',\n '/img/conicalColumnChart/4st.png',\n '/img/conicalColumnChart/5st.png',\n '/img/conicalColumnChart/6st.png',\n '/img/conicalColumnChart/7st.png'\n ],\n showValue: true\n }\n }\n}",
  1921. "time": 5000,
  1922. "component": {
  1923. "width": 549.18,
  1924. "height": 262.98,
  1925. "name": "datav",
  1926. "prop": "datav",
  1927. },
  1928. "option": {
  1929. "is": 'dv-conical-column-chart'
  1930. }
  1931. }
  1932. }, {
  1933. label: '飞线图',
  1934. option: {
  1935. "name": "飞线图",
  1936. "title": "datav",
  1937. "icon": 'icon-datav',
  1938. "img": '/img/assets/datav/datav4.png',
  1939. "dataType": 0,
  1940. "dataMethod": 'get',
  1941. "data": {
  1942. "points": [
  1943. {
  1944. "name": "郑州",
  1945. "coordinate": [
  1946. 0.48,
  1947. 0.35
  1948. ],
  1949. "halo": {
  1950. "show": true
  1951. },
  1952. "icon": {
  1953. "src": "/img/flylineChart/mapCenterPoint.png",
  1954. "width": 30,
  1955. "height": 30
  1956. },
  1957. "text": {
  1958. "show": false
  1959. }
  1960. },
  1961. {
  1962. "name": "新乡",
  1963. "coordinate": [
  1964. 0.52,
  1965. 0.23
  1966. ]
  1967. },
  1968. {
  1969. "name": "焦作",
  1970. "coordinate": [
  1971. 0.43,
  1972. 0.29
  1973. ]
  1974. },
  1975. {
  1976. "name": "开封",
  1977. "coordinate": [
  1978. 0.59,
  1979. 0.35
  1980. ]
  1981. },
  1982. {
  1983. "name": "许昌",
  1984. "coordinate": [
  1985. 0.53,
  1986. 0.47
  1987. ]
  1988. },
  1989. {
  1990. "name": "平顶山",
  1991. "coordinate": [
  1992. 0.45,
  1993. 0.54
  1994. ]
  1995. },
  1996. {
  1997. "name": "洛阳",
  1998. "coordinate": [
  1999. 0.36,
  2000. 0.38
  2001. ]
  2002. },
  2003. {
  2004. "name": "周口",
  2005. "coordinate": [
  2006. 0.62,
  2007. 0.55
  2008. ],
  2009. "halo": {
  2010. "show": true,
  2011. "color": "#8378ea"
  2012. }
  2013. },
  2014. {
  2015. "name": "漯河",
  2016. "coordinate": [
  2017. 0.56,
  2018. 0.56
  2019. ]
  2020. },
  2021. {
  2022. "name": "南阳",
  2023. "coordinate": [
  2024. 0.37,
  2025. 0.66
  2026. ],
  2027. "halo": {
  2028. "show": true,
  2029. "color": "#37a2da"
  2030. }
  2031. },
  2032. {
  2033. "name": "信阳",
  2034. "coordinate": [
  2035. 0.55,
  2036. 0.81
  2037. ]
  2038. },
  2039. {
  2040. "name": "驻马店",
  2041. "coordinate": [
  2042. 0.55,
  2043. 0.67
  2044. ]
  2045. },
  2046. {
  2047. "name": "济源",
  2048. "coordinate": [
  2049. 0.37,
  2050. 0.29
  2051. ]
  2052. },
  2053. {
  2054. "name": "三门峡",
  2055. "coordinate": [
  2056. 0.2,
  2057. 0.36
  2058. ]
  2059. },
  2060. {
  2061. "name": "商丘",
  2062. "coordinate": [
  2063. 0.76,
  2064. 0.41
  2065. ]
  2066. },
  2067. {
  2068. "name": "鹤壁",
  2069. "coordinate": [
  2070. 0.59,
  2071. 0.18
  2072. ]
  2073. },
  2074. {
  2075. "name": "濮阳",
  2076. "coordinate": [
  2077. 0.68,
  2078. 0.17
  2079. ]
  2080. },
  2081. {
  2082. "name": "安阳",
  2083. "coordinate": [
  2084. 0.59,
  2085. 0.1
  2086. ]
  2087. }
  2088. ],
  2089. "lines": [
  2090. {
  2091. "source": "新乡",
  2092. "target": "郑州"
  2093. },
  2094. {
  2095. "source": "焦作",
  2096. "target": "郑州"
  2097. },
  2098. {
  2099. "source": "开封",
  2100. "target": "郑州"
  2101. },
  2102. {
  2103. "source": "周口",
  2104. "target": "郑州",
  2105. "color": "#fb7293",
  2106. "width": 2
  2107. },
  2108. {
  2109. "source": "南阳",
  2110. "target": "郑州",
  2111. "color": "#fb7293",
  2112. "width": 2
  2113. },
  2114. {
  2115. "source": "济源",
  2116. "target": "郑州"
  2117. },
  2118. {
  2119. "source": "三门峡",
  2120. "target": "郑州"
  2121. },
  2122. {
  2123. "source": "商丘",
  2124. "target": "郑州"
  2125. },
  2126. {
  2127. "source": "鹤壁",
  2128. "target": "郑州"
  2129. },
  2130. {
  2131. "source": "濮阳",
  2132. "target": "郑州"
  2133. },
  2134. {
  2135. "source": "安阳",
  2136. "target": "郑州"
  2137. },
  2138. {
  2139. "source": "许昌",
  2140. "target": "南阳",
  2141. "color": "#37a2da"
  2142. },
  2143. {
  2144. "source": "平顶山",
  2145. "target": "南阳",
  2146. "color": "#37a2da"
  2147. },
  2148. {
  2149. "source": "洛阳",
  2150. "target": "南阳",
  2151. "color": "#37a2da"
  2152. },
  2153. {
  2154. "source": "驻马店",
  2155. "target": "周口",
  2156. "color": "#8378ea"
  2157. },
  2158. {
  2159. "source": "信阳",
  2160. "target": "周口",
  2161. "color": "#8378ea"
  2162. },
  2163. {
  2164. "source": "漯河",
  2165. "target": "周口",
  2166. "color": "#8378ea"
  2167. }
  2168. ]
  2169. },
  2170. "lines": [
  2171. {
  2172. "source": "新乡",
  2173. "target": "郑州"
  2174. },
  2175. {
  2176. "source": "焦作",
  2177. "target": "郑州"
  2178. },
  2179. {
  2180. "source": "开封",
  2181. "target": "郑州"
  2182. },
  2183. {
  2184. "source": "周口",
  2185. "target": "郑州",
  2186. "color": "#fb7293",
  2187. "width": 2
  2188. },
  2189. {
  2190. "source": "南阳",
  2191. "target": "郑州",
  2192. "color": "#fb7293",
  2193. "width": 2
  2194. },
  2195. {
  2196. "source": "济源",
  2197. "target": "郑州"
  2198. },
  2199. {
  2200. "source": "三门峡",
  2201. "target": "郑州"
  2202. },
  2203. {
  2204. "source": "商丘",
  2205. "target": "郑州"
  2206. },
  2207. {
  2208. "source": "鹤壁",
  2209. "target": "郑州"
  2210. },
  2211. {
  2212. "source": "濮阳",
  2213. "target": "郑州"
  2214. },
  2215. {
  2216. "source": "安阳",
  2217. "target": "郑州"
  2218. },
  2219. {
  2220. "source": "许昌",
  2221. "target": "南阳",
  2222. "color": "#37a2da"
  2223. },
  2224. {
  2225. "source": "平顶山",
  2226. "target": "南阳",
  2227. "color": "#37a2da"
  2228. },
  2229. {
  2230. "source": "洛阳",
  2231. "target": "南阳",
  2232. "color": "#37a2da"
  2233. },
  2234. {
  2235. "source": "驻马店",
  2236. "target": "周口",
  2237. "color": "#8378ea"
  2238. },
  2239. {
  2240. "source": "信阳",
  2241. "target": "周口",
  2242. "color": "#8378ea"
  2243. },
  2244. {
  2245. "source": "漯河",
  2246. "target": "周口",
  2247. "color": "#8378ea"
  2248. }
  2249. ],
  2250. "dataFormatter": "",
  2251. "echartFormatter": "(data)=>{\n return {\n config:{\n points:data.points,\n lines:data.lines,\n icon: {\n show: true,\n src: '/img/flylineChart/mapPoint.png'\n },\n text: {\n show: true,\n },\n k: 0.5,\n bgImgSrc: '/img/flylineChart/map.jpg'\n }\n }\n}",
  2252. "time": 5000,
  2253. "component": {
  2254. "width": 949.32,
  2255. "height": 515.7,
  2256. "name": "datav",
  2257. "prop": "datav",
  2258. },
  2259. "option": {
  2260. "is": 'dv-flyline-chart-enhanced'
  2261. }
  2262. }
  2263. }, {
  2264. label: '动态环图',
  2265. option: {
  2266. "name": "动态环图",
  2267. "title": "datav",
  2268. "icon": 'icon-datav',
  2269. "img": '/img/assets/datav/datav5.png',
  2270. "dataType": 0,
  2271. "dataMethod": 'get',
  2272. "data": [
  2273. {
  2274. name: '周口',
  2275. value: 55
  2276. },
  2277. {
  2278. name: '南阳',
  2279. value: 120
  2280. },
  2281. {
  2282. name: '西峡',
  2283. value: 78
  2284. },
  2285. {
  2286. name: '驻马店',
  2287. value: 66
  2288. },
  2289. {
  2290. name: '新乡',
  2291. value: 80
  2292. }
  2293. ],
  2294. "dataFormatter": "",
  2295. "echartFormatter": "(data)=>{\n return {\n config:{\n radius: '40%',\n activeRadius: '45%',\n data: data,\n digitalFlopStyle: {\n fontSize: 20\n },\n showOriginValue: true\n }\n }\n}",
  2296. "time": 5000,
  2297. "component": {
  2298. "width": 949.32,
  2299. "height": 515.7,
  2300. "name": "datav",
  2301. "prop": "datav",
  2302. },
  2303. "option": {
  2304. "is": 'dv-active-ring-chart'
  2305. }
  2306. }
  2307. }]
  2308. }, {
  2309. "label": '装饰',
  2310. "icon": 'icon-jianzhuzhuangshi',
  2311. "children": [{
  2312. label: '装饰1',
  2313. option: {
  2314. "title": "装饰1",
  2315. "name": "datav",
  2316. "icon": 'icon-jianzhuzhuangshi',
  2317. "img": '/img/assets/decorate/decorate_01.gif',
  2318. "top": 0,
  2319. "left": 0,
  2320. "data": {},
  2321. "component": {
  2322. "width": 670,
  2323. "height": 370,
  2324. "name": "decoration",
  2325. "prop": "decoration"
  2326. },
  2327. "option": {
  2328. type: 1,
  2329. color1: '#00CED1',
  2330. color2: '#FAD400',
  2331. dur: undefined
  2332. }
  2333. }
  2334. }, {
  2335. label: '装饰2',
  2336. option: {
  2337. "title": "装饰2",
  2338. "name": "datav",
  2339. "icon": 'icon-jianzhuzhuangshi',
  2340. "img": '/img/assets/decorate/decorate_02.gif',
  2341. "top": 0,
  2342. "left": 0,
  2343. "data": {},
  2344. "component": {
  2345. "width": 670,
  2346. "height": 370,
  2347. "name": "decoration",
  2348. "prop": "decoration"
  2349. },
  2350. "option": {
  2351. type: 2,
  2352. color1: '#00CED1',
  2353. color2: '#FAD400',
  2354. dur: undefined
  2355. }
  2356. }
  2357. }, {
  2358. label: '装饰3',
  2359. option: {
  2360. "title": "装饰3",
  2361. "name": "datav",
  2362. "icon": 'icon-jianzhuzhuangshi',
  2363. "img": '/img/assets/decorate/decorate_03.gif',
  2364. "top": 0,
  2365. "left": 0,
  2366. "data": {},
  2367. "component": {
  2368. "width": 670,
  2369. "height": 370,
  2370. "name": "decoration",
  2371. "prop": "decoration"
  2372. },
  2373. "option": {
  2374. type: 3,
  2375. color1: '#00CED1',
  2376. color2: '#FAD400',
  2377. dur: undefined
  2378. }
  2379. }
  2380. }, {
  2381. label: '装饰4',
  2382. option: {
  2383. "title": "装饰4",
  2384. "name": "datav",
  2385. "icon": 'icon-jianzhuzhuangshi',
  2386. "img": '/img/assets/decorate/decorate_04.gif',
  2387. "top": 0,
  2388. "left": 0,
  2389. "data": {},
  2390. "component": {
  2391. "width": 670,
  2392. "height": 370,
  2393. "name": "decoration",
  2394. "prop": "decoration"
  2395. },
  2396. "option": {
  2397. type: 4,
  2398. color1: '#00CED1',
  2399. color2: '#FAD400',
  2400. dur: undefined
  2401. }
  2402. }
  2403. }, {
  2404. label: '装饰5',
  2405. option: {
  2406. "title": "装饰5",
  2407. "name": "datav",
  2408. "icon": 'icon-jianzhuzhuangshi',
  2409. "img": '/img/assets/decorate/decorate_05.png',
  2410. "top": 0,
  2411. "left": 0,
  2412. "data": {},
  2413. "component": {
  2414. "width": 670,
  2415. "height": 370,
  2416. "name": "decoration",
  2417. "prop": "decoration"
  2418. },
  2419. "option": {
  2420. type: 5,
  2421. color1: '#00CED1',
  2422. color2: '#FAD400',
  2423. dur: undefined
  2424. }
  2425. }
  2426. }, {
  2427. label: '装饰6',
  2428. option: {
  2429. "title": "装饰6",
  2430. "name": "datav",
  2431. "icon": 'icon-jianzhuzhuangshi',
  2432. "img": '/img/assets/decorate/decorate_06.gif',
  2433. "top": 0,
  2434. "left": 0,
  2435. "data": {},
  2436. "component": {
  2437. "width": 670,
  2438. "height": 370,
  2439. "name": "decoration",
  2440. "prop": "decoration"
  2441. },
  2442. "option": {
  2443. type: 6,
  2444. color1: '#00CED1',
  2445. color2: '#FAD400',
  2446. dur: undefined
  2447. }
  2448. }
  2449. }, {
  2450. label: '装饰7',
  2451. option: {
  2452. "title": "装饰7",
  2453. "name": "datav",
  2454. "icon": 'icon-jianzhuzhuangshi',
  2455. "img": '/img/assets/decorate/decorate_07.png',
  2456. "top": 0,
  2457. "left": 0,
  2458. "data": {},
  2459. "component": {
  2460. "width": 670,
  2461. "height": 370,
  2462. "name": "decoration",
  2463. "prop": "decoration"
  2464. },
  2465. "option": {
  2466. type: 7,
  2467. color1: '#00CED1',
  2468. color2: '#FAD400',
  2469. dur: undefined
  2470. }
  2471. }
  2472. }, {
  2473. label: '装饰8',
  2474. option: {
  2475. "title": "装饰8",
  2476. "name": "datav",
  2477. "icon": 'icon-jianzhuzhuangshi',
  2478. "img": '/img/assets/decorate/decorate_08.png',
  2479. "top": 0,
  2480. "left": 0,
  2481. "data": {},
  2482. "component": {
  2483. "width": 670,
  2484. "height": 370,
  2485. "name": "decoration",
  2486. "prop": "decoration"
  2487. },
  2488. "option": {
  2489. type: 8,
  2490. color1: '#00CED1',
  2491. color2: '#FAD400',
  2492. dur: undefined
  2493. }
  2494. }
  2495. }, {
  2496. label: '装饰9',
  2497. option: {
  2498. "title": "装饰9",
  2499. "name": "datav",
  2500. "icon": 'icon-jianzhuzhuangshi',
  2501. "img": '/img/assets/decorate/decorate_09.gif',
  2502. "top": 0,
  2503. "left": 0,
  2504. "data": {},
  2505. "component": {
  2506. "width": 440.5,
  2507. "height": 377.65,
  2508. "name": "decoration",
  2509. "prop": "decoration"
  2510. },
  2511. "option": {
  2512. type: 9,
  2513. color1: '#00CED1',
  2514. color2: '#FAD400',
  2515. dur: undefined
  2516. }
  2517. }
  2518. }, {
  2519. label: '装饰10',
  2520. option: {
  2521. "title": "装饰10",
  2522. "name": "datav",
  2523. "icon": 'icon-jianzhuzhuangshi',
  2524. "img": '/img/assets/decorate/decorate_10.png',
  2525. "top": 0,
  2526. "left": 0,
  2527. "data": {},
  2528. "component": {
  2529. "width": 670,
  2530. "height": 370,
  2531. "name": "decoration",
  2532. "prop": "decoration"
  2533. },
  2534. "option": {
  2535. type: 10,
  2536. color1: '#00CED1',
  2537. color2: '#FAD400',
  2538. dur: undefined
  2539. }
  2540. }
  2541. }, {
  2542. label: '装饰11',
  2543. option: {
  2544. "title": "装饰11",
  2545. "name": "datav",
  2546. "icon": 'icon-jianzhuzhuangshi',
  2547. "img": '/img/assets/decorate/decorate_11.png',
  2548. "top": 0,
  2549. "left": 0,
  2550. "data": {},
  2551. "component": {
  2552. "width": 670,
  2553. "height": 370,
  2554. "name": "decoration",
  2555. "prop": "decoration"
  2556. },
  2557. "option": {
  2558. type: 11,
  2559. color1: '#00CED1',
  2560. color2: '#FAD400',
  2561. dur: undefined
  2562. }
  2563. }
  2564. }, {
  2565. label: '装饰12',
  2566. option: {
  2567. "title": "装饰12",
  2568. "name": "datav",
  2569. "icon": 'icon-jianzhuzhuangshi',
  2570. "img": '/img/assets/decorate/decorate_12.gif',
  2571. "top": 0,
  2572. "left": 0,
  2573. "data": {},
  2574. "component": {
  2575. "width": 430,
  2576. "height": 430,
  2577. "name": "decoration",
  2578. "prop": "decoration"
  2579. },
  2580. "option": {
  2581. type: 12,
  2582. color1: '#00CED1',
  2583. color2: '#FAD400',
  2584. dur: undefined
  2585. }
  2586. }
  2587. }]
  2588. }, {
  2589. label: '二次开发',
  2590. icon: 'el-icon-info',
  2591. children: [{
  2592. label: '自定义组件',
  2593. option: {
  2594. "name": "自定义组件",
  2595. "title": "自定义组件",
  2596. "icon": 'icon-bar',
  2597. "img": '/img/assets/text4.png',
  2598. "dataType": 0,
  2599. "data": [],
  2600. "dataFormatter": "",
  2601. "stylesFormatter": "",
  2602. "component": {
  2603. "width": 800,
  2604. "height": 500,
  2605. "name": "test",
  2606. "prop": "test",
  2607. },
  2608. "option": {
  2609. "fontSize": 20,
  2610. }
  2611. }
  2612. }, {
  2613. label: '滚动选项卡',
  2614. option: {
  2615. "name": "滚动选项卡",
  2616. "title": "滚动选项卡",
  2617. "icon": 'icon-bar',
  2618. "img": '/img/assets/text4.png',
  2619. "dataType": 0,
  2620. data: [{
  2621. text: '领导调研',
  2622. list: [
  2623. "https://img.alicdn.com/tfs/TB1v28TC8v0gK0jSZKbXXbK2FXa-1880-640.jpg",
  2624. "https://img.alicdn.com/tfs/TB1uevcCrj1gK0jSZFuXXcrHpXa-1880-640.jpg"
  2625. ]
  2626. }, {
  2627. text: '先进事件',
  2628. list: [
  2629. "https://img.alicdn.com/imgextra/i1/O1CN01NAnI6W1Vf1kZScscd_!!6000000002679-0-tps-2880-1070.jpg",
  2630. "https://img.alicdn.com/imgextra/i2/O1CN011FMQT21RF8u1nHsem_!!6000000002081-0-tps-2880-1070.jpg"
  2631. ]
  2632. }],
  2633. "dataFormatter": "",
  2634. "stylesFormatter": "",
  2635. "component": {
  2636. "width": 800,
  2637. "height": 400,
  2638. "name": "imgTabs",
  2639. "prop": "imgTabs",
  2640. },
  2641. "option": {
  2642. direction: 'horizontal',
  2643. interval: 3000,
  2644. time: 5000,
  2645. autoplay: true
  2646. }
  2647. }
  2648. }, {
  2649. label: '滚动列表',
  2650. option: {
  2651. "name": "滚动列表",
  2652. "title": "滚动列表",
  2653. "icon": 'icon-bar',
  2654. "img": '/img/assets/text4.png',
  2655. "dataType": 0,
  2656. "data": [
  2657. {
  2658. "name": "smallwei",
  2659. "time": "11:26",
  2660. "color": "#7c324c",
  2661. "date": "2022-05-22",
  2662. "dept": "设计部",
  2663. "img": "https://oss.bladex.vip/caster/upload/20220522/6f2a92d95b64efeb42c131489abaff2f.webp"
  2664. },
  2665. {
  2666. "name": "smallwei",
  2667. "time": "11:26",
  2668. "color": "#6b6230",
  2669. "date": "2022-05-22",
  2670. "dept": "设计部",
  2671. "img": "https://oss.bladex.vip/caster/upload/20220522/6f2a92d95b64efeb42c131489abaff2f.webp"
  2672. },
  2673. {
  2674. "name": "smallwei",
  2675. "time": "11:26",
  2676. "date": "2022-05-22",
  2677. "color": "#274d86",
  2678. "dept": "设计部",
  2679. "img": "https://oss.bladex.vip/caster/upload/20220522/6f2a92d95b64efeb42c131489abaff2f.webp"
  2680. }
  2681. ],
  2682. "dataFormatter": "",
  2683. "stylesFormatter": "",
  2684. "component": {
  2685. "width": 800,
  2686. "height": 500,
  2687. "name": "imgList",
  2688. "prop": "imgList",
  2689. },
  2690. "option": {
  2691. step: 1,
  2692. direction: 1,
  2693. hoverStop: true,
  2694. }
  2695. }
  2696. }]
  2697. }]
  2698. }