|
@@ -22,27 +22,27 @@ export default defineUI({
|
|
|
<div class={cx(itemStyles, "relative")}>
|
|
|
<View ratio={1.4} class=" relative">
|
|
|
<Image class="h-1/1 w-1/1 bg-[#ebebeb]" src={record?.cover} />
|
|
|
- <div class="absolute inset-0 flex items-center justify-center transition-opacity">
|
|
|
+ <div class="absolute inset-0 flex items-center justify-center opacity-0 hover:opacity-100 transition-opacity">
|
|
|
<div
|
|
|
class="text-white icon_action w-60px leading-60px cursor-pointer rounded-1/2 text-center transition-opacity hover:opacity-90 active:opacity-80"
|
|
|
onClick={() => emit("preview", record)}
|
|
|
>
|
|
|
查看
|
|
|
</div>
|
|
|
- {record.statues && record.statues.length > 0 && (
|
|
|
- <div class={"select_box w-80px"}>
|
|
|
- <Select
|
|
|
- class={"w-full"}
|
|
|
- value={record.status}
|
|
|
- options={options}
|
|
|
- onChange={(v) => {
|
|
|
- record.status = v;
|
|
|
- emit("edit", record);
|
|
|
- }}
|
|
|
- ></Select>
|
|
|
- </div>
|
|
|
- )}
|
|
|
</div>
|
|
|
+ {record.statues && record.statues.length > 0 && (
|
|
|
+ <div class={"select_box w-80px"}>
|
|
|
+ <Select
|
|
|
+ class={"w-full"}
|
|
|
+ value={record.status}
|
|
|
+ options={options}
|
|
|
+ onChange={(v) => {
|
|
|
+ record.status = v;
|
|
|
+ emit("edit", record);
|
|
|
+ }}
|
|
|
+ ></Select>
|
|
|
+ </div>
|
|
|
+ )}
|
|
|
</View>
|
|
|
<div class="item_footer rounded-b-4px flex items-center justify-between p-15px">
|
|
|
<div class="w-0 flex-1">
|