diff --git a/src/api/model/system.js b/src/api/model/system.js index 5950cbe2..6a3c52b0 100644 --- a/src/api/model/system.js +++ b/src/api/model/system.js @@ -4,7 +4,7 @@ import http from "@/utils/request" export default { menu: { myMenus: { - url: `${config.API_URL}/system/menu/my/1.3.2`, + url: `${config.API_URL}/system/menu/my/1.3.3`, name: "获取我的菜单", get: async function(){ return await http.get(this.url); diff --git a/src/components/scMini/scStatusIndicator.vue b/src/components/scMini/scStatusIndicator.vue new file mode 100644 index 00000000..59b64a06 --- /dev/null +++ b/src/components/scMini/scStatusIndicator.vue @@ -0,0 +1,47 @@ + + + + + + + + + diff --git a/src/components/scMini/scTrend.vue b/src/components/scMini/scTrend.vue new file mode 100644 index 00000000..6ffdcdab --- /dev/null +++ b/src/components/scMini/scTrend.vue @@ -0,0 +1,56 @@ + + + + + + + + {{prefix}} + {{absValue}} + {{suffix}} + + + + + + diff --git a/src/scui.js b/src/scui.js index db009662..c22355ad 100644 --- a/src/scui.js +++ b/src/scui.js @@ -14,6 +14,8 @@ import scSelect from './components/scSelect' import scDialog from './components/scDialog' import scForm from './components/scForm' import scTitle from './components/scTitle' +import scStatusIndicator from './components/scMini/scStatusIndicator' +import scTrend from './components/scMini/scTrend' import auth from './directives/auth' import role from './directives/role' import time from './directives/time' @@ -42,6 +44,8 @@ export default { app.component('scDialog', scDialog); app.component('scForm', scForm); app.component('scTitle', scTitle); + app.component('scStatusIndicator', scStatusIndicator); + app.component('scTrend', scTrend); //注册全局指令 app.directive('auth', auth) diff --git a/src/views/vab/mini.vue b/src/views/vab/mini.vue new file mode 100644 index 00000000..f1208e36 --- /dev/null +++ b/src/views/vab/mini.vue @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + 金融行业可设置reverse反转颜色。 + + + + + + 持续更新中... + 非常欢迎提交Issue/PR完善和补充更多好玩的原子组件 + 原子组件库位置:@/components/scMini/* + 提交想法 + + + + + + + + + +
金融行业可设置reverse反转颜色。
非常欢迎提交Issue/PR完善和补充更多好玩的原子组件
原子组件库位置:@/components/scMini/*