准备 category 的页面

master
Ge Hao 7 years ago
parent 007a314095
commit 5e8417a03f
  1. 14
      pages/category/category.wxml
  2. 14
      pages/category/category.wxss

@ -1,3 +1,17 @@
<view class="type-select">
<view class="btn">商品</view>
<view class="btn">店铺</view>
</view>
<view wx:if="{{activeType === '商品'}}">
</view>
<view wx:if="{{!items}}">
<view class="offline-notice">正在加载中,请稍等...</view>
</view>

@ -50,3 +50,17 @@
page {
background-color: #f1f1f1;
}
/* 新版本 */
.type-select {
display: flex;
flex-direction: row;
justify-content: center;
font-size: 32rpx;
}
.type-select .btn {
padding: 20rpx 20rpx 20rpx 20rpx;
}
Loading…
Cancel
Save