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