1.0.4 • Published 2 years ago

cleverlin-third v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

cleverlin-third

fb-docs 使用的时候 注意给docs使用 true fb 前端框架的第三方组件库, 包含ECharts\ BMap\ Tianditu\ AMap\ SuperMap超图等组件.

导入方式

const fbThird = require('cleverlin-third');

// or

import fbThird from "cleverlin-third"


new Application({
	projectConfig: projectConfig,
	use: {
		Vue,
		VueRouter,
		Vuex,
		FbUI,
		FbThird: {
            plugin: FbThird,
            options: {
                echarts: {
                    theme: {
                        defaultUse: 'test', // 主题默认选项
                        // 主题后追加 选项 可追加多个
                        // key 为主题名称  
                        // value 为echarts配置json数据
                        registers: {
                            test: { 
                                "color": [
                                    "#d87c7c",
                                    "#919e8b",
                                    "#d7ab82",
                                    "#6e7074",
                                    "#61a0a8",
                                    "#efa18d",
                                    "#787464",
                                    "#cc7e63",
                                    "#724e58",
                                    "#4b565b"
                                ],
                                "backgroundColor": "rgba(254,248,239,1)",
                                "textStyle": {},
                            }
                        }
                    },
                },
                tdt: {
                	v: '4.0',
                	tk: "7f013d0186775b063d6a046977bbefc6",
                	// plugins: ["CarTrack"]
                },
                swiper: {},
            },
        },
	},
}).start(()=>{

})


//

使用

应用本组件库后