| | |
| | | <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> |
| | | |
| | |
| | | type: String, |
| | | // default: 60 |
| | | }, |
| | | ishide: { |
| | | type: Boolean, |
| | | }, |
| | | |
| | | isweimap: { |
| | | type: Boolean, |
| | | }, |
| | | }, |
| | | computed: { |
| | | countList() { |
| | |
| | | } |
| | | }, |
| | | mounted() { |
| | | console.log(22222222); |
| | | console.log(this.fenceposition); |
| | | this.getNavBarHeight(); |
| | | this.webviewStyles.bottom = this.tabheight.toString() + "px" |
| | | this.webviewStyles.top = "45px" |
| | |
| | | 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() |
| | | }, |
| | |
| | | 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', |