You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<template> <div class="case_detail_intro"> <div class="wrap" v-for="(item, index) in cardIntro" :key="index"> <div class="title"> <div class="xuhao">{{ parseInt(index) + 1 }}</div> <p>{{ item.title }}</p> </div> <div class="desc">{{ item.desc }}</div> </div> </div> </template>
<script setup> const props = defineProps({ cardIntro: Array, }) </script>
<style lang="scss" scoped> .case_detail_intro { padding: 20px; .wrap { margin-bottom: 10px; .title { display: flex; align-items: center; font-size: 10px; font-family: Alibaba PuHuiTi; font-weight: bold; color: #000000; margin-bottom: 7px; .xuhao { width: 10px; height: 10px; border-radius: 50%; border: solid 1px #000; display: flex; align-items: center; justify-content: center; margin-right: 6px; } } .desc { font-size: 8px; line-height: 12px; font-family: Alibaba PuHuiTi; font-weight: 300; color: #aaaaaa; } } } </style>
|