From 2ac1373b6cf80f6f7396158be2199bc52f979321 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Wed, 09 Feb 2022 16:33:56 +0800
Subject: [PATCH] +搜索bug,item对象多了个list

---
 src/components/mobilePopupOur/index.vue |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/src/components/mobilePopupOur/index.vue b/src/components/mobilePopupOur/index.vue
index 9c8feb9..0252535 100644
--- a/src/components/mobilePopupOur/index.vue
+++ b/src/components/mobilePopupOur/index.vue
@@ -305,24 +305,24 @@
         //正常获取全部数据
         let outList = [];
         data.forEach((item) => {
-          let icon = item.list.tpurl.split(",");
+          let icon = item.tpurl.split(",");
           let useData = {
-            name: item.list.mechanismname,
-            lntLat: [item.list.jd, item.list.wd],
-            alt: item.list.gd,
-            heading: item.list.heading,
-            pitch: item.list.pitch,
-            roll: item.list.roll,
-            bgImg: item.list.tpurl,
+            name: item.mechanismname,
+            lntLat: [item.jd, item.wd],
+            alt: item.gd,
+            heading: item.heading,
+            pitch: item.pitch,
+            roll: item.roll,
+            bgImg: item.tpurl,
             icon: icon,
-            icons: icon + item.list.mechanismname, //图片响应改变
+            icons: icon + item.mechanismname, //图片响应改变
             from: this.choiceMain,
-            QRImg: item.list.codeurl,
-            websiteUrl: item.list.websiteurl,
-            telePhone: item.list.telephone,
-            address: item.list.address,
-            introduce: item.list.introduce,
-            video: item.list.videourl,
+            QRImg: item.codeurl,
+            websiteUrl: item.websiteurl,
+            telePhone: item.telephone,
+            address: item.address,
+            introduce: item.introduce,
+            video: item.videourl,
             buts:
               that.mBigPopup.name == "社区建筑" ||
               that.mBigPopup.name == "文化风景"

--
Gitblit v1.9.3