代码合并

This commit is contained in:
2025-01-09 17:30:12 +08:00
46 changed files with 2806 additions and 562 deletions

27
App.vue
View File

@@ -1,9 +1,9 @@
<script>
import { init } from '@/api/init.js'
import http from '@/http/http.js'
import { init } from '@/api/init.js';
import http from '@/http/http.js';
export default {
onLaunch: function () {
console.log('App Launch')
console.log('App Launch');
// const systemInfo = uni.getSystemInfoSync();
// const isA = systemInfo.platform === 'android'
// if (isA) {
@@ -11,23 +11,22 @@ export default {
// } else {
// uni.setStorageSync('isAI', false)
// }
},
onShow: function () {
init()
init();
// ios是否在审核
http.request({
url: '/common/type/919',
}).then(res => {
url: '/common/type/919'
}).then((res) => {
if (res.code == 0) {
uni.setStorageSync('isExamine', res.data.value)
uni.setStorageSync('isExamine', res.data.value);
}
})
});
},
onHide: function () {
console.log('App Hide')
console.log('App Hide');
}
}
};
</script>
<style lang="scss">
@@ -120,4 +119,10 @@ web-view {
top: 800rpx;
transform: translateX(-50%);
}
.u-image {
background-color: transparent !important;
}
.u-status-bar {
height: var(--status-bar-height);
}
</style>