提交 72141cf4 编写于 作者: M mehaotian

update: uni-collapse 函数错误拼写

上级 a7ce5d01
...@@ -56,15 +56,15 @@ ...@@ -56,15 +56,15 @@
// this.openCollapse(this.open) // this.openCollapse(this.open)
}, },
methods: { methods: {
// 开启或关闭折叠面板 // 开启或关闭折叠面板
openCollapse(open: boolean) { openCollapse(open: boolean) {
if (this.disabled) return if (this.disabled) return
// 关闭其他已打开 // 关闭其他已打开
$dispatch(this, 'UniCollapse', 'cloceAll') $dispatch(this, 'UniCollapse', 'cloceAll')
this.is_open = open this.is_open = open
this.oepnOrClose(open) this.openOrClose(open)
}, },
oepnOrClose(open: boolean) { openOrClose(open: boolean) {
const boxNode = this.boxNode?.style!; const boxNode = this.boxNode?.style!;
const contentNode = this.contentNode?.style!; const contentNode = this.contentNode?.style!;
let hide = open ? 'flex' : 'none'; let hide = open ? 'flex' : 'none';
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
background-color: #fff; background-color: #fff;
} }
.down_arrow { .down_arrow {
width: 8px; width: 8px;
...@@ -115,12 +115,12 @@ ...@@ -115,12 +115,12 @@
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
} }
.open--active { .open--active {
/* background-color: #f0f0f0; */ /* background-color: #f0f0f0; */
color: #bbb; color: #bbb;
} }
.is-disabled { .is-disabled {
color: #999; color: #999;
} }
...@@ -137,4 +137,4 @@ ...@@ -137,4 +137,4 @@
transform: translateY(-100%); transform: translateY(-100%);
opacity: 0; opacity: 0;
} }
</style> </style>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册