0.0.1 • Published 8 months ago

yuisoline v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

风场组件0.01版本

使用方式

npm install Wind
import Wind from 'Wind'
<Wind :current="配置"></Wind> 配置看下面使用配置中的(2)

使用配置

(1)在vuex中配置 state: { // 请求的时间 requestDate: null, // hpa气压 hpaqiya: [], // 模式对比 moshilist: [], // 要素对比 yaoshulist: [] } (2)组件中要传入参数 { "name": "风", // 名字 "title": "风", // 注释 "id": "FORE-WIN", // id "type": "Wind", // 类型 "hpa": 50000, // 气压 "url": "/meteo/#pattern/#datatime/#WIN/#pattern#datatime#WIN_#time_50000_4326", // 数据地址 必传 "icon": "left_feng", // 图标 "Opacity": 0.6, // 透明度 "gridSplit": 6, "showHide": true, "radio": 2, "zIndex": 20 },

0.0.1

8 months ago