|
@@ -1,5 +1,12 @@
|
|
|
<template>
|
|
|
- <BasicModal v-bind="$attrs" @register="register" @ok="confirm" :title="title" :minHeight="500">
|
|
|
+ <BasicModal
|
|
|
+ width="800px"
|
|
|
+ v-bind="$attrs"
|
|
|
+ @register="register"
|
|
|
+ @ok="confirm"
|
|
|
+ :title="title"
|
|
|
+ :minHeight="500"
|
|
|
+ >
|
|
|
<BasicForm @register="registerForm" :model="model" />
|
|
|
<!-- <MenuTree /> -->
|
|
|
<div class="tree-wrap">
|
|
@@ -188,7 +195,7 @@
|
|
|
}
|
|
|
|
|
|
.tree-label {
|
|
|
- width: 20.6%;
|
|
|
+ width: 13.5%;
|
|
|
margin-top: 8px;
|
|
|
margin-bottom: 1em;
|
|
|
text-align: center;
|
|
@@ -207,4 +214,40 @@
|
|
|
text-align: center;
|
|
|
}
|
|
|
}
|
|
|
+ @media (max-width: 360px) {
|
|
|
+ .ant-form-item-label {
|
|
|
+ line-height: 2.5715 !important;
|
|
|
+ text-align: center !important;
|
|
|
+ }
|
|
|
+ .tree-label {
|
|
|
+ width: 40%;
|
|
|
+ margin-top: 8px;
|
|
|
+ margin-bottom: 1em;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ .ant-tree li .ant-tree-node-content-wrapper {
|
|
|
+ font-size: 13px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ @media (max-width: 340px) {
|
|
|
+ .ant-form-item-label {
|
|
|
+ line-height: 2.5715 !important;
|
|
|
+ text-align: center !important;
|
|
|
+ }
|
|
|
+ .tree-label {
|
|
|
+ width: 40%;
|
|
|
+ margin-top: 8px;
|
|
|
+ margin-bottom: 1em;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ .ant-tree li ul {
|
|
|
+ padding: 0 0 0 8px !important;
|
|
|
+ }
|
|
|
+ .ant-tree li .ant-tree-node-content-wrapper {
|
|
|
+ font-size: 12px;
|
|
|
+ }
|
|
|
+ .ant-tree li .ant-tree-node-content-wrapper {
|
|
|
+ padding: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
</style>
|