chore(组件): 组件尽量使用异步导入模式
This commit is contained in:
@@ -16,15 +16,15 @@ export default {
|
||||
},
|
||||
onShow() {
|
||||
this.isIphoneX = this.$util.uniappIsIPhoneX();
|
||||
|
||||
|
||||
this.getSiteStatus();
|
||||
|
||||
|
||||
// #ifdef MP-WEIXIN
|
||||
wx.hideHomeButton();
|
||||
// #endif
|
||||
},
|
||||
methods:{
|
||||
getSiteStatus(){
|
||||
methods: {
|
||||
getSiteStatus() {
|
||||
this.$api.sendRequest({
|
||||
url: '/api/site/status',
|
||||
data: {},
|
||||
@@ -78,6 +78,7 @@ export default {
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.closeBox {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
@@ -86,9 +87,11 @@ export default {
|
||||
align-items: center;
|
||||
margin-top: 330rpx;
|
||||
}
|
||||
|
||||
image {
|
||||
width: 240rpx;
|
||||
}
|
||||
|
||||
.close-title {
|
||||
font-size: $font-size-toolbar;
|
||||
color: $color-tip;
|
||||
|
||||
Reference in New Issue
Block a user