任一存 před 2 roky
rodič
revize
9175440c17

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 5 - 0
src/assets/images/font/u28891.svg


+ 1 - 1
src/assets/style/my-reset.css

@@ -6,7 +6,7 @@
 * {
   /* 阻止safari在用户交互设置一些元素的背景色 */
   -webkit-tap-highlight-color: transparent;
-  font-family: 'default font';
+  font-family: 'default font', SimSun, STHeiti;
 }
 
 html {

+ 12 - 2
src/components/times/timecommon.vue

@@ -17,7 +17,10 @@
       <div class="intro">
         <ul class="introduce">
           <li v-for="item in info.introduce" :key="item">
-            {{ item }}
+            <span v-for="innerItem in item" :key="innerItem">
+              <span v-if="!(innerItem === '𨢑' && $isMobile)">{{ innerItem }}</span>
+              <img v-if="innerItem === '𨢑' && $isMobile" class="special-font" src="@/assets/images/font/u28891.svg" alt="" draggable="false">
+            </span>
           </li>
         </ul>
 
@@ -59,7 +62,7 @@
 
 <script setup>
 import SquareWord from "@/components/SquareWord.vue";
-import { getCurrentInstance, ref, computed } from 'vue'
+import { getCurrentInstance, ref, computed, } from 'vue'
 import appStore from "@/store/index";
 import { Swiper, SwiperSlide } from 'swiper/vue';
 import 'swiper/css';
@@ -145,6 +148,13 @@ const onClickItem = item => {
           text-indent: 2rem;
           display: inline-block;
           color: #695757;
+          > span {
+            > img {
+              width: 1em;
+              height: 1em;
+              vertical-align: -0.1em;
+            }
+          }
         }
       }
 

+ 1 - 1
src/config.js

@@ -1,4 +1,4 @@
 export default {
   country: 'cn', // 部署在国内
-  cdnDir:'https://culture.4dage.com/demo/gaoxinqu/source/'
+  cdnDir:'https://culture.4dage.com/demo/gaoxinqu/source/',
 }

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 16 - 12
src/data/index.js