diff --git a/App.vue b/App.vue index 9eb6ec2..a23915a 100644 --- a/App.vue +++ b/App.vue @@ -19,12 +19,16 @@ StatusBar: Vue.prototype.StatusBar, CustomBar: Vue.prototype.CustomBar, windowHeight: Vue.prototype.windowHeight, - LOADING: false + LOADING: false, + bulidIngObj: uni.getStorageSync('buildingID'), + }; }, methods: { - + upDateBulidIngObj() { + this.bulidIngObj = uni.getStorageSync('buildingID') + }, addLookingCount() { this.$u.post('/user/addLookingCount', { houseId: uni.getStorageSync('buildingID').id }) }, diff --git a/manifest.json b/manifest.json index d5bfc1e..16c8fd4 100644 --- a/manifest.json +++ b/manifest.json @@ -1,5 +1,5 @@ { - "name" : "数智工牌", + "name" : "去房智控管家", "appid" : "__UNI__7A1611D", "description" : "去房智控管家", "versionName" : "1.1.0", @@ -91,7 +91,7 @@ }, "quickapp" : {}, "mp-weixin" : { - "appid" : "wxe044603515ff2cb5", + "appid" : "wx8f883dca5ecc5510", "setting" : { "urlCheck" : false, "es6" : true, diff --git a/pages/index/index.vue b/pages/index/index.vue index 7cc8a8e..58de1f5 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -63,6 +63,11 @@ + + + + 您的服务于{{ bulidIngObj.endWorking }}到期,为了避免影响您的使用,请与服务商联系 + 设备 @@ -312,6 +317,7 @@ onShow() { + this.upDateBulidIngObj() this.LOADING = true this.getMenu() @@ -922,13 +928,15 @@ } .cented-box { - padding: 30rpx; + position: relative; + padding: 30rpx 0; background: #F8F8F8; width: 100%; height: 100%; } .Switchingbox { + padding: 0 30rpx; width: 100%; height: 44rpx; display: flex; @@ -1034,17 +1042,17 @@ } .title { + margin: 48rpx 0 24rpx; + padding: 0 30rpx; width: 100%; - height: 30rpx; font-size: 30rpx; font-weight: 600; color: #333333; - margin-top: 40rpx; - margin-bottom: 24rpx; } .shebenbox { - width: 100%; + margin: 0 auto; + width: 690rpx; height: 156rpx; background: #FFFFFF; box-shadow: 0px 0px 12px 0px rgba(224, 224, 224, 0.3); @@ -1076,7 +1084,8 @@ } .real-timebox { - width: 100%; + margin: 0 auto; + width: 690rpx; background: #FFFFFF; box-shadow: 0px 0px 12px 0px rgba(224, 224, 224, 0.3); border-radius: 12rpx; @@ -1113,7 +1122,8 @@ } .commonly-box { - width: 100%; + margin: 0 auto; + width: 690rpx; background: #FFFFFF; box-shadow: 0px 0px 12px 0px rgba(224, 224, 224, 0.3); border-radius: 12rpx; @@ -1147,4 +1157,19 @@ } } } + + .endworking { + margin-top: 20rpx; + padding: 15rpx 30rpx; + width: 100%; + } + + .sixty { + background-color: #FDFCDA; + } + + .fifteen { + background-color: #F9C8C8; + color: #ff0000; + } diff --git a/pages/login/index.vue b/pages/login/index.vue index a12b5c3..a90958e 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -1,26 +1,33 @@