Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
398637c4
Commit
398637c4
authored
Nov 01, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
dba268ab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
contributeManage.vue
src/pages/teacher/contribution/contributeManage.vue
+6
-5
imageTextlist.vue
src/pages/teacher/contribution/imageTextlist.vue
+6
-5
No files found.
src/pages/teacher/contribution/contributeManage.vue
View file @
398637c4
...
...
@@ -43,11 +43,12 @@
<
template
v-slot:body-cell-Title=
"props"
>
<q-td
:props=
"props"
>
<span>
{{
props
.
row
.
Title
}}
</span>
<div
style=
"width: 200px;overflow: hidden ;
display: -webkit-box ;
-webkit-line-clamp: 2 ;
-webkit-box-orient: vertical ;
word-break: break-all ;"
v-if=
"props.row.Type==2"
v-html=
"props.row.Description"
></div>
<div
style=
"width: 200px;overflow: hidden ;max-height: 78px;display: inline-block;white-space:pre-wrap"
v-if=
"props.row.Type==2"
v-html=
"props.row.Description"
></div>
<div
v-if=
"props.row.Type==5"
style=
"width: 200px;overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical; white-space:pre-wrap"
>
{{
props
.
row
.
Description
}}
</div>
</q-td>
</
template
>
<
template
v-slot:body-cell-optioned=
"props"
>
...
...
src/pages/teacher/contribution/imageTextlist.vue
View file @
398637c4
...
...
@@ -48,11 +48,12 @@
<
template
v-slot:body-cell-Title=
"props"
>
<q-td
:props=
"props"
>
<span>
{{
props
.
row
.
Title
}}
</span>
<div
style=
"width: 200px;overflow: hidden ;
display: -webkit-box ;
-webkit-line-clamp: 2 ;
-webkit-box-orient: vertical ;
word-break: break-all ;"
v-if=
"props.row.Type==2"
v-html=
"props.row.Description"
></div>
<div
style=
"width: 200px;overflow: hidden ;max-height: 78px;display: inline-block;white-space:pre-wrap"
v-if=
"props.row.Type==2"
v-html=
"props.row.Description"
></div>
<div
v-if=
"props.row.Type==5"
style=
"width: 200px;overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical; white-space:pre-wrap"
>
{{
props
.
row
.
Description
}}
</div>
</q-td>
</
template
>
<
template
v-slot:body-cell-optioned=
"props"
>
...
...
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