Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-admin
Overview
Overview
Details
Activity
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
吴迪
gs1-admin
Commits
4fce9f22
Commit
4fce9f22
authored
Sep 12, 2024
by
田爽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
视频管理复制标题
parent
a5424937
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
newsmovie-add-or-update.vue
src/views/modules/info/newsmovie-add-or-update.vue
+13
-8
No files found.
src/views/modules/info/newsmovie-add-or-update.vue
View file @
4fce9f22
<
template
>
<el-dialog
:title=
"!dataForm.id ? '新增' : this.showInfo?'详情':'修改'"
:title=
"!dataForm.id ? '新增' : this.showInfo?'详情':'修改'"
:close-on-click-modal=
"false"
v-loading=
"loading"
v-loading=
"loading"
element-loading-text=
"正在加载数据"
:visible
.
sync=
"visible"
>
<el-form
:model=
"dataForm"
:rules=
"dataRule"
ref=
"dataForm"
@
keyup
.
enter
.
native=
"dataFormSubmit()"
label-width=
"130px"
>
<el-form-item
label=
"原始标题"
prop=
"titleOld"
>
<el-input
v-model=
"dataForm.titleOld"
placeholder=
"请输入原始标题"
v-show=
"!showInfo"
></el-input>
<el-input
v-model=
"dataForm.titleOld"
placeholder=
"请输入原始标题"
v-show=
"!showInfo"
style=
'width:80%!important'
></el-input>
<el-button
@
click=
"copyTitle"
style=
'width:18%!important;white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;'
>
复制到显示标题
</el-button>
</el-form-item>
<el-form-item
label=
"显示标题"
prop=
"title"
>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
></el-input>
...
...
@@ -42,7 +45,7 @@
</el-form-item>
<el-form-item
label=
"时间"
prop=
"stdate"
>
<!--
<el-date-picker
v-show=
"!showInfo"
v-model=
"dataForm.stdate"
value-format=
'yyyy-MM-dd'
...
...
@@ -96,14 +99,14 @@
<p
v-show=
"showInfo"
><video
:src=
"videoUrlStr"
class=
"avatar2"
></video></p>
<p
class=
"mark"
>
注:视频为MP4格式,视频编码推荐h.264,音频格式AAC
</p>
</el-form-item>
<!--
<el-form-item
label=
"说明"
prop=
"content"
>
<Ueditor
@
ready=
"editorReady"
:value=
"ueditor.value"
:config=
"ueditor.config"
ref=
"ue"
v-show=
"!showInfo"
></Ueditor>
<div
v-show=
"showInfo"
v-html=
"dataForm.content"
></div>
</el-form-item>
-->
<el-form-item
label=
"时间"
prop=
"showtime"
>
<el-date-picker
v-show=
"!showInfo"
v-model=
"dataForm.showtime"
value-format=
'yyyy-MM-dd'
...
...
@@ -424,6 +427,9 @@ export default {
this
.
dataForm
.
brief
=
instance
.
getContent
()
})
},
copyTitle
()
{
this
.
dataForm
.
title
=
this
.
dataForm
.
titleOld
},
}
}
</
script
>
...
...
@@ -437,4 +443,4 @@ export default {
.el-loading-mask
{
z-index
:
9999
!important
;
}
</
style
>
\ No newline at end of file
</
style
>
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