Browse Source

样式修改

master
xpz2018 6 years ago
parent
commit
c18316be5a
3 changed files with 10 additions and 8 deletions
  1. 1
      components/tab/index.wxss
  2. 8
      pages/mall/page-list/index.wxml
  3. 9
      pages/mall/page-list/index.wxss

1
components/tab/index.wxss

@ -39,6 +39,7 @@
}
.tabs__item--cur {
color: #008AFF;
font-size: 16px;
}
.tabs__item-child {
display: inline-block;

8
pages/mall/page-list/index.wxml

@ -4,17 +4,17 @@
<text class="icon--refresher"></text>
</view>
</wux-image>
<view style="flex:1;padding:16rpx 20rpx">
<view class="flex flex-justify">
<view style="flex:1;padding:0rpx 20rpx;height:120px">
<view class="flex flex-justify" style="height:30px;padding-top:5px">
<view class="page-name">{{item.name}}</view>
<view class="page-num" wx:if="{{item.sellMode == 1}}">{{item.viewNum}} 浏览</view>
<view class="page-num" wx:elif="{{item.sellMode == 2}}">已拼{{item.soldNum}}{{item.unit}}</view>
</view>
<view style="height:100rpx">
<view style="height:50px">
<view class="page-outline">{{item.outline}}</view>
<view class="page-outline" style="margin-top: 8rpx">{{item.summary}}</view>
</view>
<view class="flex flex-justify" style="align-items:flex-end">
<view class="flex flex-justify" style="align-items:flex-end;height:30px;padding-bottom:3px">
<view class="page-price">¥{{item.price}}</view>
<view class="page-stock" style="margin-bottom:6rpx">库存:{{item.stockNumber}}{{item.unit}}</view>
<button class="cu-btn bg-red round shadow-blur page-btn">立即抢购</button>

9
pages/mall/page-list/index.wxss

@ -2,13 +2,14 @@
.content {
margin-top: 24rpx;
height: 120px;
background: rgba(255, 255, 255, 1);
border-radius: 6px;
}
.page-icon {
height: 240rpx;
width: 240rpx;
height: 120px;
width: 120px;
border-top-left-radius: 12rpx;
border-bottom-left-radius: 12rpx;
}
@ -68,8 +69,8 @@
}
.image-load {
width: 240rpx;
height: 240rpx;
width: 120px;
height: 120px;
display: flex;
align-items: center;
justify-content: center;
Loading…
Cancel
Save