gemercheung 2 년 전
부모
커밋
b7354c632a
3개의 변경된 파일18개의 추가작업 그리고 3개의 파일을 삭제
  1. BIN
      src/assets/images/guide/novice_guide_button_en@2x.png
  2. BIN
      src/assets/images/guide/novice_guide_text_en@2x.png
  3. 18 3
      src/components/basic/guide.vue

BIN
src/assets/images/guide/novice_guide_button_en@2x.png


BIN
src/assets/images/guide/novice_guide_text_en@2x.png


+ 18 - 3
src/components/basic/guide.vue

@@ -1,7 +1,12 @@
 <template>
   <div v-if="show && isMobile" class="user-guide-overlay">
-    <div class="user-guide-mobile">
-      <div class="zh">
+    <div
+      class="user-guide-mobile"
+      :class="{
+        [lang]: true,
+      }"
+    >
+      <div class="content">
         <div class="btn" @click="onSet"></div>
       </div>
     </div>
@@ -18,6 +23,7 @@
 
   const show = computed(() => appStore.player.showUserGuide);
   // const store = useStore();
+  const lang = computed(() => browser.getURLParam('lang') || 'zh');
 
   onMounted(() => {
     const isGuide = localStorage.getItem('user_guide');
@@ -149,7 +155,7 @@
     left: 50%;
     width: 7.89474rem;
     transform: translateX(-50%);
-    .zh {
+    .content {
       width: 100%;
       height: 7rem;
       background-image: url(/@/assets/images/guide/novice_guide_text@2x.png);
@@ -157,6 +163,15 @@
       background-position: center top;
       background-repeat: no-repeat;
     }
+    &.en {
+      .content {
+        background-image: url(/@/assets/images/guide/novice_guide_text_en@2x.png);
+      }
+      .btn {  
+
+        background-image: url(/@/assets/images/guide/novice_guide_button_en@2x.png);
+      }
+    }
     .en {
       width: 100%;
       color: #fff;