create-young-proj 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. package/package.json +3 -6
  2. package/template-nuxt-admin/README.md +22 -0
  3. package/template-nuxt-admin/_gitignore +23 -0
  4. package/template-nuxt-admin/_npmrc +2 -0
  5. package/template-nuxt-admin/components/YoungChangePassword.vue +4 -4
  6. package/template-nuxt-admin/components/layout/Main.vue +2 -17
  7. package/template-nuxt-admin/components/layout/SideBar.vue +2 -3
  8. package/template-nuxt-admin/components/layout/TabsBar.vue +2 -2
  9. package/template-nuxt-admin/composables/tags.ts +26 -20
  10. package/template-nuxt-admin/middleware/auth.global.ts +15 -4
  11. package/template-nuxt-admin/package.json +9 -9
  12. package/template-nuxt-admin/pages/login.vue +5 -5
  13. package/template-nuxt-admin/pages/system/api.vue +5 -5
  14. package/template-nuxt-admin/pages/system/menuList.vue +8 -8
  15. package/template-nuxt-admin/pages/system/role.vue +5 -5
  16. package/template-nuxt-admin/pages/system/user.vue +6 -6
  17. package/template-nuxt-admin/yarn.lock +2322 -2068
  18. package/template-uni-app/README.md +20 -0
  19. package/template-uni-app/_env +1 -1
  20. package/template-uni-app/_env.development +2 -2
  21. package/template-uni-app/_env.production +0 -3
  22. package/template-uni-app/_env.test +0 -3
  23. package/template-uni-app/auto-imports.d.ts +3 -0
  24. package/template-uni-app/dist/dev/mp-weixin/apis/index.js +44 -0
  25. package/template-uni-app/dist/dev/mp-weixin/apis/lib/index.js +90 -0
  26. package/template-uni-app/dist/dev/mp-weixin/apis/requests/get.js +10 -0
  27. package/template-uni-app/dist/dev/mp-weixin/apis/requests/index.js +1 -0
  28. package/template-uni-app/dist/dev/mp-weixin/apis/requests/post.js +15 -0
  29. package/template-uni-app/dist/dev/mp-weixin/app.js +93 -0
  30. package/template-uni-app/dist/dev/mp-weixin/app.json +51 -0
  31. package/template-uni-app/dist/dev/mp-weixin/app.wxss +2378 -0
  32. package/template-uni-app/dist/dev/mp-weixin/common/assets.js +13 -0
  33. package/template-uni-app/dist/dev/mp-weixin/common/vendor.js +10189 -0
  34. package/template-uni-app/dist/dev/mp-weixin/components/young-loading/young-loading.js +22 -0
  35. package/template-uni-app/dist/dev/mp-weixin/components/young-loading/young-loading.json +4 -0
  36. package/template-uni-app/dist/dev/mp-weixin/components/young-loading/young-loading.wxml +1 -0
  37. package/template-uni-app/dist/dev/mp-weixin/components/young-loading/young-loading.wxss +0 -0
  38. package/template-uni-app/dist/dev/mp-weixin/components/young-loading-mini/young-loading-mini.js +22 -0
  39. package/template-uni-app/dist/dev/mp-weixin/components/young-loading-mini/young-loading-mini.json +4 -0
  40. package/template-uni-app/dist/dev/mp-weixin/components/young-loading-mini/young-loading-mini.wxml +1 -0
  41. package/template-uni-app/dist/dev/mp-weixin/components/young-loading-mini/young-loading-mini.wxss +0 -0
  42. package/template-uni-app/dist/dev/mp-weixin/components/young-navbar/young-navbar.js +82 -0
  43. package/template-uni-app/dist/dev/mp-weixin/components/young-navbar/young-navbar.json +4 -0
  44. package/template-uni-app/dist/dev/mp-weixin/components/young-navbar/young-navbar.wxml +1 -0
  45. package/template-uni-app/dist/dev/mp-weixin/components/young-navbar/young-navbar.wxss +108 -0
  46. package/template-uni-app/dist/dev/mp-weixin/components/young-tabbar/young-tabbar.js +56 -0
  47. package/template-uni-app/dist/dev/mp-weixin/components/young-tabbar/young-tabbar.json +4 -0
  48. package/template-uni-app/dist/dev/mp-weixin/components/young-tabbar/young-tabbar.wxml +1 -0
  49. package/template-uni-app/dist/dev/mp-weixin/components/young-tabbar/young-tabbar.wxss +88 -0
  50. package/template-uni-app/dist/dev/mp-weixin/config/enum.js +21 -0
  51. package/template-uni-app/dist/dev/mp-weixin/config/index.js +1 -0
  52. package/template-uni-app/dist/dev/mp-weixin/config/map.js +1 -0
  53. package/template-uni-app/dist/dev/mp-weixin/layouts/default.js +30 -0
  54. package/template-uni-app/dist/dev/mp-weixin/layouts/default.json +6 -0
  55. package/template-uni-app/dist/dev/mp-weixin/layouts/default.wxml +1 -0
  56. package/template-uni-app/dist/dev/mp-weixin/layouts/default.wxss +0 -0
  57. package/template-uni-app/dist/dev/mp-weixin/layouts/tabbar.js +56 -0
  58. package/template-uni-app/dist/dev/mp-weixin/layouts/tabbar.json +9 -0
  59. package/template-uni-app/dist/dev/mp-weixin/layouts/tabbar.wxml +1 -0
  60. package/template-uni-app/dist/dev/mp-weixin/layouts/tabbar.wxss +0 -0
  61. package/template-uni-app/dist/dev/mp-weixin/node-modules/@dcloudio/uni-ui/lib/uni-card/uni-card.js +98 -0
  62. package/template-uni-app/dist/dev/mp-weixin/node-modules/@dcloudio/uni-ui/lib/uni-card/uni-card.json +4 -0
  63. package/template-uni-app/dist/dev/mp-weixin/node-modules/@dcloudio/uni-ui/lib/uni-card/uni-card.wxml +1 -0
  64. package/template-uni-app/dist/dev/mp-weixin/node-modules/@dcloudio/uni-ui/lib/uni-card/uni-card.wxss +125 -0
  65. package/template-uni-app/dist/dev/mp-weixin/pages/demo/index.js +38 -0
  66. package/template-uni-app/dist/dev/mp-weixin/pages/demo/index.json +5 -0
  67. package/template-uni-app/dist/dev/mp-weixin/pages/demo/index.wxml +1 -0
  68. package/template-uni-app/dist/dev/mp-weixin/pages/demo/index.wxss +0 -0
  69. package/template-uni-app/dist/dev/mp-weixin/pages/index.js +51 -0
  70. package/template-uni-app/dist/dev/mp-weixin/pages/index.json +5 -0
  71. package/template-uni-app/dist/dev/mp-weixin/pages/index.wxml +1 -0
  72. package/template-uni-app/dist/dev/mp-weixin/pages/index.wxss +0 -0
  73. package/template-uni-app/dist/dev/mp-weixin/pages/my.js +22 -0
  74. package/template-uni-app/dist/dev/mp-weixin/pages/my.json +3 -0
  75. package/template-uni-app/dist/dev/mp-weixin/pages/my.wxml +1 -0
  76. package/template-uni-app/dist/dev/mp-weixin/pages/my.wxss +0 -0
  77. package/template-uni-app/dist/dev/mp-weixin/project.config.json +56 -0
  78. package/template-uni-app/dist/dev/mp-weixin/static/back.png +0 -0
  79. package/template-uni-app/dist/dev/mp-weixin/static/h.png +0 -0
  80. package/template-uni-app/dist/dev/mp-weixin/static/home.png +0 -0
  81. package/template-uni-app/dist/dev/mp-weixin/static/home_active.png +0 -0
  82. package/template-uni-app/dist/dev/mp-weixin/static/more.png +0 -0
  83. package/template-uni-app/dist/dev/mp-weixin/static/my.png +0 -0
  84. package/template-uni-app/dist/dev/mp-weixin/static/my_active.png +0 -0
  85. package/template-uni-app/dist/dev/mp-weixin/static/network.png +0 -0
  86. package/template-uni-app/dist/dev/mp-weixin/store/index.js +8 -0
  87. package/template-uni-app/dist/dev/mp-weixin/store/local/index.js +11 -0
  88. package/template-uni-app/dist/dev/mp-weixin/store/system.js +14 -0
  89. package/template-uni-app/dist/dev/mp-weixin/utils/modal.js +82 -0
  90. package/template-uni-app/dist/dev/mp-weixin/utils/route.js +85 -0
  91. package/template-uni-app/dist/dev/mp-weixin/utils/system.js +27 -0
  92. package/template-uni-app/src/apis/index.ts +17 -14
  93. package/template-uni-app/src/components/young-loading/young-loading.vue +6 -13
  94. package/template-uni-app/src/components/young-loading-mini/young-loading-mini.vue +3 -10
  95. package/template-uni-app/src/layouts/default.vue +2 -3
  96. package/template-uni-app/src/layouts/tabbar.vue +17 -10
  97. package/template-uni-app/src/pages/index.vue +23 -18
  98. package/template-uni-app/src/pages/my.vue +15 -8
  99. package/template-uni-app/src/pages.json +8 -2
  100. package/template-uni-app/src/store/system.ts +4 -3
  101. package/template-uni-app/src/typings/global.d.ts +7 -0
  102. package/template-uni-app/src/utils/auth.ts +71 -1
  103. package/template-uni-app/src/utils/modal.ts +30 -7
  104. package/template-vue-admin/src/views/system/menuList.vue +3 -3
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ const _imports_0 = "/static/h.png";
3
+ const _imports_1 = "/static/back.png";
4
+ const home = "/static/home.png";
5
+ const home_active = "/static/home_active.png";
6
+ const my = "/static/my.png";
7
+ const my_active = "/static/my_active.png";
8
+ exports._imports_0 = _imports_0;
9
+ exports._imports_1 = _imports_1;
10
+ exports.home = home;
11
+ exports.home_active = home_active;
12
+ exports.my = my;
13
+ exports.my_active = my_active;