Browse Source

轮播图

Xiao_123 1 year ago
parent
commit
ecb61523b2

+ 9 - 1
src/components/Enterprise/components/introduction.vue

@@ -14,7 +14,8 @@
     <div>
       <h4>公司相册</h4>
       <v-slide-group :show-arrows="true" class="mt-3 img-box">
-        <v-slide-group-item v-for="val in props.info.enterprise.albumList" :key="val">
+        <!-- props.info.enterprise.albumList -->
+        <v-slide-group-item v-for="val in list" :key="val">
           <v-img class="mr-3" width="200" height="120" :src="val" cover rounded></v-img>
         </v-slide-group-item>
       </v-slide-group>
@@ -30,6 +31,13 @@ const props = defineProps({
     default: () => {}
   }
 })
+const list = [
+  'https://img.bosszhipin.com/beijin/upload/com/img/20190823/9ed988f78163bf3784fa162764d429124d4ba1fec2b1a061e4a46fb61ddab12d.jpg',
+  'https://img.bosszhipin.com/beijin/upload/com/img/20190823/f01c227906f5c15554d19904cf5009944d4ba1fec2b1a061e4a46fb61ddab12d.jpg',
+  'https://img.bosszhipin.com/beijin/upload/com/img/20190823/154f6a1bc139eea59bf2610c3115fc664d4ba1fec2b1a061e4a46fb61ddab12d.jpg',
+  'https://img.bosszhipin.com/beijin/upload/com/img/20190823/644c82121f1d19cb120c1e4c2836d1004d4ba1fec2b1a061e4a46fb61ddab12d.jpg',
+  'https://img.bosszhipin.com/beijin/upload/com/img/20190823/4b867202f288d6512dac50856bae61194d4ba1fec2b1a061e4a46fb61ddab12d.jpg'
+]
 </script>
 
 <style scoped lang="scss">

+ 2 - 2
src/components/Enterprise/details.vue

@@ -145,9 +145,9 @@ const recruitmentSpecialist = [
   line-height: 60px;
 }
 .contact-name {
-  font-size: 20px;
+  font-size: 28px;
   font-weight: 700;
-  color: #444;
+  color: #37576c;
   line-height: 28px;
 }
 .contact-info {

+ 2 - 2
src/components/jobTypeCard/index.vue

@@ -32,7 +32,7 @@
         </div>
       </div>
     </v-card>
-    <v-card v-if="rightObj.show" class="card rightCardBox ml-1">
+    <v-card v-if="rightObj.show" class="card rightCardBox ml-3">
       <div class="rightCard">
         <div class="categoryName">{{ rightObj.data.nameCn }}</div>
         <div v-for="(item, index) in rightObj.data.children" :key="item.id">
@@ -47,7 +47,7 @@
         </div>
       </div>
     </v-card>
-    <v-card height="392px" v-if="isPage && !rightObj.show" class="card rightCardBox ml-1">
+    <v-card height="392px" v-if="isPage && !rightObj.show" class="card rightCardBox ml-3">
       <v-carousel show-arrows="hover" cycle>
         <v-carousel-item v-for="(item, i) in carouselList" :key="i">
           <div style="height: 392px; overflow: hidden;">

+ 4 - 1
src/views/recruit/position/components/dict.js

@@ -27,7 +27,10 @@ const getDictList = async () => {
     dictObj[val.value] = data
   })
 }
-getDictList()
+const getData = async () => {
+  await getDictList()
+}
+getData()
 
 export const dealDictData = (res, list) => {
   dictList.forEach(item => {