|
@@ -23,7 +23,7 @@ export default defineUI({
|
|
|
|
|
|
return (
|
|
return (
|
|
<div class={cx(itemStyles, "relative")}>
|
|
<div class={cx(itemStyles, "relative")}>
|
|
- <View ratio={1.4} class="overflow-hidden">
|
|
|
|
|
|
+ <View ratio={1.4} class="overflow-hidden card">
|
|
{record.fileType == "video" ? (
|
|
{record.fileType == "video" ? (
|
|
<video src={record.file?.url} class="h-1/1 w-1/1" />
|
|
<video src={record.file?.url} class="h-1/1 w-1/1" />
|
|
) : (
|
|
) : (
|
|
@@ -88,6 +88,9 @@ export default defineUI({
|
|
});
|
|
});
|
|
|
|
|
|
const itemStyles = css`
|
|
const itemStyles = css`
|
|
|
|
+ .card {
|
|
|
|
+ background-color: #e1e5e8;
|
|
|
|
+ }
|
|
.orange {
|
|
.orange {
|
|
background-color: rgba(232, 139, 0, 0.5);
|
|
background-color: rgba(232, 139, 0, 0.5);
|
|
&:hover {
|
|
&:hover {
|