Skip to content

Commit

Permalink
Merge pull request #27 from liub1934/dev
Browse files Browse the repository at this point in the history
修复nvue动画问题
  • Loading branch information
liub1934 authored Mar 22, 2021
2 parents b1d0381 + a5f1e98 commit 0df55b3
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.DS_Store
node_modules
/unpackage
/.hbuilderx

# local env files
.env.local
Expand Down
8 changes: 6 additions & 2 deletions components/lb-picker/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,9 @@ export default {
this.visible = true
setTimeout(() => {
this.maskBgColor = this.maskColor
this.containerVisible = true
// #ifndef APP-NVUE
this.containerVisible = true
// #endif
// #ifdef APP-NVUE
this.wxAnimation(0)
// #endif
Expand All @@ -366,7 +368,9 @@ export default {
hide () {
if (this.inline) return
this.maskBgColor = defaultMaskBgColor
this.containerVisible = false
// #ifndef APP-NVUE
this.containerVisible = false
// #endif
// #ifdef APP-NVUE
this.wxAnimation('100%')
// #endif
Expand Down
13 changes: 13 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"compilerOptions": {
"target": "es2015",
"module": "esnext",
"baseUrl": "./",
"paths": {
"@/*": ["./*"]
}
},
"include": [
"./**/*"
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uni-lb-picker",
"version": "1.1.10",
"version": "1.2.0",
"description": "uniapp picker选择器,可自定义,扩展性高,支持单选、理论任意级数多级联动、非联动及日期选择。",
"main": "components/lb-picker/index.vue",
"scripts": {
Expand Down

0 comments on commit 0df55b3

Please sign in to comment.