From b35a804358de7849f42bcdae934c236d13e3f233 Mon Sep 17 00:00:00 2001 From: Tcsm <1377977403@qq.com> Date: 星期二, 19 九月 2023 14:20:57 +0800 Subject: [PATCH] 全局搜索样式调整,家谱加上页码 --- ruoyi-ui/src/views/contacts/index.vue | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/src/views/contacts/index.vue b/ruoyi-ui/src/views/contacts/index.vue index 175ea01..3172cb8 100644 --- a/ruoyi-ui/src/views/contacts/index.vue +++ b/ruoyi-ui/src/views/contacts/index.vue @@ -140,7 +140,7 @@ </el-row> </div> - <el-table v-loading="loading" :data="contactList" :row-key="getRowId" ref="multipleTable" @selection-change="handleSelectionChange" :row-class-name="tableRowClassName" style="background: #FFEFF2; border-radius: 14px 14px 14px 14px;"> + <el-table v-loading="loading" :data="contactList" :row-key="getRowId" ref="multipleTable" @selection-change="handleSelectionChange" :row-class-name="tableRowClassName" style="background: #FFEFF2; border-radius: 14px 14px 14px 14px;" > <el-table-column type="selection" :reserve-selection="true" width="55" align="center" /> <el-table-column fixed label="搴忓彿" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="80"/> @@ -160,12 +160,10 @@ <el-table-column label="鎵嬫満" prop="phone" sortable width="120" align="center" > <template slot-scope="scope">{{scope.row.phone? scope.row.phone: '鈥斺�斺�斺��'}}</template> </el-table-column> - <el-table-column label="鍏跺畠鑱旂郴鏂瑰紡" prop="wx qq twitter" sortable width="180" align="center" > + <el-table-column label="鍏跺畠鑱旂郴鏂瑰紡" prop="wx qq twitter" sortable :show-overflow-tooltip="true" width="150" align="center" > <template slot-scope="scope"> - <span v-if="scope.row.wx || scope.row.qq || scope.row.twitter == true"> - {{scope.row.wx}}<br> - {{scope.row.qq}}<br> - {{scope.row.twitter}} + <span v-if="scope.row.wx || scope.row.qq || scope.row.twitter == true" > + {{scope.row.wx}}/{{scope.row.qq}}/{{scope.row.twitter}} </span> <span v-else>鈥斺�斺�斺��</span> </template> -- Gitblit v1.9.1