Browse Source

历史回顾-时代名称

任一存 2 years ago
parent
commit
0440736b31
2 changed files with 28 additions and 0 deletions
  1. BIN
      src/assets/images/underline-history-stage.png
  2. 28 0
      src/views/HistoryNew.vue

BIN
src/assets/images/underline-history-stage.png


+ 28 - 0
src/views/HistoryNew.vue

@@ -17,6 +17,15 @@
         draggable="false"
         draggable="false"
       >
       >
     </div>
     </div>
+    <div class="stage-name">
+      <h1>开埠通商</h1>
+      <img
+        class="underline"
+        src="@/assets/images/underline-history-stage.png"
+        alt=""
+        draggable="false"
+      >
+    </div>
     <div
     <div
       class="time-axis-wrap"
       class="time-axis-wrap"
       :style="{
       :style="{
@@ -296,6 +305,25 @@ export default {
       width: 100%;
       width: 100%;
     }
     }
   }
   }
+  >.stage-name {
+    position: absolute;
+    left: 50%;
+    top: 150px;
+    transform: translateX(-50%);
+    width: 250px;
+    text-align: center;
+    >h1{
+      font-size: 36px;
+      font-family: Source Han Sans CN-Bold, Source Han Sans CN;
+      font-weight: bold;
+      color: #FFFFFF;
+      line-height: 42px;
+    }
+    >img.underline{
+      margin-top: -20px;
+      width: 100%;
+    }
+  }
   >.time-axis-wrap{
   >.time-axis-wrap{
     bottom: 32.4%;
     bottom: 32.4%;
     position: absolute;
     position: absolute;