소스 검색

Merge branch 'dev' of https://git.citupro.com/zhengnaiwen_citu/menduner into dev

lifanagju_citu 10 달 전
부모
커밋
8d9683f6c6

+ 6 - 6
src/views/recruit/enterprise/systemManagement/groupAccount/index.vue

@@ -83,14 +83,14 @@ const query = ref({
 const tableData = ref([])
 const treeData = ref([])
 const headers = [
-  { title: t('login.username'), key: 'name' },
-  { title: t('enterprise.userManagement.affiliatedEnterprise'), key: 'enterpriseAnotherName' },
-  { title: t('enterprise.userManagement.post'), key: 'post.nameCn' },
-  { title: t('enterprise.userManagement.phone'), key: 'phone' },
-  { title: t('enterprise.userManagement.email'), key: 'email' },
+  { title: t('login.username'), key: 'name', sortable: false },
+  { title: t('enterprise.userManagement.affiliatedEnterprise'), key: 'enterpriseAnotherName', sortable: false },
+  { title: t('enterprise.userManagement.post'), key: 'post.nameCn', sortable: false },
+  { title: t('enterprise.userManagement.phone'), key: 'phone', sortable: false },
+  { title: t('enterprise.userManagement.email'), key: 'email', sortable: false },
   { title: t('enterprise.userManagement.accountType'), key: 'userType', value: item => item.userType === '1' ? t('enterprise.userManagement.administrators') : t('enterprise.userManagement.regularUser'), sortable: false },
   { title: t('enterprise.userManagement.lastLoginTime'), key: 'loginDate', value: item => timesTampChange(item.loginDate), sortable: false },
-  { title: t('common.actions'), key: 'actions' }
+  { title: t('common.actions'), key: 'actions', sortable: false }
 ]
 const textItem = ref({
   type: 'text',

+ 74 - 0
src/views/recruit/personal/home/components/advertisement.vue

@@ -0,0 +1,74 @@
+<template>
+  <div class="white-bgc contentBox py-10 px-3">
+    <div class="d-flex align-center justify-center">
+      <span class="link"></span>
+      <span class="title">优质企业</span>
+      <span class="link"></span>
+    </div>
+
+    <div no-gutters class="mt-5 d-flex flex-wrap" style="width: 100%;">
+      <v-card v-for="(k, i) in list" :key="i" class="col-item">
+        <img :src="k.url" alt="" style="width: 100%; height: 190px;border-radius: 4px;display: block;">
+      </v-card>
+    </div>
+  </div>
+</template>
+
+<script setup>
+defineOptions({ name: 'advertisementPage'})
+
+const list = [
+  { url: 'https://admin.61hr.com/admin/uploads/images/ad/202407/345bf4c8ea3f439f9f8bdfee16ff5dfd.gif' },
+  { url: 'https://admin.61hr.com/admin/uploads/images/ad/202407/345bf4c8ea3f439f9f8bdfee16ff5dfd.gif' },
+  { url: 'https://admin.61hr.com/admin/uploads/images/ad/202407/345bf4c8ea3f439f9f8bdfee16ff5dfd.gif' },
+  { url: 'https://admin.61hr.com/admin/uploads/images/ad/202407/e684374c0ff349b4945bc0c7a4a2713f.gif' },
+  { url: 'https://admin.61hr.com/admin/uploads/images/ad/202407/e684374c0ff349b4945bc0c7a4a2713f.gif' },
+  { url: 'https://admin.61hr.com/admin/uploads/images/ad/202407/e684374c0ff349b4945bc0c7a4a2713f.gif' }
+]
+</script>
+
+<style scoped lang="scss">
+.contentBox {
+  border-radius: 8px;
+}
+.link {
+  top: 10px;
+  position: relative;
+  width: 100px;
+  height: 1px;
+  display: inline-block;
+  background-image: linear-gradient(170deg, #00897B, rgba(255, 133, 0, 0));
+  &::before {
+    width: 4px;
+    height: 4px;
+    background: var(--v-primary-base);
+    content: '';
+    position: absolute;
+    top: -2px;
+    right: 0;
+  }
+  &:first-child::before {
+    left: 0;
+  }
+}
+.title {
+  font-size: 24px;
+  font-weight: 600;
+  color: var(--v-primary-base);
+  margin: 0 15px;
+}
+.col-item {
+  cursor: pointer;
+  width: calc((100% - 24px) / 3);
+  min-width: calc((100% - 24px) / 3);
+  max-width: calc((100% - 24px) / 3);
+  margin: 0 12px 12px 0;
+  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
+  &:nth-child(3n) {
+    margin-right: 0;
+  }
+  &:hover {
+    box-shadow: 0 16px 40px 0 rgba(153, 153, 153, .3);
+  }
+}
+</style>

+ 3 - 1
src/views/recruit/personal/home/index.vue

@@ -7,7 +7,8 @@
     <hotJobs></hotJobs>
     <div class="default-width">
       <!-- <jobTypeCard class="mb-5" page @handleJobClick="handleJobClick" isSingle></jobTypeCard> -->
-      <homeJobTypeCard class="mb-5"></homeJobTypeCard>
+      <homeJobTypeCard></homeJobTypeCard>
+      <advertisementPage class="my-3"></advertisementPage>
       <hotPromotedPositions></hotPromotedPositions>
       <PopularEnterprises class="mt-10"></PopularEnterprises>
     </div>
@@ -23,6 +24,7 @@ import hotJobs from './components/hotJobs.vue'
 import homeJobTypeCard from './components/homeJobTypeCard'
 import hotPromotedPositions from './components/hotPromotedPositions.vue'
 import PopularEnterprises from './components/popularEnterprises.vue'
+import advertisementPage from './components/advertisement.vue'
 import { useRouter } from 'vue-router'
 
 const router = useRouter()