| 文件名从 apps/housekeepingMiniApp/src/pages/home/StandardServiceCard.vue 修改 |
| | |
| | | <template> |
| | | <div class="standard-service-card-wrapper"> |
| | | <SquareView> |
| | | <img :src="setOSSLink(file)" class="standard-service-card-cover" /> |
| | | </SquareView> |
| | | <div class="standard-service-card-content"> |
| | | <div class="standard-service-card-content-title">{{ name }}</div> |
| | | <div class="standard-service-card-content-price-wrapper"> |
| | |
| | | |
| | | <script setup lang="ts"> |
| | | import { setOSSLink } from '@12333/utils'; |
| | | import { SquareView } from '@12333/components'; |
| | | |
| | | defineOptions({ |
| | | name: 'StandardServiceCard', |
| | |
| | | border-radius: 12px; |
| | | |
| | | .standard-service-card-cover { |
| | | height: 240px; |
| | | height: 100%; |
| | | border-radius: 12px; |
| | | object-fit: cover; |
| | | width: 100%; |