|
@@ -3,8 +3,29 @@
|
|
|
|
|
|
<template>
|
|
<template>
|
|
<div class="category-wrap">
|
|
<div class="category-wrap">
|
|
- <div class="category_title"><text>分类</text></div>
|
|
|
|
|
|
+ <div class="tab_bar">
|
|
|
|
+ <div class="filter-item">
|
|
|
|
+ <div class="filter-item__list">
|
|
|
|
+ <block for="channel">
|
|
|
|
+ <div class="filter-item_warp">
|
|
|
|
+ <text
|
|
|
|
+ class="filter-item__item {{$item.key === filter.channel_id ? 'cur_bar' : ''}}"
|
|
|
|
+ @click="filterChange('channel_id', $item.key)"
|
|
|
|
+ >{{ $item.name }}</text
|
|
|
|
+ >
|
|
|
|
+ <text
|
|
|
|
+ class="choose-bar"
|
|
|
|
+ show="{{$item.key === filter.channel_id }}"
|
|
|
|
+ ></text>
|
|
|
|
+ </div>
|
|
|
|
+ </block>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
<list class="list-content" @scrollbottom="onReachBottom">
|
|
<list class="list-content" @scrollbottom="onReachBottom">
|
|
|
|
+ <!-- <list-item type="tab" class="tab_bar"> </list-item> -->
|
|
|
|
+
|
|
<list-item type="search" class="search-bar">
|
|
<list-item type="search" class="search-bar">
|
|
<div class="search-bar__wrap">
|
|
<div class="search-bar__wrap">
|
|
<input
|
|
<input
|
|
@@ -21,19 +42,6 @@
|
|
</list-item>
|
|
</list-item>
|
|
<list-item type="filter" class="filter-wrap">
|
|
<list-item type="filter" class="filter-wrap">
|
|
<div class="filter-item">
|
|
<div class="filter-item">
|
|
- <text class="filter-item__name">频道</text>
|
|
|
|
- <div class="filter-item__list">
|
|
|
|
- <block for="channel">
|
|
|
|
- <text
|
|
|
|
- class="filter-item__item {{$item.key === filter.channel_id ? 'cur' : ''}}"
|
|
|
|
- @click="filterChange('channel_id', $item.key)"
|
|
|
|
- >{{ $item.name }}</text
|
|
|
|
- >
|
|
|
|
- </block>
|
|
|
|
- <!-- <text class="filter-item__item cur">全部</text> -->
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="filter-item">
|
|
|
|
<text class="filter-item__name">类型</text>
|
|
<text class="filter-item__name">类型</text>
|
|
<div class="filter-item__list">
|
|
<div class="filter-item__list">
|
|
<block
|
|
<block
|
|
@@ -113,7 +121,7 @@ export default {
|
|
channel_id: '',
|
|
channel_id: '',
|
|
category_id: '',
|
|
category_id: '',
|
|
order_field: 'recommend_index',
|
|
order_field: 'recommend_index',
|
|
- order_seq: 'desc',
|
|
|
|
|
|
+ order_seq: 'asc',
|
|
page_size: 100,
|
|
page_size: 100,
|
|
page: 1,
|
|
page: 1,
|
|
status: 1
|
|
status: 1
|