Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xugong
hls-xcmg-vue-app
Commits
44a73354
Commit
44a73354
authored
Oct 15, 2019
by
786817560
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'产品查询'
parent
ef840b3c
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
214 additions
and
5 deletions
+214
-5
getIn.png
src/assets/productQuery/getIn.png
+0
-0
product-query.png
src/assets/productQuery/product-query.png
+0
-0
pull.png
src/assets/productQuery/pull.png
+0
-0
home-page.vue
src/pages/home/home-page.vue
+10
-2
product-detailed.vue
src/pages/productQuery/product-detailed.vue
+0
-0
query-home.vue
src/pages/productQuery/query-home.vue
+199
-0
index.js
src/router/index.js
+5
-3
No files found.
src/assets/productQuery/getIn.png
0 → 100644
View file @
44a73354
429 Bytes
src/assets/productQuery/product-query.png
0 → 100644
View file @
44a73354
1.36 KB
src/assets/productQuery/pull.png
0 → 100644
View file @
44a73354
507 Bytes
src/pages/home/home-page.vue
View file @
44a73354
...
...
@@ -2,7 +2,7 @@
* @Descrip: 主页
* @Author: your name
* @Date: 2019-10-10 14:25:15
* @LastEditTime: 2019-10-15 1
4:06:37
* @LastEditTime: 2019-10-15 1
5:02:01
* @LastEditors: Please set LastEditors
-->
<
template
>
...
...
@@ -28,7 +28,7 @@
<function-item
v-for=
"item in moduleSeparateList.slice(0,4)"
:key=
"item.moduleId"
:functionIcon=
"item.moduleIcon"
:functionName=
"item.moduleName"
:data=
"item"
/>
:data=
"item"
@
clickFunction=
"goModuleFunction"
/>
</div>
<div
class=
"middle-box"
>
...
...
@@ -180,6 +180,14 @@ export default {
})
}
},
goModuleFunction
(
data
)
{
console
.
log
(
'........'
,
data
)
if
(
data
.
moduleId
===
1
)
{
this
.
$router
.
push
({
name
:
'QueryHome'
,
})
}
},
location
()
{
this
.
$router
.
push
({
name
:
'Location'
,
...
...
src/pages/productQuery/product-detailed.vue
0 → 100644
View file @
44a73354
src/pages/productQuery/query-home.vue
0 → 100644
View file @
44a73354
<!--
* @Descrip: 查询首页
* @Author: your name
* @Date: 2019-10-15 14:30:00
* @LastEditTime: 2019-10-15 15:54:08
* @LastEditors: Please set LastEditors
-->
<
template
>
<h-view
id=
"query"
class=
"public-style"
title=
"产品查询"
>
<h-header
:proportion=
"[5,1,1]"
class=
"bar-custom"
>
<div
slot=
"left"
class=
"h-header-btn"
>
<img
src=
"@/assets/userBind/arrow.png"
@
click=
"$routeGo()"
>
<span>
产品信息
</span>
</div>
</h-header>
<h-content>
<div
class=
"hinput"
>
<div
class=
"search-box"
>
<input
type=
"text"
placeholder=
"请输入产品类别/产品线"
>
<img
src=
"@/assets/distributorSign/search.png"
alt=
""
>
</div>
</div>
<div
class=
"box"
>
<div
class=
"first"
>
<img
src=
"@/assets/productQuery/product-query.png"
alt=
""
>
<p
class=
"product-class"
>
产品类别
</p>
<p
class=
"product"
>
装载机械
</p>
</div>
<div
class=
"second"
>
<p
class=
"product-class"
>
产品线
</p>
<p
class=
"product"
>
轮式装载机
</p>
<img
src=
"@/assets/productQuery/pull.png"
alt=
""
>
</div>
<img
class=
"arrow"
src=
"@/assets/productQuery/getIn.png"
alt=
""
>
</div>
<div
class=
"box"
>
<div
class=
"first"
>
<img
src=
"@/assets/productQuery/product-query.png"
alt=
""
>
<p
class=
"product-class"
>
产品类别
</p>
<p
class=
"product"
>
道路机械
</p>
</div>
<div
class=
"second"
>
<p
class=
"product-class"
>
产品线
</p>
<p
class=
"product"
>
压路机
</p>
<img
src=
"@/assets/productQuery/pull.png"
alt=
""
>
</div>
<img
class=
"arrow"
src=
"@/assets/productQuery/getIn.png"
alt=
""
>
</div>
<div
class=
"box"
>
<div
class=
"first"
>
<img
src=
"@/assets/productQuery/product-query.png"
alt=
""
>
<p
class=
"product-class"
>
产品类别
</p>
<p
class=
"product"
>
起重机械
</p>
</div>
<div
class=
"second"
>
<p
class=
"product-class"
>
产品线
</p>
<p
class=
"product"
>
塔式起重机
</p>
<img
src=
"@/assets/productQuery/pull.png"
alt=
""
>
</div>
<img
class=
"arrow"
src=
"@/assets/productQuery/getIn.png"
alt=
""
>
</div>
</h-content>
</h-view>
</
template
>
<
script
>
export
default
{
name
:
'QueryHome'
,
data
()
{
return
{
}
},
computed
:
{},
watch
:
{},
methods
:
{
},
}
</
script
>
<
style
lang=
'less'
scoped
>
#query {
.h-header-btn {
img {
width: 16px;
height: 16px;
margin-left: 4px;
}
span {
font-family: PingFangSC-Semibold;
margin-left: 16px;
font-size: 17px;
letter-spacing: 0.61px;
line-height: 24px;
}
}
.hinput {
position: relative;
z-index: 50;
width: 100%;
height: 50px;
//border-bottom: 1px solid #cccccc70;
display: flex;
justify-content: center;
align-items: center;
background: #fff;
.search-box {
width: 93.6%;
height: 36px;
font-size: 14px;
color: #B4B4B5;
letter-spacing: 0;
font-family: PingFangSC-Regular;
border: 1px solid rgba(56, 63, 69, 0.60);
border-radius: 4px;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
input {
width: 90%;
height: 100%;
opacity: 0.4;
border: none;
line-height: 34px;
}
}
}
.box {
position: relative;
width: 100%;
height: 79px;
background: #fff;
border-top: 1px solid #cccccc70;
margin-bottom: 8px;
.first {
height: 20px;
width: 100%;
display: flex;
flex-direction: row;
margin-top: 16px;
img {
width: 16px;
height: 16px;
margin-left: 16px;
}
.product-class {
font-family: PingFangSC-Regular;
font-size: 14px;
color: rgba(56,63,69,0.60);
margin-left: 8px;
}
.product {
font-family: PingFangSC-Regular;
font-size: 14px;
color: #383F45;
margin-left: 16px
}
}
.second {
height: 20px;
width: 100%;
display: flex;
flex-direction: row;
margin-top: 7px;
.product-class {
font-family: PingFangSC-Regular;
font-size: 14px;
color: rgba(56,63,69,0.60);
margin-left: 54px;
}
.product {
font-family: PingFangSC-Regular;
font-size: 14px;
color: #383F45;
margin-left: 16px
}
img {
width: 16px;
height: 16px;
margin-left: 9px;
}
}
.arrow {
position: absolute;
top: 50%;
margin-top: -8px;
right: 20px;
height: 16px;
width: 16px;
}
}
}
</
style
>
src/router/index.js
View file @
44a73354
...
...
@@ -2,7 +2,7 @@
* @Description: In User Settings Edit
* @Author: your name
* @Date: 2019-09-24 12:34:06
* @LastEditTime: 2019-10-15 1
3:52:13
* @LastEditTime: 2019-10-15 1
4:37:42
* @LastEditors: Please set LastEditors
*/
import
Vue
from
'vue'
...
...
@@ -58,7 +58,8 @@ import PaymentContractRecord from '@/pages/pay/payment/contract-record'
// 保证金支付
import
MarginFirstPay
from
'../pages/pay/marginPay/first-pay'
import
MarginPayEntry
from
'../pages/pay/marginPay/pay-entry'
// 产品查询
import
QueryHome
from
'@/pages/productQuery/query-home'
Vue
.
use
(
Router
)
export
default
new
Router
({
...
...
@@ -165,7 +166,8 @@ export default new Router({
// 保证金支付
{
path
:
'/margin-first-pay'
,
component
:
MarginFirstPay
,
name
:
'MarginFirstPay'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/margin-pay-entry'
,
component
:
MarginPayEntry
,
name
:
'MarginPayEntry'
,
meta
:
{
keepAlive
:
true
}},
// 产品查询
{
path
:
'/query-home'
,
component
:
QueryHome
,
name
:
'QueryHome'
,
meta
:
{
keepAlive
:
true
}},
],
scrollBehavior
(
to
,
from
,
savedPosition
)
{
if
(
to
.
hash
)
{
...
...
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