连云港陪玩陪聊
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.
chunwan/main.js

45 lines
1.2 KiB

3 months ago
import App from './App'
// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
import uView from './uni_modules/vk-uview-ui';
Vue.use(uView);
3 months ago
import unverified from '@/components/unverified.vue';
import insufficient from '@/components/insufficient.vue';
3 months ago
import share from '@/components/share.vue';
3 months ago
import dashan from '@/components/dashan.vue';
3 months ago
Vue.component('unverified', unverified)
Vue.component('insufficient', insufficient)
3 months ago
Vue.component('share', share)
3 months ago
Vue.component('dashan', dashan)
3 months ago
Vue.config.productionTip = false
1 month ago
1 month ago
1 month ago
const bgAudioManager = uni.getBackgroundAudioManager();
1 month ago
uni.$on("playAudio",res=>{
bgAudioManager.src = 'https://api.lyiyuan.cn/profile/upload/static/tishiyin.mp3';
bgAudioManager.play();
})
2 months ago
import api from '@/api/index.js'
Vue.prototype.$api = api
2 months ago
Vue.prototype.$articleShareUrl = "https://api.lyiyuan.cn/profile/upload/web/index.html#/pages/dongtai/detail?type=web&id="
1 month ago
Vue.prototype.$userShareUrl = "https://api.lyiyuan.cn/profile/upload/web/index.html#/pages/login/reg?id="
2 months ago
3 months ago
App.mpType = 'app'
const app = new Vue({
...App
})
app.$mount()
1 month ago
// #endif
3 months ago
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
const app = createSSRApp(App)
return {
app
}
}
// #endif