103 lines
1.4 KiB
Vue
103 lines
1.4 KiB
Vue
<template>
|
|
|
|
|
|
<view class="">
|
|
{{info.title}}
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="card">
|
|
<view class="tit">
|
|
<view class="">
|
|
{{info.title}}
|
|
</view>
|
|
</view>
|
|
<view class="card-li">
|
|
|
|
<view class="" v-if="info.kindarea">
|
|
当前种植: {{info.kindarea}}亩
|
|
</view>
|
|
<view class="" v-else>
|
|
当前种植: {{info.total_area-info.residual_area}}亩
|
|
</view>
|
|
|
|
</view>
|
|
<view class="card-li" v-if="info.kind">
|
|
|
|
<view class="">
|
|
种植品种: {{info.kind}}
|
|
</view>
|
|
</view>
|
|
<view class="card-li" v-if="info.breed">
|
|
<view class="">
|
|
种植品牌: {{info.breed}}
|
|
</view>
|
|
|
|
</view>
|
|
<view class="card-li">
|
|
<view class="">
|
|
土地面积: {{info.total_area}}亩
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
<view class="card-li">
|
|
<view class="">
|
|
土地负责人: {{info.master_name}}
|
|
</view>
|
|
|
|
</view>
|
|
<view class="card-li">
|
|
<view class="">
|
|
联系方式: {{info.master_phone}}
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
<script setup>
|
|
import {
|
|
reactive,
|
|
watch
|
|
|
|
} from "vue";
|
|
const props = defineProps({
|
|
info: Object,
|
|
|
|
})
|
|
|
|
const perviewFn = (url) => {
|
|
|
|
uni.previewImage({
|
|
urls: [url]
|
|
})
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.card {
|
|
// width: 710rpx;
|
|
margin: 0 auto;
|
|
|
|
.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> |