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
74c26e4e
Commit
74c26e4e
authored
Feb 21, 2020
by
linxin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'liuin' into uat
parents
3b2ed3aa
2a2f0b6d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
home-page.vue
src/pages/home/home-page.vue
+10
-4
No files found.
src/pages/home/home-page.vue
View file @
74c26e4e
...
...
@@ -47,7 +47,8 @@
<list-item
:item-height=
"120"
>
<item>
<div
slot=
"name"
class=
"item-pic"
>
<img
src=
"@/assets/homePage/WechatIMG2 Copy@2x.png"
alt=
""
>
<!--
<img
src=
"@/assets/homePage/WechatIMG2 Copy@2x.png"
alt=
""
>
-->
<img
:src=
"list.url"
>
</div>
<div
slot=
"content"
class=
"item-content"
>
<div
class=
"top"
>
{{
list
.
product_name
}}
</div>
...
...
@@ -65,7 +66,7 @@
</
template
>
<
script
>
import
functionState
from
'./functionState'
import
noImg
from
'../../assets/productQuery/none.png'
export
default
{
name
:
'HomePage'
,
data
()
{
...
...
@@ -180,6 +181,9 @@ export default {
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
guessingList
=
res
.
lists
vm
.
guessingList
.
forEach
(
item
=>
{
item
[
'url'
]
=
item
.
product_attachment_id
?
process
.
env
.
filePath
+
'attachment_id='
+
item
.
product_attachment_id
+
'&access_token='
+
window
.
localStorage
.
access_token
:
noImg
})
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
...
...
@@ -369,10 +373,12 @@ export default {
.item-pic {
width: 110px;
height: 110px;
display: flex;
justify-content: center;
align-items: center;
img {
width: 100%;
height: 100%;
//
height: 100%;
}
}
...
...
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