Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郝肖肖
9 years ago
Commit
4d0c4fdb6f42e0ca19e35d60f3fa12eaa1a4407c
1 parent
8afacdf8
店铺品牌一览UI
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
library/Plugin/DataProcess/ShopProcess.php
static/sass/product/_shop-index.css
library/Plugin/DataProcess/ShopProcess.php
View file @
4d0c4fd
...
...
@@ -245,7 +245,12 @@ class ShopProcess
if
(
!
empty
(
self
::
$appVersion
))
{
$brand
[
'url'
]
.=
'?'
.
$appSuffix
;
}
$brand
[
'img'
]
=
Images
::
getImageUrl
(
$val
[
'brandIco'
],
640
,
400
);
if
(
strpos
(
$val
[
'brandIco'
],
'imageView/'
)
===
false
)
{
$val
[
'brandIco'
]
=
$val
[
'brandIco'
]
.
'?imageView/2/w/{width}/h/{height}'
;
}
$brand
[
'img'
]
=
Images
::
getImageUrl
(
$val
[
'brandIco'
],
140
,
120
);
$brand
[
'brandName'
]
=
$val
[
'brandName'
];
self
::
$shopData
[
'brandList'
][
'list'
][]
=
$brand
;
}
...
...
static/sass/product/_shop-index.css
View file @
4d0c4fd
...
...
@@ -158,14 +158,14 @@
.brand-img
{
margin-left
:
30px
;
width
:
30%
;
width
:
140px
;
height
:
150px
;
overflow
:
hidden
;
padding-bottom
:
20px
;
float
:
left
;
p
{
font-size
:
25
px
;
font-size
:
18
px
;
color
:
#b0b0b0
;
padding-top
:
10px
;
height
:
30px
;
...
...
@@ -175,7 +175,7 @@
}
img
{
height
:
70%
;
height
:
120px
;
}
}
...
...
Please
register
or
login
to post a comment