页面接口推介
This commit is contained in:
@@ -47,7 +47,7 @@ export default {
|
||||
}).catch((err) => {
|
||||
console.log(err)
|
||||
})
|
||||
}, 200);
|
||||
}, 1000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user