diff --git a/uni_modules/like-button/changelog.md b/uni_modules/like-button/changelog.md deleted file mode 100644 index 68db9069..00000000 --- a/uni_modules/like-button/changelog.md +++ /dev/null @@ -1,2 +0,0 @@ -## 1.2.1(2023-07-25) -更新节流函数不执行导致DOM不会逐渐消失问题 diff --git a/uni_modules/like-button/components/like-button/like-button.vue b/uni_modules/like-button/components/like-button/like-button.vue deleted file mode 100644 index dc999b3d..00000000 --- a/uni_modules/like-button/components/like-button/like-button.vue +++ /dev/null @@ -1,245 +0,0 @@ - - - - - diff --git a/uni_modules/like-button/package.json b/uni_modules/like-button/package.json deleted file mode 100644 index cb7615b1..00000000 --- a/uni_modules/like-button/package.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "id": "like-button", - "displayName": "点赞冒泡效果 like-button", - "version": "1.2.1", - "description": "uni-app 点赞冒泡效果,兼容nvue。", - "keywords": [ - "like-button", - "点赞", - "冒泡" -], - "repository": "https://github.com/lnice/like-button", - "engines": { - "HBuilderX": "^3.1.0" - }, -"dcloudext": { - "sale": { - "regular": { - "price": "0.00" - }, - "sourcecode": { - "price": "0.00" - } - }, - "contact": { - "qq": "" - }, - "declaration": { - "ads": "无", - "data": "无", - "permissions": "无" - }, - "npmurl": "", - "type": "component-vue" - }, - "uni_modules": { - "dependencies": [], - "encrypt": [], - "platforms": { - "cloud": { - "tcb": "y", - "aliyun": "y" - }, - "client": { - "App": { - "app-vue": "y", - "app-nvue": "y" - }, - "H5-mobile": { - "Safari": "u", - "Android Browser": "u", - "微信浏览器(Android)": "u", - "QQ浏览器(Android)": "u" - }, - "H5-pc": { - "Chrome": "u", - "IE": "u", - "Edge": "u", - "Firefox": "u", - "Safari": "u" - }, - "小程序": { - "微信": "y", - "阿里": "u", - "百度": "u", - "字节跳动": "u", - "QQ": "u" - }, - "快应用": { - "华为": "u", - "联盟": "u" - } - } - } - } -} \ No newline at end of file diff --git a/uni_modules/like-button/readme.md b/uni_modules/like-button/readme.md deleted file mode 100644 index 92be892b..00000000 --- a/uni_modules/like-button/readme.md +++ /dev/null @@ -1,41 +0,0 @@ -# like-button - -#### 使用方法: -在 **script** 中引用组件 -```javascript -import likeButton from '@/components/like-button/like-button.vue' -export default { - components: {likeButton} -} -``` -在 **template** 中引用组件 -```javascript - -``` -#### 属性说明 - -| 属性名 | 类型 | 默认值 | 说明 | -| ------------ | ------------ | ------------ | ------------ | -| src | String | /static/logo.png | 点击按钮图片 | -| showImgs | Array | ['//xxx', '/static/logo.png', ] | 冒泡图片 | -| duration | Number | 5000 | 动画效果时间 | -| range | Number | 50 | 冒泡图片x轴摇摆幅度 | -| high | Number | 360 | 冒泡图片y轴飘出高度 | -| width | Number | 52 | 点赞图标宽度 | -| height | Number | 52 | 点赞图标高度 | -| imgWidth | Number | 52 | 冒泡图标宽度 | -| imgHeight | Number | 52 | 冒泡图标高度 | -| throttle | Number | 200 | 点击按钮 节流 | -| site | Array,Object | [30, 160] | 冒泡图片相对窗口x y坐标 | -| large | Number,Boolean | false | 缩放冒泡,为true默认放大2 | -| alone | Boolean | true | 1.0.9-新增, DOM元素逐渐消失 | -#### 事件说明 -| 事件名称 | 说明 | 返回值 | -| ------------ | ------------ | ------------ | -| handleClick | 点击按钮触发事件 | 冒泡元素id | -| finished | 动画执行完成回调 | - | - -PS:使用定时器触发可用 this.$refs.likeButton.handleClick({timeStamp: Date.now()})。 - ---- -### End \ No newline at end of file