Commit 36650f59 by 前端

ui修改

1 parent bb34e9fc
...@@ -359,3 +359,121 @@ ...@@ -359,3 +359,121 @@
// .equity-wrap table td { // .equity-wrap table td {
// min-width: 50px; // min-width: 50px;
// } // }
.page-btm-btn{
display: flex;
justify-content: center;
margin-top: 16px;
}
.gl-form-page {
.ml12 {
margin-left: 12px;
}
.mr12 {
margin-right: 12px;
}
.mr24 {
margin-right: 24px;
}
.mb10 {
margin-bottom: 10px;
}
.mb12 {
margin-bottom: 12px;
}
.mb20 {
margin-bottom: 20px;
}
.w136 {
width: 136px !important;
}
.w154 {
width: 154px !important;
}
.w284 {
width: 284px !important;
}
.w432 {
width: 432px !important;
}
.w580 {
width: 580px !important;
}
.w728 {
width: 728px !important;
}
.el-form {
padding-left: 20px;
.el-form-item {
&:last-child {
margin-bottom: 0;
}
margin-bottom: 20px;
}
.el-form-item__label {
padding: 0;
width: 154px;
}
.el-button--medium {
padding: 10px 20px;
font-size: 14px;
border-radius: 4px;
}
.el-input {
width: 432px;
}
.el-input-number{
width: 136px;
.el-input {
width:100%;
}
.el-input-number__decrease{
background-color: #fff;
}
.el-input-number__increase{
background-color: #fff;
}
}
.el-textarea {
width: 580px !important;
}
.el-select {
width: 432px;
margin-right: 12px;
.el-input {
width: 432px;
}
.el-input--small .el-input__inner {
height: 32px;
line-height: 32px;
}
}
.el-date-editor {
width: 432px;
}
.welcome-box {
width: 580px;
}
}
&.gl-form-min {
.el-form {
.el-input {
width: 284px;
}
.el-textarea {
width: 432px !important;
}
.el-select {
width: 284px;
.el-input {
width: 284px;
}
}
.el-date-editor {
width: 284px;
}
.welcome-box {
width: 432px;
}
}
}
}
...@@ -456,4 +456,7 @@ export default { ...@@ -456,4 +456,7 @@ export default {
.glsx-combi-form .el-tag.el-tag--info .el-tag__close:hover { .glsx-combi-form .el-tag.el-tag--info .el-tag__close:hover {
background-color: #e8e8ea; background-color: #e8e8ea;
} }
.el-textarea__inner {
font-family: auto !important;
}
</style> </style>
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
</span> </span>
</GLTable> </GLTable>
<!-- 生成弹窗 --> <!-- 生成弹窗 -->
<GLDialog title="生成无忧卡" mode="mid" v-if="addDialog" :visible.sync="addDialog" :before-close="handleClose" @onOk="submitForm('detailForm')" @onCancel="cancelDetailDialog"> <GLDialog class="gl-form-page gl-form-min" title="生成无忧卡" mode="mid" v-if="addDialog" :visible.sync="addDialog" :before-close="handleClose" @onOk="submitForm('detailForm')" @onCancel="cancelDetailDialog">
<glsx-combi-form ref="productCard" labelWidth="154px" defaultWidth="432px" formRef="detailForm" :formObj="addDialogForm" :formData="addDialogFormData" :formRules="addDialogRules"></glsx-combi-form> <glsx-combi-form ref="productCard" labelWidth="154px" defaultWidth="284px" formRef="detailForm" :formObj="addDialogForm" :formData="addDialogFormData" :formRules="addDialogRules"></glsx-combi-form>
</GLDialog> </GLDialog>
</div> </div>
</div> </div>
...@@ -148,7 +148,7 @@ export default { ...@@ -148,7 +148,7 @@ export default {
}, },
{ {
type: 'input', type: 'input',
label: '具体价格(万)', label: '具体价格/万',
name: 'actualPrice', name: 'actualPrice',
isClear: true isClear: true
}, },
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
</span> </span>
</GLTable> </GLTable>
<!-- 修改界面弹窗 --> <!-- 修改界面弹窗 -->
<GLDialog :title="dialogTitle" mode="mid" class="detailDialog" v-if="modifyDialog" :visible.sync="modifyDialog" :before-close="handleClose" @onOk="submitForm('modifyForm')" @onCancel="cancelDialog"> <GLDialog class="gl-form-page gl-form-min" :title="dialogTitle" mode="mid" v-if="modifyDialog" :visible.sync="modifyDialog" :before-close="handleClose" @onOk="submitForm('modifyForm')" @onCancel="cancelDialog">
<glsx-combi-form ref="spaRef" labelWidth="154px" defaultWidth="432px" formRef="modifyForm" :formObj="modifyDialogForm" :formData="modifyDialogData" :formRules="modifyDialogRules"></glsx-combi-form> <glsx-combi-form ref="spaRef" labelWidth="154px" defaultWidth="284px" formRef="modifyForm" :formObj="modifyDialogForm" :formData="modifyDialogData" :formRules="modifyDialogRules"></glsx-combi-form>
</GLDialog> </GLDialog>
</div> </div>
</div> </div>
...@@ -286,42 +286,4 @@ export default { ...@@ -286,42 +286,4 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
// /deep/ .contain .el-input--small .el-input__inner {
// width: 215px;
// }
/deep/ .el-form-item {
margin-bottom: 0;
}
.selectForm .el-button + .el-button {
margin-left: 20px;
}
/deep/ .detailForm .el-input--small .el-input__inner {
height: 32px;
line-height: 32px;
width: 320px !important;
}
/deep/ .detailDialog .el-dialog__body {
padding: 30px 0px;
color: #606266;
font-size: 14px;
word-break: break-all;
text-align: center;
}
/deep/ .el-textarea__inner {
display: block;
resize: vertical;
padding: 5px 15px;
line-height: 1.5;
box-sizing: border-box;
width: 100%;
font-size: inherit;
color: #606266;
background-color: #fff;
background-image: none;
border: 1px solid #dcdfe6;
border-radius: 4px;
transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
width: 320px;
height: 80px;
}
</style> </style>
...@@ -188,25 +188,10 @@ ...@@ -188,25 +188,10 @@
</div> </div>
<!-- 底部固定按钮 --> <!-- 底部固定按钮 -->
<div style="height: 78px"></div> <div class="page-btm-btn">
<div <el-button v-if="![3, 5].includes(routeInfo.addOrEdit)" class="custom_black" @click="handleReset">重置</el-button>
class="fixed_bottom" <el-button class="custom_blue" v-if="![3, 5].includes(routeInfo.addOrEdit)" @click="handleDraft">草稿</el-button>
:style="{ <el-button v-if="routeInfo.addOrEdit != '5'" type="primary" @click="handleConfirm">{{ routeInfo.addOrEdit != '3' ? '提单' : '确定' }}</el-button>
left: footerLeft + 'px',
width: footerWidth + 'px'
}"
>
<div class="ma_top"></div>
<div class="flex_cc ma_bot">
<el-button v-if="![3, 5].includes(routeInfo.addOrEdit)" size="small" class="custom_black" @click="handleReset">重置</el-button>
<div class="mar-10"></div>
<el-button class="custom_blue" v-if="![3, 5].includes(routeInfo.addOrEdit)" size="small" @click="handleDraft">草稿</el-button>
<div class="mar-10"></div>
<el-button v-if="routeInfo.addOrEdit != '5'" type="primary" size="small" @click="handleConfirm">{{ routeInfo.addOrEdit != '3' ? '提单' : '确定' }}</el-button>
<div class="mar-10"></div>
<el-button v-if="routeInfo.addOrEdit != 5" size="small" @click="handleCancel">返回</el-button>
<el-button v-else size="small" type="primary" @click="handleCancel">返回</el-button>
</div>
</div> </div>
<!-- 二维码 --> <!-- 二维码 -->
...@@ -2058,40 +2043,6 @@ export default { ...@@ -2058,40 +2043,6 @@ export default {
.m-r-10 { .m-r-10 {
margin-right: 10px; margin-right: 10px;
} }
.fixed_bottom {
position: fixed;
width: 100%;
bottom: 0px;
height: 82px;
// display: flex;
// align-items: center;
// justify-content: center;
background: #ffffff;
z-index: 999;
// box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1);
.ma_top {
height: 4px;
background: #f4f5fa;
}
.ma_bot {
box-sizing: border-box;
padding: 0 20px 0 40px;
height: 78px;
.custom_black {
background: #ffffff;
color: #333333;
border: 1px solid #333333;
}
.custom_blue {
background: #ffffff;
color: #5850ff;
border: 1px solid #5850ff;
}
.mar-10 {
width: 20px;
}
}
}
.app { .app {
background: #f4f5fa; background: #f4f5fa;
padding: 0px 20px 20px 40px; padding: 0px 20px 20px 40px;
......
...@@ -111,17 +111,8 @@ ...@@ -111,17 +111,8 @@
</el-row> </el-row>
</relateStoreDialog> </relateStoreDialog>
</div> </div>
<div <div class="page-btm-btn">
class="footer-panel" <el-button type="primary" @click="onSubmit">确定</el-button>
:style="{
left: footerLeft + 'px',
width: footerWidth + 'px'
}"
>
<div class="wrap_driver">
<el-button type="primary" @click="onSubmit" size="small">确定</el-button>
</div>
<el-button @click="$router.go(-1)" size="small">取消</el-button>
</div> </div>
</div> </div>
</template> </template>
...@@ -543,9 +534,6 @@ export default { ...@@ -543,9 +534,6 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.container {
padding-bottom: 74px;
}
.allWrap { .allWrap {
padding-bottom: 80px; padding-bottom: 80px;
} }
......
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
</GLTable> </GLTable>
</div> </div>
<!-- 详情弹窗 --> <!-- 详情弹窗 -->
<GLDialog title="修改无忧卡" v-if="detailDialog" :visible.sync="detailDialog" mode="mid" :before-close="handleClose" @onOk="submitForm('detailForm')" @onCancel="cancelDetailDialog"> <GLDialog class="gl-form-page gl-form-min" title="修改无忧卡" v-if="detailDialog" :visible.sync="detailDialog" mode="mid" :before-close="handleClose" @onOk="submitForm('detailForm')" @onCancel="cancelDetailDialog">
<glsx-combi-form ref="product" labelWidth="154px" defaultWidth="432px" formRef="detailForm" :formObj="detailDialogForm" :formData="addDialogFormData" :formRules="detailDialogRules"></glsx-combi-form> <glsx-combi-form ref="product" labelWidth="154px" defaultWidth="284px" formRef="detailForm" :formObj="detailDialogForm" :formData="addDialogFormData" :formRules="detailDialogRules"></glsx-combi-form>
</GLDialog> </GLDialog>
</div> </div>
</template> </template>
...@@ -260,7 +260,7 @@ export default { ...@@ -260,7 +260,7 @@ export default {
}, },
{ {
type: 'input', type: 'input',
label: '具体价格(万)', label: '具体价格/万',
name: 'actualPrice', name: 'actualPrice',
isClear: true isClear: true
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!