Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mt-education-mobile
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
王旭
mt-education-mobile
Commits
835714ca
Commit
835714ca
authored
May 13, 2020
by
yun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改在线考试居中对齐
parent
29e36069
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
Coursediscuss.vue
src/components/CourseDiscuss/Coursediscuss.vue
+8
-1
DiscusssingleReply.vue
src/components/CourseDiscuss/DiscusssingleReply.vue
+7
-1
No files found.
src/components/CourseDiscuss/Coursediscuss.vue
View file @
835714ca
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
</div>
</div>
</div>
</div>
<div
<div
@
click=
"ReplyShow(i, singleDiscuss.studentName)"
@
click=
"
discussContent
ReplyShow(i, singleDiscuss.studentName)"
class=
"discuss-content"
class=
"discuss-content"
v-html=
"singleDiscuss.content.replace(/ /g,' ').replace(formatAscal,'
<br/>
')"
v-html=
"singleDiscuss.content.replace(/ /g,' ').replace(formatAscal,'
<br/>
')"
/>
/>
...
@@ -177,6 +177,13 @@ export default {
...
@@ -177,6 +177,13 @@ export default {
this
.
saveDiscussIndex
=
index
this
.
saveDiscussIndex
=
index
this
.
$emit
(
'ReplyParentInputShow'
,
1
,
replyName
)
this
.
$emit
(
'ReplyParentInputShow'
,
1
,
replyName
)
},
},
// 回复评论
discussContentReplyShow
(
index
,
replyName
)
{
document
.
getElementById
(
'discussInput'
).
focus
()
setTimeout
(()
=>
{
this
.
ReplyShow
(
index
,
replyName
)
},
500
)
},
// 发表一层楼的评论 有头像的最外层
// 发表一层楼的评论 有头像的最外层
sendMyDiscuss
()
{
sendMyDiscuss
()
{
this
.
$emit
(
'loadingShow'
)
this
.
$emit
(
'loadingShow'
)
...
...
src/components/CourseDiscuss/DiscusssingleReply.vue
View file @
835714ca
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
</div>
</div>
<div
<div
class=
"reply-con"
class=
"reply-con"
@
click=
"
s
endReplyEmit"
@
click=
"
replyConS
endReplyEmit"
v-html=
"(replyData.replyToId === '' ? '':replyData.studentName + ':回复@'+replyData.replyToName+':')+replyData.content.replace(/ /g,' ').replace(formatAscal, '
<br/>
')"
v-html=
"(replyData.replyToId === '' ? '':replyData.studentName + ':回复@'+replyData.replyToName+':')+replyData.content.replace(/ /g,' ').replace(formatAscal, '
<br/>
')"
>
>
<!--
{{}}
<span
style=
"color: #4098f0"
v-if=
"replyData.replyToId !== '' "
>
@
{{
replyData
.
replyToName
}}
</span>
{{
replyData
.
content
.
replace
(
/ /g
,
' '
).
replace
(
/
\n
/g
,
'<br>'
)
}}
-->
<!--
{{}}
<span
style=
"color: #4098f0"
v-if=
"replyData.replyToId !== '' "
>
@
{{
replyData
.
replyToName
}}
</span>
{{
replyData
.
content
.
replace
(
/ /g
,
' '
).
replace
(
/
\n
/g
,
'<br>'
)
}}
-->
...
@@ -102,6 +102,12 @@ export default {
...
@@ -102,6 +102,12 @@ export default {
},
300
)
},
300
)
}
}
},
},
replyConSendReplyEmit
()
{
document
.
getElementById
(
'discussInput'
).
focus
()
setTimeout
(()
=>
{
this
.
sendReplyEmit
()
},
300
)
},
sendReplyEmit
()
{
sendReplyEmit
()
{
this
.
$emit
(
'ReplyInputShow'
,
this
.
discussIndex
,
this
.
replyIndex
,
this
.
replyData
.
businessId
,
this
.
replyData
.
studentName
)
this
.
$emit
(
'ReplyInputShow'
,
this
.
discussIndex
,
this
.
replyIndex
,
this
.
replyData
.
businessId
,
this
.
replyData
.
studentName
)
},
},
...
...
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