@ruixinkeji/prism-ui 1.0.24 → 1.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/store/app.js +8 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ruixinkeji/prism-ui",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "Prism UI - 现代化玻璃态设计 uni-app 组件库",
5
5
  "main": "index.js",
6
6
  "module": "index.esm.js",
package/store/app.js CHANGED
@@ -97,6 +97,14 @@ export const useAppStore = defineStore('app', {
97
97
  },
98
98
 
99
99
  initTheme() {
100
+ // 显示 Prism UI 版本信息
101
+ const version = '1.0.25';
102
+ console.log(
103
+ '%c Prism UI %c v' + version + ' ',
104
+ 'background: #3B82F6; color: #fff; border-radius: 3px 0 0 3px; padding: 2px 6px;',
105
+ 'background: #1E293B; color: #fff; border-radius: 0 3px 3px 0; padding: 2px 6px;'
106
+ );
107
+
100
108
  // 获取保存的主题模式
101
109
  const savedMode = uni.getStorageSync('prism_theme_mode');
102
110
  if (savedMode) {