Commit e010fd1d by 匡雅琴

样式调整

1 parent d3986f20
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"el-tree-transfer": "^2.2.6", "el-tree-transfer": "^2.2.6",
"element-ui": "^2.4.5", "element-ui": "^2.4.5",
"glsx-common": "^1.4.6", "glsx-common": "^1.4.6",
"glsx-components": "^1.5.1", "glsx-components": "^1.5.2",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"qrcodejs2": "^0.0.2", "qrcodejs2": "^0.0.2",
"vue": "^2.6.10", "vue": "^2.6.10",
......
...@@ -103,7 +103,7 @@ img { ...@@ -103,7 +103,7 @@ img {
.scrm-box-f { .scrm-box-f {
background: #ffffff; background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1); // box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
} }
.scrm-flex { .scrm-flex {
......
...@@ -13,9 +13,10 @@ ...@@ -13,9 +13,10 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item :label="detailAddressLabel"> <el-form-item :label="detailAddressLabel">
<el-input size="small" v-if="mapView" readonly placeholder="请选择详细地址" v-model="provinceForm.fullAddress"> <el-input size="small" v-if="mapView" readonly placeholder="请选择详细地址" v-model="provinceForm.fullAddress" class="map-input">
<el-button size="small" slot="append" @click="hanleSelectMap"> <el-button size="small" slot="append" @click="hanleSelectMap" icon="gl-icon-location">
<img src="@/assets/map.png" alt="" class="map-icon" /> <!-- <img src="@/assets/map.png" alt="" class="map-icon" /> -->
<!-- <i class="gl-icon-location"></i> -->
</el-button> </el-button>
</el-input> </el-input>
</el-form-item> </el-form-item>
...@@ -336,8 +337,10 @@ export default { ...@@ -336,8 +337,10 @@ export default {
} }
margin-left: 10px; margin-left: 10px;
} }
.map-icon { .map-input {
vertical-align: middle; /deep/ .el-input__inner {
border-right: none;
}
} }
/deep/ { /deep/ {
.el-input-group__append { .el-input-group__append {
......
...@@ -17,7 +17,7 @@ export const fetchConfig = function(isEnv = false) { ...@@ -17,7 +17,7 @@ export const fetchConfig = function(isEnv = false) {
Object.assign(request, { timeout }) Object.assign(request, { timeout })
return Promise.resolve(cfg) return Promise.resolve(cfg)
} }
return new Http().get('https://oss-config.test.glsx.com.cn/mock/617ba1df1072f92988f05a14/account/config') return new Http().get('https://oss-config.dev.glsx.com.cn/mock/617ba1df1072f92988f05a14/account/config')
// return new Http().get('http://config-center-backend.test.glsx.com/glsxAdmin/config?moduleUrl=setting-kyq').then(res => res.data) // return new Http().get('http://config-center-backend.test.glsx.com/glsxAdmin/config?moduleUrl=setting-kyq').then(res => res.data)
} }
export const config = { export const config = {
......
...@@ -65,11 +65,11 @@ ...@@ -65,11 +65,11 @@
</div> </div>
<select-product v-show="step == 2" ref="productForm" title="功能权限"></select-product> <select-product v-show="step == 2" ref="productForm" title="功能权限"></select-product>
<GLFooter style="z-index: 2"> <GLFooter style="z-index: 2">
<el-button @click="handleCancel">取消</el-button>
<el-button type="primary" @click="handleNext" v-show="step == 1">下一步</el-button> <el-button type="primary" @click="handleNext" v-show="step == 1">下一步</el-button>
<el-button type="primary" @click="handleSave(1)" v-show="step == 2">存草稿</el-button> <el-button type="primary" @click="handleSave(1)" v-show="step == 2">存草稿</el-button>
<el-button type="primary" @click="handlePrev" v-show="step == 2">上一步</el-button> <el-button type="primary" @click="handlePrev" v-show="step == 2">上一步</el-button>
<el-button type="primary" @click="handleSave(2)" v-show="step == 2">确定</el-button> <el-button type="primary" @click="handleSave(2)" v-show="step == 2">确定</el-button>
<el-button type="primary" @click="handleCancel">取消</el-button>
</GLFooter> </GLFooter>
</div> </div>
</template> </template>
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<div class="bottom-spe">
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<ProvinceCity ref="provinceForm" :subdistrict="subdistrict" @selectProvince="selectProvince" @selectCity="selectCity" :detailAddressLabel="detailAddressLabel" @selectAddressByMap="selectAddressByMap"></ProvinceCity> <ProvinceCity ref="provinceForm" :subdistrict="subdistrict" @selectProvince="selectProvince" @selectCity="selectCity" :detailAddressLabel="detailAddressLabel" @selectAddressByMap="selectAddressByMap"></ProvinceCity>
...@@ -40,6 +41,7 @@ ...@@ -40,6 +41,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
</div>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="营业时间:" class="open-time"> <el-form-item label="营业时间:" class="open-time">
...@@ -78,7 +80,7 @@ ...@@ -78,7 +80,7 @@
</el-upload> </el-upload>
</div> </div>
</el-form-item> </el-form-item>
<div class="tips">图片格式仅支持JPG,PNG格式,大小1M</div> <div class="tips">图片格式仅支持JPG、PNG格式,大小1M</div>
</el-col> </el-col>
</el-row> </el-row>
</el-form> </el-form>
...@@ -496,4 +498,11 @@ export default { ...@@ -496,4 +498,11 @@ export default {
min-width: 1000px; min-width: 1000px;
} }
} }
.bottom-spe {
.el-col {
/deep/ .el-form-item:first-child {
margin-bottom: 10px;
}
}
}
</style> </style>
...@@ -18,18 +18,12 @@ ...@@ -18,18 +18,12 @@
</div> </div>
</div> </div>
<div v-show="step == 'second'"> <div v-show="step == 'second'">
<div class="account-body scrm-box-f"> <div class="account-body gl-form-page">
<div class="form-title">修改账户信息</div> <div class="form-title">修改账户信息</div>
<el-form ref="accountInfoForm" :model="accountInfoForm" class="gl-form-page" label-width="154px" :rules="accountInfoRules"> <el-form ref="accountInfoForm" class="account-box" :model="accountInfoForm" :rules="accountInfoRules">
<el-row>
<el-col :span="12">
<el-form-item label="登录账户名:" label-width="154px" prop="merchantLoginAccount"> <el-form-item label="登录账户名:" label-width="154px" prop="merchantLoginAccount">
<el-input readonly size="small" class="w432" v-model="accountInfoForm.merchantLoginAccount" placeholder="请输入登录账户名"></el-input> <el-input readonly size="small" class="w432" v-model="accountInfoForm.merchantLoginAccount" placeholder="请输入登录账户名"></el-input>
</el-form-item> </el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item size="small" label="登录密码:" label-width="154px" prop="merchantLoginPassword" class="form-password"> <el-form-item size="small" label="登录密码:" label-width="154px" prop="merchantLoginPassword" class="form-password">
<el-input type="password" maxlength="20" :readonly="pwdStatus ? 'readonly' : false" v-model="accountInfoForm.merchantLoginPassword" placeholder="请输入登录密码(必须包含6-20个字母+数字)" show-password></el-input> <el-input type="password" maxlength="20" :readonly="pwdStatus ? 'readonly' : false" v-model="accountInfoForm.merchantLoginPassword" placeholder="请输入登录密码(必须包含6-20个字母+数字)" show-password></el-input>
<el-button <el-button
...@@ -43,15 +37,9 @@ ...@@ -43,15 +37,9 @@
重置密码 重置密码
</el-button> </el-button>
</el-form-item> </el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="16">
<el-form-item label="账户类型:"> <el-form-item label="账户类型:">
<auto-button v-for="(item, index) in accountTypes" :key="index" :btnLabel="item.accounttypeName" :btnValue="item.accounttypeId" stopClick="true" :typeStatus="accounttypeId.indexOf(item.accounttypeId) == -1 ? true : false"></auto-button> <auto-button v-for="(item, index) in accountTypes" :key="index" :btnLabel="item.accounttypeName" :btnValue="item.accounttypeId" stopClick="true" :typeStatus="accounttypeId.indexOf(item.accounttypeId) == -1 ? true : false"></auto-button>
</el-form-item> </el-form-item>
</el-col>
</el-row>
</el-form> </el-form>
</div> </div>
<div class="account-body scrm-box-f"> <div class="account-body scrm-box-f">
...@@ -63,9 +51,9 @@ ...@@ -63,9 +51,9 @@
<select-product title="功能权限" ref="productForm"></select-product> <select-product title="功能权限" ref="productForm"></select-product>
</div> </div>
<GLFooter style="z-index: 2"> <GLFooter style="z-index: 2">
<el-button @click="handleCancel">取消</el-button>
<el-button type="primary" @click="handleSave()" v-show="step == 'first'">确定</el-button> <el-button type="primary" @click="handleSave()" v-show="step == 'first'">确定</el-button>
<el-button type="primary" @click="handleNext()" v-show="step == 'second'">确定</el-button> <el-button type="primary" @click="handleNext()" v-show="step == 'second'">确定</el-button>
<el-button type="primary" @click="handleCancel">取消</el-button>
</GLFooter> </GLFooter>
</div> </div>
</template> </template>
...@@ -508,6 +496,10 @@ export default { ...@@ -508,6 +496,10 @@ export default {
} }
} }
.account-body { .account-body {
background-color: #fff;
.account-box {
padding: 32px 0 68px 0;
}
&:nth-of-type(2) { &:nth-of-type(2) {
margin-top: 20px; margin-top: 20px;
margin-bottom: 20px; margin-bottom: 20px;
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<el-input class="input-width" v-model="infoForm.merchantAddress" placeholder="请选择商户地址" readonly="readonly"></el-input> <el-input class="input-width" v-model="infoForm.merchantAddress" placeholder="请选择商户地址" readonly="readonly"></el-input>
<el-button @click="hanleSelectMap" type="primary">选择地址</el-button> <el-button @click="hanleSelectMap" type="primary">选择地址</el-button>
</el-form-item> --> </el-form-item> -->
<el-form-item size="small" label="经营业务类型:"> <el-form-item size="small" label="经营业务类型:" class="bussiness-type">
<el-checkbox-group v-model="infoForm.businessType"> <el-checkbox-group v-model="infoForm.businessType">
<el-checkbox :label="item.dictValue" v-for="item in businessType" :key="item.dictValue" :disabled="item.dictValue <= 6">{{ item.dictLabel }}</el-checkbox> <el-checkbox :label="item.dictValue" v-for="item in businessType" :key="item.dictValue" :disabled="item.dictValue <= 6">{{ item.dictLabel }}</el-checkbox>
</el-checkbox-group> </el-checkbox-group>
...@@ -380,4 +380,9 @@ export default { ...@@ -380,4 +380,9 @@ export default {
margin-right: 7px; margin-right: 7px;
} }
} }
.bussiness-type {
/deep/ .el-form-item__content {
min-width: 1000px;
}
}
</style> </style>
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
<template> <template>
<div v-loading="loading"> <div v-loading="loading">
<div class="select-input-box" @click="switchBrand"> <div class="select-input-box" @click="switchBrand">
<div>
<template v-for="(item, idx) in getCheckedArr"> <template v-for="(item, idx) in getCheckedArr">
<el-tag effect="plain" type="info" :key="idx" closable :disable-transitions="false" @close="removeItem(item, idx)" v-if="idx < 3"> <el-tag effect="plain" type="info" :key="idx" closable :disable-transitions="false" @close="removeItem(item, idx)" v-if="idx < 3">
{{ item.label }} {{ item.label }}
...@@ -23,6 +24,11 @@ ...@@ -23,6 +24,11 @@
<el-tag effect="plain" slot="reference" type="info" v-show="getCheckedArr.length > 3">+ {{ getCheckedArr.length - 3 }}</el-tag> <el-tag effect="plain" slot="reference" type="info" v-show="getCheckedArr.length > 3">+ {{ getCheckedArr.length - 3 }}</el-tag>
</el-popover> </el-popover>
</div> </div>
<div>
<i v-show="!brandTree" class="el-icon-arrow-up" style="color:#909399"></i>
<i v-show="brandTree" class="el-icon-arrow-down" style="color:#909399"></i>
</div>
</div>
<div class="tree-box" v-show="brandTree"> <div class="tree-box" v-show="brandTree">
<el-input class="tree-input" prefix-icon="el-icon-search" placeholder="输入关键字进行过滤" v-model="filterText"></el-input> <el-input class="tree-input" prefix-icon="el-icon-search" placeholder="输入关键字进行过滤" v-model="filterText"></el-input>
<el-tree class="filter-tree" @check="handleCheck" :data="brandListTree" :props="defaultProps" node-key="id" show-checkbox :filter-node-method="filterNode" ref="tree"></el-tree> <el-tree class="filter-tree" @check="handleCheck" :data="brandListTree" :props="defaultProps" node-key="id" show-checkbox :filter-node-method="filterNode" ref="tree"></el-tree>
...@@ -211,8 +217,9 @@ export default { ...@@ -211,8 +217,9 @@ export default {
border-radius: 4px; border-radius: 4px;
border: 1px solid #e5e5e5; border: 1px solid #e5e5e5;
box-sizing: border-box; box-sizing: border-box;
padding: 4px; padding: 8px;
display: flex; display: flex;
justify-content: space-between;
align-items: center; align-items: center;
/deep/ .el-tag { /deep/ .el-tag {
margin-right: 5px; margin-right: 5px;
......
...@@ -536,7 +536,7 @@ export default { ...@@ -536,7 +536,7 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
word-wrap: break-word; word-wrap: break-word;
} }
/deep/ .el-form-item { // /deep/ .el-form-item {
margin-bottom: 20px !important; // margin-bottom: 20px !important;
} // }
</style> </style>
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="glsx-combi-form"> <div class="glsx-combi-form">
<el-form :ref="formRef" :inline="true" :model="formObj" :label-width="labelWidth" :rules="formRules" size="small" class="glsx-combi-form-block"> <el-form :ref="formRef" :inline="true" :model="formObj" :label-width="labelWidth" :rules="formRules" size="small" class="glsx-combi-form-block">
<template v-for="(item, index) in formData"> <template v-for="(item, index) in formData">
<el-form-item v-if="!item.isHide" :key="index" :labelWidth="isEdit ? '154px' : labelWidth" :class="{ 'no-label': !item.label, isBlock: isBlock }" :style="{ 'margin-bottom': isEdit ? '24px' : '', 'margin-right': isEdit ? '0px' : '30px', ...item.style }" :label="item.label" :prop="item.name"> <el-form-item v-if="!item.isHide" :key="index" :labelWidth="isEdit ? '154px' : labelWidth" :class="{ 'no-label': !item.label, isBlock: isBlock }" :style="{ 'margin-bottom': isEdit ? '20px' : '', 'margin-right': isEdit ? '0px' : '30px', ...item.style }" :label="item.label" :prop="item.name">
<span v-if="!item.isHide && item.tips" class="tips-block" slot="label"> <span v-if="!item.isHide && item.tips" class="tips-block" slot="label">
<span class="tips-label">{{ item.label }}</span> <span class="tips-label">{{ item.label }}</span>
<el-tooltip popper-class="tooltip-class" effect="dark" :content="item.tips" :placement="item.placement || 'top'"> <el-tooltip popper-class="tooltip-class" effect="dark" :content="item.tips" :placement="item.placement || 'top'">
......
<template> <template>
<div class="account-body scrm-box-f role-border" v-loading="loading" v-if="tabMenuStatus"> <div class="account-body role-border" v-loading="loading" v-if="tabMenuStatus">
<!-- <div class="account-title">{{ title }}</div> --> <!-- <div class="account-title">{{ title }}</div> -->
<el-tabs v-if="tabMenu.length != 0" v-model="tabName" @tab-click="handleClik"> <el-tabs v-if="tabMenu.length != 0" v-model="tabName" @tab-click="handleClik">
<template v-for="(item, index) in tabMenu"> <template v-for="(item, index) in tabMenu">
...@@ -508,10 +508,15 @@ export default { ...@@ -508,10 +508,15 @@ export default {
margin-bottom: 12px; margin-bottom: 12px;
} }
} }
/deep/ .el-tree { /deep/ {
.el-tree {
height: 640px; height: 640px;
overflow: auto; overflow: auto;
padding: 0 20px; padding: 20px 20px;
font-size: 14px; font-size: 14px;
}
.el-checkbox__input.is-checked + .el-checkbox__label {
color: #303133;
}
} }
</style> </style>
...@@ -42,8 +42,8 @@ ...@@ -42,8 +42,8 @@
<el-row> <el-row>
<el-col :span="16"> <el-col :span="16">
<div data-v-995a4ff0="" class="role-list"> <div data-v-995a4ff0="" class="role-list">
<label for="roleName" class="el-form-item__label">角色权限</label> <label for="roleName" class="el-form-item__label">角色权限:</label>
<div class="el-form-item__content" style="margin-left: 100px"> <div class="el-form-item__content">
<!-- <div data-v-995a4ff0="" class="el-input el-input--small"> <!-- <div data-v-995a4ff0="" class="el-input el-input--small">
<auto-button v-for="(item, index) in accountDetail.accountTypes" :key="index" :btnLabel="item.accounttypeName" :btnValue="item.accounttypeId" :stopClick="nextStatus" @getBtnStatus="getBtnStatus"></auto-button> <auto-button v-for="(item, index) in accountDetail.accountTypes" :key="index" :btnLabel="item.accounttypeName" :btnValue="item.accounttypeId" :stopClick="nextStatus" @getBtnStatus="getBtnStatus"></auto-button>
</div> --> </div> -->
...@@ -366,7 +366,7 @@ export default { ...@@ -366,7 +366,7 @@ export default {
background: #ffffff; background: #ffffff;
} }
.role-list { .role-list {
padding: 40px 0 20px 104px; padding: 32px 0 32px 104px;
} }
.top_title_widget { .top_title_widget {
width: 100%; width: 100%;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!