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

54 lines
894 B

11 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 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 configPopup from '@/components/config/configPopup.vue'
  23. import navbar from '@/components/base/navbar.vue'
  24. Vue.component('configPopup', configPopup)
  25. Vue.component('navbar', navbar)
  26. const app = new Vue({
  27. ...App,
  28. store,
  29. })
  30. app.$mount()
  31. // #endif
  32. // #ifdef VUE3
  33. import {
  34. createSSRApp
  35. } from 'vue'
  36. export function createApp() {
  37. const app = createSSRApp(App)
  38. return {
  39. app
  40. }
  41. }
  42. // #endif