Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
national_museum_vod-H5
Project
Project
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
fubaole
national_museum_vod-H5
Commits
d723515f
Commit
d723515f
authored
Apr 13, 2021
by
乐宝呗666
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改互动和启用禁用
parent
bd1f729f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
10 deletions
+19
-10
commitTab.vue
src/views/user/components/commitTab.vue
+17
-6
contentTab.vue
src/views/user/components/contentTab.vue
+2
-4
No files found.
src/views/user/components/commitTab.vue
View file @
d723515f
...
...
@@ -16,7 +16,7 @@
placeholder=
"请选择展板"
:right-icon=
"showBoard ? 'arrow-up' : 'arrow-down'"
@
click=
"showBoard = true"
:rules=
"[
{ required: true }]"
:rules=
"[
{ required: true
,message: '请选择展板' ,trigger:'change'
}]"
/>
<van-popup
v-model=
"showBoard"
position=
"bottom"
>
<van-picker
...
...
@@ -33,12 +33,18 @@
readonly
input-align=
"right"
/>
<van-cell
class=
"calendar-icon"
title=
"学习时间"
<van-field
class=
"field-form-item"
readonly
clickable
name=
"studyTime"
input-align=
"right"
:value=
"form.studyTime || ''"
label=
"学习时间"
placeholder=
"请选择学习时间"
:right-icon=
"form.studyTime || cellIcon"
@
click=
"onDisplay"
:
icon=
"form.studyTime || cellIcon
"
:
rules=
"[
{ required: true ,message: '请选择学习时间',trigger:'change' }]
"
/>
<van-popup
v-model=
"show"
position=
"bottom"
>
<van-datetime-picker
...
...
@@ -140,6 +146,8 @@
v-model=
"form.content"
maxlength=
"500"
show-word-limit
placeholder=
"我有话对党说..."
:rules=
"[
{ required: true ,message: '请输入内容,最多500个字'}]"
/>
</div>
<div
class=
"commit-page-button"
>
...
...
@@ -499,7 +507,10 @@ export default {
.van-cell__value
{
color
:
#333
;
}
::v-deep
.van-field__error-message
{
text-align
:
right
;
background
:
#fff
;
}
::v-deep
.field-textarea
{
min-height
:
80px
;
padding
:
0
;
...
...
src/views/user/components/contentTab.vue
View file @
d723515f
...
...
@@ -6,8 +6,6 @@
type=
"search"
v-model=
"searchVal"
shape=
"round"
right-icon=
"search"
left-icon
placeholder=
"请输入学习内容名称"
@
search=
"onRefresh"
/>
...
...
@@ -32,7 +30,7 @@
<van-button
@
click=
"optFn(item)"
square
v-if=
"item.auditStatus=
=='APPROVED_FINAL' "
:disabled=
"item.auditStatus!
=='APPROVED_FINAL' "
:text=
"active ? '启用' : '禁用'"
type=
"danger"
:class=
"
{
...
...
@@ -182,7 +180,7 @@ export default {
line-height
:
30px
;
}
}
::v-deep
.van-field__
righ
t-icon
{
::v-deep
.van-field__
lef
t-icon
{
color
:
#ac9374
;
.van-icon
{
font-size
:
20px
;
...
...
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