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
899b9ded
Commit
899b9ded
authored
Jun 14, 2017
by
汪波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
松下修改
parent
c4cff63c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
93 additions
and
79 deletions
+93
-79
tool_search.css
src/css/tool_search.css
+32
-19
entry.html
src/entry.html
+2
-3
code.vue
src/pages/code.vue
+2
-1
home.vue
src/pages/home.vue
+57
-56
No files found.
src/css/tool_search.css
View file @
899b9ded
...
@@ -6,11 +6,11 @@
...
@@ -6,11 +6,11 @@
.top-head
{
.top-head
{
background-color
:
#fff
;
background-color
:
#fff
;
box-shadow
:
0
0
50px
rgba
(
0
,
0
,
0
,
.08
);
/*box-shadow: 0 0 50px rgba(0, 0, 0, .08);*/
}
}
.logo
{
.logo
{
padding
:
40px
0
;
padding
:
0
0
40px
;
}
}
.logo
i
{
.logo
i
{
...
@@ -65,7 +65,9 @@
...
@@ -65,7 +65,9 @@
}
}
.logo
img
{
.logo
img
{
width
:
80px
;
height
:
38px
;
padding-bottom
:
10px
;
vertical-align
:
top
;
}
}
.tab
{
.tab
{
...
@@ -73,10 +75,6 @@
...
@@ -73,10 +75,6 @@
border-bottom
:
1px
solid
#e7e7e7
;
border-bottom
:
1px
solid
#e7e7e7
;
}
}
.code-search
{
padding-top
:
40px
;
}
.tab
li
{
.tab
li
{
display
:
inline-block
;
display
:
inline-block
;
float
:
left
;
float
:
left
;
...
@@ -176,7 +174,7 @@
...
@@ -176,7 +174,7 @@
}
}
.foot-btn
.search-btn
{
.foot-btn
.search-btn
{
background-color
:
#
3498DA
;
background-color
:
#
0056ab
;
width
:
100%
;
width
:
100%
;
height
:
60px
;
height
:
60px
;
line-height
:
60px
;
line-height
:
60px
;
...
@@ -441,19 +439,34 @@
...
@@ -441,19 +439,34 @@
.class-list
.item
ul
li
{
.class-list
.item
ul
li
{
line-height
:
normal
;
line-height
:
normal
;
display
:
block
;
float
:
left
;
width
:
50%
;
}
}
.class-list
.item
ul
li
a
{
.class-list
.item
ul
li
a
{
position
:
relative
;
display
:
block
;
display
:
block
;
padding
:
0
20px
;
text-align
:
center
;
height
:
50px
;
padding
:
20px
0
;
line-height
:
50px
;
text-align
:
left
;
border-bottom
:
1px
solid
#f3f3f3
;
border-bottom
:
1px
solid
#f3f3f3
;
font-size
:
12px
;
font-size
:
12px
;
background-color
:
#fff
;
background-color
:
#fff
;
}
}
.class-list
.item
ul
li
a
:after
{
content
:
''
;
position
:
absolute
;
display
:
inline-block
;
width
:
1px
;
height
:
100%
;
background-color
:
#f3f3f3
;
right
:
0
;
top
:
0
;
}
.class-list
.item
ul
li
a
i
{
display
:
block
;
font-size
:
36px
;
height
:
50px
;
}
.quick-location
{
.quick-location
{
position
:
fixed
;
position
:
fixed
;
...
@@ -503,7 +516,7 @@
...
@@ -503,7 +516,7 @@
padding
:
0
10px
;
padding
:
0
10px
;
height
:
30px
;
height
:
30px
;
line-height
:
30px
;
line-height
:
30px
;
background-color
:
#
3498DA
;
background-color
:
#
0056ab
;
color
:
#fff
;
color
:
#fff
;
font-weight
:
normal
;
font-weight
:
normal
;
border-radius
:
3px
;
border-radius
:
3px
;
...
@@ -520,7 +533,7 @@
...
@@ -520,7 +533,7 @@
.search-item
.result
{
.search-item
.result
{
position
:
relative
;
position
:
relative
;
margin
:
10px
0
;
margin
:
10px
0
;
background-color
:
#
3498DA
;
background-color
:
#
0056ab
;
border-radius
:
3px
;
border-radius
:
3px
;
color
:
#fff
;
color
:
#fff
;
padding
:
10px
;
padding
:
10px
;
...
@@ -537,13 +550,13 @@
...
@@ -537,13 +550,13 @@
height
:
0
;
height
:
0
;
border-left
:
5px
solid
transparent
;
border-left
:
5px
solid
transparent
;
border-right
:
5px
solid
transparent
;
border-right
:
5px
solid
transparent
;
border-bottom
:
5px
solid
#
3498DA
;
border-bottom
:
5px
solid
#
0056ab
;
}
}
.result-solve
{
.result-solve
{
margin-top
:
10px
;
margin-top
:
10px
;
padding-top
:
8px
;
padding-top
:
8px
;
border-top
:
1px
solid
#
55a5da
;
border-top
:
1px
solid
#
0265c8
;
}
}
.use-in-type
{
.use-in-type
{
...
@@ -659,7 +672,7 @@
...
@@ -659,7 +672,7 @@
margin-left
:
-10px
;
margin-left
:
-10px
;
width
:
20px
;
width
:
20px
;
height
:
3px
;
height
:
3px
;
background-color
:
#
3498DA
;
background-color
:
#
0056ab
;
}
}
.no-top-border
{
.no-top-border
{
...
@@ -681,7 +694,7 @@
...
@@ -681,7 +694,7 @@
.provide-phone
button
{
.provide-phone
button
{
width
:
100%
;
width
:
100%
;
height
:
44px
;
height
:
44px
;
background-color
:
#
3498DA
;
background-color
:
#
0056ab
;
color
:
#fff
;
color
:
#fff
;
border
:
none
;
border
:
none
;
border-radius
:
3px
;
border-radius
:
3px
;
...
...
src/entry.html
View file @
899b9ded
...
@@ -4,12 +4,11 @@
...
@@ -4,12 +4,11 @@
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<title>
扳手
快查
</title>
<title>
松下
快查
</title>
<style
type=
"text/css"
>
<style
type=
"text/css"
>
[
v-cloak
]
{
display
:
none
;}
[
v-cloak
]
{
display
:
none
;}
html
,
body
,
.full-box
{
width
:
100%
;
height
:
100%
;}
</style>
</style>
<link
href=
"//at.alicdn.com/t/font_
f42pj71yqfe6ogv
i.css"
rel=
"stylesheet"
>
<link
href=
"//at.alicdn.com/t/font_
d7ukl03alm5tgld
i.css"
rel=
"stylesheet"
>
</head>
</head>
<body>
<body>
<div
id=
"app"
class=
"full-box"
>
<div
id=
"app"
class=
"full-box"
>
...
...
src/pages/code.vue
View file @
899b9ded
...
@@ -290,4 +290,5 @@
...
@@ -290,4 +290,5 @@
}
}
}
}
}
}
</
script
>
</
script
>
\ No newline at end of file
<
style
>body
{
background-color
:
#f3f3f3
}
</
style
>
\ No newline at end of file
src/pages/home.vue
View file @
899b9ded
<
template
>
<
template
>
<form
method=
"post"
action=
"/"
class=
"full-box"
>
<form
method=
"post"
action=
"/"
class=
"full-box"
>
<div
class=
"tool-search-box"
>
<div
class=
"top-head"
>
<div
class=
"logo"
>
<img
src=
"../img/logo_quick_search.jpg"
>
<p>
扳手快查
</p>
<span>
故障码查询效率提升10倍
</span>
</div>
<ul
class=
"tab clearfix"
>
<li><a
href=
"javascript:;"
class=
"active"
>
查故障码
</a></li>
<li><a
href=
"javascript:; "
@
click=
"troubleCateClick"
>
查故障现象
</a></li>
</ul>
</div>
<div
class=
"code-search"
>
<div
class=
"vertical-obj"
>
<div
class=
"select-brand"
>
<div
class=
"vertical-obj-cont"
>
<button
type=
"button"
>
<p>
{{
selectedText
}}
</p>
<i
class=
"iconfont icon-navigate_next"
></i>
</button>
</div>
<div
class=
"error-code"
>
<div
class=
"tool-search-box"
>
<input
type=
"text"
name=
"code"
v-model
.
trim=
"code"
placeholder=
"请输入故障码,示例:E6"
<div
class=
"top-head"
>
id=
"codeSearchInput"
>
<div
class=
"logo"
>
</div>
<img
src=
"../img/logo_songxia.png"
>
<p>
松下快查
</p>
<!--
<span>
故障码查询效率提升10倍
</span>
-->
</div>
</div>
<div
class=
"error-code"
v-if=
"isUseCaptcha"
>
<div
class=
"code-search"
>
<div
id=
"embed-captcha"
></div>
<div
class=
"select-brand"
>
</div>
<button
type=
"button"
>
<p>
{{
selectedText
}}
</p>
<i
class=
"iconfont icon-navigate_next"
></i>
</button>
</div>
<div
class=
"error-code"
>
<input
type=
"text"
name=
"code"
v-model
.
trim=
"code"
placeholder=
"请输入故障码,示例:E6"
id=
"codeSearchInput"
>
</div>
<div
class=
"error-code"
v-if=
"isUseCaptcha"
>
<div
id=
"embed-captcha"
></div>
</div>
<div
class=
"foot-btn"
>
<button
class=
"search-btn"
type=
"submit"
:disabled=
"!searchable"
>
查一下
</button>
</div>
</div>
<div
class=
"foot-btn"
>
<button
class=
"search-btn"
type=
"submit"
:disabled=
"!searchable"
>
查一下
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"mask"
></div>
<div
class=
"mask"
></div>
<div
class=
"brand-box-fixed"
id=
"brandMain"
>
<div
class=
"brand-box-fixed"
id=
"brandMain"
>
<div
class=
"common-tit"
>
<div
class=
"common-tit"
>
...
@@ -76,8 +80,12 @@
...
@@ -76,8 +80,12 @@
<div
class=
"brand-list class-list"
id=
"categoryBox"
>
<div
class=
"brand-list class-list"
id=
"categoryBox"
>
<div
class=
"item"
>
<div
class=
"item"
>
<ul>
<ul>
<li
v-for=
"item in categories"
><a
href=
"javascript:;"
<li
v-for=
"item in categories"
>
@
click=
"checkCategoryClick(item)"
>
{{item.name}}
</a></li>
<a
href=
"javascript:;"
@
click=
"checkCategoryClick(item)"
>
<i
:class=
"getIcon(item.name)"
></i>
<p>
{{item.name}}
</p>
</a>
</li>
</ul>
</ul>
</div>
</div>
</div>
</div>
...
@@ -95,21 +103,7 @@
...
@@ -95,21 +103,7 @@
</div>
</div>
-->
-->
<div
class=
"foot-block"
></div>
<div
v-if=
"!isBanshou"
class=
"foot-nav-box clearfix"
>
<router-link
to=
"/"
class=
"cur"
>
<i
class=
"iconfont icon-shouyefill"
></i>
<p>
快查
</p>
</router-link>
<router-link
to=
"/honor"
>
<i
class=
"iconfont icon-evaluate"
></i>
<p>
致谢
</p>
</router-link>
<router-link
to=
"/my"
>
<i
class=
"iconfont icon-yonghu"
></i>
<p>
我的
</p>
</router-link>
</div>
<div
v-if=
"showMedal"
class=
"mask"
style=
"display: block; opacity: 1"
></div>
<div
v-if=
"showMedal"
class=
"mask"
style=
"display: block; opacity: 1"
></div>
...
@@ -447,6 +441,22 @@ export default {
...
@@ -447,6 +441,22 @@ export default {
return
common
.
getUrl
(
url
);
return
common
.
getUrl
(
url
);
},
},
getIcon
(
className
){
var
iconFont
=
{
'电视'
:
'dianshi'
,
'空调'
:
'kongtiao'
,
'洗衣机'
:
'xiyiji'
,
'电冰箱'
:
'dianbingxiang'
,
'冰箱'
:
'dianbingxiang'
,
'热水器'
:
'reshuiqi'
,
'电饭煲'
:
'dianfanbao'
,
'电磁炉'
:
'diancilu'
,
'微波炉'
:
'weibolu'
,
'洗碗机'
:
'xiwanji'
};
return
'iconfont icon-'
+
iconFont
[
className
];
},
initNav
(){
initNav
(){
var
item
=
[
'hot'
];
var
item
=
[
'hot'
];
...
@@ -542,13 +552,4 @@ export default {
...
@@ -542,13 +552,4 @@ export default {
}
}
}
}
</
script
>
</
script
>
<
style
>
<
style
>html
,
body
,
.full-box
{
background-color
:
#fff
;
height
:
100%
;}
</
style
>
html
{
\ No newline at end of file
background-color
:
#fff
;
}
body
{
background
:
url(../img/logo_bg.jpg)
#fff
bottom
right
no-repeat
;
background-size
:
cover
;
height
:
auto
;
}
</
style
>
\ No newline at end of file
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