优化
This commit is contained in:
@ -1,8 +1,37 @@
|
||||
<template>
|
||||
<div class="p-2">
|
||||
<div class="p-2 detailbox">
|
||||
<div class="box1">
|
||||
<div>
|
||||
<div>
|
||||
<span>设计面积</span>
|
||||
<span>{{ detailInfo.designArea }} 亩</span>
|
||||
</div>
|
||||
<el-icon :size="50" color="#3176ff">
|
||||
<Postcard />
|
||||
</el-icon>
|
||||
</div>
|
||||
<div>
|
||||
<div>
|
||||
<span>已流转面积</span>
|
||||
<span>{{ detailInfo.transferAea }} 亩</span>
|
||||
</div>
|
||||
<el-icon :size="50" color="#3176ff">
|
||||
<Postcard />
|
||||
</el-icon>
|
||||
</div>
|
||||
<div>
|
||||
<div>
|
||||
<span>租金</span>
|
||||
<span>{{ detailInfo.landRent / 1000 }} 万元</span>
|
||||
</div>
|
||||
<el-icon :size="50" color="#3176ff">
|
||||
<Postcard />
|
||||
</el-icon>
|
||||
</div>
|
||||
</div>
|
||||
<transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave">
|
||||
<div v-show="showSearch" class="mb-[10px]">
|
||||
<el-card shadow="hover">
|
||||
<el-card shadow="never">
|
||||
<el-form ref="queryFormRef" :model="queryParams" :inline="true" label-width="110px">
|
||||
<el-form-item label="对应地块" prop="landBlockId">
|
||||
<el-select v-model="queryParams.landBlockId" clearable placeholder="请选择对应地块">
|
||||
@ -33,21 +62,6 @@
|
||||
<el-button type="primary" plain icon="Plus" @click="handleAdd" v-hasPermi="['land:landTransferLedger:add']">新增</el-button>
|
||||
</el-col>
|
||||
<el-col :span="6"></el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-tag size="large" type="primary"
|
||||
><span style="font-size: 20px">设计面积:{{ detailInfo.designArea }} 亩</span></el-tag
|
||||
>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-tag size="large" type="success"
|
||||
><span style="font-size: 20px">已流转面积:{{ detailInfo.transferAea }} 亩</span></el-tag
|
||||
>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-tag size="large" type="warning"
|
||||
><span style="font-size: 20px">租金:{{ detailInfo.landRent / 1000 }} 万元</span></el-tag
|
||||
>
|
||||
</el-col>
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
</template>
|
||||
@ -562,3 +576,36 @@ onMounted(() => {
|
||||
Promise.all([getLandBlockList(), getListLand(), getList()]);
|
||||
});
|
||||
</script>
|
||||
<style lang="scss">
|
||||
.detailbox {
|
||||
width: 100%;
|
||||
.box1 {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin: 20px 0;
|
||||
> div {
|
||||
width: 300px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 20px 15px;
|
||||
border: 1px solid #e7e7e7;
|
||||
margin: 0 20px;
|
||||
border-radius: 6px;
|
||||
> div {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
> span:first-child {
|
||||
font-size: 16px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
> span:last-child {
|
||||
font-size: 24px;
|
||||
/* font-weight: bold; */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user