shaogen1995 1 year ago
parent
commit
67d7a40ff9
3 changed files with 14 additions and 15 deletions
  1. 2 2
      public/configExcel.js
  2. BIN
      public/static/point.png
  3. 12 13
      src/views/PoemList.vue

+ 2 - 2
public/configExcel.js

@@ -193,7 +193,7 @@ var configExcel = {
       "正文": "不论台阁与山林 爱尔岂惟千亩阴\n未出土时先有节 便凌云去也无心\n葛陂始与龙俱化 嶰谷聊同凤一吟\n月朗风清良夜永 可怜王子独知音"
     },
     {
-      "标题": "水仙<span>子<i>·</i> </span>咏竹",
+      "标题": "水仙子<img src='/static/point.png'/>咏竹",
       "类型": "七律",
       "朝代": "元",
       "作者": "马谦斋",
@@ -214,7 +214,7 @@ var configExcel = {
       "正文": "小雨春池湿凤毛 \n天孙深夜织鲛绡\n何人更立湘江水 \n独倚薰风忆舜韶"
     },
     {
-      "标题": "题画<span>竹<i>·</i> </span>谁谓籊籊竿",
+      "标题": "题画竹<img src='/static/point.png'/>谁谓籊籊竿",
       "类型": "五绝",
       "朝代": "元",
       "作者": "仇远",

BIN
public/static/point.png


+ 12 - 13
src/views/PoemList.vue

@@ -608,19 +608,18 @@ const isMoveFu = (index, num) => {
           letter-spacing: 0.2em;
         }
       }
-      /deep/.title-wrap {
-         > h1 {
-           > span {
-            position: relative;
-             > i {
-              position: absolute;
-              left: 50%;
-              transform: translateX(-50%);
-              bottom: 8%;
-            }
-          }
-        }
-      }
+
+      /deep/.title-wrap > h1 > img {
+        width: 100%;
+        margin-bottom: 3%;
+        // position: relative;
+      }
+      // /deep/.title-wrap > h1 > span > i {
+      //   position: absolute;
+      //   left: 50%;
+      //   transform: translateX(-50%);
+      //   bottom: 0%;
+      // }
     }
     .ROWtxt.typesetting-1 {
       > .inner-wrap {