Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust_web
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
张伯涛
cust_web
Commits
ede08ef3
Commit
ede08ef3
authored
Jan 14, 2025
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了bug
parent
b1e37d5b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
index.vue
src/views/operationsManagement/article/index.vue
+13
-5
No files found.
src/views/operationsManagement/article/index.vue
View file @
ede08ef3
...
...
@@ -144,7 +144,7 @@
<div
style=
"font-size: 15px;padding-left: 20px;padding-bottom: 20px;padding-top: 10px"
class=
"content"
>
{{ form.content }}
</div>
</el-col>
<el-row
:gutter=
"20"
>
<el-col
v-for=
"(imagePath, index) in form.
path
"
:key=
"index"
:span=
"7"
>
<el-col
v-for=
"(imagePath, index) in form.
url
"
:key=
"index"
:span=
"7"
>
<div
style=
"padding-left: 20px;padding-bottom: 20px"
>
<img
:src=
"imagePath"
alt=
"Avatar"
class=
"avatar"
>
</div>
...
...
@@ -159,11 +159,11 @@
</el-row>
<div
class=
"commentsSection"
>
<h3>
评论
</h3>
<ul
v-if=
"form.
comments
"
class=
"commentTree"
>
<li
v-for=
"(comment, index) in form.
comments
"
:key=
"index"
class=
"commentItem"
>
<ul
v-if=
"form.
articleCommentVOList
"
class=
"commentTree"
>
<li
v-for=
"(comment, index) in form.
articleCommentVOList
"
:key=
"index"
class=
"commentItem"
>
<div
style=
"display: flex; justify-content: space-between; align-items: center;"
class=
"commentHeader"
>
<div
style=
"display: flex; align-items: center;padding-bottom: 10px"
>
<img
:src=
"comment.
path
"
alt=
"Avatar"
class=
"avatar"
>
<img
:src=
"comment.
avatarUrl
"
alt=
"Avatar"
class=
"avatar"
>
<div
style=
"padding-left: 10px;"
>
<strong>
{{ comment.memCode }}:
</strong>
<span
style=
"padding-left: 10px"
>
{{ comment.content }}
</span>
...
...
@@ -175,7 +175,7 @@
<li
v-for=
"(reply, replyIndex) in comment.children"
:key=
"replyIndex"
class=
"replyItem"
>
<div
style=
"display: flex; justify-content: space-between; align-items: center;"
class=
"commentHeader"
>
<div
style=
"display: flex; align-items: center;"
>
<img
:src=
"reply.
path
"
alt=
"Avatar"
class=
"avatar"
>
<img
:src=
"reply.
avatarUrl
"
alt=
"Avatar"
class=
"avatar"
>
<div
style=
"padding-left: 10px;"
>
<strong>
{{ reply.memCode }}:
</strong>
<span
style=
"padding-left: 10px"
>
{{ reply.content }}
</span>
...
...
@@ -361,6 +361,10 @@ export default {
const
id
=
row
.
businessId
getOpmArticle
(
id
).
then
(
response
=>
{
this
.
form
=
response
.
data
// 处理图片url 将url按逗号分隔成数组
if
(
this
.
form
.
url
!=
null
&&
this
.
form
.
url
!==
''
)
{
this
.
form
.
url
=
this
.
form
.
url
.
split
(
','
)
}
this
.
title
=
this
.
form
.
memCode
this
.
open
=
true
this
.
isEdit
=
false
...
...
@@ -373,6 +377,10 @@ export default {
const
id
=
row
.
businessId
getOpmArticle
(
id
).
then
(
response
=>
{
this
.
form
=
response
.
data
// 处理图片url 将url按逗号分隔成数组
if
(
this
.
form
.
url
!=
null
&&
this
.
form
.
url
!==
''
)
{
this
.
form
.
url
=
this
.
form
.
url
.
split
(
','
)
}
this
.
title
=
this
.
form
.
memCode
this
.
open
=
true
this
.
isEdit
=
true
...
...
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