Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
xianyu-ufo-app-web
·
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
张文文
5 years ago
Commit
48b1d335545014bd06b5b6be0bb16d7e724c6c29
1 parent
c18f2571
已售出商品添加蒙层 review by zhiming.hu
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
1 deletions
apps/pages/second/components/second-list.vue
apps/statics/image/list/Group@2x.png
apps/pages/second/components/second-list.vue
View file @
48b1d33
...
...
@@ -2,7 +2,14 @@
<div class="bg" v-if="list.length">
<div class="second-list-item" v-for="(product,index) in list" @click="goDetail(product, index)"
:key="index" :class="(index) % 2 === 0 && 'magrin-right'">
<ImgSize class="item-imge" :src="product.secondhand_image" :width="343" :height="343"/>
<div v-if="product.status === 100" class="dim-background">
<ImgSize class="dim-imge" :src="product.secondhand_image" :width="343" :height="343"/>
</div>
<div v-else class="item-background">
<ImgSize class="item-imge" :src="product.secondhand_image" :width="343" :height="343"/>
</div>
<div class="item-bottom">
<div class="item-price">
<span>{{product.skup_price && '¥'}}</span><span>{{product.skup_price || ' '}}</span>
...
...
@@ -126,6 +133,10 @@ export default {
margin-bottom: 16px;
}
.item-background {
background: transparent;
}
.item-imge {
width: 344px;
height: 344px;
...
...
@@ -133,6 +144,21 @@ export default {
border-top-right-radius: 16px;
}
.dim-background {
background: url(~statics/image/list/Group@2x.png) no-repeat;
background-size: 50% 50%;
background-position: center;
}
.dim-imge {
width: 344px;
height: 344px;
border-top-left-radius: 16px;
border-top-right-radius: 16px;
opacity:0.6;
filter: alpha(opacity=60);
}
.item-bottom {
padding: 20px 14px 30px 20px;
display: flex;
...
...
apps/statics/image/list/Group@2x.png
0 → 100644
View file @
48b1d33
11.6 KB
Please
register
or
login
to post a comment