mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 12:18:42 +08:00 
			
		
		
		
	feat: add vue3(element-plus)
This commit is contained in:
		
							
								
								
									
										3
									
								
								yudao-ui-admin-vue3/src/components/Footer/index.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								yudao-ui-admin-vue3/src/components/Footer/index.ts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
import Footer from './src/Footer.vue'
 | 
			
		||||
 | 
			
		||||
export { Footer }
 | 
			
		||||
							
								
								
									
										22
									
								
								yudao-ui-admin-vue3/src/components/Footer/src/Footer.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								yudao-ui-admin-vue3/src/components/Footer/src/Footer.vue
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
			
		||||
<script setup lang="ts">
 | 
			
		||||
import { useAppStore } from '@/store/modules/app'
 | 
			
		||||
import { computed } from 'vue'
 | 
			
		||||
import { useDesign } from '@/hooks/web/useDesign'
 | 
			
		||||
 | 
			
		||||
const { getPrefixCls } = useDesign()
 | 
			
		||||
 | 
			
		||||
const prefixCls = getPrefixCls('footer')
 | 
			
		||||
 | 
			
		||||
const appStore = useAppStore()
 | 
			
		||||
 | 
			
		||||
const title = computed(() => appStore.getTitle)
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
<template>
 | 
			
		||||
  <div
 | 
			
		||||
    :class="prefixCls"
 | 
			
		||||
    class="text-center text-[var(--el-text-color-placeholder)] bg-[var(--app-contnet-bg-color)] h-[var(--app-footer-height)] leading-[var(--app-footer-height)] dark:bg-[var(--el-bg-color)]"
 | 
			
		||||
  >
 | 
			
		||||
    Copyright ©2022-{{ title }}
 | 
			
		||||
  </div>
 | 
			
		||||
</template>
 | 
			
		||||
		Reference in New Issue
	
	Block a user