浏览代码

bugfix:增加标题

leo 1 年之前
父节点
当前提交
035ef8afa2
共有 1 个文件被更改,包括 9 次插入4 次删除
  1. 9 4
      pages/transferDuration/index.vue

+ 9 - 4
pages/transferDuration/index.vue

@@ -1,6 +1,7 @@
 <template>
-    <div :style="{ 'height': '100vh' }">
+    <div :style="{ 'height': '100vh', 'background': '#1c1c1e'  }">
         <div class="transfer-duration">
+            <div class="transfer-duration-title">转移时长</div>
             <div class="transfer-duration-tabs">
                 <!-- <div class="transfer-duration-tabs_item active">123456</div>
                 <div class="transfer-duration-tabs_item">1432123</div> -->
@@ -61,7 +62,6 @@ export default {
 .transfer-duration {
     font-family: PingFangSC, PingFang SC;
     color: #C0C1C4;
-    background: #1c1c1e;
     display: flex;
     flex-direction: column;
     // padding: 16px 16px 0;
@@ -69,10 +69,15 @@ export default {
     font-weight: bold;
     // overflow: hidden;
     height: 100%;
-
+    .transfer-duration-title{
+        font-size: 18px;
+        padding: 0 26px;
+        line-height: 40px;
+        font-weight: 600;
+    }
     .transfer-duration-tabs {
         height: 48px;
-        margin: 16px 16px 0;
+        margin: 0 16px;
         background: #363636;
         border-radius: 8px;
         box-sizing: border-box;