Ai
1 Star 1 Fork 0

丶这位同学/hotspot-vue3

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
consts.ts 941 Bytes
一键复制 编辑 原始数据 按行查看 历史
丶这位同学 提交于 2021-10-06 11:24 +08:00 . feat: init
export interface ZoneType {
topPer: number;
leftPer: number;
widthPer: number;
heightPer: number;
url?: string | any;
active?: boolean;
key?: string;
}
export interface ZonePositionType {
heightPer: number;
leftPer: number;
topPer: number;
widthPer: number;
}
export interface ZonesInfoType {
info: ZonePositionType;
index: number;
}
export interface SwitchOptionsType {
isShowSign: boolean;
isShowDelete: boolean;
isOverlap: boolean;
isShowActive: boolean;
}
export const initialSwitchOptions = {
isShowSign: true,
isShowDelete: true,
isOverlap: false,
isShowActive: true
} as SwitchOptionsType;
export interface StyleOptionsType {
zoneBorderColor: string;
zoneBgColor: string;
zoneActiveBgColor: string;
}
export const initialStyleOptions = {
zoneBorderColor: "#507bfb",
zoneBgColor: "rgba(80, 123, 251, 0.1)",
zoneActiveBgColor: "rgba(80, 123, 251, 0.4)"
} as StyleOptionsType;
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/shape-of-you/hotspot-vue3.git
git@gitee.com:shape-of-you/hotspot-vue3.git
shape-of-you
hotspot-vue3
hotspot-vue3
master

搜索帮助