Merge pull request '콘텐츠 등록 - 콘텐츠 설명 전체 오픈 여부 추가' (#30) from test into main

Reviewed-on: #30
This commit is contained in:
klaus 2024-11-23 18:07:30 +00:00
commit efa1643359
1 changed files with 27 additions and 1 deletions

View File

@ -560,6 +560,29 @@
</v-col> </v-col>
</v-row> </v-row>
</v-card-text> </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-card-text>
<v-row> <v-row>
<v-col cols="4"> <v-col cols="4">
@ -679,6 +702,7 @@ export default {
is_adult: false, is_adult: false,
is_generate_preview: false, is_generate_preview: false,
is_comment_available: true, is_comment_available: true,
is_full_detail_visible: true,
purchase_option: 'BOTH', purchase_option: 'BOTH',
}, },
audio_contents: [], audio_contents: [],
@ -735,6 +759,7 @@ export default {
price: 0, price: 0,
is_adult: false, is_adult: false,
is_comment_available: true, is_comment_available: true,
is_full_detail_visible: true,
purchase_option: 'BOTH', purchase_option: 'BOTH',
} }
this.reservation_time = '' this.reservation_time = ''
@ -844,7 +869,8 @@ export default {
isAdult: this.audio_content.is_adult, isAdult: this.audio_content.is_adult,
isGeneratePreview: this.audio_content.price > 0 ? this.audio_content.is_generate_preview : false, isGeneratePreview: this.audio_content.price > 0 ? this.audio_content.is_generate_preview : false,
purchaseOption: this.audio_content.purchase_option, 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) { if (this.audio_content.limited > 0) {