acdr-ui/dist/dev/mp-weixin/components/PetSitterCard.js.map

1 line
3.3 KiB
Plaintext

{"version":3,"file":"PetSitterCard.js","sources":["../../../../src/components/PetSitterCard.vue","../../../../uniComponent:/RDovQXBwL1dvcmsvYWRkci9hY2RyLXVpL3NyYy9jb21wb25lbnRzL1BldFNpdHRlckNhcmQudnVl"],"sourcesContent":["<template>\r\n <view @click=\"toServiceDetail\" class=\"pet-sitter-card bg-white p-4 rounded-lg shadow flex\">\r\n <!-- 左侧头像和认证标识 -->\r\n <view class=\"flex-shrink-0 mr-4 relative\">\r\n <image :src=\"imgUrl(petSitter.url)\" class=\"w-16 h-16 object-cover rounded-full\"></image>\r\n <view class=\"absolute top-0 left-0 bg-[#ffc107] text-white rounded-full text-xs px-2 py-1\">\r\n V 超赞\r\n </view>\r\n </view>\r\n\r\n <!-- 右侧内容 -->\r\n <view class=\"flex-1\">\r\n <view class=\"flex justify-between items-center\">\r\n <text class=\"text-lg font-bold\">{{ petSitter.serviceName }}</text>\r\n <text class=\"text-red-500 text-lg\">{{ petSitter.price }}¥/小时</text>\r\n </view>\r\n\r\n <view class=\"flex items-center mt-1\">\r\n <view class=\"flex\">\r\n <wd-icon\r\n v-for=\"n in 5\"\r\n :key=\"n\"\r\n name=\"star-on\"\r\n size=\"20\"\r\n class=\"text-[#ffc107]\"\r\n ></wd-icon>\r\n </view>\r\n <text class=\"ml-2 text-[#ffc107]\">5星好评</text>\r\n </view>\r\n\r\n <text class=\"text-gray-600 mt-2\">{{ petSitter.description }}</text>\r\n\r\n <view class=\"flex justify-between items-center mt-2\">\r\n <view class=\"flex items-center\">\r\n <text class=\"text-xs text-gray-400 mr-2\">专业宠托师</text>\r\n <text class=\"text-xs text-gray-400\">多次服务,信赖</text>\r\n </view>\r\n <text class=\"text-xs text-gray-400\">专业宠托师</text>\r\n </view>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script setup>\r\nimport { imgUrl } from '@/utils/commUtils'\r\nimport { defineProps } from 'vue'\r\n\r\nconst props = defineProps({\r\n petSitter: {\r\n type: Object,\r\n required: true,\r\n },\r\n})\r\n\r\nconst toServiceDetail = () => {\r\n uni.navigateTo({\r\n url: '/pages/service/detail?id=' + props.petSitter.id,\r\n })\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.pet-sitter-card {\r\n @apply bg-white p-4 rounded-lg shadow flex;\r\n}\r\n\r\n.flex-shrink-0 {\r\n @apply flex-shrink-0 mr-4 relative;\r\n}\r\n\r\n.flex-1 {\r\n @apply flex-1;\r\n}\r\n\r\n.text-lg {\r\n @apply text-lg;\r\n}\r\n\r\n.font-bold {\r\n @apply font-bold;\r\n}\r\n\r\n.text-red-500 {\r\n @apply text-red-500;\r\n}\r\n\r\n.flex {\r\n @apply flex;\r\n}\r\n\r\n.text-[#ffc107] {\r\n @apply text-[#ffc107];\r\n}\r\n\r\n.ml-2 {\r\n @apply ml-2;\r\n}\r\n\r\n.text-gray-600 {\r\n @apply text-gray-600;\r\n}\r\n\r\n.mt-2 {\r\n @apply mt-2;\r\n}\r\n\r\n.text-xs {\r\n @apply text-xs;\r\n}\r\n\r\n.text-gray-400 {\r\n @apply text-gray-400;\r\n}\r\n\r\n.bg-[#ffc107] {\r\n @apply bg-[#ffc107];\r\n}\r\n</style>\r\n","import Component from 'D:/App/Work/addr/acdr-ui/src/components/PetSitterCard.vue'\nwx.createComponent(Component)"],"names":["uni"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,UAAA,QAAA;AAAA,UAAA,kBAAA,MAAA;AAAAA,oBAAAA,MAAA,WAAA;AAAA,QAAA,KAAA,8BAAA,MAAA,UAAA;AAAA,MAAA,CAAA;AAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;ACCA,GAAG,gBAAgB,SAAS;"}