|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
- <div class="flex flex-col gap-2">
|
|
|
+ <div class="flex flex-col">
|
|
|
<div
|
|
|
- class="relative w-52px h-52px flex justify-center items-center cursor-pointer"
|
|
|
+ class="relative mb-2 w-52px h-52px flex justify-center items-center cursor-pointer"
|
|
|
v-for="(tool, i) in tools"
|
|
|
:key="i"
|
|
|
:style="{ background: `url(${tool.selected ? tool.yes : tool.no}) no-repeat center` }"
|
|
|
@@ -15,16 +15,16 @@
|
|
|
'overflow-hidden origin-top-right transition duration-300 z-999 w-180px bg-[rgba(11,21,44,1)] absolute right-62px top-0'
|
|
|
]"
|
|
|
>
|
|
|
- <ul class="flex flex-col gap-1 p-2">
|
|
|
+ <ul class="flex flex-col p-2">
|
|
|
<li
|
|
|
- class="flex gap-1 items-center cursor-pointer"
|
|
|
+ class="flex mb-1 items-center cursor-pointer"
|
|
|
v-for="(item, ii) in oneList"
|
|
|
:key="ii"
|
|
|
@click="oneClick(ii)"
|
|
|
>
|
|
|
<img v-show="ii === oneActive" :src="item.yes" alt="" />
|
|
|
<img v-show="ii != oneActive" :src="item.no" alt="" />
|
|
|
- <span>{{ item.name }}</span>
|
|
|
+ <span class="ml-1">{{ item.name }}</span>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
@@ -34,16 +34,16 @@
|
|
|
'overflow-hidden origin-top-right transition duration-300 z-999 w-180px bg-[rgba(11,21,44,1)] absolute right-62px top-180px'
|
|
|
]"
|
|
|
>
|
|
|
- <ul class="flex flex-col gap-1 p-2">
|
|
|
+ <ul class="flex flex-col p-2">
|
|
|
<li
|
|
|
- class="flex gap-1 items-center cursor-pointer"
|
|
|
+ class="flex mb-1 items-center cursor-pointer"
|
|
|
v-for="(item, ii) in twoList"
|
|
|
:key="ii"
|
|
|
@click="twoClick(ii)"
|
|
|
>
|
|
|
<img v-show="ii === twoActive" :src="item.yes" alt="" />
|
|
|
<img v-show="ii != twoActive" :src="item.no" alt="" />
|
|
|
- <span>{{ item.name }}</span>
|
|
|
+ <span class="ml-1">{{ item.name }}</span>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</div>
|