liyongli 6 天之前
父節點
當前提交
fbbd2d2b66
共有 2 個文件被更改,包括 25 次插入14 次删除
  1. 22 10
      src/view/fenghui/index.vue
  2. 3 4
      src/view/fenghui/introduction.vue

+ 22 - 10
src/view/fenghui/index.vue

@@ -1,5 +1,5 @@
 <template>
-    <div class="fenghui">
+    <div :class="{fenghui: true, en: langSelect === 'en'}">
         <div class="swith" :style="componentId !== '' ? 'color: #000000' : ''">
             <div class="title" @click="showLange = true">
                 {{ langObjT[langSelect] }}
@@ -19,12 +19,12 @@
         <Work25 ref="work25" v-if="componentId === 'work25'" :verificationCode="verificationCode" :langType="langSelect"
             @closeComponent="closeComponent" />
 
-        <Fore25-recurrence ref="fore25" v-if="componentId === 'fore25Recurrence'" :subData="subData" :verificationCode="verificationCode" :langType="langSelect"
-            @closeComponent="closeComponent" />
-        <Chin25-recurrence ref="chin25" v-if="componentId === 'chin25Recurrence'" :subData="subData" :verificationCode="verificationCode" :langType="langSelect"
-            @closeComponent="closeComponent" />
-        <Work25-recurrence ref="work25" v-if="componentId === 'work25Recurrence'" :subData="subData" :verificationCode="verificationCode" :langType="langSelect"
-            @closeComponent="closeComponent" />
+        <Fore25-recurrence ref="fore25" v-if="componentId === 'fore25Recurrence'" :subData="subData"
+            :verificationCode="verificationCode" :langType="langSelect" @closeComponent="closeComponent" />
+        <Chin25-recurrence ref="chin25" v-if="componentId === 'chin25Recurrence'" :subData="subData"
+            :verificationCode="verificationCode" :langType="langSelect" @closeComponent="closeComponent" />
+        <Work25-recurrence ref="work25" v-if="componentId === 'work25Recurrence'" :subData="subData"
+            :verificationCode="verificationCode" :langType="langSelect" @closeComponent="closeComponent" />
     </div>
 </template>
 <script setup>
@@ -92,6 +92,14 @@ const langChange = ({ selectedValues }) => {
 
 </script>
 <style lang="scss">
+// 引入自定义字体
+@font-face {
+    font-family: 'Source Han Sans CN';
+    src: url('https://cxzx.smcic.net/topic/tool/pkg/SourceHanSerifCN.otf') format('truetype');
+    font-weight: normal;
+    font-style: normal;
+}
+
 .fenghui {
     overflow-x: hidden;
     width: 100vw;
@@ -100,7 +108,7 @@ const langChange = ({ selectedValues }) => {
     min-height: 100vh;
     font-weight: 400;
     position: relative;
-    font-family: Source Han Sans CN !important;
+    font-family: Source Han Sans CN;
     text-align: left;
 
     .swith {
@@ -118,11 +126,11 @@ const langChange = ({ selectedValues }) => {
 
     .form {
         font-size: 14px;
-        font-weight: 400 !important;
+        font-weight: 400;
         padding: 11px 0;
 
         .van-field__label--top {
-            width: 100%!important;
+            width: 100% !important;
         }
 
         .label {
@@ -138,4 +146,8 @@ const langChange = ({ selectedValues }) => {
         }
     }
 }
+
+.en {
+    font-family: Arial Hebrew;;
+}
 </style>

+ 3 - 4
src/view/fenghui/introduction.vue

@@ -148,7 +148,7 @@
                 </g>
             </g>
         </svg>
-        <h4 class="text" style="font-size: 20px;" v-text="lang[langType].title"></h4>
+        <h4 class="text" style="font-size: 22px;" v-text="lang[langType].title"></h4>
         <div style="font-size: 14px;margin-bottom: 40px" class="text" v-html="lang[langType].marstContent"></div>
 
         <h4 class="text" style="font-size: 16px;" v-text="lang[langType].wrestleMania"></h4>
@@ -163,7 +163,7 @@
                 <div class="text" v-text="lang[langType].organizationSub1"></div>
             </van-col>
             <van-col span="17">
-                <div class="text" v-html="lang[langType].organizationSub2"></div>
+                <div class="text" style="padding-left: 2px;" v-html="lang[langType].organizationSub2"></div>
             </van-col>
         </van-row>
         <van-row>
@@ -171,7 +171,7 @@
                 <div class="text" v-text="lang[langType].organizationSub3"></div>
             </van-col>
             <van-col span="17">
-                <div class="text" v-html="lang[langType].organizationSub4"></div>
+                <div class="text" style="padding-left: 2px;" v-html="lang[langType].organizationSub4"></div>
             </van-col>
         </van-row>
         <van-button class="btn_bottom" block type="primary" @click="showCheck = true, code = 'fore25'">
@@ -273,7 +273,6 @@ const saveLogin = () => {
     color: #ffffff;
     padding-bottom: 10px;
     overflow: hidden;
-    font-family: Source Han Serif CN !important;
     position: relative;
     background: url('../../assets/img/2025lameifenghui.png') no-repeat 100% 100%;
     width: 100%;