2 Commity 0984aef8ab ... f5b6d0f255

Autor SHA1 Wiadomość Data
  cl f5b6d0f255 Merge branch 'master' of http://121.40.40.223:3000/zizhong.wang/boniuApi 4 lat temu
  cl 107c556249 修改样式 4 lat temu

Plik diff jest za duży
+ 5 - 1
boniu/.eslintcache


+ 51 - 9
boniu/src/components/StocksInfo/stocksInfo.css

@@ -26,15 +26,57 @@
 .first-table tr {
   display: flex;
 }
-.first-table .ant-table-cell:nth-child(1) {
-  flex: 2;
-}
-.first-table .ant-table-cell:nth-child(2) {
-  flex: 1;
-}
 .second-table tr {
   display: flex;
 }
-.second-table .ant-table-cell {
-  flex: 1;
-}
+.indent-level-1 {
+  padding-left: 0 !important;
+}
+h4.ant-typography {
+  font-size: 24px !important;
+}
+.no-tab thead tr th:not(:first-child) {
+  margin-left: -25px;
+}
+tr {
+  width: 100%;
+  justify-content: space-between;
+}
+
+tr td:last-child {
+  width: 30%;
+}
+tr th:last-child {
+  width: 30%;
+}
+.first-table tr td:first-child {
+  width: 70%;
+}
+.first-table tr th:first-child {
+  width: 70%;
+}
+.second-table tr td:first-child {
+  width: 40%;
+}
+.second-table tr th:first-child {
+  width: 40%;
+}
+
+.second-table tr td:nth-child(2) {
+  width: 30%;
+}
+.second-table tr th:nth-child(2) {
+  width: 30%;
+}
+.second-table tr th:last-child {
+  padding-left: 0 !important;
+}
+.second-table tr td:last-child {
+  padding-left: 0 !important;
+}
+.first-table tr th:last-child {
+  padding-left: 0 !important;
+}
+.first-table tr td:last-child {
+  padding-left: 0 !important;
+}

+ 45 - 9
boniu/src/components/indexBasicInfo/indexBasicInfo.css

@@ -26,21 +26,57 @@
 .first-table tr {
   display: flex;
 }
-.first-table .ant-table-cell:nth-child(1) {
-  flex: 2;
-}
-.first-table .ant-table-cell:nth-child(2) {
-  flex: 1;
-}
 .second-table tr {
   display: flex;
 }
-.second-table .ant-table-cell {
-  flex: 1;
-}
 .indent-level-1 {
   padding-left: 0 !important;
 }
 h4.ant-typography {
   font-size: 24px !important;
 }
+.no-tab thead tr th:not(:first-child) {
+  margin-left: -25px;
+}
+tr {
+  width: 100%;
+  justify-content: space-between;
+}
+
+tr td:last-child {
+  width: 30%;
+}
+tr th:last-child {
+  width: 30%;
+}
+.first-table tr td:first-child {
+  width: 70%;
+}
+.first-table tr th:first-child {
+  width: 70%;
+}
+.second-table tr td:first-child {
+  width: 40%;
+}
+.second-table tr th:first-child {
+  width: 40%;
+}
+
+.second-table tr td:nth-child(2) {
+  width: 30%;
+}
+.second-table tr th:nth-child(2) {
+  width: 30%;
+}
+.second-table tr th:last-child {
+  padding-left: 0 !important;
+}
+.second-table tr td:last-child {
+  padding-left: 0 !important;
+}
+.first-table tr th:last-child {
+  padding-left: 0 !important;
+}
+.first-table tr td:last-child {
+  padding-left: 0 !important;
+}