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
1039639736b3b9edbe6967858de6bc729ec6cd5f
1 parent
ba3d3cf9
‘修改店铺bug’
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
9 deletions
static/img/sprite.product.png
static/sass/product/_shop-index.css
static/sass/product/_shop-prodfile.css
template/m.yohobuy.com/actions/product/index/shop.phtml
static/img/sprite.product.png
View file @
1039639
670 Bytes
|
W:
|
H:
8.99 KB
|
W:
|
H:
2-up
Swipe
Onion skin
static/sass/product/_shop-index.css
View file @
1039639
...
...
@@ -33,15 +33,29 @@
.collect
{
width
:
128px
;
height
:
50
px
;
height
:
49
px
;
position
:
absolute
;
bottom
:
30px
;
right
:
30px
;
border-radius
:
10px
;
border-radius
:
10px
;
text-align
:
center
;
/*background-image: url('/product/collect.png') no-repeat;*/
background-size
:
contain
;
border
:
1px
solid
red
;
}
.alreadyCollect
{
width
:
128px
;
height
:
50px
;
border-radius
:
10px
;
background-image
:
url('/product/already-collect.png')
no-repeat
;
background-size
:
contain
;
}
.notCollect
{
width
:
128px
;
height
:
50px
;
border-radius
:
10px
;
background-image
:
url('/product/not-collect.png')
no-repeat
;
background-size
:
contain
;
}
.nav
{
...
...
static/sass/product/_shop-prodfile.css
View file @
1039639
...
...
@@ -36,8 +36,8 @@
font-size
:
36px
;
border-bottom
:
1px
solid
#e6e6e6
;
text-align
:
left
;
height
:
70px
;
line-height
:
70px
;
height
:
90px
;
line-height
:
90px
;
vertical-align
:
middle
;
display
:
block
;
width
:
100%
;
...
...
template/m.yohobuy.com/actions/product/index/shop.phtml
View file @
1039639
...
...
@@ -10,7 +10,7 @@
<input
type=
"text"
placeholder=
"搜索店铺内潮品"
name=
"query"
>
<input
type=
"hidden"
name=
"shop_id"
value=
"{{shopId}}"
>
<i
class=
"clear-input iconfont hide"
>
626
;</i>
<
span
id=
"search"
class=
"search"
type=
"submit"
>搜索</spa
n>
<
button
id=
"search"
class=
"search"
type=
"submit"
>搜索</butto
n>
</form>
</div>
</div>
...
...
@@ -20,9 +20,9 @@
<p
class=
"store-name"
>
{
{storeName
}
}</p>
<div
class=
"collect"
>
{
{#if
collect
}
}
<
img
src=
"{{alreadyCollect}}"
></img
>
<
div
class=
"alreadyCollect"
></div
>
{
{else
}
}
<
img
src=
"{{notCollect}}"
></img
>
<
div
class=
"notCollect"
></div
>
{
{/if
}
}
</div>
</div>
...
...
Please
register
or
login
to post a comment