帧视界壹通告,付费看视频的微信小程序
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.

62 lines
994 B

11 months ago
10 months ago
8 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
8 months ago
11 months ago
  1. import App from './App'
  2. // #ifndef VUE3
  3. import Vue from 'vue'
  4. import './uni.promisify.adaptor'
  5. Vue.config.productionTip = false
  6. App.mpType = 'app'
  7. import store from '@/store/store'
  8. import './config'
  9. import './utils/index.js'
  10. import uvUI from '@/uni_modules/uv-ui-tools'
  11. Vue.use(uvUI);
  12. uni.$uv.setConfig({
  13. // 修改$uv.config对象的属性
  14. config: {
  15. // 修改默认单位为rpx,相当于执行 uni.$uv.config.unit = 'rpx'
  16. unit: 'rpx'
  17. },
  18. })
  19. //
  20. //wxe7ae8cbe1673834c
  21. // 导入并挂载全局的分享方法
  22. import share from '@/mixins/share.js'
  23. Vue.mixin(share)
  24. //组件注册
  25. import configPopup from '@/components/config/configPopup.vue'
  26. import navbar from '@/components/base/navbar.vue'
  27. Vue.component('configPopup', configPopup)
  28. Vue.component('navbar', navbar)
  29. const app = new Vue({
  30. ...App,
  31. store,
  32. })
  33. app.$mount()
  34. // #endif
  35. // #ifdef VUE3
  36. import {
  37. createSSRApp
  38. } from 'vue'
  39. export function createApp() {
  40. const app = createSSRApp(App)
  41. return {
  42. app
  43. }
  44. }
  45. // #endif