Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
haishi
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
haishi
Commits
d2560b5f
Commit
d2560b5f
authored
Feb 20, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
274081a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
5 deletions
+17
-5
themes/simplebootx/Appapi/Feedback/index.html
+17
-5
No files found.
themes/simplebootx/Appapi/Feedback/index.html
View file @
d2560b5f
...
...
@@ -18,18 +18,18 @@
<div
class=
"headBox"
>
<div
style=
"font-size: 0.7rem; color: #333; margin-right: 1rem;"
>
联系方式
</div>
<input
class=
"inputTel"
type=
"text"
v-model=
"form.thumb"
placeholder=
"请留下您的微信/QQ/手机号"
/>
<input
class=
"inputTel"
@
change=
"checkSubmit"
type=
"text"
v-model=
"form.thumb"
placeholder=
"请留下您的微信/QQ/手机号"
/>
</div>
<div
class=
"bodyBox"
>
<textarea
class=
"content"
v-model=
"form.content"
rows=
""
cols=
""
maxlength=
"200"
placeholder=
"我的意见…"
>
<textarea
class=
"content"
@
change=
"checkSubmit"
v-model=
"form.content"
rows=
""
cols=
""
maxlength=
"200"
placeholder=
"我的意见…"
>
</textarea>
</div>
<!-- 提交 -->
<div
class=
"btnBox"
>
<button
type=
"button"
style=
"background: #FF9FBA;
"
@
click=
"submit"
:disabled=
"!isSub"
>
<button
type=
"button"
:style=
"isBk
"
@
click=
"submit"
:disabled=
"!isSub"
>
提交
</button>
</div>
...
...
@@ -38,7 +38,18 @@
<script>
var
vm
=
new
Vue
({
el
:
'#app'
,
//:style="[!isSub ? '{background: #FC7583;}' : '{background: #FF9FBA;']}"
checkSubmit
:
function
()
{
let
status
=
false
;
for
(
let
i
in
this
.
form
)
{
if
(
this
.
form
[
i
]
===
''
)
{
status
=
true
;
this
.
isBk
=
'background: #FC7583;'
;
break
;
}
}
this
.
isSub
=
status
;
this
.
isBk
=
'background: #FF9FBA;'
;
},
data
:
{
form
:{
uid
:
"{$uid}"
,
...
...
@@ -48,7 +59,8 @@
content
:
''
,
thumb
:
''
,
},
isSub
:
false
isSub
:
false
,
isBk
:
'background: #FF9FBA;'
},
methods
:
{
//事件
...
...
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