This commit is contained in:
13684185576
2025-10-22 23:02:32 +08:00
parent 1eca1dbf37
commit 0183fe3e61
2 changed files with 12 additions and 6 deletions

View File

@ -33,6 +33,14 @@ const props = defineProps({
count: "", count: "",
class: "" class: ""
}) })
},
type3: {
type: Object,
default: () => ({
title: "",
count: "",
class: ""
})
} }
}); });
</script> </script>
@ -53,9 +61,9 @@ const props = defineProps({
<div class="title">{{ type2.title }}</div> <div class="title">{{ type2.title }}</div>
<div class="count">{{ type2.count }}</div> <div class="count">{{ type2.count }}</div>
</div> </div>
<div :class="type2.class"> <div :class="type3.class">
<div class="title">{{ type2.title }}</div> <div class="title">{{ type3.title }}</div>
<div class="count">{{ type2.count }}</div> <div class="count">{{ type3.count }}</div>
</div> </div>
</div> </div>
@ -120,8 +128,6 @@ const props = defineProps({
padding-top: 0.8vw; padding-top: 0.8vw;
padding-left: 3.2vw; padding-left: 3.2vw;
text-align: left; text-align: left;
// background: url("~@/assets/recruitment/model2.svg") no-repeat;
// background-size: auto 100%;
width: 7vw; width: 7vw;
height: 4.167vw; height: 4.167vw;
} }

View File

@ -32,6 +32,7 @@
:description="cardTwoInfo.description" :description="cardTwoInfo.description"
:type1="cardTwoInfo.type1" :type1="cardTwoInfo.type1"
:type2="cardTwoInfo.type2" :type2="cardTwoInfo.type2"
:type3="cardTwoInfo.type3"
style="margin-top: 0.625vw" style="margin-top: 0.625vw"
> >
<template v-slot:header> <template v-slot:header>
@ -74,7 +75,6 @@
:description="cardFourInfo.description" :description="cardFourInfo.description"
:type1="cardFourInfo.type1" :type1="cardFourInfo.type1"
:type2="cardFourInfo.type2" :type2="cardFourInfo.type2"
:type3="cardFourInfo.type3"
style="margin-top: 0.625vw" style="margin-top: 0.625vw"
> >
<el-carousel <el-carousel