diff --git a/.env.development b/.env.development index 70caef8..013064f 100644 --- a/.env.development +++ b/.env.development @@ -1,3 +1,3 @@ VITE_API_BASEURL = "https://ibms-cvilux-api.production.mjmtech.com.tw" VITE_FILE_API_BASEURL = "https://cgems.cvilux-group.com:8088" -VITE_FORGE_BASEURL = "http://localhost:5173" \ No newline at end of file +VITE_FORGE_BASEURL = "https://cgems.cvilux-group.com:8088/dist" \ No newline at end of file diff --git a/.env.production b/.env.production index a7e4527..013064f 100644 --- a/.env.production +++ b/.env.production @@ -1,3 +1,3 @@ VITE_API_BASEURL = "https://ibms-cvilux-api.production.mjmtech.com.tw" -VITE_FILE_API_BASEURL = "https://ibms-cvilux.production.mjmtech.com.tw" -VITE_FORGE_BASEURL = "http://202.39.218.221:8080/file/netzero" \ No newline at end of file +VITE_FILE_API_BASEURL = "https://cgems.cvilux-group.com:8088" +VITE_FORGE_BASEURL = "https://cgems.cvilux-group.com:8088/dist" \ No newline at end of file diff --git a/src/assets/index.css b/src/assets/index.css index b6ae254..34de754 100644 --- a/src/assets/index.css +++ b/src/assets/index.css @@ -65,4 +65,16 @@ .btn-text-without-border { @apply active:border-0 focus:border-0 focus-visible:border-0 active:outline-none focus:outline-none focus-visible:outline-none; } + + .btn-add { + @apply text-white border border-cyan-400 bg-cyan-400 hover:bg-[theme("colors.cyan.500")] + } + + .btn-search { + @apply text-white border border-sky-400 bg-sky-400 hover:bg-[theme("colors.sky.500")] + } + + .btn-export { + @apply text-white border border-emerald-400 bg-emerald-400 hover:bg-[theme("colors.emerald.500")] + } } \ No newline at end of file diff --git a/src/components/customUI/ButtonGroup.vue b/src/components/customUI/ButtonGroup.vue index 4a90fd6..5235a03 100644 --- a/src/components/customUI/ButtonGroup.vue +++ b/src/components/customUI/ButtonGroup.vue @@ -5,24 +5,40 @@ import { twMerge } from "tailwind-merge"; const props = defineProps({ items: Array, withLine: Boolean, + withBtnClass: { type: Boolean, default: false }, // this is for change active button onclick: Function, - className: String + className: String, });