Skip to content
On this page

天气卡片 文档

安装

javascript
import { createApp } from 'vue';
import { IIWeather } from 'xm-components';

const app = createApp();
app.use(IWeather);

基础用法

带图标用法

简单用法

图表属性

属性说明类型接收值默认值
userId用户IDnumber--
secret用户密钥string--
width卡片宽度string--
background卡片背景string--
icon图标string--