苹果审核,bug恢复
This commit is contained in:
39
main.js
39
main.js
@@ -2,21 +2,40 @@ import Vue from 'vue'
|
||||
import App from './App'
|
||||
import qs from 'qs'
|
||||
|
||||
import {music, bgm} from '@/utils/music.js'
|
||||
import {
|
||||
music,
|
||||
bgm
|
||||
} from '@/utils/music.js'
|
||||
Vue.prototype.$music = music
|
||||
Vue.prototype.$bgm = bgm
|
||||
|
||||
|
||||
import {nowHour} from '@/utils/getHours.js'
|
||||
import {
|
||||
nowHour
|
||||
} from '@/utils/getHours.js'
|
||||
Vue.prototype.$getHours = nowHour
|
||||
|
||||
// 地址
|
||||
// Vue.prototype.$baseUrl = "http://192.168.110.100:9100/pb/"
|
||||
// Vue.prototype.$baseUrl = "http://59.110.212.44:9100/pb/"
|
||||
Vue.prototype.$baseUrl = "https://api.nuttyreading.com/"
|
||||
// 安卓安卓包下载地址
|
||||
// Vue.prototype.$baseUrl = "http://59.110.212.44:9100/pb/"
|
||||
Vue.prototype.$baseUrl = "https://api.nuttyreading.com/"
|
||||
// 安卓安卓包下载地址
|
||||
// Vue.prototype.$apkUrl = "https://www.nuttyreading.com/nuttyreading.apk" // 本地地址
|
||||
Vue.prototype.$apkUrl = "https://a.app.qq.com/o/simple.jsp?pkgname=com.cn.nuttyreading" // 应用宝
|
||||
Vue.prototype.$apkUrl = "https://a.app.qq.com/o/simple.jsp?pkgname=com.cn.nuttyreading" // 应用宝
|
||||
|
||||
// 判断手机型号
|
||||
|
||||
uni.getSystemInfo({
|
||||
success: function(res) {
|
||||
if (res.platform == 'ios') {
|
||||
Vue.prototype.iosHide = false;
|
||||
// Vue.prototype.iosHide = true;
|
||||
} else {
|
||||
Vue.prototype.iosHide = true;
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
|
||||
// uView组件库
|
||||
@@ -37,11 +56,15 @@ import $http from '@/config/requestConfig'
|
||||
Vue.prototype.$http = $http;
|
||||
// #ifdef MP-WEIXIN
|
||||
//挂载全局微信分享
|
||||
import { wxShare } from '@/config/utils'
|
||||
import {
|
||||
wxShare
|
||||
} from '@/config/utils'
|
||||
Vue.prototype.wxShare = wxShare;
|
||||
// #endif
|
||||
//判断是否登录
|
||||
import { judgeLogin } from '@/config/login';
|
||||
import {
|
||||
judgeLogin
|
||||
} from '@/config/login';
|
||||
Vue.prototype.judgeLogin = judgeLogin;
|
||||
Vue.config.productionTip = false;
|
||||
// #ifdef H5
|
||||
|
||||
Reference in New Issue
Block a user