Commit e5017e30 authored by youjie's avatar youjie

no message

parent db42da49
...@@ -18,10 +18,15 @@ ...@@ -18,10 +18,15 @@
:src="x.BannerList[0]" :src="x.BannerList[0]"
/> />
<view class="imgNum" style=""> <view class="imgNum" style="">
<span v-if="x.AreaRequirement>0" <span class="imgN" style="display: flex;margin-bottom: 10rpx;">
:class="[x.EndAreaRequirement>0&&u.MallBaseId==18?'':'active']"> <span v-if="x.AreaRequirement>0">
面积: {{x.AreaRequirement}}</span> 面积: {{x.AreaRequirement}}
<span v-if="x.EndAreaRequirement>0&&u.MallBaseId==18">店铺: {{x.EndAreaRequirement }}</span> </span>
<span v-if="x.EndAreaRequirement>0&&u.MallBaseId==18">-{{x.EndAreaRequirement }}</span>
</span>
<span class="imgN" v-if="x.ShopNum>0">
店铺: {{x.ShopNum}}
</span>
</view> </view>
</view> </view>
</view> </view>
...@@ -85,20 +90,21 @@ ...@@ -85,20 +90,21 @@
padding: 0 27rpx; padding: 0 27rpx;
z-index: 2; z-index: 2;
display: flex; display: flex;
flex-direction: row;
justify-content: space-between; justify-content: space-between;
color: #fff; color: #fff;
font-size: 20rpx; font-size: 20rpx;
} }
.imgNum span{ .imgN{
flex: 1; flex: 1;
} }
.imgNum span:nth-child(2){ .imgN span.active{
text-align: right;
}
.imgNum span.active{
width: 100%; width: 100%;
display: inline-block; display: inline-block;
text-align: right; text-align: right;
} }
.imgN:nth-child(2){
text-align: right;
}
</style> </style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment