修复中建四局bug

This commit is contained in:
yjl 2022-12-17 11:46:32 +08:00
parent f50ef147a9
commit 69b48258b9

View File

@ -28,7 +28,7 @@ export default {
}, },
methods: { methods: {
getData() { getData() {
getEpidemicBroadcastApi().then((res)=>{ getEpidemicBroadcastApi({adCode: this.$store.state.currentProDetail.cityCode }).then(res => {
if (res.code == 200) { if (res.code == 200) {
this.list[0].content = res.result this.list[0].content = res.result
} }
@ -39,7 +39,7 @@ export default {
let dom = document.getElementById('more') let dom = document.getElementById('more')
dom.addEventListener('click', function(e) { dom.addEventListener('click', function(e) {
if (e.target.id == 'more') { if (e.target.id == 'more') {
window.open("http://wjw.gz.gov.cn/ztzl/xxfyyqfk/yqtb/index.html","_blank") window.open('http://wjw.gz.gov.cn/ztzl/xxfyyqfk/yqtb/index.html', '_blank')
} }
}) })
} }
@ -54,7 +54,7 @@ export default {
.container::after { .container::after {
content: '更多 >'; content: '更多 >';
cursor: pointer; cursor: pointer;
color: #66D4D9; color: #66d4d9;
position: absolute; position: absolute;
right: 4%; right: 4%;
top: 5%; top: 5%;
@ -106,9 +106,6 @@ export default {
margin-bottom: 5px; margin-bottom: 5px;
} }
} }
} }
} }
</style> </style>