调整input

This commit is contained in:
case committed 2022-08-02 00:02:11 +08:00
1 parent 36aa1461a7
commit 55060b5422
3 files changed
+34 -31

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@
<v-spacer></v-spacer> <v-spacer></v-spacer>
<v-col cols="12" xs="8" sm="4" md="3" xl="3" class="pa-xs-0 pa-xs-2 col-sm-8-flex"> <v-col cols="12" xs="8" sm="4" md="3" xl="3" class="pa-xs-0 pa-xs-2 col-sm-8-flex">
<v-text-field v-model="searchInput" label="表格过滤" class="cus-v-input" dense outlined></v-text-field> <v-text-field v-model="searchInput" label="表格过滤" class="cus-v-input" dense filled single-line></v-text-field>
</v-col> </v-col>
</v-row> </v-row>
<v-data-table fixed-header <v-data-table fixed-header
+30 -29
View File
@@ -21,38 +21,39 @@
<!-- 页面主要内容 --> <!-- 页面主要内容 -->
<v-container class="fullScreen d-flex flex-column pa-xs-0 pa-0"> <v-container class="fullScreen d-flex flex-column pa-xs-0 pa-0">
<v-divider></v-divider> <v-card>
<v-row class="ma-0 pa-xs-4 align-center flex-none pt-0 " :class="{'pa-4': !isMobile, 'pb-0': !isMobile, 'pa-2': isMobile}"> <v-row class="ma-0 pa-xs-4 align-center flex-none pt-0 " :class="{'pa-4': !isMobile, 'pb-0': !isMobile, 'pa-2': isMobile}">
<v-col cols="12" xs="4" sm="4" md="4" xl="4" class="pl-0"> <v-col cols="12" xs="4" sm="4" md="4" xl="4" class="pl-0">
<span class="body-2">共{{ tableData.length }}条记录</span> <span class="body-2">共{{ tableData.length }}条记录</span>
</v-col> </v-col>
<v-spacer></v-spacer> <v-spacer></v-spacer>
<v-col cols="12" xs="8" sm="4" md="3" xl="3" class="pa-xs-0 pa-xs-2 col-sm-8-flex"> <v-col cols="12" xs="8" sm="4" md="3" xl="3" class="pa-xs-0 pa-xs-2 col-sm-8-flex">
<v-text-field v-model="searchInput" label="表格过滤" class="cus-v-input" dense outlined></v-text-field> <v-text-field v-model="searchInput" label="表格过滤" class="cus-v-input" dense filled single-line></v-text-field>
</v-col> </v-col>
</v-row> </v-row>
<v-data-table fixed-header <v-data-table fixed-header
:headers="headers" :headers="headers"
:items="tableData" :items="tableData"
:search="searchInput" :search="searchInput"
:footer-props="{ itemsPerPageOptions: [20, 40, 60, 100, -1] }" :footer-props="{ itemsPerPageOptions: [20, 40, 60, 100, -1] }"
:items-per-page="20" :items-per-page="20"
mobile-breakpoint="0" mobile-breakpoint="0"
:loading="isTableLoading" :loading="isTableLoading"
checkbox-color="success" checkbox-color="success"
class="elevation-0 mt-0 mb-xs-4 flex-fill d-flex flex-column"> class="elevation-0 mt-0 mb-xs-4 flex-fill d-flex flex-column">
<!-- <template v-slot:item.level="{ item }">--> <!-- <template v-slot:item.level="{ item }">-->
<!-- {{ getConstantCollectionItemText('level', item.level) }}--> <!-- {{ getConstantCollectionItemText('level', item.level) }}-->
<!-- </template>--> <!-- </template>-->
<template v-slot:item.action="{ item }"> <template v-slot:item.action="{ item }">
<v-btn small color="warning" class="mr-2" @click="doUiAction('toTaskHistory', {item})"> <v-btn small color="warning" class="mr-2" @click="doUiAction('toTaskHistory', {item})">
查看 查看
</v-btn> </v-btn>
</template> </template>
</v-data-table> </v-data-table>
</v-card>
</v-container> </v-container>
<!-- 编辑抽屉 --> <!-- 编辑抽屉 -->
+3 -1
View File
@@ -27,8 +27,10 @@
<v-btn color="success" small dark class="elevation-0 mr-2" @click="doUiAction('startCreateItem')">新增</v-btn> <v-btn color="success" small dark class="elevation-0 mr-2" @click="doUiAction('startCreateItem')">新增</v-btn>
<span class="body-2">共{{ tableData.length }}条记录</span> <span class="body-2">共{{ tableData.length }}条记录</span>
</v-col> </v-col>
<v-spacer></v-spacer> <v-spacer></v-spacer>
<v-col cols="12" xs="8" sm="4" md="3" xl="3" class="pa-xs-0 pa-xs-2 col-sm-8-flex">
<v-text-field v-model="searchInput" label="表格过滤" class="cus-v-input" dense filled single-line></v-text-field>
</v-col>
</v-row> </v-row>
<v-data-table fixed-header <v-data-table fixed-header
:headers="headers" :headers="headers"