|
@@ -15,57 +15,64 @@ export const Component = createUIComp({
|
|
|
|
|
|
return () => (
|
|
|
<div class="relative">
|
|
|
- <div class={upStyle}>
|
|
|
+ <div class="relative">
|
|
|
<div class={style}>
|
|
|
<Image.Component
|
|
|
style={{
|
|
|
width: designToNaturalSize(750),
|
|
|
height: designToNaturalSize(464),
|
|
|
}}
|
|
|
+ // class="h-5.3rem w-1/1"
|
|
|
compId={children.bgImg}
|
|
|
/>
|
|
|
</div>
|
|
|
-
|
|
|
- <Image.Component
|
|
|
- class="!absolute bottom-0 transform translate-x-1/4 translate-y-1/4 rounded-1/2 overflow-hidden"
|
|
|
+ <div
|
|
|
+ class="absolute bottom-0 w-1/1 pl-0.8rem pr-0.2rem flex items-end justify-between transform translate-y-1/3"
|
|
|
style={{
|
|
|
- width: designToNaturalSize(191),
|
|
|
height: designToNaturalSize(191),
|
|
|
+ // marginBottom: designToNaturalSize(191 / 2),
|
|
|
}}
|
|
|
- compId={children.item1}
|
|
|
- />
|
|
|
+ >
|
|
|
+ <Image.Component
|
|
|
+ class="rounded-1/2 overflow-hidden"
|
|
|
+ style={{
|
|
|
+ width: designToNaturalSize(191),
|
|
|
+ height: designToNaturalSize(191),
|
|
|
+ // marginTop: designToNaturalSize(191 / 3),
|
|
|
+ }}
|
|
|
+ compId={children.item1}
|
|
|
+ />
|
|
|
|
|
|
- <Image.Component
|
|
|
- class="!absolute transform rounded-1/2 overflow-hidden -translate-x-1/2 bottom-0 left-1/2"
|
|
|
- style={{
|
|
|
- width: designToNaturalSize(191),
|
|
|
- height: designToNaturalSize(191),
|
|
|
- }}
|
|
|
- compId={children.item2}
|
|
|
- />
|
|
|
+ <Image.Component
|
|
|
+ class="rounded-1/2 overflow-hidden"
|
|
|
+ style={{
|
|
|
+ width: designToNaturalSize(191),
|
|
|
+ height: designToNaturalSize(191),
|
|
|
+ marginBottom: designToNaturalSize(191 / 3),
|
|
|
+ }}
|
|
|
+ compId={children.item2}
|
|
|
+ />
|
|
|
|
|
|
- <Image.Component
|
|
|
- class="!absolute bottom-0 right-0 rounded-1/2 overflow-hidden transform -translate-x-24/100 -translate-y-1/3"
|
|
|
- style={{
|
|
|
- width: designToNaturalSize(191),
|
|
|
- height: designToNaturalSize(191),
|
|
|
- }}
|
|
|
- compId={children.item3}
|
|
|
- />
|
|
|
+ <Image.Component
|
|
|
+ class="rounded-1/2 overflow-hidden"
|
|
|
+ style={{
|
|
|
+ width: designToNaturalSize(191),
|
|
|
+ height: designToNaturalSize(191),
|
|
|
+ marginBottom: designToNaturalSize((191 / 3) * 2),
|
|
|
+ }}
|
|
|
+ compId={children.item3}
|
|
|
+ />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
-
|
|
|
- <div class="absolute top-0 left-0">
|
|
|
+ <div class="absolute top-1rem left-0 z-1">
|
|
|
<Text.Component compId={children.text1} />
|
|
|
</div>
|
|
|
-
|
|
|
- <Text.Component compId={children.text2} />
|
|
|
+ <Text.Component compId={children.text2} class="mt-0.3rem" />
|
|
|
</div>
|
|
|
);
|
|
|
},
|
|
|
});
|
|
|
-const upStyle = css`
|
|
|
- position: relative;
|
|
|
-`;
|
|
|
+
|
|
|
const style = css`
|
|
|
background: gray;
|
|
|
clip-path: polygon(0 0, 100% 0, 100% 57%, 0 100%);
|