This repository has been archived by the owner on Jan 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #172 from Lzumikonata/textarea
fix(collapse): add model & update style
- Loading branch information
Showing
7 changed files
with
93 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<template lang="pug"> | ||
zi-collapse(v-model="value" accordion) | ||
zi-collapse-item(title="Quantum Mechanics" shadow) | ||
p Quantum mechanics is the theory of describing micro | ||
|matter, and together with relativity, it is regarded | ||
|as the two basic pillars of modern physics. | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'ex-collapse-shadow', | ||
data: () => ({ | ||
value: '', | ||
}), | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<template lang="pug"> | ||
zi-collapse(v-model="value") | ||
zi-collapse-item(title="Quantum Mechanics" subtitle="More description about <b>Quantum Mechanics</b>") | ||
p Quantum mechanics is the theory of describing micro | ||
|matter, and together with relativity, it is regarded | ||
|as the two basic pillars of modern physics. | ||
zi-collapse-item(title="Classical Mechanics" subtitle="More description about Classical Mechanics") | ||
p The general term of mechanics before the emergence | ||
|of quantum mechanics. It studies the laws of motion | ||
|of macro objects, including classical theory and | ||
|special relativity based on Newton's laws of motion. | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'ex-collapse-subtitle', | ||
data: () => ({ | ||
value: '', | ||
}), | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters