27353 27398

This commit is contained in:
shijingjing
2022-02-14 16:33:14 +08:00
parent d97344cf6f
commit b5623c1b80
3 changed files with 57 additions and 36 deletions

View File

@@ -5,13 +5,26 @@
<div class="item" :class="tabIndex == index ? 'active' : ''" v-for="(item, index) in tabs" :key="index" @click="tabClick(index)">{{item}}<span></span></div>
</div>
<!-- 搜索框 -->
<!-- 全部 -->
<div v-if="tabIndex == 0">
<div class="search-box">
<div class="integral-types" @click="changeType">积分类型<u-icon name="arrow-down"></u-icon></div>
<u-search placeholder="请输入关键字" v-model="keyword" :show-action="false"></u-search>
</div>
<u-select v-model="showType" :list="typelist" label-name="dictName" value-name="dictValue"
@confirm="confirmTypeSelect"/>
</div>
<!-- 待审核 -->
<div v-if="tabIndex == 1">
待审核
</div>
<!-- 已审核 -->
<div v-if="tabIndex == 2">
已审核
</div>
</div>
</template>
@@ -23,17 +36,22 @@ export default {
tabs: ['全部', '待审核', '已审核'],
tabIndex: 0,
showType: false,
typelist: []
typelist: [],
keyword: '',
}
},
methods: {
tabClick(index) {
this.tabIndex = index
},
changeType() {},
confirmTypeSelect() {},
},
onShow() {
document.title = '积分审核'
document.title = '积分审核',
this.$dict.load([''])
},
onLoad() {