| | |
| | | <view :class="row.id === type ? 'list-title-cate-row active' : 'list-title-cate-row'" v-for="(row, index) in cate" :key="index" @click="sele(row.id)">{{row.name}}</view> |
| | | </view> |
| | | </view> |
| | | <template v-if="list.length > 0"> |
| | | <view class="list-item" v-for="(item, index) in list" :key="item.id"> |
| | | <view class="list-item-left"> |
| | | <text>{{item.content}}</text> |
| | |
| | | <view class="list-item-num" v-if="item.type == 0">+{{item.num}}</view> |
| | | <view class="list-item-num" v-else-if="item.type == 1">-{{item.num}}</view> |
| | | </view> |
| | | </template> |
| | | <template v-else> |
| | | <view class="wushuju"> |
| | | <image src="/static/images/default_nodata_white.png" mode="widthFix"></image> |
| | | </view> |
| | | </template> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | } |
| | | } |
| | | } |
| | | .wushuju { |
| | | width: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | margin-top: 200rpx; |
| | | image { |
| | | width: 320rpx; |
| | | height: 320rpx; |
| | | } |
| | | } |
| | | .list-item { |
| | | width: 100%; |
| | | height: 154rpx; |