Browse Source

隐藏logo干掉房屋详情页面

master
mk 2 months ago
parent
commit
6bc2e32e9f
  1. 10
      index.html
  2. 2
      src/views/showings/components/HouseList.vue

10
index.html

@ -13,3 +13,13 @@
<script type="module" src="/src/main.js"></script> <script type="module" src="/src/main.js"></script>
</body> </body>
</html> </html>
<style type="text/css">
.amap-logo{
display: none;
opacity:0 !important;
}
.amap-copyright {
opacity:0;
}
</style>

2
src/views/showings/components/HouseList.vue

@ -92,7 +92,7 @@ const getLabel = (tag) => {
return dictArray.find((item) => item.dictValue === tag)?.dictLabel || tag; return dictArray.find((item) => item.dictValue === tag)?.dictLabel || tag;
}; };
const toHouseDetail = (e) => { const toHouseDetail = (e) => {
console.log(e); console.log(e)
// router.push({ path: '/houseDetail', query: { deptId: e.apartmentId, id: e.houseTypeId } }) // router.push({ path: '/houseDetail', query: { deptId: e.apartmentId, id: e.houseTypeId } })
} }
</script> </script>

Loading…
Cancel
Save