优化demo页展现样式
This commit is contained in:
@@ -79,9 +79,9 @@
|
|||||||
<!-- table区域-begin -->
|
<!-- table区域-begin -->
|
||||||
<div>
|
<div>
|
||||||
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
|
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
|
||||||
<!-- <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{-->
|
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{
|
||||||
<!-- selectedRowKeys.length }}</a>项-->
|
selectedRowKeys.length }}</a>项
|
||||||
<!-- <a style="margin-left: 24px" @click="onClearSelected">清空</a>-->
|
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
|
||||||
<span style="float:right;">
|
<span style="float:right;">
|
||||||
<a @click="loadData()"><a-icon type="sync" />刷新</a>
|
<a @click="loadData()"><a-icon type="sync" />刷新</a>
|
||||||
<a-divider type="vertical" />
|
<a-divider type="vertical" />
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<a-card :bordered="false">
|
<a-card :bordered="false" style="margin: -15px 0px 10px 0px">
|
||||||
|
|
||||||
<!-- 操作按钮区域 -->
|
<!-- 操作按钮区域 -->
|
||||||
<div class="table-operator" :md="24" :sm="24" style="margin: -25px 0 10px 0">
|
<div class="table-operator" :md="24" :sm="24">
|
||||||
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
|
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
|
||||||
|
|
||||||
<a-dropdown v-if="selectedRowKeys.length > 0">
|
<a-dropdown v-if="selectedRowKeys.length > 0">
|
||||||
@@ -20,11 +20,6 @@
|
|||||||
|
|
||||||
<!-- table区域-begin -->
|
<!-- table区域-begin -->
|
||||||
<div>
|
<div>
|
||||||
<!-- <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">-->
|
|
||||||
<!-- <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项-->
|
|
||||||
<!-- <a style="margin-left: 24px" @click="onClearSelected">清空</a>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
|
|
||||||
<a-table
|
<a-table
|
||||||
ref="table"
|
ref="table"
|
||||||
size="middle"
|
size="middle"
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<a-card :bordered="false">
|
<a-card :bordered="false" style="margin: -15px 0px 10px 0px">
|
||||||
|
|
||||||
<!-- 操作按钮区域 -->
|
<!-- 操作按钮区域 -->
|
||||||
<div class="table-operator" :md="24" :sm="24" style="margin: -25px 0 10px 2px">
|
<div class="table-operator" :md="24" :sm="24">
|
||||||
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
|
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
|
||||||
|
|
||||||
<a-dropdown v-if="selectedRowKeys.length > 0">
|
<a-dropdown v-if="selectedRowKeys.length > 0">
|
||||||
@@ -20,11 +20,6 @@
|
|||||||
|
|
||||||
<!-- table区域-begin -->
|
<!-- table区域-begin -->
|
||||||
<div>
|
<div>
|
||||||
<!-- <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">-->
|
|
||||||
<!-- <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项-->
|
|
||||||
<!-- <a style="margin-left: 24px" @click="onClearSelected">清空</a>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
|
|
||||||
<a-table
|
<a-table
|
||||||
ref="table"
|
ref="table"
|
||||||
size="middle"
|
size="middle"
|
||||||
|
|||||||
Reference in New Issue
Block a user