Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WX_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
godwithdh
WX_h5
Commits
6cdf2710
Commit
6cdf2710
authored
Apr 22, 2020
by
godwithdh
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://47.110.145.204:8085/godwithdh/wx_h5
parents
6b4f48b7
07d4e53f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
search.vue
src/components/search.vue
+5
-1
No files found.
src/components/search.vue
View file @
6cdf2710
...
...
@@ -8,7 +8,7 @@
</select>
</div>
<div
:class=
"
{_input:true,radius:!typeList.select}" v-if="typeList.input">
<input
class=
"input"
v-model=
"inputValue"
:placeholder=
"placeholder"
v-on:input=
"changeInput
"
/>
<input
class=
"input"
v-model=
"inputValue"
:placeholder=
"placeholder"
@
keyup
.
13=
"keyDown($event)"
@
blur=
"keyDown
"
/>
<i
class=
'iconfont icon-close'
id=
"close"
v-if=
"inputValue"
@
click=
'clearInputValue'
></i>
</div>
</div>
...
...
@@ -87,6 +87,10 @@ export default {
}
},
methods
:{
keyDown
(
e
){
this
.
search
.
searchvalue
=
this
.
inputValue
;
this
.
global
.
$emit
(
'searchData'
);
},
searchData
(
e
,
type
){
let
dateList
=
this
.
btns
.
map
(
x
=>
Util
.
getDate
(
x
));
let
endDate
=
Util
.
dateFormat
(
new
Date
(),
'yyyy-MM-dd'
);
...
...
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