Merge branch 'test' of https://e.coding.net/g-cphe0354/duanju/new_app into test
This commit is contained in:
commit
485b306ef2
215
App.vue
215
App.vue
|
|
@ -1,123 +1,118 @@
|
|||
<script>
|
||||
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)
|
||||
// }
|
||||
|
||||
|
||||
|
||||
},
|
||||
onShow: function () {
|
||||
|
||||
|
||||
},
|
||||
onHide: function () {
|
||||
console.log('App Hide');
|
||||
}
|
||||
};
|
||||
import {
|
||||
ref
|
||||
} from 'vue';
|
||||
export default {
|
||||
onLaunch: function() {
|
||||
console.log('App Launch');
|
||||
const sysInfo = uni.getSystemInfoSync();
|
||||
let isIos = sysInfo.platform == 'ios'
|
||||
uni.setStorageSync('isIos', isIos)
|
||||
},
|
||||
onShow: function() {
|
||||
},
|
||||
onHide: function() {
|
||||
console.log('App Hide');
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
/*每个页面公共css */
|
||||
@import "uview-plus/index.scss";
|
||||
@import "@/commons/style/common.scss";
|
||||
/*每个页面公共css */
|
||||
@import "uview-plus/index.scss";
|
||||
@import "@/commons/style/common.scss";
|
||||
|
||||
ul,
|
||||
li {
|
||||
list-style: none;
|
||||
}
|
||||
ul,
|
||||
li {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.show {
|
||||
display: block;
|
||||
}
|
||||
.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none !important;
|
||||
}
|
||||
.hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
page,
|
||||
view,
|
||||
scroll-view,
|
||||
swiper,
|
||||
swiper-item,
|
||||
match-media,
|
||||
movable-area,
|
||||
movable-view,
|
||||
cover-view,
|
||||
cover-image,
|
||||
icon,
|
||||
text,
|
||||
rich-text,
|
||||
progress,
|
||||
button,
|
||||
checkbox-group,
|
||||
editor,
|
||||
form,
|
||||
input,
|
||||
label,
|
||||
picker,
|
||||
picker-view,
|
||||
radio-group,
|
||||
slider,
|
||||
switch,
|
||||
textarea,
|
||||
navigator,
|
||||
audio,
|
||||
camera,
|
||||
image,
|
||||
video,
|
||||
live-player,
|
||||
live-pusher,
|
||||
map,
|
||||
canvas,
|
||||
web-view {
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
}
|
||||
page,
|
||||
view,
|
||||
scroll-view,
|
||||
swiper,
|
||||
swiper-item,
|
||||
match-media,
|
||||
movable-area,
|
||||
movable-view,
|
||||
cover-view,
|
||||
cover-image,
|
||||
icon,
|
||||
text,
|
||||
rich-text,
|
||||
progress,
|
||||
button,
|
||||
checkbox-group,
|
||||
editor,
|
||||
form,
|
||||
input,
|
||||
label,
|
||||
picker,
|
||||
picker-view,
|
||||
radio-group,
|
||||
slider,
|
||||
switch,
|
||||
textarea,
|
||||
navigator,
|
||||
audio,
|
||||
camera,
|
||||
image,
|
||||
video,
|
||||
live-player,
|
||||
live-pusher,
|
||||
map,
|
||||
canvas,
|
||||
web-view {
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.initStyle {
|
||||
padding: 20rpx;
|
||||
background-color: #2a2a2a;
|
||||
height: 100vh;
|
||||
color: #fff;
|
||||
}
|
||||
.initStyle {
|
||||
padding: 20rpx;
|
||||
background-color: #2a2a2a;
|
||||
height: 100vh;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.fc {
|
||||
color: #f4f693;
|
||||
}
|
||||
.fc {
|
||||
color: #f4f693;
|
||||
}
|
||||
|
||||
.inputClass {
|
||||
line-height: 80rpx;
|
||||
}
|
||||
.inputClass {
|
||||
line-height: 80rpx;
|
||||
}
|
||||
|
||||
.inputClass input {
|
||||
background-color: #fff;
|
||||
height: 80rpx;
|
||||
padding: 10rpx;
|
||||
color: #000;
|
||||
}
|
||||
.inputClass input {
|
||||
background-color: #fff;
|
||||
height: 80rpx;
|
||||
padding: 10rpx;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.result {
|
||||
position: absolute;
|
||||
font-size: 100rpx;
|
||||
left: 50%;
|
||||
top: 800rpx;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.u-image {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
.u-status-bar {
|
||||
height: var(--status-bar-height);
|
||||
}
|
||||
</style>
|
||||
.result {
|
||||
position: absolute;
|
||||
font-size: 100rpx;
|
||||
left: 50%;
|
||||
top: 800rpx;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.u-image {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.u-status-bar {
|
||||
height: var(--status-bar-height);
|
||||
}
|
||||
</style>
|
||||
|
|
@ -70,7 +70,7 @@
|
|||
</template>
|
||||
|
||||
<script setup>
|
||||
import {
|
||||
import {
|
||||
useCommonStore
|
||||
} from '@/store/common.js'
|
||||
const $common = useCommonStore()
|
||||
|
|
@ -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