소스 검색

优选集团调整

Xiao_123 3 달 전
부모
커밋
8ec4e32b17
3개의 변경된 파일25개의 추가작업 그리고 11개의 파일을 삭제
  1. 3 0
      components.d.ts
  2. 1 1
      src/views/recruit/enterprise/newlyAppointed/index.vue
  3. 21 10
      src/views/recruit/personal/home/components/advertisement/preferred.vue

+ 3 - 0
components.d.ts

@@ -74,4 +74,7 @@ declare module 'vue' {
     VerifySlide: typeof import('./src/components/Verifition/Verify/VerifySlide.vue')['default']
     WangEditor: typeof import('./src/components/FormUI/wangEditor/index.vue')['default']
   }
+  export interface ComponentCustomProperties {
+    vLoading: typeof import('element-plus/es')['ElLoadingDirective']
+  }
 }

+ 1 - 1
src/views/recruit/enterprise/newlyAppointed/index.vue

@@ -1,5 +1,5 @@
 <template>
-	<div style="width: calc(100vw - 271px)">
+	<div>
 		<CtFilter :items="formItems" @reset="handleReset" @search="handleSearch" />
 
 		<v-card elevation="5" class="mt-3">

+ 21 - 10
src/views/recruit/personal/home/components/advertisement/preferred.vue

@@ -21,15 +21,26 @@
       <div class="desc">
         <p v-html="result?.introduce?.describe"></p>
       </div>
-			<div v-if="result?.introduce?.thumbnail?.length" class="culture my-15">
-        <div v-for="(k, i) in result.introduce.thumbnail" :key="i" class="culture-item">
-          <v-img :src="k" :lazy-src="k" width="350" height="230" contain>
-						<template v-slot:placeholder>
-							<v-row align="center" class="fill-height ma-0" justify="center">
-								<v-progress-circular color="grey-lighten-5" indeterminate></v-progress-circular>
-							</v-row>
-						</template>
-					</v-img>
+			<div v-if="result?.introduce?.thumbnail?.length" class="my-15">
+        <div class="culture" v-if="result?.introduce?.thumbnail?.length > 1">
+          <div v-for="(k, i) in result.introduce.thumbnail" :key="i" class="culture-item">
+            <v-img :src="k" :lazy-src="k" width="350" height="230" contain>
+              <template v-slot:placeholder>
+                <v-row align="center" class="fill-height ma-0" justify="center">
+                  <v-progress-circular color="grey-lighten-5" indeterminate></v-progress-circular>
+                </v-row>
+              </template>
+            </v-img>
+          </div>
+        </div>
+        <div v-else>
+          <v-img :src="result.introduce.thumbnail[0]" :lazy-src="result.introduce.thumbnail[0]" width="1184" height="500" contain>
+            <template v-slot:placeholder>
+              <v-row align="center" class="fill-height ma-0" justify="center">
+                <v-progress-circular color="grey-lighten-5" indeterminate></v-progress-circular>
+              </v-row>
+            </template>
+          </v-img>
         </div>
       </div>
       <div v-if="result?.introduce?.bigPicture?.url">
@@ -258,7 +269,7 @@ h2 {
       transform: translateY(-50%);
       &:hover {
         color: var(--v-primary-base);
-        text-decoration: underline;
+        font-size: 15px;
       }
     }
   }