|
@@ -45,21 +45,38 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="bottom wid mt-3 d-flex justify-space-between">
|
|
|
- <span class="size second mb-3" v-for="(item, i) in list" :key="i">{{ item.label }}</span>
|
|
|
+ <div v-for="(item, i) in list" :key="i" class="d-flex align-center mb-3" @click="handleClick(item)">
|
|
|
+ <v-img v-if="item.iconImg" cover aspect-ratio="16/9" :src="item.iconImg" :width="12" style="height: 12px; margin-right: 2px;"></v-img>
|
|
|
+ <span class="size second">{{ item.label }}</span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <PreviewImg v-if="showPreview" :list="[imgUrl]" :hideDownload="true" @close="showPreview = !showPreview"></PreviewImg>
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
+import { ref } from 'vue'
|
|
|
+
|
|
|
defineOptions({ name: 'personal-footer' })
|
|
|
const list = [
|
|
|
// { label: 'Copyright © 2024招聘人才网', path: '' },
|
|
|
- { label: '苏ICP备2021021762号-1', path: '' },
|
|
|
- { label: '苏ICP备18037702号-1', path: '' },
|
|
|
- { label: '电子营业执照', path: '', img: '' },
|
|
|
- { label: '公安备案号 32059002001928', path: '', img: '' },
|
|
|
- { label: '人力资源服务许可证', path: '' }
|
|
|
+ { label: '苏ICP备2024103111号-1', openPath: 'https://beian.miit.gov.cn/#/Integrated/index' },
|
|
|
+ { label: '苏ICP备2024103111号-4', openPath: 'https://beian.miit.gov.cn/#/Integrated/index' },
|
|
|
+ { label: '电子营业执照', path: '', img: 'https://minio.citupro.com/dev/menduner/businessLicense.jpg' },
|
|
|
+ { label: '公安备案号 32059002001928', openPath: 'https://beian.mps.gov.cn/#/query/webSearch?code=32059002001928', iconImg: 'https://minio.citupro.com/dev/menduner/RecordIcon.png' },
|
|
|
+ { label: '人力资源服务许可证', img: 'https://minio.citupro.com/dev/menduner/humanResourcesLicense.jpg' }
|
|
|
]
|
|
|
+
|
|
|
+const showPreview = ref(false)
|
|
|
+let imgUrl = ''
|
|
|
+const handleClick = (item) => {
|
|
|
+ if (item.img) {
|
|
|
+ imgUrl = item.img
|
|
|
+ showPreview.value = true
|
|
|
+ } else if (item.openPath) {
|
|
|
+ window.open(item.openPath)
|
|
|
+ }
|
|
|
+}
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|