mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 14:01:07 +00:00
improve: diy大图信息及移动端展示
This commit is contained in:
parent
dca65c5610
commit
058d80babd
@ -173,7 +173,8 @@
|
||||
<div class="listBig" v-if="list.length > 0">
|
||||
<div class="itemBig" :class="conStyle ? '' : 'itemOn'" v-for="(item, index) in list" :key="index">
|
||||
<div class="img-box">
|
||||
<img v-if="item.image" :src="item.image" alt="" />
|
||||
<img v-if="item.recommend_image" :src="item.recommend_image" alt="" />
|
||||
<img v-else-if="item.image" :src="item.image" alt="" />
|
||||
<div v-else class="empty-box"><span class="iconfont-diy icontupian"></span></div>
|
||||
<div class="label" :style="{ background: labelColor }" v-if="index == 0">标签</div>
|
||||
</div>
|
||||
@ -533,6 +534,7 @@ export default {
|
||||
width 100%
|
||||
height 160px
|
||||
border-radius 10px 10px 0 0
|
||||
object-fit unset
|
||||
.empty-box
|
||||
border-radius 8px 8px 0 0;
|
||||
.label
|
||||
|
||||
@ -117,8 +117,8 @@
|
||||
v-if="item.activity && item.activity.type === '2'">{{$t(`砍价`)}}</span>
|
||||
<span class="pictrue_log_big pictrue_log_class" :style="'background-color:'+labelColor"
|
||||
v-if="item.activity && item.activity.type === '3'">{{$t(`拼团`)}}</span>
|
||||
<image :src="item.recommend_image" mode="aspectFill" v-if="item.recommend_image"></image>
|
||||
<image :src="item.image" mode="widthFix" v-else></image>
|
||||
<image :src="item.recommend_image" mode="" v-if="item.recommend_image"></image>
|
||||
<image :src="item.image" mode="" v-else></image>
|
||||
</view>
|
||||
<view class="name line2"><span class="coupon"
|
||||
:style="'border:1px solid '+labelColor+';color:'+labelColor"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user