@xsyx/hanzo-brand-box
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -19,2 +19,5 @@ // components/brand-box/index.js | ||
value: 155 | ||
}, | ||
extraData: { | ||
type: Object | ||
} | ||
@@ -34,4 +37,6 @@ }, | ||
methods: { | ||
handleClick() { | ||
this.triggerEvent("liveclick", this.data.extraData || {}); | ||
} | ||
} | ||
}) |
{ | ||
"name": "@xsyx/hanzo-brand-box", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "面板盒子", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
### 面板组件组件 | ||
### changelog | ||
#### v0.1.3 | ||
- 直播图片增加点击事件, 增加 extraData ,用于点击的额外参数 | ||
#### v0.1.2 | ||
- 新增 top 属性,可设置高度 | ||
#### v0.1.1 | ||
- 首页改版,样式修改 | ||
#### v0.1.0 | ||
- 组件初始化 | ||
@@ -28,8 +28,10 @@ | ||
| top | 图片高度 | String | - | 0.1.2 | | ||
| extraData | 额外的数据 | Object | - | 0.1.3 | | ||
#### 事件 event | ||
| 名称 | 参数 | 说明 | 备注 | | ||
| :-----------: |:-------------:| :-------------------:| :---------------| | ||
|- | - | - | - | | ||
|liveclick | extraData | 点击事件 | - | | ||
#### 插槽 slot |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3526
40
37