Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-discover
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2e7247a9
authored
Mar 03, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
c6cacc89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
src/views/channel/add.vue
src/views/channel/add.vue
View file @
2e7247a
...
...
@@ -5,7 +5,7 @@
<div
class=
"channel-content gl-form-page"
>
<el-form
ref=
"ruleForm"
:model=
"channelForm"
label-width=
"154px"
size=
"small"
:rules=
"rules"
>
<el-form-item
label=
"频道名称:"
prop=
"channelName"
>
<el-input
v-model=
"channelForm.channelName"
maxlength=
"4"
></el-input>
<el-input
v-model=
"channelForm.channelName"
></el-input>
</el-form-item>
<span
v-if=
"channelForm.channelType == 1"
>
<el-form-item
label=
"频道主题:"
prop=
"channelStyle"
>
...
...
@@ -23,7 +23,7 @@
</div>
</el-form-item>
</span>
<el-form-item
label=
"频道banner:"
prop=
"channelImg"
style=
"margin-top:
15px;
"
>
<el-form-item
label=
"频道banner:"
prop=
"channelImg"
style=
"margin-top:
15px
"
>
<glsx-preview
:picOptions=
"picOptions"
:imageUrlArr=
"channelForm.channelImgArr"
@
change=
"changeChannelImg"
></glsx-preview>
<div
class=
"el-form-item__error"
v-if=
"channelImgFlag"
>
请上传频道banner
</div>
</el-form-item>
...
...
@@ -115,7 +115,7 @@ export default {
this
.
channelForm
.
channelImg
=
this
.
commonImg
(
this
.
channelImgbgArr
[
this
.
channelForm
.
channelStyle
-
1
])
}
else
{
this
.
channelForm
.
channelImgArr
=
[
this
.
commonImg
(
this
.
channelOtherImgbgArr
[
this
.
channelForm
.
channelType
-
2
])]
this
.
channelForm
.
channelImg
=
this
.
commonImg
(
this
.
channelOtherImgbgArr
[
this
.
channelForm
.
channelType
-
2
])
this
.
channelForm
.
channelImg
=
this
.
commonImg
(
this
.
channelOtherImgbgArr
[
this
.
channelForm
.
channelType
-
2
])
}
},
getChannelDetail
()
{
...
...
@@ -128,7 +128,7 @@ export default {
this
.
channelForm
.
posterImgArr
.
push
(
res
.
data
.
posterImg
)
//海报
this
.
channelForm
.
publicityImgArr
.
push
(
res
.
data
.
publicityImg
)
//频道分享预览图
this
.
channelForm
.
channelImgArr
.
push
(
res
.
data
.
channelImg
)
//频道banner
if
(
!
res
.
data
.
channelImg
)
this
.
diffChannelStyle
()
if
(
!
res
.
data
.
channelImg
)
this
.
diffChannelStyle
()
}
})
},
...
...
@@ -254,4 +254,4 @@ export default {
margin-top
:
15px
;
}
}
</
style
>
\ No newline at end of file
</
style
>
Write
Preview
Markdown
is supported
Attach a file
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 post a comment