Commit 4a824b43 by 张权

无忧卡片,配置样式优化

1 parent 95d21bdd
......@@ -251,12 +251,42 @@ export default {
</script>
<style lang="scss" scoped>
.equity-wrap {
padding-right: 20px;
}
.addGood {
margin-bottom: 20px;
margin-left: 40px;
padding: 8px 16px;
// margin-bottom: 20px;
}
/deep/ .el-dialog {
.el-dialog__body {
padding: 40px 20px;
display: flex;
justify-content: center;
.el-form-item__label {
color: #333;
}
input{
height: 36px;
width: 320px;
font-size: 14px;
}
}
.el-dialog__footer {
height: 70px;
padding: 16px 20px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
border-top: 1px solid #e6e6e6;
text-align: center;
.el-button {
width: 72px;
margin: 0 10px;
}
}
}
/deep/ .contain .el-input--small .el-input__inner {
width: 215px;
}
......@@ -268,11 +298,7 @@ export default {
float: right;
margin-bottom: 10px;
}
/deep/ .el-dialog__footer {
padding: 16px 20px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
border-top: 1px solid #e6e6e6;
text-align: center;
/deep/ .el-pagination {
margin-top: 20px;
}
</style>
\ No newline at end of file
<template>
<div class="equity-wrap">
<div class="equity-wrap contain">
<div class="equity-wrap container">
<div class="equity-wrap contain" style="padding:0;margin-bottom:0;">
<div class="top">开通配置</div>
</div>
<div class="equity-wrap contain">
<div class="equity-wrap contain" style="padding-left:72px;">
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-position="left" size="medium">
<el-form-item v-if="add" label="商户明细">
<el-button size="small" @click="openDialog">{{ selectedTable == true ? '修改商户' : '选择商户' }}</el-button>
......@@ -423,6 +423,10 @@ export default {
</script>
<style lang="scss" scoped>
.container{
padding-right: 20px;
padding-bottom: 74px;
}
.allWrap {
padding-bottom: 80px;
}
......@@ -447,11 +451,23 @@ export default {
margin-right: 40px;
}
}
.el-button{
width: 88px;
height: 40px;
}
>.el-button{
border: 1px solid #d1d1d1;
color: #666;
}
}
.top {
padding-left: 20px;
height: 58px;
border-bottom: 1px solid black;
border-bottom: 1px solid #D8D8D8;
line-height: 58px;
font-size: 16px;
font-weight: 600;
color: #333333;
}
.fr-mr0 {
float: right;
......@@ -476,4 +492,41 @@ export default {
margin: -10px -20px;
width: 120px;
}
/deep/ .el-form{
.el-form-item:nth-child(-n+2) {
.el-form-item__label{
font-size: 14px;
font-weight: 600;
color: #3E3E3E;
}
}
.el-form-item {
margin-bottom: 8px;
}
.el-form-item:first-child {
margin-bottom: 20px;
.el-button{
border: 1px solid #5850FF;
color: #5850FF;
}
}
.el-form-item:nth-child(2) {
margin-bottom: 0;
}
.el-form-item:nth-child(n+2) {
.el-form-item__content{
>div{
margin-left: 20px;
&, .el-checkbox__label, .el-radio__label {
color: #666;
}
}
>label {
.el-checkbox__label {
color: #3E3E3E;
}
}
}
}
}
</style>
<template>
<div class="equity-wrap">
<GLButton fn="开通配置" class="addGood" type="primary" icon="el-icon-plus" @click="jump('add')">开通配置</GLButton>
<!-- <el-button fn="开通配置" class="addGood" type="primary" icon="el-icon-plus" @click="jump('add')">开通配置</el-button> -->
<div class="equity-wrap contain">
<el-button fn="开通配置" class="addGood" type="primary" icon="el-icon-right" @click="jump('add')">开通配置</el-button>
<div class="equity-wrap contain merchant-select">
<el-form :inline="true" style="width: 100%" :model="searchForm" label-width="85px" label-position="right">
<el-row>
<el-form-item size="small" label="">
......@@ -13,7 +13,7 @@
</el-select>
</el-input>
</el-form-item>
<el-form-item size="small" label="开通状态" style="margin-left: -10px">
<el-form-item class="open-status" size="small" label="开通状态" style="margin-left: -10px">
<el-select size="small" v-model="openFlag">
<el-option v-for="item in openFlagList" :key="item.value" :label="item.label" :value="item.value"></el-option>
</el-select>
......@@ -40,7 +40,7 @@
<el-button fn="修改配置" type="text" @click="jump(scope.scope.merchantId)">修改配置</el-button>
</span>
<span slot="openFlag" slot-scope="scope">
<el-switch :value="scope.scope.openFlag == 1" active-color="#13ce66" inactive-color="#ff4949" @change="changStatus(scope.scope.openFlag, scope.scope.id)"></el-switch>
<el-switch :value="scope.scope.openFlag == 1" active-color="#5850ff" inactive-color="#eee" @change="changStatus(scope.scope.openFlag, scope.scope.id)"></el-switch>
</span>
</GLTable>
</div>
......@@ -321,21 +321,73 @@ export default {
</script>
<style lang="scss" scoped>
.equity-wrap {
padding-right: 20px;
}
.addGood {
margin-bottom: 20px;
margin-bottom: 10px;
margin-left: 40px;
padding: 8px 16px;
// margin-bottom: 20px;
}
/deep/ .contain .el-input--small .el-input__inner {
width: 215px;
.merchant-select {
margin-bottom: 10px!important;
}
/deep/ .equity-wrap {
.el-button+.el-button {
margin-left: 20px;
}
.el-form--inline .el-form-item {
margin-bottom: 0;
}
.open-status {
.el-input__inner {
width: 215px;
color: #999;
}
.el-form-item__label {
color: #333333;
display: inline;
padding-right: 15px;
}
}
.el-input-group--prepend .el-select .el-input__inner, .el-input-group__append {
width: 120px;
color: #333333;
}
.el-input-group--prepend .el-input__inner, .el-input-group__append:last-child {
width: 166px;
color: #999;
}
.el-form-item__content .el-button--small:first-child, .row-btns>div .el-button--small:first-child {
border-color: #5850ff;
color: #5850ff;
}
.el-form-item__content .el-button--small:last-child, .row-btns>div .el-button--small:last-child {
border-color: #999;
color: #666666;
}
.row-btns .el-checkbox__label {
color: #333;
padding-left: 8px;
}
.cell .el-button--text {
color: #666;
}
.el-pagination {
margin-top: 20px;
}
}
.row-btns {
margin-top: 5px;
height: 32px;
line-height: 32px;
margin-bottom: 10px;
}
.fr-mr0 {
float: right;
margin-right: 0px !important;
}
/deep/ .el-input-group__prepend {
background-color: #fff;
}
</style>
\ No newline at end of file
......@@ -31,8 +31,8 @@
<el-option v-for="(item, index) in lifeOptions" :key="index" :label="item.label" :value="item.value"></el-option>
</el-select>
</el-form-item>
<el-form-item size="small" style="float: right; margin-right: 0px !important">
<el-button class="selectBtn" size="small" @click="detailSelect('reset')">重置</el-button>
<el-form-item size="small" style="float: right; margin-right: 0px !important; padding-top: 5px;">
<el-button class="selectBtn" size="small" @click="detailSelect('reset')" style="border-color:#5850FF;color:#5850FF;margin-right:10px;">重置</el-button>
<el-button class="selectBtn" size="small" type="primary" @click="detailSelect('select')" style="">查询</el-button>
</el-form-item>
</el-row>
......@@ -418,6 +418,9 @@ export default {
</script>
<style lang="scss" scoped>
.equity-wrap {
padding-right: 20px;
}
.addGood {
margin-bottom: 20px;
margin-left: 40px;
......@@ -427,6 +430,44 @@ export default {
/deep/ .contain .el-input--small .el-input__inner {
width: 215px;
}
/deep/ .el-dialog {
.el-dialog__body{
padding: 40px 20px;
display: flex;
justify-content: center;
.el-form-item__label {
color: #333;
}
input {
height: 36px;
width: 320px;
font-size: 14px;
}
}
.el-dialog__footer {
height: 70px;
.el-button{
width: 72px;
margin: 0 10px;
}
}
}
.contain:first-child {
margin-bottom: 10px;
.el-row:first-child {
margin-bottom: 20px;
}
/deep/ .el-form-item {
margin-bottom: 0;
.el-form-item__label {
color: #333;
height: 32px;
}
.el-input__inner {
height: 32px;
}
}
}
.row-btns {
margin-top: 5px;
margin-bottom: 10px;
......@@ -438,4 +479,26 @@ export default {
border-top: 1px solid #e6e6e6;
text-align: center;
}
/deep/ .el-alert {
height: 40px;
background: #E6E9FF;
border: 1px solid #5850FF;
padding: 0 15px;
line-height: 40px;
p{
font-size: 14px;
color: rgba(0, 0, 0, 0.65);
}
.el-alert__description {
margin: 0;
}
.el-alert__icon {
color: #5850FF;
font-size: 18px;
width: 18px;
}
}
/deep/ .el-pagination {
margin-top: 20px;
}
</style>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!