锁屏问题修复
This commit is contained in:
@@ -57,7 +57,7 @@ export default {
|
|||||||
module = 'hnjc'
|
module = 'hnjc'
|
||||||
} else if (/\/project\/saas\//.test(libPath)) {
|
} else if (/\/project\/saas\//.test(libPath)) {
|
||||||
module = 'online'
|
module = 'online'
|
||||||
} else if (/\/project\/xicheng\//.test(libPath)) {
|
} else if (/\/project\/xincheng\//.test(libPath)) {
|
||||||
module = 'xaxc'
|
module = 'xaxc'
|
||||||
} else if (/\/project\/beta\//.test(libPath)) {
|
} else if (/\/project\/beta\//.test(libPath)) {
|
||||||
corpId = 'ww2a667717a70164f1'
|
corpId = 'ww2a667717a70164f1'
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<h2>一级网格</h2>
|
<h2>一级网格</h2>
|
||||||
<div class="gird-item__wrapper level1" @click="getStatistics(topGrid.id)">
|
<div class="gird-item__wrapper level1" @click="getStatistics(topGrid.id)">
|
||||||
<h3>{{ topGrid.girdName }}</h3>
|
<h3>{{ topGrid.girdName }}</h3>
|
||||||
<image :src="$cdn + 'xincheng/w-right.png'" />
|
<image :src="$cdn + 'xincheng/w-right.png'"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="gird-item" v-if="secondaryGrid.length">
|
<div class="gird-item" v-if="secondaryGrid.length">
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
<div class="gird-item__wrapper level3" @click="getSubInfo">
|
<div class="gird-item__wrapper level3" @click="getSubInfo">
|
||||||
<h3>专属网格</h3>
|
<h3>专属网格</h3>
|
||||||
<p>({{ tertiaryGrid.length }}个)</p>
|
<p>({{ tertiaryGrid.length }}个)</p>
|
||||||
<image :src="$cdn + 'xincheng/blue-right.png'" />
|
<image :src="$cdn + 'xincheng/blue-right.png'"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -65,12 +65,12 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: 'grid',
|
name: 'grid',
|
||||||
|
|
||||||
appName: '网格统计',
|
appName: '网格统计',
|
||||||
|
|
||||||
data () {
|
data() {
|
||||||
return {
|
return {
|
||||||
isShowStreet: false,
|
isShowStreet: false,
|
||||||
streetInfo: {},
|
streetInfo: {},
|
||||||
@@ -83,13 +83,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
onLoad () {
|
onLoad() {
|
||||||
this.$loading()
|
this.$loading()
|
||||||
this.getInfo()
|
this.getInfo().finally(() => uni.hideLoading())
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
getStatistics (girdId) {
|
getStatistics(girdId) {
|
||||||
this.$loading()
|
this.$loading()
|
||||||
this.$http.post(`/api/appgirdinfo/girdInfoCountById?girdId=${girdId}`).then(res => {
|
this.$http.post(`/api/appgirdinfo/girdInfoCountById?girdId=${girdId}`).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
@@ -99,7 +99,7 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
getSubInfo () {
|
getSubInfo() {
|
||||||
this.$loading()
|
this.$loading()
|
||||||
this.$http.post(`/api/appgirdinfo/girdInfoCountByThree`).then(res => {
|
this.$http.post(`/api/appgirdinfo/girdInfoCountByThree`).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
@@ -109,8 +109,8 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
getInfo () {
|
getInfo() {
|
||||||
this.$http.post(`/api/appgirdinfo/listAllByTop`).then(res => {
|
return this.$http.post(`/api/appgirdinfo/listAllByTop`).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.topGrid = res.data
|
this.topGrid = res.data
|
||||||
|
|
||||||
@@ -129,11 +129,11 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.grid {
|
.grid {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
padding: 32px 0;
|
padding: 32px 0;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
@@ -342,5 +342,5 @@
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user