@huyuchen/visual
Version:
## 组件环境
43 lines (42 loc) • 1.12 kB
JavaScript
import { useCssVars as o, openBlock as r, createElementBlock as a, createElementVNode as d, renderSlot as c } from "vue";
import "./HuBorderFlow.vue2.js";
import n from "../_virtual/_plugin-vue_export-helper.js";
const l = { class: "hl-border-flow-box" }, s = { class: "continar" }, u = {
name: "HuBorderFlow"
}, i = Object.assign(u, {
props: {
width: {
type: Number,
default: 180
},
height: {
type: Number,
default: 250
},
pathBackgroundColor: {
// 轨道背景颜色
type: String,
default: "rgba(0, 0, 0, 0.8)"
},
backgroundColor: {
// 线条颜色
type: String,
default: "linear-gradient(#00ccff, #d500f9)"
}
},
setup(e) {
return o((t) => ({
"617a47e4": e.width + "px",
"189b4189": e.height + "px",
"2ee440da": e.pathBackgroundColor,
"1af043f8": e.backgroundColor
})), (t, f) => (r(), a("div", l, [
d("div", s, [
c(t.$slots, "default", {}, void 0, !0)
])
]));
}
}), m = /* @__PURE__ */ n(i, [["__scopeId", "data-v-ee8a51ce"]]);
export {
m as default
};