diff --git a/App.vue b/App.vue index bd7ac35..9ddfcab 100644 --- a/App.vue +++ b/App.vue @@ -36,7 +36,7 @@ success: (res) => { if (res.confirm) { const urlAndorid = 'https://www.pgyer.com/9B4d' - if (window.plus) window.plus.runtime.openURL(urlAndorid) + if (plus) plus.runtime.openURL(urlAndorid) // 更新版本 else window.open(urlAndorid) } diff --git a/components/BottomBtn/index.vue b/components/BottomBtn/index.vue index 0a183f9..82bf21b 100644 --- a/components/BottomBtn/index.vue +++ b/components/BottomBtn/index.vue @@ -1,46 +1,42 @@ \ No newline at end of file +.bottom-btn { + border-top: 1px solid #e4e7ed; + box-sizing: border-box; + padding: 20rpx 20rpx; + background: #fff; + position: fixed; + bottom: 0%; + left: 0%; + width: 100%; +} + diff --git a/components/xycoder-threeStageSlidingPanel/index.vue b/components/xycoder-threeStageSlidingPanel/index.vue new file mode 100644 index 0000000..3d060d2 --- /dev/null +++ b/components/xycoder-threeStageSlidingPanel/index.vue @@ -0,0 +1,206 @@ + + + + + diff --git a/package.json b/package.json new file mode 100644 index 0000000..2778bfe --- /dev/null +++ b/package.json @@ -0,0 +1,18 @@ +{ + "id": "xycoder-threeStageSlidingPanel", + "name": "高性能三段式滑动面板", + "displayName": "高性能三段式滑动面板", + "version": "2.0", + "description": "仿高德三段式滑动操作面板", + "keywords": [ + "滑动面板", + "滑动", + "操作面板" + ], + "dcloudext": { + "category": [ + "前端组件", + "通用组件" + ] + } +} \ No newline at end of file diff --git a/pages/house/addAndEdit.vue b/pages/house/addAndEdit.vue index 3f012cd..eb492df 100644 --- a/pages/house/addAndEdit.vue +++ b/pages/house/addAndEdit.vue @@ -14,14 +14,15 @@ - {{item.dictLabel}} + {{item.dictLabel}}{{item.dictLabel == "HZ" ? "(有户口自住)" : "(有户口不住)"}} + - {{item.dictLabel}} + {{item.dictLabel}}{{item.dictLabel == "NZ" ? "(没户口自住)" : "(没户口租客)"}} diff --git a/pages/index.vue b/pages/index.vue index 77879dd..499f66f 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -16,6 +16,7 @@ + @@ -29,6 +30,7 @@ } from '@/api/taicangpop/building.js' export default { + data() { return { status: 'loadmore', @@ -85,25 +87,25 @@ methods: { //跳转楼栋页面 handlerBuilding(item) { - if(this.queryParams.xiaoquId == 267){ + if (this.queryParams.xiaoquId == 267) { this.$u.route({ url: 'pages/building/map', params: { buildingId: item.id, deptname: item.deptname, - name:item.name + name: item.name + } + }) + } else { + this.$u.route({ + url: 'pages/building/building', + params: { + buildingId: item.id, + deptname: item.name } }) - }else{ - this.$u.route({ - url: 'pages/building/building', - params: { - buildingId: item.id, - deptname: item.name - } - }) } - + }, //更新tabar @@ -140,14 +142,14 @@ this.buildingList = [...this.buildingList, ...res.rows] this.total = res.total this.queryParams.pageNum = this.queryParams.pageNum + 1 - + if (this.buildingList.length >= this.total) { this.status = 'nomore'; - - }else{ + + } else { this.status = 'loadmore'; } - + }, //下拉框变化 diff --git a/pages/login.vue b/pages/login.vue index 93272c5..a0d0f99 100644 --- a/pages/login.vue +++ b/pages/login.vue @@ -52,8 +52,8 @@ register: false, globalConfig: getApp().globalData.config, loginForm: { - username: "景瑞网格1", - password: "Tc123@456***", + username: "", + password: "", code: "", uuid: '' } diff --git a/pages/mine/index.vue b/pages/mine/index.vue index 2ce836f..c2a8d6a 100644 --- a/pages/mine/index.vue +++ b/pages/mine/index.vue @@ -23,8 +23,6 @@ - - @@ -96,13 +94,18 @@ success: (res) => { if (res.confirm) { const urlAndorid = 'https://www.pgyer.com/9B4d' - if (window.plus) window.plus.runtime.openURL(urlAndorid) + if (plus) plus.runtime.openURL(urlAndorid) // 更新版本 else window.open(urlAndorid) } } }) + } else { + uni.showToast({ + title: '已是最新版本', + icon: 'none' + }) } }, async getVersion() {