Commit 10cb42cc authored by 骆瑛's avatar 骆瑛

修改表格所有的样式集合

parent 98a23682
......@@ -555,151 +555,30 @@
color: @page-color;
opacity: 0.7;
}
//表格
.ivu-table-header {
border: 1px solid @table-header-border !important;
}
.ivu-table-header thead tr th ,.table-tools table thead tr th{
background: @table-header-bg !important;
border: 1px solid @table-header-border !important;
color: @table-header-color !important;
}
.ivu-table-tip{
background:@table-body-bg !important;
}
/*底色斑马纹*/
.ivu-table td{
background-color:@table-body-bg ;
}
.ivu-table tr:nth-child(even) td{
background-color:@table-body-bg_even !important;
}
.ivu-table-wrapper {//表格最外层的border
border: none !important;
}
.ivu-table-body {
//表格树的下拉样式
.treeTbale table tbody .treetr {
background-color: @table-body-bg;
}
.ivu-table-wrapper tr td {
background-color:@table-body-bg ;
// border: 1px solid @tableCommon-boder !important;
}
//表格内部线条
.ivu-table-border td{
border: 1px solid @tableCommon-boder !important;
}
.ivu-table:before {
//表格下边框线
background-color: @table-boder !important;
.treeTbale table tbody .treetr:nth-child(even) {
background-color: @table-body-bg_even !important;
}
.ivu-table-border:after {
//表格右边框线
background-color: @table-boder !important;
}
.ivu-table td {
border-bottom:1px solid @table_line !important;
}
/*选中某一行高亮*/
.ivu-table-row:hover{
.treeTbale table tbody .treetr:hover td {
background: @table-row-hover !important;
border: 2px solid @table_line !important;
}
.ivu-table-row-highlight tr{
background: @table-row-hover !important;
border: 2px solid @table_line !important;
border-right: 2px solid transparent !important;
border-left: 2px solid transparent !important;
}
/*浮在某行*/
.ivu-table-row-hover td ,.ivu-table tr:nth-child(even):hover{
background: @table-row-hover !important;
border: 2px solid @table_line !important;
border-right: 2px solid transparent !important;
border-left: 2px solid transparent !important;
}
.ivu-table-row-hover td:first-child {
.treeTbale table tbody .treetr:hover td:first-child {
border-left: 2px solid @table_line !important;
}
.ivu-table-row-hover td:last-child {
border-right: 2px solid @table_line !important;
}
.ivu-dropdown-rel:hover {
.ivu-btn-text {
background-color: @primary-color;
}
}
//表格字体颜色
.ivu-table {
color: @table-color !important;
}
//表格页面整体背景色处理
.product-layout{
.ivu-layout-content {
background-color: @product_content_backcolor;
}
}
//表格内checkbox
.ivu-checkbox-inner{
background: transparent !important;
}
//表格树的下拉样式
.treeTbale table tbody .treetr{
background-color:@table-body-bg ;
box-sizing: border-box;
}
.treeTbale table tbody .treetr:nth-child(even){
background-color:@table-body-bg_even !important;
}
.treeTbale table tbody .treetr:hover td{
background: @table-row-hover !important;
border: 2px solid @table_line !important;
border-right: 2px solid transparent !important;
border-left: 2px solid transparent !important;
}
.treeTbale table tbody .treetr:hover td:first-child {
border-left: 2px solid @table_line !important;
}
.treeTbale table tbody .treetr:hover td:last-child {
.treeTbale table tbody .treetr:hover td:last-child {
border-right: 2px solid @table_line !important;
}
.treetr .ivu-icon{
color: @treetr_icon;
}
//修改的搜索框样式
.search_icon {
width: 36px;
height: 32px;
background: #106FFE;
border:1px solid #106FFE;
box-sizing: border-box;
.ivu-btn{
border-radius: 0px 4px 4px 0px !important;
}
}
.search_text span{
color: @search_text_span !important;
border: 1px solid transparent !important;
}
.search_text:hover{
span{
color: #106FFE !important;
}
border: 1px solid transparent !important;
background: transparent !important;
.treetr .ivu-icon {
color: @treetr_icon;
}
......@@ -94,8 +94,13 @@
@right-icon-color: #F5F6FA;
@right-icon-color-hover: #106FFE;
@table-bg-color:#2F2F57;
@padding_input_border:#222341;
@search_icon_bg: #106FFE;
@table_checkbox_bg: #106FFE;
@table_checkbox_bd:#FFFFFF;
@table_checkbox_bd_header:#FFFFFF;
//高级搜索文字
@search_text_span:#ffffff;
//分页
@page-active-bg: rgba(16, 111, 254, 1);
@page-active-color-hover: #fff;
......@@ -104,21 +109,33 @@
//表格
@table_highbd:transparent;
@table-header-bg:#106FFE;
@table-header-border:#106FFE;
@table-border:#2F2F57;
@header_bd_right:#106FFE;
@table-header-color:#ffffff;
@table-body-bg:#2F2F57;
@table-body-bd:transparent;
@table_check_bd:1px solid #ffffff;
@table-body-bg_even:rgba(34, 35, 65, 0.41);
@table-body-bd_odd:transparent;
@checkbox-inner:transparent;
@table_body_allcol:#ffffff;
@tableCommon-bg:transparent;
@tableCommon-boder:transparent;
@table-boder:transparent;
@top_line:transparent;
@str_border:#222341;
@table-row-hover:#2F2F57;
@dispatch_part_border:1px solid transparent;
@back_part_top:#2F2F57;
@part_top_title:#ffffff;
@part_top_border:1px solid #2F2F57;
@table_border-bg:transparent;
@table_line:#106FFE;
@table_line:#106FFE;//不能改变高显行
@table-bottom_line:transparent;
@table-bottom-border:#ffffff;
// @border-right_line:transparent;
//工单列表等背景色
@part_body_backcolor:#2F2F57;
......@@ -129,5 +146,3 @@
@select_title:#ffffff;
//表格树的下拉
@treetr_icon:#ffffff;
//高级搜索文字
@search_text_span:#ffffff;
\ No newline at end of file
......@@ -96,7 +96,13 @@
@right-icon-color: #515A6E;
@right-icon-color-hover: #F5F6FA;
@table-bg-color:#ffffff;
@padding_input_border:#dcdee2;
@search_icon_bg:#2d8cf0;
@table_checkbox_bg:#2d8cf0;
@table_checkbox_bd:#e8eaec;
@table_checkbox_bd_header:#e8eaec;
//高级搜索文字
@search_text_span:#515a6e;
//分页
@page-active-bg: #fff;
@page-active-color-hover: #515A6E;
......@@ -104,21 +110,33 @@
@page-color: #515A6E;
//表格
@table-header-bg: #F8F8F9;
@table-header-border: #F8F8F9;
@table_highbd:#dcdee2;
@table-header-bg: #F5F6FA;
@table-header-border: #dcdee2;
@table-border: #dcdee2;
@header_bd_right:#e8eaec;
@table-header-color:#515a6e;
@table-body-bg: #fff;
@table-body-bg_even:#f7f7f7;
@table-body-bd:none;
@table_check_bd:transparent;
@table-body-bg_even:#f8f8f9;
@table-body-bd_odd: 1px solid #e8eaec;
@checkbox-inner:transparent;
@table_body_allcol:#515a6e;
@tableCommon-bg: #fff;
@tableCommon-boder:transparent;// #dcdee2
@tableCommon-boder:transparent;
@top_line:#dcdee2;
@str_border:#dcdee2;
@table-boder: transparent;
@table-row-hover: #EFF8F7;
@table-row-hover: #Ebf7ff;
@dispatch_part_border:1px solid #ccc;
@back_part_top:#f5f6fa;
@part_top_title:#515a6e;
@part_top_border:1px solid #f5f6fa;
@table_border-bg:#dcdee2;
@table_line:#e8eaec;
@table_line:#ebf7ff;
@table-bottom_line:#dcdee2;
@table-bottom-border:#ffffff;
// @border-right_line:#dcdee2;
//工单列表等背景色
@part_body_backcolor:#ffffff;
......@@ -129,5 +147,3 @@
@select_title:#515a6e;
//表格树的下拉
@treetr_icon: #2d8cf0;
//高级搜索文字
@search_text_span:#515a6e;
\ No newline at end of file
......@@ -94,7 +94,14 @@
@right-icon-color: #515A6E;
@right-icon-color-hover: #F5F6FA;
@table-bg-color:#ffffff;
@padding_input_border:#253d6d;
@search_icon_bg: #253D6D;
@table_checkbox_bg: #106FFE;
@table_checkbox_bd:#182C51;
@table_checkbox_bd_header:#FFFFFF;
@table-color:#182C51;
//高级搜索文字
@search_text_span: #253D6D;;
//分页
@page-active-bg: #253D6D;
......@@ -103,21 +110,34 @@
@page-color: #515A6E;
//表格
@table_highbd:transparent;
@table-header-bg: #253D6D;
@table-header-border: #253D6D;
@table-border:transparent;
@header_bd_right:#253D6D;
@table-header-color:#ffffff;
@table-body-bg: #fff;
@table_check_bd:1px solid #ffffff;
@table-body-bd:transparent;
@table-body-bg_even:rgba(4, 187, 140, 0.06);
@table-body-bd_odd:transparent;
@checkbox-inner:transparent;
@table_body_allcol:#182C51;
@tableCommon-bg: transparent;
@tableCommon-boder: transparent;
@table-boder: transparent;
@top_line:transparent;
@str_border:#F5F6FA;
@table-row-hover: #FFFFFF;
@dispatch_part_border:1px solid transparent;
@back_part_top:#253D6D;
@part_top_title:#ffffff;
@part_top_border:1px solid #ffffff;
@table_border-bg:transparent;
@table_line: #CACBD0;;
@table_line: #CACBD0;
@table-bottom_line:transparent;
@table-bottom-border:#ffffff;
// @border-right_line:transparent;
//工单列表等背景色
@part_body_backcolor:#ffffff;
......@@ -128,5 +148,4 @@
@select_title:#04BB8C;
//表格树的下拉
@treetr_icon: #515A6E;
//高级搜索文字
@search_text_span:#ffffff;
......@@ -500,7 +500,7 @@ export default {
}
.table-tools {
margin: 15px 20px 0;
margin: 13px 20px 0;
display: flex;
line-height: 50px;
background: @right-header-bg;
......
......@@ -17,7 +17,7 @@
<Icon type="ios-images" class="f20" />
<span class="ml10">各车间计划执行状态的详细情况</span>
</Col>
<Col span="9">
<Col span="9" style="margin-top: -6px;">
<DatePicker
:value="value2"
format="yyyy/MM/dd"
......@@ -26,7 +26,7 @@
placeholder="选择日期"
style="width: 200px"
></DatePicker>
<Button type="primary">查询</Button>
<Button type="primary" >查询</Button>
</Col>
</Row>
<div class="echarts-map">
......
......@@ -32,7 +32,8 @@
</a>
</div>
<Content class="con" :class="!showMenu?'con_bord':''">
<DataGrid :columns="columns" ref="grid" :action="action" exportTitle="工艺规程">
<theme ></theme>
<!-- <DataGrid :columns="columns" ref="grid" :action="action" exportTitle="工艺规程" >
<template slot="easySearch">
<Form ref="formInline" :model="easySearch" inline>
<FormItem prop="keys">
......@@ -47,13 +48,23 @@
<Search />
</template>
<template slot="buttons">
<Button type="primary" @click="add">新增</Button>
<Button @click="openModalIm">导入</Button>
<Button type="text" @click="add" class="search_text" icon="icon iconfont iconxinzeng">新增</Button>
<Dropdown class="dropIcon" @on-click="changeMenu">
<a href="javascript:void(0)">
<Icon type="icon iconfont iconshezhi-liebiaozhanshi" class="zhanshi" />
<Icon type="ios-arrow-down" class="arrow_down"></Icon>
</a>
<DropdownMenu slot="list" >
<DropdownItem name='导入' > <Icon type="icon iconfont icondaoru" />导入</DropdownItem>
<DropdownItem name='导出' > <Icon type="icon iconfont icondaochu" />导出</DropdownItem>
</DropdownMenu>
</Dropdown>
<Button @click="openModalIm" icon="icon iconfont icondaoru" class="search_text" type="text">导入</Button>
</template>
</DataGrid>
<Modal v-model="modal" :title="title" width="1120" footer-hide>
</DataGrid> -->
<Modal v-model="modal" :title="title" width="1120" footer-hide>
<component :is="detail" :eid="curId" :uid="uId" :title="title" :headid="hid" @on-close="cancel" @on-ok="ok" />
</Modal>
</Modal>
<Modal v-model="documentShow" title="送审" :mask-closable="false" :scrollable="true" ok-text="确定" cancel-text="取消" fullscreen>
<sendAudit ref="sendAudit"></sendAudit>
......@@ -105,13 +116,15 @@ import ProductTree from "@/components/page/productTree.vue";
import sendAudit from "./sendAudit.vue";
import routingchangeorder from "../processDesign/Process/routingchangeorder.vue";
import changelist from "../processDesign/Process/changelist.vue";
import theme from '../theme'
export default {
components: {
ProductTree,
Search,
sendAudit,
routingchangeorder,
changelist
changelist,
theme
},
head: {
title: "工艺规程",
......@@ -120,6 +133,14 @@ export default {
},
data() {
return {
formInline:{
value:''
},
ruleValidate: {
value: [
{ required: true, message: '输入不能为空', trigger: 'blur' }
],
},
showMenu: true,
treeHeight: "",
action: Api.index,
......@@ -608,10 +629,19 @@ export default {
return tempList
},
//批量导入end
//下拉菜单事件导入
changeMenu(name){
if(name=='导入'){
openModalIm();
}
if(name=='导出'){
}
}
}
};
</script>
<style lang="less" scoped>
.order-quotation {
height: 100vh !important;
}
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment