콘텐츠 리스트 한정판 표시 - 판매된 개수/전체개수, 다 팔리면 Sold Out으로 표시하도록 수정
This commit is contained in:
parent
c7b8e68b32
commit
b16e85a27f
|
@ -101,10 +101,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
|
||||||
|
|
Loading…
Reference in New Issue