|
@@ -11,7 +11,7 @@
|
|
|
<el-icon class="icon" color="#141414"><DArrowLeft /></el-icon>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <!-- <div class="home-bottom"> -->
|
|
|
+ <div class="home-bottom">
|
|
|
<!-- <time-line class="time-wrap yes-events"></time-line>
|
|
|
<img class="fly-icon" src="@/assets/images/home/fly-icon.png" alt=""> -->
|
|
|
<!-- <div class="log-box yes-events">
|
|
@@ -38,13 +38,14 @@
|
|
|
<file-bar></file-bar>
|
|
|
</chart-box>
|
|
|
</div> -->
|
|
|
- <!-- <div class="garden-file yes-events" :class="{ isShrink: isShrink }">
|
|
|
+ <div class="garden-file yes-events" :class="{ isShrink: isShrink }">
|
|
|
<home-file></home-file>
|
|
|
+ <!-- 箭头 -->
|
|
|
<div class="arrow" @click="handleShrink('bottom')">
|
|
|
<el-icon class="icon" color="#141414"><DArrowLeft /></el-icon>
|
|
|
</div>
|
|
|
- </div> -->
|
|
|
- <!-- </div> -->
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<div class="right yes-events">
|
|
|
<div class="list album-r">
|
|
|
<chart-box name="农事列表" arrow="arrow-left" :class="{ 'list-wrap': rightIndex === 0 }">
|
|
@@ -129,6 +130,49 @@
|
|
|
<div class="compare-start-btn yes-events" v-show="showCompareBtn" @click="showCompare">
|
|
|
<img src="@/assets/images/home/compare-btn.png" alt="" />
|
|
|
</div>
|
|
|
+
|
|
|
+ <!-- 果树档案 -->
|
|
|
+ <div class="file-wrap map-file" id="popup-file">
|
|
|
+ <div class="file-title">
|
|
|
+ <img src="@/assets/images/common/chart-yellow.png" alt="" />
|
|
|
+ 果树档案
|
|
|
+ <span id="tag-nh" class="tag">小农户</span>
|
|
|
+ </div>
|
|
|
+ <div class="overview-file">
|
|
|
+ <div class="box-title">总体档案</div>
|
|
|
+ <div class="base-data" id="file-overview">
|
|
|
+ </div>
|
|
|
+ <div class="list">
|
|
|
+ <div class="list-item" v-for="item in photoList" :key="item.key">
|
|
|
+ <div class="list-name">
|
|
|
+ <img src="@/assets/images/common/title-icon.png" alt="" />
|
|
|
+ {{ item.key }}
|
|
|
+ </div>
|
|
|
+ {{ item.statement }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="overview-file">
|
|
|
+ <div class="box-title">产量信息</div>
|
|
|
+ <div class="box-wrap" id="file-output">
|
|
|
+ <div class="box-item">
|
|
|
+ <div class="item-name"></div>
|
|
|
+ <div class="item-val"></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="overview-file">
|
|
|
+ <div class="box-title">生态评估</div>
|
|
|
+ <div class="box-wrap" id="file-quality">
|
|
|
+ <div class="box-item">
|
|
|
+ <div class="item-name"></div>
|
|
|
+ <div class="item-val"></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
@@ -586,6 +630,44 @@ const handleShrink = (position) => {
|
|
|
break;
|
|
|
}
|
|
|
};
|
|
|
+
|
|
|
+// 地图点位--果树档案
|
|
|
+const photoBaseData = ref([
|
|
|
+ {
|
|
|
+ label: "品种",
|
|
|
+ value: "桂味",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "冠幅表面积",
|
|
|
+ value: "10米",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "预估产量",
|
|
|
+ value: "2000斤",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "高质果率",
|
|
|
+ value: "72棵",
|
|
|
+ },
|
|
|
+]);
|
|
|
+const photoList = ref([
|
|
|
+ {key: "病虫", statement: "病虫 2025年02月19日,发现毛毡病异常1级"},
|
|
|
+ {key: "异常", statement: "2025年03月17日,发现花量大异常3级"},
|
|
|
+ {key: "营养", statement: "无营养异常"},
|
|
|
+]);
|
|
|
+
|
|
|
+const outputBox = ref([
|
|
|
+ { id: 1, name: "花穗率", value: "" },
|
|
|
+ { id: 2, name: "总枝条数", value: "" },
|
|
|
+ { id: 3, name: "开花率", value: "" },
|
|
|
+ { id: 4, name: "雄花比例", value: "" },
|
|
|
+]);
|
|
|
+
|
|
|
+const qualityBox = ref([
|
|
|
+ { id: 5, name: "通风率", value: "" },
|
|
|
+ { id: 6, name: "透光率", value: "" },
|
|
|
+ { id: 7, name: "地形条件", value: "" },
|
|
|
+]);
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
@@ -762,6 +844,11 @@ const handleShrink = (position) => {
|
|
|
height: 66px;
|
|
|
width: 450px;
|
|
|
overflow: hidden;
|
|
|
+ .arrow {
|
|
|
+ .icon {
|
|
|
+ transform: rotate(90deg);
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
.arrow {
|
|
|
position: absolute;
|
|
@@ -858,13 +945,160 @@ const handleShrink = (position) => {
|
|
|
.compare-start-btn {
|
|
|
position: absolute;
|
|
|
z-index: 2;
|
|
|
- // left: 50%;
|
|
|
- // transform: translateX(-50%);
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
cursor: pointer;
|
|
|
- bottom: 40px;
|
|
|
- right: 445px;
|
|
|
+ bottom: 106px;
|
|
|
+ // right: 445px;
|
|
|
img {
|
|
|
height: 55px;
|
|
|
}
|
|
|
}
|
|
|
</style>
|
|
|
+
|
|
|
+<style lang="less">
|
|
|
+.file-wrap {
|
|
|
+ &.map-file {
|
|
|
+ width: 367px;
|
|
|
+ position: relative;
|
|
|
+ background: url("@/assets/images/home/file-bg.png") no-repeat top center / 100% 100%;
|
|
|
+ margin-left: 12px;
|
|
|
+ padding: 12px;
|
|
|
+ .file-title {
|
|
|
+ font-size: 20px;
|
|
|
+ color: #ffd489;
|
|
|
+ .tag {
|
|
|
+ border: 1px solid #FFD489;
|
|
|
+ border-radius: 4px;
|
|
|
+ font-size: 12px;
|
|
|
+ display: inline-block;
|
|
|
+ width: 44px;
|
|
|
+ height: 20px;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 18px;
|
|
|
+ margin-left: 8px;
|
|
|
+ padding: 1px 4px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .overview-file {
|
|
|
+ padding-top: 20px;
|
|
|
+ .box-title {
|
|
|
+ font-size: 16px;
|
|
|
+ padding-left: 13px;
|
|
|
+ margin-bottom: 16px;
|
|
|
+ position: relative;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ color: #fff;
|
|
|
+ &::before {
|
|
|
+ content: "";
|
|
|
+ position: absolute;
|
|
|
+ left: 0;
|
|
|
+ top: 3px;
|
|
|
+ width: 3px;
|
|
|
+ height: 16px;
|
|
|
+ background: #fff;
|
|
|
+ border-radius: 11px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .title {
|
|
|
+ color: #f3c11d;
|
|
|
+ font-size: 16px;
|
|
|
+ font-family: "PangMenZhengDao";
|
|
|
+ margin-bottom: 20px;
|
|
|
+ .big {
|
|
|
+ width: 13px;
|
|
|
+ height: 13px;
|
|
|
+ margin: -10px 0 0 4px;
|
|
|
+ }
|
|
|
+ .small {
|
|
|
+ width: 7px;
|
|
|
+ height: 7px;
|
|
|
+ margin-left: -3px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .base-data {
|
|
|
+ background: rgba(207, 207, 207, 0.1);
|
|
|
+ border-radius: 4px;
|
|
|
+ padding: 6px 0;
|
|
|
+ display: flex;
|
|
|
+ .base-item {
|
|
|
+ flex: 1;
|
|
|
+ text-align: center;
|
|
|
+ .label {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #666666;
|
|
|
+ }
|
|
|
+ .value {
|
|
|
+ padding-top: 2px;
|
|
|
+ font-size: 16px;
|
|
|
+ color: #ffffff;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .base-item + .base-item {
|
|
|
+ border-left: 1px solid rgba(102, 102, 102, 0.42);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .list {
|
|
|
+ margin-top: 15px;
|
|
|
+ width: max-content;
|
|
|
+ font-size: 14px;
|
|
|
+ .list-item {
|
|
|
+ color: #bbbbbb;
|
|
|
+ display: flex;
|
|
|
+ margin-bottom: 8px;
|
|
|
+ .list-name {
|
|
|
+ color: #f3c11d;
|
|
|
+ margin-right: 6px;
|
|
|
+ img {
|
|
|
+ width: 17px;
|
|
|
+ height: 13px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .overview-file + .overview-file {
|
|
|
+ margin-top: 8px;
|
|
|
+ }
|
|
|
+ .box-wrap {
|
|
|
+ display: flex;
|
|
|
+ .box-item {
|
|
|
+ // flex: 1;
|
|
|
+ min-width: 109px;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ padding: 6px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ background: rgba(207, 207, 207, 0.1);
|
|
|
+ border-radius: 4px;
|
|
|
+ border: 1px solid rgba(207, 207, 207, 0.1);
|
|
|
+ cursor: pointer;
|
|
|
+ .item-name {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #666666;
|
|
|
+ width: max-content;
|
|
|
+ }
|
|
|
+ .item-val {
|
|
|
+ font-size: 18px;
|
|
|
+ color: #fff;
|
|
|
+ width: max-content;
|
|
|
+ padding-top: 3px;
|
|
|
+ }
|
|
|
+ &.active {
|
|
|
+ background: rgba(255, 212, 137, 0.16);
|
|
|
+ border: 1px solid #ffd489;
|
|
|
+ .item-name {
|
|
|
+ color: #bbbbbb;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .box-item + .box-item {
|
|
|
+ margin-left: 8px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|