tangning 1 week ago
parent
commit
ce200f075e
4 changed files with 8 additions and 16 deletions
  1. 0 12
      components.d.ts
  2. 2 2
      src/components/pc/data.ts
  3. 5 2
      src/components/pc/header.vue
  4. 1 0
      src/i18n/modules/zh/header.js

+ 0 - 12
components.d.ts

@@ -10,15 +10,6 @@ export {}
 declare module '@vue/runtime-core' {
   export interface GlobalComponents {
     Confirm: typeof import('./src/components/Toast/Confirm.vue')['default']
-    ElButton: typeof import('element-plus/es')['ElButton']
-    ElDialog: typeof import('element-plus/es')['ElDialog']
-    ElForm: typeof import('element-plus/es')['ElForm']
-    ElFormItem: typeof import('element-plus/es')['ElFormItem']
-    ElIcon: typeof import('element-plus/es')['ElIcon']
-    ElInput: typeof import('element-plus/es')['ElInput']
-    ElPagination: typeof import('element-plus/es')['ElPagination']
-    ElTable: typeof import('element-plus/es')['ElTable']
-    ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
     Footer: typeof import('./src/components/mobile/footer.vue')['default']
     Header: typeof import('./src/components/mobile/header.vue')['default']
     HelloWorld: typeof import('./src/components/HelloWorld.vue')['default']
@@ -37,7 +28,4 @@ declare module '@vue/runtime-core' {
     Toast: typeof import('./src/components/Toast/Toast.vue')['default']
     WelcomeItem: typeof import('./src/components/WelcomeItem.vue')['default']
   }
-  export interface ComponentCustomProperties {
-    vLoading: typeof import('element-plus/es')['ElLoadingDirective']
-  }
 }

+ 2 - 2
src/components/pc/data.ts

@@ -8,7 +8,7 @@ export const pcFooter = (t:any) => {
     title: t('header.core_product'),
     list: [
       {
-        text: t('manage.sceneAdmin.sdsg'),
+        text: t('header.sdsg'),
         link: 'Meta'
       },
       {
@@ -83,7 +83,7 @@ export const pcFooter = (t:any) => {
 }
 export const pcHeader = (t:any) => {
   return [
-        { text: t('manage.sceneAdmin.sdsg'), link: '/mall/meta' },
+        { text: t('header.sdsg'), link: '/mall/meta' },
         { text: t('header.Mega'), link: '/mall/mega' },
         { text: t('header.kankanMinion'), link: '/mall/kankanMinion' },
         { text: t('header.mallPro'), link: '/mall/kankanPro' },

+ 5 - 2
src/components/pc/header.vue

@@ -64,7 +64,7 @@ console.log('languageObj', info.value, userStore)
           <div class="user avatar" :class="{vip: info.incrementNum}" :style="{'background-image': `url(${info.head})`}" @click="router.push('/information')">
           <div class="member-icon" @click.stop="router.push({name: 'member'})" v-if="info.incrementNum"></div>
           </div>
-          <div class="list">
+          <div class="list avatarList">
               <a class="header-item" @click="router.push('/information')">
                 <ul class="child-list">
                   <li @click="router.push('/information')">{{ t('header.myaccount') }}</li>
@@ -394,8 +394,11 @@ console.log('languageObj', info.value, userStore)
   }
 }
 .user-w {
-  .list {
+  .avatarList{
     position: absolute;
+    z-index: 1;
+  }
+  .list {
     height: 100%;
     top: 0;
     .header-item {

+ 1 - 0
src/i18n/modules/zh/header.js

@@ -24,6 +24,7 @@ export default {
         "mallPro": "四维看看",
         "kankanMinion": "四维看见",
         "Mega": "四维深时",
+        "sdsg": "四维深光",
         "mallPeijian": "精选配件",
         "tripod": "三脚架套装",
         "USBdrive": "U盘",