From 645834e1c3efb3a8c50dcbda98d87caba04bd421 Mon Sep 17 00:00:00 2001 From: fei.wang <wf18701153496@163.com> Date: 星期三, 13 八月 2025 14:34:02 +0800 Subject: [PATCH] v1.2.8 --- pages/index/home.vue | 24 +++++++++++------------- 1 files changed, 11 insertions(+), 13 deletions(-) diff --git a/pages/index/home.vue b/pages/index/home.vue index 5ce5bae..cd4cd36 100644 --- a/pages/index/home.vue +++ b/pages/index/home.vue @@ -9,7 +9,8 @@ <view> </view> <view> - <dituCom :access_token="token" :style="{height:webHeight+'px'}" @mars3dc="mars3dc" :fenceposition="fenceposition"></dituCom> + <dituCom :access_token="token" :style="{height:webHeight+'px'}" @mars3dc="mars3dc" + :fenceposition="fenceposition" :ishide="ishide" :isweimap="isweimap"></dituCom> </view> @@ -128,7 +129,13 @@ type: String, // default: 60 }, + ishide: { + type: Boolean, + }, + isweimap: { + type: Boolean, + }, }, computed: { countList() { @@ -140,8 +147,6 @@ } }, mounted() { - console.log(22222222); - console.log(this.fenceposition); this.getNavBarHeight(); this.webviewStyles.bottom = this.tabheight.toString() + "px" this.webviewStyles.top = "45px" @@ -194,16 +199,12 @@ getNavBarHeight() { const query = uni.createSelectorQuery().in(this); query.select('.tn-nav-bar').boundingClientRect(data => { - if (data) { - // data.height 灏辨槸 tn-nav-bar 鐨勯珮搴� - console.log('NavBar height:', data.height); - } + if (data) {} }).exec(); }, mars3dc(e) { - console.log(e); this.perlist = e - this.keyword = e.ptagid + this.keyword = e.tagid this.lock = true this.refreshlock() }, @@ -237,18 +238,15 @@ name: this.keyword, company: this.company, } - console.log(params); - console.log(this.vuex_is_login); if (this.vuex_is_login == true) { findPerson(params).then((res) => { - console.log(res); if (res.code == 0) { this.perlist = res.data } else { if (this.lock == true) { this.lock = false this.perlist = {} - this.keyword = '' + // this.keyword = '' } else { this.$refs.refSuccess.showBox({ type: 'error', -- Gitblit v1.9.3