mkm
/
yanzhiAPP
Template
2
0
Fork 0
yanzhiAPP/components/plant/landInfo.vue

93 lines
1.8 KiB
Vue
Raw Normal View History

2023-10-25 19:55:18 +08:00
<template>
<view class="card">
<view class="tit">
<view class="">
2023-11-25 16:18:54 +08:00
{{info.title}}
号土地
2023-10-25 19:55:18 +08:00
</view>
2023-11-27 18:23:17 +08:00
<!-- <view class="" style="display:flex;">
<view class="" style="margin-right: 10rpx;">溯源码: </view>
<u--image @click="perviewFn('http://ceshi-suyuan.lihaink.cn/uploads/images/20231127/2023112716443447deb3539.png')" radius='10' src="http://ceshi-suyuan.lihaink.cn/uploads/images/20231127/2023112716443447deb3539.png" width="30rpx"
height="30rpx" style="margin-top: 10rpx;"></u--image>
</view> -->
2023-10-25 19:55:18 +08:00
</view>
<view class="card-li">
<view class="">
2023-11-27 18:23:17 +08:00
当前种植: {{info.total_area-info.residual_area}}
2023-10-25 19:55:18 +08:00
</view>
2023-11-25 16:18:54 +08:00
<!-- <view class="">
2023-11-27 18:23:17 +08:00
种植品牌: {{info.kind}}
2023-11-25 16:18:54 +08:00
</view> -->
2023-11-27 18:23:17 +08:00
</view><view class="card-li">
<view class="">
种植品种: {{info.kind}}
</view>
2023-10-25 19:55:18 +08:00
</view>
<view class="card-li">
<view class="">
2023-11-25 16:18:54 +08:00
土地面积: {{info.total_area}}
2023-10-25 19:55:18 +08:00
</view>
2023-11-25 16:18:54 +08:00
<!-- <view class="">
种子品牌: {{}}
</view> -->
2023-10-25 19:55:18 +08:00
</view>
2023-11-25 16:18:54 +08:00
<view class="card-li">
2023-10-25 19:55:18 +08:00
<view class="">
2023-11-25 16:18:54 +08:00
<!-- 预计产量: {{}} -->
2023-10-25 19:55:18 +08:00
</view>
2023-10-26 19:02:26 +08:00
<!-- <view class="">
2023-10-25 19:55:18 +08:00
已出售: ???
2023-10-26 19:02:26 +08:00
</view> -->
2023-10-25 19:55:18 +08:00
</view>
<view class="card-li">
<view class="">
2023-11-25 16:18:54 +08:00
播种时间: {{info.create_time}}
2023-10-25 19:55:18 +08:00
</view>
</view>
2023-11-21 18:54:33 +08:00
2023-10-25 19:55:18 +08:00
</view>
</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-10-25 19:55:18 +08:00
2023-10-26 19:02:26 +08:00
})
2023-11-27 18:23:17 +08:00
const perviewFn = (url) => {
console.log(url)
uni.previewImage({
urls: [url]
})
}
2023-10-25 19:55:18 +08:00
</script>
<style lang="scss" scoped>
.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;
}
}
</style>