2023-10-25 19:55:18 +08:00
|
|
|
<template>
|
2023-12-13 18:55:18 +08:00
|
|
|
<view class="" style="margin-top: 10rpx;">
|
2023-12-20 18:13:01 +08:00
|
|
|
<view class="" style="display: flex;align-items: center;height: 60rpx;">
|
|
|
|
<u-icon name="map"></u-icon>
|
|
|
|
栏舍一号
|
2023-12-13 18:55:18 +08:00
|
|
|
</view>
|
2023-12-13 15:57:20 +08:00
|
|
|
|
2023-12-13 18:55:18 +08:00
|
|
|
<view class="info">
|
2023-12-20 18:13:01 +08:00
|
|
|
<view class="info-li" style="background-image: url('/static/main/house/dong_wu_ming_cheng.png');">
|
|
|
|
动物名称
|
2023-12-13 18:55:18 +08:00
|
|
|
<view class="">
|
2023-12-20 18:13:01 +08:00
|
|
|
黑山羊
|
2023-12-13 18:55:18 +08:00
|
|
|
</view>
|
|
|
|
</view>
|
2023-12-20 18:13:01 +08:00
|
|
|
<view class="info-li" style="background-image: url('/static/main/house/dong_wu_lei_xing.png');">
|
|
|
|
动物类型
|
2023-12-13 18:55:18 +08:00
|
|
|
<view class="">
|
2023-12-20 18:13:01 +08:00
|
|
|
哺乳动物
|
2023-12-13 18:55:18 +08:00
|
|
|
</view>
|
|
|
|
</view>
|
2023-12-20 18:13:01 +08:00
|
|
|
<view class="info-li" style="background-image: url('/static/main/house/lan_she_rong_liang.png');">
|
|
|
|
栏舍容量
|
2023-12-13 18:55:18 +08:00
|
|
|
<view class="">
|
2023-12-20 18:13:01 +08:00
|
|
|
50只
|
2023-12-13 18:55:18 +08:00
|
|
|
</view>
|
|
|
|
</view>
|
2023-12-20 18:13:01 +08:00
|
|
|
<view class="info-li" style="background-image: url('/static/main/house/lan_she_fu_ze_ren.png');">
|
|
|
|
栏舍负责人
|
2023-12-13 18:55:18 +08:00
|
|
|
<view class="">
|
2023-12-20 18:13:01 +08:00
|
|
|
赵桑
|
2023-12-13 18:55:18 +08:00
|
|
|
</view>
|
|
|
|
</view>
|
2023-12-20 18:13:01 +08:00
|
|
|
<view class="info-li" style="background-image: url('/static/main/house/dian_hua.png');">
|
|
|
|
负责人电话
|
2023-12-13 18:55:18 +08:00
|
|
|
<view class="">
|
2023-12-20 18:13:01 +08:00
|
|
|
{{info.master_phone}}
|
2023-12-13 18:55:18 +08:00
|
|
|
</view>
|
|
|
|
</view>
|
2023-12-20 18:13:01 +08:00
|
|
|
<view class="info-li-d">
|
|
|
|
</view>
|
2023-12-13 18:55:18 +08:00
|
|
|
</view>
|
2023-12-13 15:57:20 +08:00
|
|
|
|
|
|
|
</view>
|
2023-10-25 19:55:18 +08:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
import {
|
2023-10-26 19:02:26 +08:00
|
|
|
reactive,
|
2023-11-25 16:18:54 +08:00
|
|
|
watch
|
2023-10-28 18:28:10 +08:00
|
|
|
|
2023-10-25 19:55:18 +08:00
|
|
|
} from "vue";
|
|
|
|
const props = defineProps({
|
2023-11-25 16:18:54 +08:00
|
|
|
info: Object,
|
2023-12-13 18:55:18 +08:00
|
|
|
isDetail: Boolean
|
2023-10-25 19:55:18 +08:00
|
|
|
|
2023-10-26 19:02:26 +08:00
|
|
|
})
|
2023-11-30 17:51:39 +08:00
|
|
|
|
2023-11-27 18:23:17 +08:00
|
|
|
const perviewFn = (url) => {
|
2023-11-30 17:51:39 +08:00
|
|
|
|
2023-11-27 18:23:17 +08:00
|
|
|
uni.previewImage({
|
|
|
|
urls: [url]
|
|
|
|
})
|
|
|
|
}
|
2023-10-25 19:55:18 +08:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
2023-12-13 18:55:18 +08:00
|
|
|
.info {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
.info-li {
|
|
|
|
width: 223rpx;
|
|
|
|
height: 129rpx;
|
|
|
|
border-radius: 10rpx;
|
|
|
|
background-size: 100% 100%;
|
|
|
|
padding: 20rpx;
|
|
|
|
margin-bottom: 20rpx;
|
2023-12-14 11:27:14 +08:00
|
|
|
box-shadow: 1rpx 1rpx 10rpx 1rpx rgba(0, 0, 0, 0.1);
|
2023-12-13 18:55:18 +08:00
|
|
|
}
|
2023-12-20 18:13:01 +08:00
|
|
|
.info-li-d {
|
|
|
|
width: 223rpx;
|
|
|
|
height: 129rpx;
|
|
|
|
border-radius: 10rpx;
|
|
|
|
padding: 20rpx;
|
|
|
|
margin-bottom: 20rpx;
|
|
|
|
}
|
2023-12-13 18:55:18 +08:00
|
|
|
}
|
|
|
|
|
2023-10-25 19:55:18 +08:00
|
|
|
.card {
|
2023-11-22 14:08:24 +08:00
|
|
|
// width: 710rpx;
|
|
|
|
margin: 0 auto;
|
|
|
|
|
2023-10-25 19:55:18 +08:00
|
|
|
.tit {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding-bottom: 20rpx;
|
|
|
|
border-bottom: 1px solid #EBF1EF;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-li {
|
|
|
|
margin-top: 20rpx;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
}
|
2023-12-09 17:08:17 +08:00
|
|
|
</style>
|