页面接口推介

This commit is contained in:
仲么了
2023-07-31 09:00:30 +08:00
parent 863d30ee61
commit 77b4ff6f88
30 changed files with 928 additions and 652 deletions

View File

@@ -47,7 +47,7 @@ export default {
}).catch((err) => {
console.log(err)
})
}, 200);
}, 1000);
}
}
}

View File

@@ -7,36 +7,34 @@
<view class="loading" v-if="loading">
<zero-loading v-if="loading"></zero-loading>
</view>
<template v-else>
<slot name="body"></slot>
</template>
<slot name="body"></slot>
</template>
</view>
</template>
<script >
<script>
export default {
name: 'Cn-page',
props: {
loading: {
type: Boolean,
default: false
default: false,
},
showLoginMsk: Boolean,
noPadding: Boolean,
},
data () {
data() {
return {
login: false,
}
},
created () {
created() {
this.login = uni.getStorageSync('Authorization')
},
}
</script>
<style lang='scss'>
<style lang="scss">
.Cn-page {
box-sizing: border-box;
padding-bottom: calc(30rpx + env(safe-area-inset-bottom));