Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
songxia-wxherr
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
songxia-wxherr
Commits
178086af
Commit
178086af
authored
Jun 16, 2017
by
汪波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
松下
parent
00260f64
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
+11
-9
tool_search.css
src/css/tool_search.css
+3
-0
code.vue
src/pages/code.vue
+0
-3
home.vue
src/pages/home.vue
+8
-6
No files found.
src/css/tool_search.css
View file @
178086af
...
@@ -1914,6 +1914,9 @@ body{
...
@@ -1914,6 +1914,9 @@ body{
.autocomplete-suggestion
strong
{
.autocomplete-suggestion
strong
{
color
:
#3498DA
;
color
:
#3498DA
;
}
}
.autocomplete-selected
{
background-color
:
#f3f3f3
;
}
/*极验证*/
/*极验证*/
.geetest_holder
{
.geetest_holder
{
...
...
src/pages/code.vue
View file @
178086af
...
@@ -91,9 +91,6 @@
...
@@ -91,9 +91,6 @@
},
},
mounted
()
{
mounted
()
{
let
self
=
this
;
let
self
=
this
;
common
.
checkLoginCllback
(
function
()
{
self
.
checkHasInvite
();
});
var
brandId
=
this
.
$route
.
params
.
brandId
;
var
brandId
=
this
.
$route
.
params
.
brandId
;
var
categoryId
=
this
.
$route
.
params
.
categoryId
;
var
categoryId
=
this
.
$route
.
params
.
categoryId
;
var
code
=
this
.
$route
.
query
.
code
;
var
code
=
this
.
$route
.
query
.
code
;
...
...
src/pages/home.vue
View file @
178086af
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
<div
class=
"brand-box-fixed"
id=
"category"
>
<div
class=
"brand-box-fixed"
id=
"category"
>
<div
class=
"common-tit"
><a
href=
"javascript:;"
class=
"back"
><i
class=
"iconfont icon-close"
></i></a>
<div
class=
"common-tit"
><a
href=
"javascript:;"
class=
"back"
><i
class=
"iconfont icon-close"
></i></a>
<p>
选择
类别
</p></div>
<p>
选择
产品
</p></div>
<div
class=
"brand-list class-list"
id=
"categoryBox"
>
<div
class=
"brand-list class-list"
id=
"categoryBox"
>
<div
class=
"item"
>
<div
class=
"item"
>
<ul>
<ul>
...
@@ -181,7 +181,7 @@ export default {
...
@@ -181,7 +181,7 @@ export default {
}
}
},
},
searchable
()
{
searchable
()
{
return
!
(
this
.
brandId
==
0
||
this
.
categoryId
==
0
||
this
.
code
==
''
||
(
this
.
isUseCaptcha
&&
!
this
.
isCheckCaptcha
));
return
!
(
this
.
categoryId
==
0
||
this
.
code
==
''
||
(
this
.
isUseCaptcha
&&
!
this
.
isCheckCaptcha
));
},
},
targetUrl
()
{
targetUrl
()
{
return
{
path
:
'/code/'
+
this
.
brandId
+
'/'
+
this
.
categoryId
,
query
:
{
code
:
this
.
code
}};
return
{
path
:
'/code/'
+
this
.
brandId
+
'/'
+
this
.
categoryId
,
query
:
{
code
:
this
.
code
}};
...
@@ -355,7 +355,6 @@ export default {
...
@@ -355,7 +355,6 @@ export default {
closeErrorFixed
(){
closeErrorFixed
(){
$
(
'.error-code-fixed'
).
hide
();
$
(
'.error-code-fixed'
).
hide
();
$
(
'#codeSearchInput'
).
focus
();
},
},
getIcon
(
className
){
getIcon
(
className
){
...
@@ -418,9 +417,12 @@ export default {
...
@@ -418,9 +417,12 @@ export default {
},
},
onSelect
:
function
(
item
)
{
onSelect
:
function
(
item
)
{
if
(
self
.
code
!=
item
.
data
)
{
if
(
self
.
code
!=
item
.
data
)
{
if
(
self
.
isUseCaptcha
){
location
.
href
=
"/"
;
self
.
code
=
item
.
code
;
}
else
{
if
(
!
self
.
searchable
)
{
self
.
closeErrorFixed
();
}
else
{
self
.
searchCode
();
self
.
searchCode
();
}
}
}
}
...
...
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