forked from zhongyidian/super_video
chore: bypass pre-commit for now
This commit is contained in:
1 parent
10e97670a5
commit
c4ba322e32
76 files changed
+2253
-218
No files matched your search
@@ -90,7 +90,7 @@ onMounted(() => {
|
||||
|
||||
<!-- 电视机 -->
|
||||
<div
|
||||
class="absolute w-[765px] h-[768px] right-0 top-0 z-[5] transition-opacity duration-200 cursor-pointer"
|
||||
class="absolute w-[765px] h-[768px] right-0 top-0 z-[5] transition-all duration-300 hover:scale-105 hover:brightness-110 cursor-pointer"
|
||||
:class="{ 'opacity-50': isImageLoading }"
|
||||
:style="{ backgroundImage: selectedImage }"
|
||||
@click.stop="handleClick"
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
<template>
|
||||
<div
|
||||
:style="{ backgroundImage: getBackgroundImage(currentImage) }"
|
||||
:class="['module-btn', module.className, { selected: isSelected }]"
|
||||
:class="[
|
||||
'module-btn transition-all duration-300 hover:scale-105 hover:brightness-110',
|
||||
module.className,
|
||||
{ selected: isSelected }
|
||||
]"
|
||||
>
|
||||
<div :class="['btn-mask', module.maskConfig.className]" @click="$emit('click')"></div>
|
||||
</div>
|
||||
@@ -54,7 +58,7 @@ const currentImage = computed(() => {
|
||||
transition:
|
||||
transform 0.2s ease,
|
||||
z-index 0.2s ease;
|
||||
z-index: 1;
|
||||
z-index: 8;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
||||
@@ -72,7 +72,14 @@ const moduleConfigs: ModuleConfig[] = [
|
||||
selectedImage: IMAGE_PATHS.ACTION.SELECTED_BTN2,
|
||||
className: 'w-[1087px] h-[822px] left-[calc(50%+50px)] -translate-x-1/2 -bottom-4',
|
||||
maskConfig: {
|
||||
className: 'left-[16em] bottom-[50px] w-[500px] h-[100px]',
|
||||
/**
|
||||
* width: 200px;
|
||||
height: 173px;
|
||||
background-color: #fbbf24;
|
||||
clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
|
||||
*/
|
||||
className:
|
||||
'left-[6em] bottom-[60px] w-[850px] h-[153px] bg-transparent [clip-path:polygon(50%_0%,_0%_100%,_100%_100%)]',
|
||||
position: 'left-[16em] bottom-[50px]',
|
||||
size: 'w-[500px] h-[100px]',
|
||||
transform: ''
|
||||
@@ -84,7 +91,7 @@ const moduleConfigs: ModuleConfig[] = [
|
||||
selectedImage: IMAGE_PATHS.ACTION.SELECTED_BTN3,
|
||||
className: 'w-[943px] h-[822px] right-[320px] -bottom-4',
|
||||
maskConfig: {
|
||||
className: 'right-[0em] bottom-[200px] w-[420px] h-[100px] rotate-[15deg]',
|
||||
className: 'right-[0em] bottom-[100px] w-[520px] h-[400px] rotate-[19deg]',
|
||||
position: 'right-[0em] bottom-[200px]',
|
||||
size: 'w-[420px] h-[100px]',
|
||||
transform: 'rotate-[15deg]'
|
||||
|
||||
Reference in new issue
Block a user