feat/task1-c-wallet
gongfuxiang 2018-11-20 01:41:14 +08:00
parent 8cfd312a9d
commit dc08581d81
2 changed files with 22 additions and 6 deletions

View File

@ -11,7 +11,7 @@
}
.floor-left {
width: 40%;
height: 660rpx;
height: 662rpx;
}
.floor-left image {
left: 0;
@ -19,7 +19,9 @@
width: 100%;
}
.goods-list {
overflow: hidden;
}
.floor-left image,
.goods-list .goods:nth-child(1),
.goods-list .goods:nth-child(2),
@ -33,7 +35,7 @@
}
.goods-list .goods image {
width: 100%;
height: 330rpx;
height: 380rpx;
}
.goods-list .goods:nth-child(1),
.goods-list .goods:nth-child(2) {
@ -60,12 +62,26 @@
top: 330rpx;
right: 0;
}
.goods-list .goods:nth-child(2),
.goods-list .goods:nth-child(3),
.goods-list .goods:nth-child(4),
.goods-list .goods:nth-child(5),
.goods-list .goods:nth-child(6) {
width: 50%;
height: 430rpx;
border-top: 1px solid #eee;
}
.goods-list .goods:nth-child(4),
.goods-list .goods:nth-child(6) {
border-left: 1px solid #eee;
}
.goods-list .goods:nth-child(3),
.goods-list .goods:nth-child(4),
.goods-list .goods:nth-child(5),
.goods-list .goods:nth-child(6) {
width: calc(50% - 1rpx);
height: 480rpx;
float: left;
}
.goods-list .goods-base {

View File

@ -13,7 +13,7 @@
</view>
<view class="floor-list" style="background-color:{{floor.bg_color}}">
<view class="floor-left">
<view class="vice-name">{{floor.vice_name}}</view>
<view class="vice-name">{{floor.describe}}</view>
<image src="{{floor.big_images}}" mode="aspectFit" />
</view>
<view class="goods-list" a:if="{{floor.goods.length > 0}}">