<div>
<div>
<scroller v-if="maxClass.length!=0" class="class" scroll-direction="horizontal">
<div style="padding: 10px;" @click="maxClassClick(0)">
<text class="class-text" :class="{'class-text-click':maxIs==0}">全部</text>
</div>
<div style="padding: 10px;" v-for="(v,i) in maxClass" @click="maxClassClick(i+1)">
<text class="class-text" :class="{'class-text-click':maxIs==(i+1)}">{{v.title}}</text>
</div>
</scroller>
<scroller v-if="minClass.length!=0" class="class" scroll-direction="horizontal">
<div style="padding: 10px;" @click="minClassClick(0)">
<text class="class-text" :class="{'class-text-click':minIs==0}">全部</text>
</div>
<div style="padding: 10px;" v-for="(v,i) in minClass" @click="minClassClick(i+1)">
<text class="class-text" :class="{'class-text-click':minIs==(i+1)}">{{v.title}}</text>
</div>
</scroller>
</div>
<recycle-list for="v in dataList">
<cell-slot>
<div style="padding: 10px;border-bottom-width: 1px;border-bottom-color: #F8F8F8;" @click="clicks(1)">
<text style="font-size: 14px;font-weight: bold;color: #000;">{{v.title}}</text>
<text style="font-size: 14px;color: #000;">{{v.text}}</text>
<text style="font-size: 12px;color: #333;text-align: right;">{{v.date}}</text>
</div>
</cell-slot>
</recycle-list>
</div>
2***@qq.com
- 发布:2020-04-16 11:22
- 更新:2020-04-16 11:22
- 阅读:776
0 个回复