Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
study
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Damon
study
Commits
7059c899
Commit
7059c899
authored
Jul 07, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: 答案解释组件文档更新
parent
2f7f9c8e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
14 deletions
+5
-14
readme.md
src/components/answer-explanation/readme.md
+5
-7
index.vue
src/pages/index/index.vue
+0
-7
No files found.
src/components/answer-explanation/readme.md
View file @
7059c899
##
错题
解释
##
答案
解释
## API
...
...
@@ -14,16 +14,14 @@
### 基础用法
```
html
<
wrong-explanation
answer=
"A"
explain=
"无"
></wrong
-explanation>
<
answer-explanation
answer=
"A"
explain=
"无"
></answer
-explanation>
```
```
javascript
import
wrongExplanation
from
'@/components/wrong
-explanation/index.vue'
import
answerExplanation
from
'@/components/answer
-explanation/index.vue'
export
default
{
components
:
{
answerSheet
,
},
data
()
{},
methods
:
{},
answerExplanation
,
}
}
```
src/pages/index/index.vue
View file @
7059c899
...
...
@@ -4,18 +4,11 @@
<view>
<text
class=
"title"
>
{{
title
}}
</text>
</view>
<view
style=
"margin-top: 200rpx; width: 100%;"
>
<answer-explanation
answer=
"A"
explain=
"无"
></answer-explanation>
</view>
</view>
</
template
>
<
script
>
import
answerExplanation
from
'@/components/answer-explanation/index.vue'
export
default
{
components
:
{
answerExplanation
},
data
()
{
return
{
title
:
'Hello'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment