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
c03bd43e
Commit
c03bd43e
authored
Jun 19, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页
parent
793b35c6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
83 additions
and
76 deletions
+83
-76
userLogin.vue
src/views/homepage/components/userLogin.vue
+3
-0
index.vue
src/views/homepage/index.vue
+80
-76
No files found.
src/views/homepage/components/userLogin.vue
View file @
c03bd43e
...
...
@@ -35,4 +35,7 @@ export default {
cursor
:pointer
;
user-select
:
none
;
}
.user-login-box
:hover
{
opacity
:
0
.85
;
}
</
style
>
src/views/homepage/index.vue
View file @
c03bd43e
...
...
@@ -21,7 +21,8 @@
<div
class=
"content-box"
>
<div
class=
"showcase"
>
<!--产品展柜-->
<div
v-for=
"(item,index) in showcaseProducts"
:key=
"'p_'+index"
class=
"box-card"
style=
"padding-top: 20px;"
>
<div
style=
"padding-top: 20px"
>
<div
v-for=
"(item,index) in showcaseProducts"
:key=
"'p_'+index"
class=
"box-card"
>
<img
v-if=
"item.isGood"
src=
"@/assets/home_images/recommend.png"
class=
"stamp"
title=
"推荐"
style=
"top: 10px;right: 8px"
>
<img
v-if=
"item.isHot"
src=
"@/assets/home_images/hot.png"
class=
"stamp"
title=
"热门"
style=
"top: 0;left: 0"
>
<el-image
...
...
@@ -61,8 +62,10 @@
</div>
</div>
<div
style=
"padding: 15px 50px;text-align: right"
><span
class=
"more touch"
title=
"点击查看更多..."
@
click=
"moreTo('product')"
>
更多产品>>
</span></div>
</div>
<!--供应商展柜-->
<div
class=
"line-title"
><div
class=
"title-point"
/><span
class=
"title-text"
>
供应商
</span><div
class=
"title-line"
/></div>
<div
style=
"padding-top: 20px"
>
<div
v-for=
"(item,index) in showcaseSuppliers"
:key=
"'s_'+index"
class=
"box-card"
style=
"padding-top: 20px;"
>
<img
v-if=
"item.isGood"
src=
"@/assets/home_images/diamond.png"
class=
"stamp"
title=
"推荐"
style=
"top: 10px;right: 8px"
>
<img
v-if=
"item.isHot"
src=
"@/assets/home_images/hot.png"
class=
"stamp"
title=
"热门"
style=
"top: 0;left: 0"
>
...
...
@@ -103,6 +106,7 @@
</div>
</div>
<div
style=
"padding: 15px 50px;text-align: right"
><span
class=
"more touch"
title=
"点击查看更多..."
@
click=
"moreTo('supplier')"
>
更多供应商>>
</span></div>
</div>
<!--热门排行榜-->
<div
class=
"line-title"
><div
class=
"title-point"
/><span
class=
"title-text"
>
热门排行榜
</span></div>
<el-row
:gutter=
"20"
style=
"padding-top: 20px"
>
...
...
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