Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sensorConsult
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
zhanglw
sensorConsult
Commits
cadd7cd2
Commit
cadd7cd2
authored
Jun 21, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面调整
parent
b64f8888
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
searchPanel.vue
src/views/homepage/components/searchPanel.vue
+1
-1
index.vue
src/views/homepage/product/index.vue
+3
-2
No files found.
src/views/homepage/components/searchPanel.vue
View file @
cadd7cd2
<
template
>
<
template
>
<div
class=
"search-box"
>
<div
class=
"search-box"
>
<div
class=
"search-btn"
>
<div
class=
"search-btn"
>
<el-input
v-model=
"query.keyword"
placeholder=
"请输入关键字"
style=
"width: 600px"
/>
<el-input
v-model=
"query.keyword"
clearable
placeholder=
"请输入关键字"
style=
"width: 600px"
/>
<el-select
v-model=
"query.productType"
placeholder=
"全部产品"
style=
"width: 160px"
>
<el-select
v-model=
"query.productType"
placeholder=
"全部产品"
style=
"width: 160px"
>
<el-option
v-for=
"item in [
{value:undefined,label:'全部产品'}, ...dict.product_type]" :key="item.value" :label="item.label" :value="item.value" />
<el-option
v-for=
"item in [
{value:undefined,label:'全部产品'}, ...dict.product_type]" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
</el-select>
...
...
src/views/homepage/product/index.vue
View file @
cadd7cd2
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<div
class=
"search-tools"
>
<div
class=
"search-tools"
>
<el-row
:gutter=
"18"
>
<el-row
:gutter=
"18"
>
<el-col
:span=
"18"
>
<el-col
:span=
"18"
>
<el-input
v-model=
"query.keyword"
placeholder=
"请输入关键字"
/>
<el-input
v-model=
"query.keyword"
clearable
placeholder=
"请输入关键字"
/>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<el-select
v-model=
"query.productType"
placeholder=
"全部产品"
>
<el-select
v-model=
"query.productType"
placeholder=
"全部产品"
>
...
@@ -199,6 +199,7 @@ export default {
...
@@ -199,6 +199,7 @@ export default {
defaultImgSystem
:
default_system
,
defaultImgSystem
:
default_system
,
imgSrcStart
:
process
.
env
.
VUE_APP_BASE_API
,
imgSrcStart
:
process
.
env
.
VUE_APP_BASE_API
,
query
:
{
query
:
{
keyword
:
''
,
area
:
undefined
,
area
:
undefined
,
type
:
undefined
,
type
:
undefined
,
sort
:
false
sort
:
false
...
@@ -351,7 +352,7 @@ export default {
...
@@ -351,7 +352,7 @@ export default {
this
.
areaOpts
=
[{
value
:
undefined
,
label
:
'
全部
'
},
...
dict
.
area_province
]
this
.
areaOpts
=
[{
value
:
undefined
,
label
:
'
全部
'
},
...
dict
.
area_province
]
},
},
keywordClick
(
item
,
type
)
{
keywordClick
(
item
,
type
)
{
this
.
query
.
keyword
=
item
},
},
setQuertType
(
type
)
{
setQuertType
(
type
)
{
if
(
type
===
this
.
query
.
type
)
{
if
(
type
===
this
.
query
.
type
)
{
...
...
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