Authored by 张文文

fix

... ... @@ -14,6 +14,7 @@
<div class="item-name">{{findGood.productName}}</div>
<div class="item-desc">{{content}}</div>
</div>
<div class="like-option">
<p class="like-option-btn {{#if findGood.isFavorite}}fav{{/if}}" onclick="onFavItemClick({{stringify this}}, this)">
<span class="fav-icon"></span>
<span class="fav-text">
... ... @@ -26,4 +27,5 @@
</p>
</div>
</div>
</div>
</div>
... ...
{
"name": "yohobuywap-node-activity",
"version": "6.9.15-28",
"version": "6.9.15-29",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...
... ... @@ -116,23 +116,21 @@ body {
overflow: hidden;
text-decoration: none;
color: #000;
position: relative;
&:before {
content: "";
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 1;
}
.item-detail {
flex: 1;
margin-left: 34.13px;
display: flex;
flex-direction: column;
position: relative;
&:before {
content: "";
position: absolute;
width: 100%;
height: 100%;
z-index: -1;
}
.desc-wrapper {
margin-top: 8.5px;
... ... @@ -164,12 +162,15 @@ body {
}
}
.like-option-btn {
display: flex;
.like-option {
position: absolute;
top: 130px;
.like-option-btn {
display: flex;
align-items: center;
-webkit-tap-highlight-color: transparent;
}
.fav-text {
margin-top: 3px;
... ...