diff --git a/jing-common/jing-common-log/src/main/java/com/jing/common/log/enums/BusinessStatus.java b/jing-common/jing-common-log/src/main/java/com/jing/common/log/enums/BusinessStatus.java new file mode 100644 index 0000000..6d3575b --- /dev/null +++ b/jing-common/jing-common-log/src/main/java/com/jing/common/log/enums/BusinessStatus.java @@ -0,0 +1,20 @@ +package com.jing.common.log.enums; + +/** + * 操作状态 + * + * @author ruoyi + * + */ +public enum BusinessStatus +{ + /** + * 成功 + */ + SUCCESS, + + /** + * 失败 + */ + FAIL, +} diff --git a/jing-common/jing-common-log/src/main/java/com/jing/common/log/enums/BusinessType.java b/jing-common/jing-common-log/src/main/java/com/jing/common/log/enums/BusinessType.java new file mode 100644 index 0000000..56f5dd5 --- /dev/null +++ b/jing-common/jing-common-log/src/main/java/com/jing/common/log/enums/BusinessType.java @@ -0,0 +1,59 @@ +package com.jing.common.log.enums; + +/** + * 业务操作类型 + * + * @author ruoyi + */ +public enum BusinessType +{ + /** + * 其它 + */ + OTHER, + + /** + * 新增 + */ + INSERT, + + /** + * 修改 + */ + UPDATE, + + /** + * 删除 + */ + DELETE, + + /** + * 授权 + */ + GRANT, + + /** + * 导出 + */ + EXPORT, + + /** + * 导入 + */ + IMPORT, + + /** + * 强退 + */ + FORCE, + + /** + * 生成代码 + */ + GENCODE, + + /** + * 清空数据 + */ + CLEAN, +} diff --git a/jing-ui/src/api/product/brand.js b/jing-ui/src/api/product/brand.js new file mode 100644 index 0000000..9164483 --- /dev/null +++ b/jing-ui/src/api/product/brand.js @@ -0,0 +1,10 @@ +import request from '@/utils/request' + +// 查询商品信息 +export function listBrand(query) { + return request({ + url: '/product/brand/list', + method: 'get', + params: query + }) +} diff --git a/jing-ui/src/assets/icons/svg/bug.svg b/jing-ui/src/assets/icons/svg/bug.svg new file mode 100644 index 0000000..05a150d --- /dev/null +++ b/jing-ui/src/assets/icons/svg/bug.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/jing-ui/src/assets/icons/svg/build.svg b/jing-ui/src/assets/icons/svg/build.svg new file mode 100644 index 0000000..97c4688 --- /dev/null +++ b/jing-ui/src/assets/icons/svg/build.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/jing-ui/src/assets/icons/svg/button.svg b/jing-ui/src/assets/icons/svg/button.svg new file mode 100644 index 0000000..904fddc --- /dev/null +++ b/jing-ui/src/assets/icons/svg/button.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/jing-ui/src/assets/styles/btn.scss b/jing-ui/src/assets/styles/btn.scss new file mode 100644 index 0000000..e6ba1a8 --- /dev/null +++ b/jing-ui/src/assets/styles/btn.scss @@ -0,0 +1,99 @@ +@import './variables.scss'; + +@mixin colorBtn($color) { + background: $color; + + &:hover { + color: $color; + + &:before, + &:after { + background: $color; + } + } +} + +.blue-btn { + @include colorBtn($blue) +} + +.light-blue-btn { + @include colorBtn($light-blue) +} + +.red-btn { + @include colorBtn($red) +} + +.pink-btn { + @include colorBtn($pink) +} + +.green-btn { + @include colorBtn($green) +} + +.tiffany-btn { + @include colorBtn($tiffany) +} + +.yellow-btn { + @include colorBtn($yellow) +} + +.pan-btn { + font-size: 14px; + color: #fff; + padding: 14px 36px; + border-radius: 8px; + border: none; + outline: none; + transition: 600ms ease all; + position: relative; + display: inline-block; + + &:hover { + background: #fff; + + &:before, + &:after { + width: 100%; + transition: 600ms ease all; + } + } + + &:before, + &:after { + content: ''; + position: absolute; + top: 0; + right: 0; + height: 2px; + width: 0; + transition: 400ms ease all; + } + + &::after { + right: inherit; + top: inherit; + left: 0; + bottom: 0; + } +} + +.custom-button { + display: inline-block; + line-height: 1; + white-space: nowrap; + cursor: pointer; + background: #fff; + color: #fff; + -webkit-appearance: none; + text-align: center; + box-sizing: border-box; + outline: 0; + margin: 0; + padding: 10px 15px; + font-size: 14px; + border-radius: 4px; +}