marymelisa 4 yıl önce
ebeveyn
işleme
d1e88bb9e6

+ 1 - 1
src/components/quoteTable/index.vue

@@ -5,7 +5,7 @@
              :data-source="dataSource"
              bordered
              :pagination="false"
-             :scroll="{ x: true, y: 600 }">
+             :scroll="{ x: true, y: 262 }">
       <template #action>
         <a>action</a>
       </template>

+ 1 - 0
src/components/thirdMenu/index.vue

@@ -52,6 +52,7 @@ export default defineComponent({
     height: 28px;
     padding-bottom: 2px;
     background-color: @m-black5;
+    z-index: 2;
     .ant-tabs {
         line-height: 26px;
         .flex;

+ 25 - 3
src/layout/bottom.vue

@@ -2,19 +2,21 @@
   <section class="layout-bottom">
     <CapitalInfo class="capital-info-container"></CapitalInfo>
     <main>
+        <div class="conditionIcon icon iconfont icon-shouqi"></div>
         <firstMenu :list="list"
             :value="'value'"
             @selectMenu="selectMenu" />
         <quoteTable :columns="columns"
                 :dataSource="data"
                 />
-        <!-- <thirdMenu></thirdMenu> -->
+        <thirdMenu></thirdMenu>
     </main>
   </section>
 </template>
 <script lang="ts">
 import { defineComponent } from 'vue';
 import CapitalInfo from '@/components/capitalInfo/index.vue';
+import firstMenu from '@/components/firstMenu/index.vue';
 import thirdMenu from '@/components/thirdMenu/index.vue';
 import quoteTable from '@/components/quoteTable/index.vue';
 import { MenuItem } from '@/components/contextMenu/interface';
@@ -71,8 +73,9 @@ export default defineComponent({
     name: 'layout-top',
     components: {
         CapitalInfo,
-        thirdMenu,
-        quoteTable
+        firstMenu,
+        quoteTable,
+        thirdMenu
     },
     setup() {
         const { list, selectMenu } = handleMenu();
@@ -88,12 +91,31 @@ export default defineComponent({
 <style lang="less">
 .layout-bottom {
     display: flex;
+    width: 100%;
+    overflow: hidden;
     .capital-info-container {
         width: 180px;
     }
     main {
+        max-width: calc(100% - 180px);
         flex: 1;
+        .flex;
+        flex-direction: column;
         background: rgb(14, 14, 15);
+        position: relative;
+        .conditionIcon {
+            font-size: 16px;
+            color: @m-grey1;
+            width: 16px;
+            height: 16px;
+            line-height: 16px;
+            cursor: pointer;
+            .position(absolute, 8px, 14px, auto, auto);
+            z-index: 2;
+            &:hover {
+                color: rgba(@m-grey1, .8);
+            }
+        }
     }
 }
 </style>