Merge branch 'test' of https://e.coding.net/g-cphe0354/duanju/new_app into test
This commit is contained in:
commit
485b306ef2
21
App.vue
21
App.vue
|
|
@ -1,22 +1,15 @@
|
|||
<script>
|
||||
import { ref } from 'vue';
|
||||
import {
|
||||
ref
|
||||
} from 'vue';
|
||||
export default {
|
||||
onLaunch: function() {
|
||||
console.log('App Launch');
|
||||
// const systemInfo = uni.getSystemInfoSync();
|
||||
// const isA = systemInfo.platform === 'android'
|
||||
// if (isA) {
|
||||
// uni.setStorageSync('isAI', true)
|
||||
// } else {
|
||||
// uni.setStorageSync('isAI', false)
|
||||
// }
|
||||
|
||||
|
||||
|
||||
const sysInfo = uni.getSystemInfoSync();
|
||||
let isIos = sysInfo.platform == 'ios'
|
||||
uni.setStorageSync('isIos', isIos)
|
||||
},
|
||||
onShow: function() {
|
||||
|
||||
|
||||
},
|
||||
onHide: function() {
|
||||
console.log('App Hide');
|
||||
|
|
@ -114,9 +107,11 @@ web-view {
|
|||
top: 800rpx;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.u-image {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.u-status-bar {
|
||||
height: var(--status-bar-height);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -106,7 +106,9 @@ import {
|
|||
onShow(() => {
|
||||
getTaskdata()
|
||||
getsignIn()
|
||||
|
||||
const sysInfo = uni.getSystemInfoSync();
|
||||
let isIos = sysInfo.platform == 'ios'
|
||||
console.log("is ios ", isIos);
|
||||
// nextTick(() => {
|
||||
// currentInstance.ctx.$refs.adRewardedVideo.load();
|
||||
// })
|
||||
|
|
|
|||
Loading…
Reference in New Issue