diff --git a/src/assets/images/index/bannerX.png b/src/assets/images/index/bannerX.png
index f08fb57..63db48d 100644
Binary files a/src/assets/images/index/bannerX.png and b/src/assets/images/index/bannerX.png differ
diff --git a/src/assets/images/index/yfcjkuang.png b/src/assets/images/index/yfcjkuang.png
index 0b618bf..e9f03af 100644
Binary files a/src/assets/images/index/yfcjkuang.png and b/src/assets/images/index/yfcjkuang.png differ
diff --git a/src/assets/images/index/yfys5-icon.png b/src/assets/images/index/yfys5-icon.png
new file mode 100644
index 0000000..2b15837
Binary files /dev/null and b/src/assets/images/index/yfys5-icon.png differ
diff --git a/src/assets/images/index/yfys5.png b/src/assets/images/index/yfys5.png
new file mode 100644
index 0000000..a18e3a8
Binary files /dev/null and b/src/assets/images/index/yfys5.png differ
diff --git a/src/store/modules/dialog.js b/src/store/modules/dialog.js
index 56f4549..57407ea 100644
--- a/src/store/modules/dialog.js
+++ b/src/store/modules/dialog.js
@@ -34,6 +34,7 @@ export default {
gsxqId: null,
djType: null,
szyfTalents: false,
+ viewPdf: false,
dyfcId: null,
yzfcId: null
@@ -42,6 +43,9 @@ export default {
set_yfcj (state, visible) {
state.yfcj = visible
},
+ set_viewPdf (state, visible) {
+ state.viewPdf = visible
+ },
set_garden (state, visible) {
state.garden = visible
},
@@ -58,7 +62,9 @@ export default {
state.gsxq = visible
},
set_gsxq_id (state, value) {
+ console.log('set_gsxq_id')
state.gsxqId = value
+ console.log('set_gsxq_id111')
},
set_qyjj (state, visible) {
state.qyjj = visible
@@ -152,6 +158,9 @@ export default {
SET_YFCJ (context, visible) {
context.commit('set_yfcj', visible)
},
+ SET_VIEWPDF (context, visible) {
+ context.commit('set_viewPdf', visible)
+ },
SET_GARDEN (context, visible) {
context.commit('set_garden', visible)
},
@@ -213,7 +222,9 @@ export default {
context.commit('set_ywqs_show', visible)
},
SET_QYJJ (context, visible) {
+ console.log('set_qyjj')
context.commit('set_qyjj', visible)
+ console.log('set_qyjj1111')
},
SET_LDGH (context, visible) {
context.commit('set_ldgh', visible)
@@ -260,6 +271,7 @@ export default {
// 确保当前只能显示最近点击的弹窗
showGlobalDialog (context, type) {
context.commit('set_yfcj', false)
+ context.commit('set_viewPdf', false)
context.commit('set_garden', false)
context.commit('set_talents', false)
context.commit('set_szyfTalents', false)
@@ -293,6 +305,8 @@ export default {
}
if (type === 'buildLeaderAttach') {
context.commit('set_yfcj', true)
+ } else if (type === 'viewPdf') {
+ context.commit('set_viewPdf', true)
} else if (type === 'zdyfGgqy') {
context.commit('set_zdyf_ggqy', true)
} else if (type === 'garden') {
@@ -354,6 +368,7 @@ export default {
},
getters: {
yfcj: state => state.yfcj,
+ viewPdf: state => state.viewPdf,
garden: state => state.garden,
talents: state => state.talents,
qyjj: state => state.qyjj,
diff --git a/src/views/next/dialog-module/zdyf-center/qyjj/index.vue b/src/views/next/dialog-module/zdyf-center/qyjj/index.vue
index 40a83ba..53ac502 100644
--- a/src/views/next/dialog-module/zdyf-center/qyjj/index.vue
+++ b/src/views/next/dialog-module/zdyf-center/qyjj/index.vue
@@ -58,9 +58,9 @@
{{ unitDetail.summary }}
-
+
{{ unitDetail.introduction }}
-
+
@@ -151,7 +151,11 @@ export default {
data () {
return {
dialogTitle: '企业简介',
- unitDetail: {},
+ unitDetail: {
+ monitor: [],
+ display: [],
+ honor: []
+ },
videoUrl: process.env.VUE_APP_VIDEO_URL + 'ruikesiwang.mp4',
videoUrl1: process.env.VUE_APP_VIDEO_URL + 'shinongzhongmiao.mp4',
optionHover: {
@@ -164,6 +168,7 @@ export default {
singleWidth: 0, // 单步运动停止的宽度(默认值0是无缝不停止的滚动) direction => 2/3
waitTime: 2000 // 单步运动停止的时间(默认值1000ms)
},
+ visiable: false,
types: {
1: '育种企业',
2: '育苗企业',
@@ -178,45 +183,61 @@ export default {
components: {},
watch: {
qyjj (val) {
- if (process.env.NODE_ENV === 'development') {
- this.videoUrl =
- 'https://yifengdian-smps.elinkservice.cn/yifengdian-front/video/ruikesiwang.mp4'
- this.videoUrl1 =
- 'https://yifengdian-smps.elinkservice.cn/yifengdian-front/video/shinongzhongmiao.mp4'
- }
+ this.visiable = val
+ console.log(val)
if (val) {
- seedCompanyDetail(this.gsxqId).then((res) => {
- const arr = []
- if (res.data.display) {
- const data = JSON.parse(res.data.display)
- data.forEach((item, index) => {
- if (index % 2 == 0) {
- arr.push([])
- arr[arr.length - 1][0] = item
- if (data[index + 1]) {
- arr[arr.length - 1][1] = data[index + 1]
- }
- }
- })
- }
- console.log('arrarr:', arr)
- this.unitDetail = {
- ...res.data,
- monitor: res.data.monitor ? JSON.parse(res.data.monitor) : [],
- display: arr,
- honor: res.data.honor ? JSON.parse(res.data.honor) : []
- }
- })
+ this.getData()
}
}
},
- created () {},
+ created () {
+ if (process.env.NODE_ENV === 'development') {
+ this.videoUrl =
+ 'https://yifengdian-smps.elinkservice.cn/yifengdian-front/video/ruikesiwang.mp4'
+ this.videoUrl1 =
+ 'https://yifengdian-smps.elinkservice.cn/yifengdian-front/video/shinongzhongmiao.mp4'
+ }
+ },
methods: {
...mapActions({
- showGlobalDialog: 'showGlobalDialog'
+ set_qyjj: 'SET_QYJJ',
+ showGlobalDialog: 'showGlobalDialog',
+ set_gsxq_id: 'SET_GSXQ_ID'
}),
+ getData () {
+ const _this = this
+ seedCompanyDetail(this.gsxqId).then((res) => {
+ const arr = []
+ if (res.data.display) {
+ const data = JSON.parse(res.data.display)
+ data.forEach((item, index) => {
+ if (index % 2 == 0) {
+ arr.push([])
+ arr[arr.length - 1][0] = item
+ if (data[index + 1]) {
+ arr[arr.length - 1][1] = data[index + 1]
+ }
+ }
+ })
+ }
+ _this.unitDetail = {
+ ...res.data,
+ monitor: res.data.monitor ? JSON.parse(res.data.monitor) : [],
+ display: arr,
+ honor: res.data.honor ? JSON.parse(res.data.honor) : []
+ }
+ })
+ },
closeDialog () {
- this.showGlobalDialog('')
+ console.log('zoule?')
+ this.visiable = false
+ this.set_qyjj(false)
+ this.set_gsxq_id(null)
+ this.unitDetail = {
+ monitor: [],
+ display: [],
+ honor: []
+ }
}
}
}
@@ -227,9 +248,6 @@ export default {
line-height: 2;
text-indent: 2em;
font-size: 18px;
- height: 430px;
- overflow: hidden;
- overflow-y: scroll;
&::-webkit-scrollbar {
width: 3px;
}
@@ -253,7 +271,7 @@ export default {
@include flex();
align-items: center;
justify-content: center;
- z-index: 9999999999;
+ z-index: 999999999999999999999999;
> section {
@include flex(column);
@@ -328,11 +346,27 @@ export default {
.left {
width: 752px;
- height: 100%;
+ height: 700px;
background: rgba(109, 166, 255, 0.2);
border-radius: 2px;
padding: 16px;
+ overflow: hidden;
box-sizing: border-box;
+ overflow-y: scroll;
+
+ &::-webkit-scrollbar {
+ width: 3px;
+ }
+
+ &::-webkit-scrollbar-track {
+ border-radius: 10px;
+ background: rgba(12, 129, 254, 0.24);
+ }
+
+ &::-webkit-scrollbar-thumb {
+ border-radius: 10px;
+ background: linear-gradient(270deg, #0063fe, #0095ff);
+ }
.unitNotation {
color: #4af9ff;
diff --git a/src/views/next/dialog-module/zdyf-left/chackPdf.vue b/src/views/next/dialog-module/zdyf-left/chackPdf.vue
new file mode 100644
index 0000000..0d865dd
--- /dev/null
+++ b/src/views/next/dialog-module/zdyf-left/chackPdf.vue
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+

+
+
+
+
+
+
+
diff --git a/src/views/next/index.vue b/src/views/next/index.vue
index 8ee8340..7963345 100644
--- a/src/views/next/index.vue
+++ b/src/views/next/index.vue
@@ -63,6 +63,7 @@
+
@@ -77,6 +78,7 @@ import ScreenContentLeft from './screen-content-left'
import ScreenContentRight from './screen-content-right'
import ZdyfLeftYfcj from './dialog-module/zdyf-left/yfcj'
import ZdyfLeftYflz from './dialog-module/zdyf-left/yfclz.vue'
+import ZdyfLeftChackPdf from './dialog-module/zdyf-left/chackPdf.vue'
import ZdyfRightGarden from './dialog-module/zdyf-right/kyll/garden.vue'
import ZdyfRightZx from './dialog-module/zdyf-right/zyzx.vue'
import ZdyfRightTalents from './dialog-module/zdyf-right/kyll/talents.vue'
@@ -141,6 +143,7 @@ export default {
ZdyfRightZx,
KeyPersonnel,
SzyfRightTalents,
+ ZdyfLeftChackPdf,
yzfcModal
},
data () {
diff --git a/src/views/next/screen-content-left/szyf-left/index.vue b/src/views/next/screen-content-left/szyf-left/index.vue
index c6d3758..d657066 100644
--- a/src/views/next/screen-content-left/szyf-left/index.vue
+++ b/src/views/next/screen-content-left/szyf-left/index.vue
@@ -678,11 +678,12 @@ export default {
params.seriesName !== 'mouseoutSeries' &&
params.seriesName !== 'pie2d'
) {
- const bfb = (
+ let bfb = (
(option.series[params.seriesIndex].pieData.endRatio -
option.series[params.seriesIndex].pieData.startRatio) *
100
- ).toFixed(2)
+ )
+ bfb = bfb && bfb.toFixed(2)
return (
`${params.seriesName}
` +
`
` +
diff --git a/src/views/next/screen-content-left/zdyf-left/index.vue b/src/views/next/screen-content-left/zdyf-left/index.vue
index 6a316d5..11d629e 100644
--- a/src/views/next/screen-content-left/zdyf-left/index.vue
+++ b/src/views/next/screen-content-left/zdyf-left/index.vue
@@ -41,7 +41,7 @@
-
战略优势
+
战略机遇赋能
3 年
中央1号文件
@@ -51,12 +51,12 @@
-
+
-
自然优势
-
北纬 36°
-
黄金育种地带
+
区位交通便利
+
1 小时
+
交通辐射圈
@@ -64,12 +64,12 @@
-

+
-
区位优势
-
1 小时
-
交通辐射圈
+
自然禀赋优越
+
北纬 36°
+
黄金育种地带
@@ -80,11 +80,24 @@
-
产业优势
+
产业链融合
5.2 亿元
种子年销售额
+
+
+
+

+
+
+
规划布局科学
+
种业 主导
+
产业链融合
+
+
@@ -118,7 +131,11 @@
{{ item.price && item.price.toFixed(2) }}
- {{ item.jzrPrice != '暂无' ? item.jzrPrice.toFixed(2): '暂无' }}
+ {{
+ item.jzrPrice != "暂无"
+ ? item.jzrPrice.toFixed(2)
+ : "暂无"
+ }}
![]()
{
@@ -304,8 +325,12 @@ export default {
.subtract(1, 'days')
.format('yyyy-MM-DD')
this.getDayScData({
- FEndDate: this.$moment(this.times).subtract(1, 'days').format('yyyy-MM-DD'),
- FStartDate: this.$moment(this.times).subtract(1, 'days').format('yyyy-MM-DD')
+ FEndDate: this.$moment(this.times)
+ .subtract(1, 'days')
+ .format('yyyy-MM-DD'),
+ FStartDate: this.$moment(this.times)
+ .subtract(1, 'days')
+ .format('yyyy-MM-DD')
})
}
})
@@ -500,19 +525,20 @@ export default {
font-weight: 600;
}
.content {
- display: flex;
padding-top: 24px;
+ width: 100%;
+ overflow: auto;
.content-image {
- width: 126px;
- height: 170px;
+ float: left;
+ width: 218px;
+ height: 120px;
img {
- width: 126px;
- height: 170px;
+ width: 206px;
+ height: 120px;
}
}
.content-txt {
- padding-left: 16px;
- width: 286px;
+ width: 100%;
height: 170px;
line-height: 24px;
font-weight: 400;
@@ -540,10 +566,11 @@ export default {
flex: 1;
box-sizing: border-box;
display: flex;
+ justify-content: center;
flex-wrap: wrap;
.item {
- width: 50%;
+ width: 33%;
color: #fff;
display: flex;
align-items: center;
@@ -552,15 +579,15 @@ export default {
flex: 1;
.top {
+ font-size: 14px;
background-size: 100% 100%;
background: url("~@/assets/images/index/yfyskuang.png") no-repeat;
- background-position-y: 20px;
}
.center {
.num {
font-family: pangmenzhengdao;
- font-size: 28px;
+ font-size: 22px;
}
}
@@ -571,16 +598,15 @@ export default {
}
&-image {
position: relative;
- top: -20px;
- width: 80px;
- height: 120px;
+ width: 48px;
+ height: 48px;
img {
position: relative;
- top: -150px;
- width: 48px;
- height: 48px;
+ top: -190px;
+ width: 28px;
+ height: 28px;
margin-right: 10px;
- margin-left: 16px;
+ margin-left: 10px;
z-index: 99999;
animation: moveUpDown 3s infinite linear;
}
@@ -589,7 +615,9 @@ export default {
.item:nth-child(1) {
.item-image {
background: url("~@/assets/images/index/yfys1.png") no-repeat;
- background-position-y: 40px;
+ background-position-y: 0px;
+ background-size:100% 100%;
+ background-attachment:fixed;
.bg-bubbles li {
background-color: rgba(247, 220, 111, 0.467);
@@ -598,34 +626,52 @@ export default {
}
.item:nth-child(2) {
.item-image {
- background: url("~@/assets/images/index/yfys2.png") no-repeat;
- background-position-y: 40px;
+ background: url("~@/assets/images/index/yfys3.png") no-repeat;
+ background-position-y: 0px;
+ background-size:100% 100%;
+ background-attachment:fixed;
.bg-bubbles li {
- background-color: rgba(98, 205, 179, 5);
+ background-color: rgba(173, 117, 222, 0.5);
}
}
}
.item:nth-child(3) {
.item-image {
- background: url("~@/assets/images/index/yfys3.png") no-repeat;
- background-position-y: 40px;
+ background: url("~@/assets/images/index/yfys2.png") no-repeat;
+ background-position-y: 0px;
+ background-size:100% 100%;
+ background-attachment:fixed;
.bg-bubbles li {
- background-color: rgba(173, 117, 222, 0.5);
+ background-color: rgba(98, 205, 179, 5);
}
}
}
.item:nth-child(4) {
.item-image {
background: url("~@/assets/images/index/yfys4.png") no-repeat;
- background-position-y: 40px;
+ background-position-y: 0px;
+ background-size:100% 100%;
+ background-attachment:fixed;
.bg-bubbles li {
background-color: rgba(70, 126, 226, 0.45);
}
}
}
+ .item:nth-child(5) {
+ .item-image {
+ background: url("~@/assets/images/index/yfys5.png") no-repeat;
+ background-position-y: 0px;
+ background-size:100% 100%;
+ background-attachment:fixed;
+
+ .bg-bubbles li {
+ background-color: rgba(255, 130, 61, 0.45);
+ }
+ }
+ }
}
}
@@ -645,6 +691,10 @@ export default {
color: #d4e7ff;
}
+.orange {
+ color: rgba(255, 130, 61, 1);
+}
+
@keyframes rotate {
from {
transform: rotate(0deg);
@@ -669,9 +719,9 @@ export default {
.bg-bubbles {
// position: absolute;
position: relative;
- top: 0;
- left: 0;
- width: 30px;
+ top: -40px;
+ left: -6px;
+ width: 16px;
height: 160px;
// background: linear-gradient(to bottom right, #50A3A2, #53E3A6);
overflow: hidden;
@@ -682,6 +732,7 @@ export default {
bottom: 26px;
width: 4px;
height: 4px;
+ opacity: 0;
list-style: none;
animation: square 10s infinite;
transition-timing-function: linear;
@@ -765,7 +816,7 @@ export default {
@keyframes square {
0% {
- opacity: 0.3;
+ opacity: 0;
transform: translateY(-70px);
}
diff --git a/src/views/next/screen-content-map/cpt/point.json b/src/views/next/screen-content-map/cpt/point.json
index 02ffa91..e9f3fe9 100644
--- a/src/views/next/screen-content-map/cpt/point.json
+++ b/src/views/next/screen-content-map/cpt/point.json
@@ -89,7 +89,7 @@
"name": "青岛德龙种子有限公司",
"type": "marker",
"category": "unit",
- "id": "1739933907285520386"
+ "id": "1777615047488180226"
},
"geometry": {
"type": "Point",
diff --git a/src/views/next/screen-content-map/cpt/zdyf-map.vue b/src/views/next/screen-content-map/cpt/zdyf-map.vue
index 41f0667..fc7ac93 100644
--- a/src/views/next/screen-content-map/cpt/zdyf-map.vue
+++ b/src/views/next/screen-content-map/cpt/zdyf-map.vue
@@ -159,6 +159,7 @@ export default {
}),
...mapActions({}),
openCompanyDetail (item) {
+ console.log('item::', item)
this.set_qyjj(true)
this.set_gsxq_id(item.id)
},
@@ -360,6 +361,7 @@ export default {
scene.addLayer(dotLayer3)
}
dotLayer.on('click', (e) => {
+ console.log('e::', e)
if (gaoliang.some((item) => item === e.feature.properties.name)) {
this.openCompanyDetail(e.feature.properties)
}