| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <template>
- <view class="content">
-
- </view>
- </template>
- <script>
- import { getDicts } from '@/api/common'
- export default {
- data() {
- return {
-
- };
- },
- onShow() {
- //this.getDicts()
- this.navigatHandler();
- },
- methods: {
- navigatHandler: function() {
- // if (!this.$isLogin()) {
- // setTimeout(()=>{
- // uni.reLaunch({
- // url: '../auth/loginIndex',
- // //url: '../index/index',
- // animationType: 'none',
- // animationDuration: 2000
- // })
- // },200);
-
- // // #ifdef APP-PLUS
- // plus.navigator.closeSplashscreen();
- // // #endif
-
- // } else {
- // if(uni.getStorageSync("openUrl")) {
- // return
- // }
- uni.reLaunch({
- url: '../index/index',
- // url: '../course/index',
- //url: '../course/video/living-app',
- animationType: 'none',
- animationDuration: 2000
- })
- // }
- },
- getDicts:function(){
- getDicts().then(
- res => {
- if(res.code==200){
- uni.setStorageSync('dicts',JSON.stringify(res.data));
- }
- },
- rej => {}
- );
- },
- },
-
- };
-
- </script>
- <style>
- page{
- background-color: #fff;
- }
- .content {
- background-color: #fff;
- height: 100%;
- width: 100%;
- position: relative;
- padding-top: 0;
- }
- </style>
|