콘텐츠 등록 - 콘텐츠 설명 전체 오픈 여부 추가 #30

Merged
klaus merged 1 commits from test into main 2024-11-23 18:07:31 +00:00
1 changed files with 27 additions and 1 deletions

View File

@ -560,6 +560,29 @@
</v-col>
</v-row>
</v-card-text>
<v-card-text v-show="audio_content.price >= 50">
<v-row align="center">
<v-col cols="4">
콘텐츠 내용 전체 오픈 설정
</v-col>
<v-col cols="8">
<v-radio-group
v-model="audio_content.is_full_detail_visible"
row
>
<v-radio
:value="false"
label="구매한 사람만"
/>
<v-radio
:value="true"
label="전체"
/>
<v-spacer />
</v-radio-group>
</v-col>
</v-row>
</v-card-text>
<v-card-text>
<v-row>
<v-col cols="4">
@ -679,6 +702,7 @@ export default {
is_adult: false,
is_generate_preview: false,
is_comment_available: true,
is_full_detail_visible: true,
purchase_option: 'BOTH',
},
audio_contents: [],
@ -735,6 +759,7 @@ export default {
price: 0,
is_adult: false,
is_comment_available: true,
is_full_detail_visible: true,
purchase_option: 'BOTH',
}
this.reservation_time = ''
@ -844,7 +869,8 @@ export default {
isAdult: this.audio_content.is_adult,
isGeneratePreview: this.audio_content.price > 0 ? this.audio_content.is_generate_preview : false,
purchaseOption: this.audio_content.purchase_option,
isCommentAvailable: this.audio_content.is_comment_available
isCommentAvailable: this.audio_content.is_comment_available,
isFullDetailVisible: this.audio_content.is_full_detail_visible
}
if (this.audio_content.limited > 0) {