Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
25829878
Commit
25829878
authored
Mar 23, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
31deabfe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
newsList.vue
src/components/tradePavilion/newsList.vue
+12
-0
No files found.
src/components/tradePavilion/newsList.vue
View file @
25829878
...
...
@@ -62,6 +62,10 @@
<el-input
type=
"text"
class=
"w400"
v-model=
"addMsg.Title"
size=
"small"
placeholder=
"新闻标题"
maxlength=
"100"
>
</el-input>
</el-form-item>
<el-form-item
label=
"副标题"
class=
"is-required"
prop=
"Subtitle"
>
<el-input
type=
"text"
class=
"w400"
v-model=
"addMsg.Subtitle"
size=
"small"
placeholder=
"副标题"
maxlength=
"100"
>
</el-input>
</el-form-item>
<el-form-item
label=
"发布时间"
class=
"is-required"
prop=
"PublishTime"
>
<el-date-picker
class=
"w400"
v-model=
"addMsg.PublishTime"
size=
"small"
type=
"date"
placeholder=
"发布时间"
>
</el-date-picker>
...
...
@@ -121,6 +125,7 @@
Id
:
0
,
//主键编号
CoverImg
:
""
,
//封面图
Title
:
""
,
//新闻标题
Subtitle
:
''
,
//副标题
Industry
:
""
,
//行业
PublishTime
:
""
,
//发布时间
NewsInfo
:
""
,
//新闻详情
...
...
@@ -132,6 +137,11 @@
message
:
'请输入新闻标题'
,
trigger
:
'blur'
}],
Subtitle
:
[{
required
:
true
,
message
:
'请输入新闻副标题'
,
trigger
:
'blur'
}],
PublishTime
:
[{
required
:
true
,
message
:
'请选择发布时间'
,
...
...
@@ -158,6 +168,7 @@
this
.
addMsg
.
Id
=
0
;
this
.
addMsg
.
CoverImg
=
""
;
this
.
addMsg
.
Title
=
""
;
this
.
addMsg
.
Subtitle
=
""
;
this
.
addMsg
.
Industry
=
""
;
this
.
addMsg
.
PublishTime
=
""
;
this
.
addMsg
.
NewsInfo
=
""
;
...
...
@@ -210,6 +221,7 @@
this
.
addMsg
.
Id
=
tempData
.
Id
;
this
.
addMsg
.
CoverImg
=
tempData
.
CoverImg
;
this
.
addMsg
.
Title
=
tempData
.
Title
;
this
.
addMsg
.
Subtitle
=
tempData
.
Subtitle
;
this
.
addMsg
.
Industry
=
tempData
.
Industry
;
this
.
addMsg
.
PublishTime
=
tempData
.
PublishTime
;
this
.
addMsg
.
NewsInfo
=
tempData
.
NewsInfo
;
...
...
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