Commit 22058d8e by 匡雅琴

样式调整

1 parent e010fd1d
...@@ -586,10 +586,12 @@ export default { ...@@ -586,10 +586,12 @@ export default {
} }
.el-form-item__label { .el-form-item__label {
width: 154px !important; width: 154px !important;
line-height: 32px;
} }
.el-form-item__content { .el-form-item__content {
width: 404px; width: 404px;
margin-left: 0 !important; margin-left: 0 !important;
line-height: 32px;
} }
} }
.account-type { .account-type {
......
...@@ -370,6 +370,9 @@ export default { ...@@ -370,6 +370,9 @@ export default {
flex: 1; flex: 1;
} }
/deep/ { /deep/ {
.el-form-item {
margin-bottom: 20px !important;
}
.el-form-item__content { .el-form-item__content {
width: 432px; width: 432px;
} }
......
...@@ -32,8 +32,8 @@ ...@@ -32,8 +32,8 @@
<SearchSelect @getCurDepartment="getCurDepartment" :name="componentsName1"></SearchSelect> <SearchSelect @getCurDepartment="getCurDepartment" :name="componentsName1"></SearchSelect>
</div> </div>
</div> </div>
<div class="icon_wrap"> <div class="relevance_btn">
<el-button type="purple" size="small" icon="el-icon-link" @click="handlerGL">关联</el-button> <el-button type="purple" size="small" @click="handlerGL">关联</el-button>
</div> </div>
</div> </div>
<div class="tbale-wrapper"> <div class="tbale-wrapper">
...@@ -443,4 +443,11 @@ export default { ...@@ -443,4 +443,11 @@ export default {
border-color: #5850ff; border-color: #5850ff;
border-radius: 4px; border-radius: 4px;
} }
.relevance_btn {
display: flex;
align-items: flex-end;
justify-content: center;
height: 65.09px;
padding-left: 8px;
}
</style> </style>
...@@ -191,7 +191,8 @@ export default { ...@@ -191,7 +191,8 @@ export default {
maxPhotoNum: 1, maxPhotoNum: 1,
// wdithLt: 800, // wdithLt: 800,
// heightLt: 640, // heightLt: 640,
hasPixel: false, isDisabled: false,
// hasPixel: false,
handleUpload: (e, file, targetItem) => { handleUpload: (e, file, targetItem) => {
const imgFile = e.target.result const imgFile = e.target.result
const base64 = file.name.split('.')[file.name.split('.').length - 1] + '@' + imgFile.split(',')[1] const base64 = file.name.split('.')[file.name.split('.').length - 1] + '@' + imgFile.split(',')[1]
......
...@@ -58,8 +58,8 @@ ...@@ -58,8 +58,8 @@
<p class="photo-top-tips">{{ item.topTips }}</p> <p class="photo-top-tips">{{ item.topTips }}</p>
<div v-if="!item.isDisabled"> <div v-if="!item.isDisabled">
<div v-if="Array.isArray(formObj[item.name]) ? formObj[item.name].length < item.maxPhotoNum : !formObj[item.name]" class="activity-img img-w-h"> <div v-if="Array.isArray(formObj[item.name]) ? formObj[item.name].length < item.maxPhotoNum : !formObj[item.name]" class="activity-img img-w-h">
<div class="add" :style="{ top: item.maxPhotoNum == 1 ? '50%' : '40%' }">+</div> <div class="add" :style="{ top: '40%' }">+</div>
<span v-show="item.maxPhotoNum > 1" class="number">{{ formObj[item.name].length }} / {{ item.maxPhotoNum }}</span> <span class="number">上传图片</span>
<input type="file" style="opacity: 0" :id="item.name + 'file'" ref="file" class="activity-img img-w-h" accept="image/png, image/jpeg, image/gif, image/jpg" @change="e => handleImgChange(e, item)" /> <input type="file" style="opacity: 0" :id="item.name + 'file'" ref="file" class="activity-img img-w-h" accept="image/png, image/jpeg, image/gif, image/jpg" @change="e => handleImgChange(e, item)" />
</div> </div>
</div> </div>
...@@ -313,8 +313,8 @@ export default { ...@@ -313,8 +313,8 @@ export default {
color: #999999; color: #999999;
} }
.glsx-combi-form .img-w-h { .glsx-combi-form .img-w-h {
width: 80px; width: 104px;
height: 80px; height: 104px;
} }
.glsx-combi-form .activity-img { .glsx-combi-form .activity-img {
position: relative; position: relative;
...@@ -322,6 +322,7 @@ export default { ...@@ -322,6 +322,7 @@ export default {
background-color: #f7f7f7; background-color: #f7f7f7;
border: 1px dashed #d9d9d9; border: 1px dashed #d9d9d9;
cursor: pointer; cursor: pointer;
border-radius: 4px;
} }
.glsx-combi-form .activity-Input { .glsx-combi-form .activity-Input {
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<span class="title">{{ pageName }}</span> <span class="title">{{ pageName }}</span>
</div> </div>
<div class="main_widget gl-form-page"> <div class="main_widget gl-form-page">
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="154px" class="demo-ruleForm"> <el-form :model="ruleForm" :rules="rules" size="small" ref="ruleForm" label-width="154px" class="demo-ruleForm">
<el-form-item v-if="pageType == 'create' && accountLevel != 4" label="所属商户:" prop="merchantId"> <el-form-item v-if="pageType == 'create' && accountLevel != 4" label="所属商户:" prop="merchantId">
<el-select size="small" v-model="ruleForm.merchantId" clearable filterable placeholder="请选择" @change="merchantChange"> <el-select size="small" v-model="ruleForm.merchantId" clearable filterable placeholder="请选择" @change="merchantChange">
<el-option v-for="item in merchantList" :key="item.id" :label="item.merchantName" :value="item.id"></el-option> <el-option v-for="item in merchantList" :key="item.id" :label="item.merchantName" :value="item.id"></el-option>
...@@ -41,8 +41,8 @@ ...@@ -41,8 +41,8 @@
</div> </div>
<el-row> <el-row>
<el-col :span="16"> <el-col :span="16">
<div data-v-995a4ff0="" class="role-list"> <div data-v-995a4ff0="">
<label for="roleName" class="el-form-item__label">角色权限:</label> <label for="roleName" class="el-form-item__label role-list">角色权限:</label>
<div class="el-form-item__content"> <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>
...@@ -414,7 +414,4 @@ export default { ...@@ -414,7 +414,4 @@ export default {
margin-right: 15px; margin-right: 15px;
} }
} }
/deep/.el-form-item {
margin-bottom: 20px;
}
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!