Commit eeb00486 authored by timel's avatar timel

feat: small

parent 28248e51
...@@ -26,6 +26,8 @@ section#mat { ...@@ -26,6 +26,8 @@ section#mat {
position: absolute; position: absolute;
left: 0; left: 0;
top: 0; top: 0;
border-radius: 2px;
overflow: hidden;
} }
.card-cover { .card-cover {
z-index: 1; z-index: 1;
...@@ -59,17 +61,23 @@ section#mat { ...@@ -59,17 +61,23 @@ section#mat {
overflow: hidden; overflow: hidden;
} }
.card-streamer::before { .card-streamer::before {
content: ''; content: "";
position: absolute; position: absolute;
top: 50%; top: 50%;
left: 50%; left: 50%;
width: 400%; width: 400%;
height: 80%; height: 80%;
background: linear-gradient(transparent, #45f3ff,#45f3ff,#45f3ff,transparent); background: linear-gradient(
transparent,
#45f3ff,
#45f3ff,
#45f3ff,
transparent
);
animation: stream 2s linear infinite; animation: stream 2s linear infinite;
} }
.card-streamer::after { .card-streamer::after {
content: ''; content: "";
position: absolute; position: absolute;
/* https://developer.mozilla.org/en-US/docs/Web/CSS/inset */ /* https://developer.mozilla.org/en-US/docs/Web/CSS/inset */
inset: 3px; inset: 3px;
......
...@@ -228,7 +228,10 @@ const onFieldClick = (card: CardType) => { ...@@ -228,7 +228,10 @@ const onFieldClick = (card: CardType) => {
// TODO: 收集这个zone的所有交互,并且在下拉菜单之中显示 // TODO: 收集这个zone的所有交互,并且在下拉菜单之中显示
const cards = cardStore.at(card.location.zone, card.location.controller); const cards = cardStore.at(card.location.zone, card.location.controller);
// 所有的交互进行聚类 // 所有的交互进行聚类
const interactivities = cards.map((card) => card.idleInteractivities);
// 构建新的dropdownMenu // 构建新的dropdownMenu
// 发动效果 -> 发动哪张卡?(卡选择) -> 效果选择
// 召唤、特殊召唤同理
}; };
// >>> 下拉菜单:点击动作 >>> // >>> 下拉菜单:点击动作 >>>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment