You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<script>
|
|
|
|
import {
|
|
|
|
onLaunch,
|
|
|
|
onShow,
|
|
|
|
onHide
|
|
|
|
} from '@dcloudio/uni-app'
|
|
|
|
import { inject } from "vue"
|
|
|
|
export default {
|
|
|
|
setup(){
|
|
|
|
onLaunch(()=>{
|
|
|
|
// #ifdef APP
|
|
|
|
const utils=inject('utils')
|
|
|
|
console.log(utils);
|
|
|
|
utils.inittts()
|
|
|
|
// setTimeout(()=>{
|
|
|
|
// utils.ttsspke('12313123')
|
|
|
|
// },5000)
|
|
|
|
// #endif
|
|
|
|
// setTimeout(()=>{
|
|
|
|
// uni.hideTabBar({})
|
|
|
|
// },1200)
|
|
|
|
console.log('onLaunch');
|
|
|
|
})
|
|
|
|
|
|
|
|
onShow(()=>{
|
|
|
|
console.log('onshow');
|
|
|
|
|
|
|
|
})
|
|
|
|
return {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
@import '@/uni_modules/fant-mini-plus/libs/iconfont/iconfont.css';
|
|
|
|
@import "@/uni_modules/uview-plus/index.scss";
|
|
|
|
/*每个页面公共css */
|
|
|
|
page{
|
|
|
|
background-color: #F5F5F6;
|
|
|
|
}
|
|
|
|
</style>
|