wangwei 3 anni fa
parent
commit
bee1e52f74

+ 1 - 2
src/views/home/survey/components/AssociationIntroduction.vue

@@ -12,7 +12,6 @@
 <script lang="ts">
   import { defineComponent } from 'vue';
   import { Card } from 'ant-design-vue';
-  import { groupItems } from './data';
   import { ScrollContainer } from '/@/components/Container/index';
 
   export default defineComponent({
@@ -29,7 +28,7 @@
       },
     },
     setup() {
-      return { items: groupItems };
+      return {};
     },
   });
 </script>

+ 1 - 2
src/views/home/survey/components/WorkbenchHeader.vue

@@ -28,14 +28,13 @@
   import { Avatar } from 'ant-design-vue';
   import { useUserStore } from '/@/store/modules/user';
   import { useGlobSetting } from '/@/hooks/setting';
-  import headerImg from '/@/assets/images/header.jpg';
   export default defineComponent({
     components: { Avatar },
     setup() {
       const { imgUrlPrefix } = useGlobSetting();
       const userStore = useUserStore();
       const userinfo = computed(() => userStore.getUserInfo);
-      return { imgUrlPrefix, userinfo, headerImg };
+      return { imgUrlPrefix, userinfo };
     },
   });
 </script>

+ 0 - 99
src/views/home/survey/components/data.ts

@@ -1,18 +1,3 @@
-interface GroupItem {
-  title: string;
-  icon: string;
-  color: string;
-  desc: string;
-  date: string;
-  group: string;
-}
-
-interface NavItem {
-  title: string;
-  icon: string;
-  color: string;
-}
-
 interface DynamicInfoItem {
   avatar: string;
   name: string;
@@ -20,39 +5,6 @@ interface DynamicInfoItem {
   desc: string;
 }
 
-export const navItems: NavItem[] = [
-  {
-    title: '首页',
-    icon: 'ion:home-outline',
-    color: '#1fdaca',
-  },
-  {
-    title: '仪表盘',
-    icon: 'ion:grid-outline',
-    color: '#bf0c2c',
-  },
-  {
-    title: '组件',
-    icon: 'ion:layers-outline',
-    color: '#e18525',
-  },
-  {
-    title: '系统管理',
-    icon: 'ion:settings-outline',
-    color: '#3fb27f',
-  },
-  {
-    title: '权限管理',
-    icon: 'ion:key-outline',
-    color: '#4daf1bc9',
-  },
-  {
-    title: '图表',
-    icon: 'ion:bar-chart-outline',
-    color: '#00d8ff',
-  },
-];
-
 export const dynamicInfoItems: DynamicInfoItem[] = [
   {
     avatar: 'dynamic-avatar-1|svg',
@@ -103,54 +55,3 @@ export const dynamicInfoItems: DynamicInfoItem[] = [
     desc: `推送了代码到 <a>Github</a>`,
   },
 ];
-
-export const groupItems: GroupItem[] = [
-  {
-    title: 'Github',
-    icon: 'carbon:logo-github',
-    color: '',
-    desc: '不要等待机会,而要创造机会。',
-    group: '开源组',
-    date: '2021-04-01',
-  },
-  {
-    title: 'Vue',
-    icon: 'ion:logo-vue',
-    color: '#3fb27f',
-    desc: '现在的你决定将来的你。',
-    group: '算法组',
-    date: '2021-04-01',
-  },
-  {
-    title: 'Html5',
-    icon: 'ion:logo-html5',
-    color: '#e18525',
-    desc: '没有什么才能比努力更重要。',
-    group: '上班摸鱼',
-    date: '2021-04-01',
-  },
-  {
-    title: 'Angular',
-    icon: 'ion:logo-angular',
-    color: '#bf0c2c',
-    desc: '热情和欲望可以突破一切难关。',
-    group: 'UI',
-    date: '2021-04-01',
-  },
-  {
-    title: 'React',
-    icon: 'bx:bxl-react',
-    color: '#00d8ff',
-    desc: '健康的身体是实目标的基石。',
-    group: '技术牛',
-    date: '2021-04-01',
-  },
-  {
-    title: 'Js',
-    icon: 'ion:logo-javascript',
-    color: '#4daf1bc9',
-    desc: '路是走出来的,而不是空想出来的。',
-    group: '架构组',
-    date: '2021-04-01',
-  },
-];