-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TAS-2734]💄 Display DRM information on product page #1989
Open
AuroraHuang22
wants to merge
6
commits into
likecoin:develop
Choose a base branch
from
AuroraHuang22:feature/drm-info
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+215
−2
Open
Changes from 3 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
8c65138
💄 Add <NFTBookTooltips/> for drm info
AuroraHuang22 75778f6
💄 Add <BottomDialog/> for mobile version
AuroraHuang22 ae69651
💄 Implement drm info UI to <SpecTableValue/>
AuroraHuang22 14a2c43
💄 Fix z-index issue
AuroraHuang22 1e6d2cc
🚸 Improve backdrop behavior
AuroraHuang22 85a0a83
💄 Adjust minor style issues
AuroraHuang22 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<template> | ||
<div class="fixed inset-0 z-50 bg-black bg-opacity-[30%]"> | ||
<div | ||
class="fixed left-0 bottom-0 flex flex-col items-center gap-[8px] w-full bg-white rounded-t-[16px]" | ||
> | ||
<div class="relative w-full"> | ||
<ButtonV2 | ||
circle="true" | ||
size="small" | ||
preset="tertiary" | ||
class="absolute bottom-[12px] left-[12px]" | ||
@click.prevent="close" | ||
> | ||
<IconClose class="w-[20px]" /> | ||
</ButtonV2> | ||
</div> | ||
|
||
<div | ||
class="flex items-center justify-center w-full pt-[12px] pb-[8px] px-[20px]" | ||
> | ||
<h5 class="text-[18px] font-600 text-black" v-text="title" /> | ||
</div> | ||
<div class="w-full h-[1px] bg-shade-gray" /> | ||
|
||
<div class="px-[20px] pt-[18px] pb-[24px]"> | ||
<slot name="content" /> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
<script> | ||
export default { | ||
name: 'BottomDialog', | ||
props: { | ||
title: { | ||
type: String, | ||
default: undefined, | ||
}, | ||
}, | ||
methods: { | ||
close() { | ||
this.$emit('close'); | ||
}, | ||
}, | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<template> | ||
<svg | ||
width="16" | ||
height="16" | ||
viewBox="0 0 16 16" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<g clip-path="url(#clip0_2791_3213)"> | ||
<path | ||
d="M7.33334 11.3333H8.66667V7.33334H7.33334V11.3333ZM8 1.33334C4.32 1.33334 1.33334 4.32001 1.33334 8.00001C1.33334 11.68 4.32 14.6667 8 14.6667C11.68 14.6667 14.6667 11.68 14.6667 8.00001C14.6667 4.32001 11.68 1.33334 8 1.33334ZM8 13.3333C5.06 13.3333 2.66667 10.94 2.66667 8.00001C2.66667 5.06001 5.06 2.66668 8 2.66668C10.94 2.66668 13.3333 5.06001 13.3333 8.00001C13.3333 10.94 10.94 13.3333 8 13.3333ZM7.33334 6.00001H8.66667V4.66668H7.33334V6.00001Z" | ||
fill="currentColor" | ||
/> | ||
</g> | ||
<defs> | ||
<clipPath id="clip0_2791_3213"> | ||
<rect width="16" height="16" fill="white" /> | ||
</clipPath> | ||
</defs> | ||
</svg> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<template> | ||
<div | ||
:class="[ | ||
'absolute', | ||
'top-[24px]', | ||
'z-50', | ||
|
||
'flex', | ||
'flex-col', | ||
'items-start', | ||
'px-[16px]', | ||
'py-[8px]', | ||
|
||
'border border-[#E3E3E3]', | ||
'rounded-[12px]', | ||
'bg-white', | ||
'w-[230px]', | ||
|
||
'text-[14px]', | ||
'shadow-md', | ||
]" | ||
> | ||
<h4 class="font-600 text-dark-gray">{{ tooltipTitle }}</h4> | ||
<p>{{ tooltipText }}</p> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'NFTBookTooltips', | ||
props: { | ||
tooltipText: { | ||
type: String, | ||
default: undefined, | ||
}, | ||
tooltipTitle: { | ||
type: String, | ||
default: undefined, | ||
}, | ||
}, | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if we want to use h* tag on hover tooltips