فهرست منبع

修改 用户配置下 部分样式问题

sophieChenyx 6 سال پیش
والد
کامیت
df214dec6a

+ 4 - 0
src/components/AXTableSelector/columnsMap.js

@@ -283,18 +283,22 @@ const clMap = {
       title: '标签名称',
       key: 1,
       dataIndex: 'name',
+      width: '30%',
     }, {
       title: '标签类型',
       key: 2,
       dataIndex: 'typeCode',
+      width: '15%',
     }, {
       title: '所属标签组',
       key: 3,
       dataIndex: 'groupName',
+      width: '40',
     }, {
       title: '所属渠道',
       key: 4,
       dataIndex: 'merchantName',
+      width: '15%',
     }],
   },
   Tag: {

+ 9 - 4
src/routes/Frontend/ConfigUser/ConfigTag.js

@@ -388,12 +388,12 @@ export default class ConfigTag extends Component {
           </div>
         );
       },
-      width: '30%',
+      width: '20%',
       align: 'center',
     }, {
       title: '操作',
       key: 6,
-      width: '15%',
+      width: '30%',
       render: (_, record) => {
         const { id, isNew, isEdit } = record;
         const getPopconfirmBtn = () => {
@@ -423,6 +423,12 @@ export default class ConfigTag extends Component {
               >保存
               </Button>
               {getPopconfirmBtn()}
+              <Button
+                size="small"
+                className="depositBtn"
+                onClick={() => this.handleSelectorModalShow('allTag', id)}
+              >复制
+              </Button>
             </div>
           );
         }
@@ -437,11 +443,10 @@ export default class ConfigTag extends Component {
             {getPopconfirmBtn()}
             <Button
               size="small"
-              className={styles.copyBtn}
+              className="depositBtn"
               onClick={() => this.handleSelectorModalShow('allTag', id)}
             >复制
             </Button>
-
           </div>
         );
       },

+ 0 - 1
src/routes/Frontend/ConfigUser/ConfigTag.less

@@ -61,7 +61,6 @@
     }
   }
 }
-
 .copyBtn {
   margin-left: 10px;
   font-weight: 500;

+ 1 - 0
src/routes/Resource/Picture/PictureTableList.less

@@ -28,6 +28,7 @@
   font-weight: 500;
 }
 .delBtn {
+  margin-right: 10px;
   background: #f5222d;
   color: #fff;
   font-weight: 500;

+ 0 - 1
src/routes/Terminal/User/TerminalList.js

@@ -173,7 +173,6 @@ export default class TerminalListPage extends Component {
     const { loading, fetching1, fetching2, form, campus, merchant, terminal } = this.props;
     const { list, totalSize, pageSize, pageNo } = terminal;
     const { getFieldDecorator } = form;
-
     const renderCampusName = (name) => {
       return (
         <Ellipsis tooltip lines={1}>{name}</Ellipsis>