Commit 0e4f51a3 authored by 皮倩雯's avatar 皮倩雯

fix: '修改GIS平台样式'

parent d2c138bf
Pipeline #46605 passed with stages
in 6 minutes 24 seconds
/*
* @Description:
* @Author: leizhe
* @Date: 2022-01-13 10:47:32
* @LastEditTime: 2022-03-25 10:29:20
* @LastEditors: leizhe
*/
/* eslint-disable indent */ /* eslint-disable indent */
import { Button, Spin } from 'antd'; import { Button, Spin } from 'antd';
import React, { useState, useEffect } from 'react'; import React, { useState, useEffect } from 'react';
...@@ -53,7 +60,7 @@ const VectorData = props => { ...@@ -53,7 +60,7 @@ const VectorData = props => {
新增 新增
</Button> </Button>
</div> </div>
<div style={{ height: '700px', overflow: 'scroll' }}> <div style={{ height: 'calc(100vh - 230px)', overflow: 'scroll' }}>
<div className={styles.cardsList}> <div className={styles.cardsList}>
{tileData && tileData.length {tileData && tileData.length
? tileData.map((item, index) => { ? tileData.map((item, index) => {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Description: * @Description:
* @Author: leizhe * @Author: leizhe
* @Date: 2022-01-13 10:47:32 * @Date: 2022-01-13 10:47:32
* @LastEditTime: 2022-03-22 16:59:26 * @LastEditTime: 2022-03-25 10:28:02
* @LastEditors: leizhe * @LastEditors: leizhe
*/ */
/* eslint-disable indent */ /* eslint-disable indent */
...@@ -63,7 +63,7 @@ const VectorData = props => { ...@@ -63,7 +63,7 @@ const VectorData = props => {
</Button> </Button>
</div> </div>
<Spin tip="loading..." spinning={treeLoading}> <Spin tip="loading..." spinning={treeLoading}>
<div style={{ height: '780px', overflow: 'scroll', width: '100%' }}> <div style={{ height: 'calc(100vh - 230px)', overflow: 'scroll', width: '100%' }}>
<div className={styles.cardsList}> <div className={styles.cardsList}>
{tileData && tileData.length {tileData && tileData.length
? tileData.map((item, index) => { ? tileData.map((item, index) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment