Compare commits

...

2 Commits

Author SHA1 Message Date
klaus 68845aeae1 Merge pull request '콘텐츠 리스트 한정판 표시' (#28) from test into main
Reviewed-on: #28
2024-03-29 05:00:01 +00:00
Yu Sung ddf0ddb8f6 콘텐츠 리스트 한정판 표시
- 남은 개수를 표시하던 방식에서 팔린 개수 표시로 변경 (판매개수/전체개수)
- 매진되면 Sold Out으로 표시
2024-03-29 11:51:54 +09:00
1 changed files with 8 additions and 2 deletions

View File

@ -151,10 +151,16 @@
무료 무료
</td> </td>
<td <td
v-if="item.totalContentCount > 0" v-if="item.totalContentCount > 0 && item.remainingContentCount > 0"
style="min-width: 100px !important; word-break:break-all; height: auto;" style="min-width: 100px !important; word-break:break-all; height: auto;"
> >
{{ item.remainingContentCount }} / {{ item.totalContentCount }} {{ item.totalContentCount - item.remainingContentCount }} / {{ item.totalContentCount }}
</td>
<td
v-else-if="item.totalContentCount > 0 && item.remainingContentCount <= 0"
style="min-width: 100px !important; word-break:break-all; height: auto;"
>
Sold Out
</td> </td>
<td v-else> <td v-else>
X X