Compare commits
5 Commits
8ac488bf6f
...
test
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
54216198e1 | ||
|
|
3432af8e24 | ||
|
|
ccb3135d48 | ||
|
|
107a802dc9 | ||
|
|
1c45a30f59 |
@@ -5,7 +5,7 @@
|
|||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||||
<title>소다라이브</title>
|
<title>보이스온 크리에이터 관리자</title>
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900">
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css">
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css">
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
dark
|
dark
|
||||||
>
|
>
|
||||||
<v-spacer />
|
<v-spacer />
|
||||||
<v-toolbar-title>소다라이브 크리에이터</v-toolbar-title>
|
<v-toolbar-title>보이스온 크리에이터 관리자</v-toolbar-title>
|
||||||
<v-spacer />
|
<v-spacer />
|
||||||
</v-app-bar>
|
</v-app-bar>
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
<v-col>
|
<v-col>
|
||||||
<v-btn
|
<v-btn
|
||||||
block
|
block
|
||||||
color="#9970ff"
|
color="#3bb9f1"
|
||||||
dark
|
dark
|
||||||
depressed
|
depressed
|
||||||
@click="showWriteDialog"
|
@click="showWriteDialog"
|
||||||
@@ -227,6 +227,20 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
|
<v-card-text>
|
||||||
|
<v-row align="center">
|
||||||
|
<v-col cols="4">
|
||||||
|
태그
|
||||||
|
</v-col>
|
||||||
|
<v-col cols="8">
|
||||||
|
<v-text-field
|
||||||
|
v-model="audio_content.tags"
|
||||||
|
label="예 : #연애 #커버곡 #태그"
|
||||||
|
required
|
||||||
|
/>
|
||||||
|
</v-col>
|
||||||
|
</v-row>
|
||||||
|
</v-card-text>
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
<v-row align="center">
|
<v-row align="center">
|
||||||
<v-col cols="4">
|
<v-col cols="4">
|
||||||
@@ -273,6 +287,22 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
|
<v-card-text>
|
||||||
|
<v-row>
|
||||||
|
<v-col cols="4">
|
||||||
|
포인트 사용 가능
|
||||||
|
</v-col>
|
||||||
|
<v-col
|
||||||
|
cols="8"
|
||||||
|
align="left"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
v-model="audio_content.is_point_available"
|
||||||
|
type="checkbox"
|
||||||
|
>
|
||||||
|
</v-col>
|
||||||
|
</v-row>
|
||||||
|
</v-card-text>
|
||||||
<v-card-actions v-show="!is_loading">
|
<v-card-actions v-show="!is_loading">
|
||||||
<v-spacer />
|
<v-spacer />
|
||||||
<v-btn
|
<v-btn
|
||||||
@@ -534,18 +564,52 @@
|
|||||||
</v-row>
|
</v-row>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
<v-card-text v-show="audio_content.price > 0 && is_limited_edition === false">
|
<v-card-text v-show="audio_content.price > 0 && is_limited_edition === false">
|
||||||
<v-row>
|
<v-row align="center">
|
||||||
<v-col cols="4">
|
<v-col cols="4">
|
||||||
대여만 가능
|
소장 설정
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col
|
<v-col cols="8">
|
||||||
cols="8"
|
<v-radio-group
|
||||||
align="left"
|
v-model="audio_content.purchase_option"
|
||||||
|
row
|
||||||
>
|
>
|
||||||
<input
|
<v-radio
|
||||||
v-model="audio_content.is_only_rental"
|
value="BOTH"
|
||||||
type="checkbox"
|
label="소장/대여"
|
||||||
|
/>
|
||||||
|
<v-radio
|
||||||
|
value="BUY_ONLY"
|
||||||
|
label="소장만"
|
||||||
|
/>
|
||||||
|
<v-radio
|
||||||
|
value="RENT_ONLY"
|
||||||
|
label="대여만"
|
||||||
|
/>
|
||||||
|
<v-spacer />
|
||||||
|
</v-radio-group>
|
||||||
|
</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-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
@@ -581,6 +645,22 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
|
<v-card-text>
|
||||||
|
<v-row>
|
||||||
|
<v-col cols="4">
|
||||||
|
포인트 사용 가능
|
||||||
|
</v-col>
|
||||||
|
<v-col
|
||||||
|
cols="8"
|
||||||
|
align="left"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
v-model="audio_content.is_point_available"
|
||||||
|
type="checkbox"
|
||||||
|
>
|
||||||
|
</v-col>
|
||||||
|
</v-row>
|
||||||
|
</v-card-text>
|
||||||
<v-card-actions v-show="!is_loading">
|
<v-card-actions v-show="!is_loading">
|
||||||
<v-spacer />
|
<v-spacer />
|
||||||
<v-btn
|
<v-btn
|
||||||
@@ -666,15 +746,15 @@ export default {
|
|||||||
audio_content: {
|
audio_content: {
|
||||||
price: 0,
|
price: 0,
|
||||||
is_adult: false,
|
is_adult: false,
|
||||||
|
is_point_available: 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',
|
||||||
},
|
},
|
||||||
audio_contents: [],
|
audio_contents: [],
|
||||||
themeList: [],
|
themeList: [],
|
||||||
selected_audio_content: {},
|
selected_audio_content: {},
|
||||||
utm_source: '',
|
|
||||||
utm_medium: '',
|
|
||||||
utm_campaign: '',
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -715,8 +795,10 @@ export default {
|
|||||||
this.audio_content.detail = item.detail
|
this.audio_content.detail = item.detail
|
||||||
this.audio_content.price = item.price
|
this.audio_content.price = item.price
|
||||||
this.audio_content.is_adult = item.isAdult
|
this.audio_content.is_adult = item.isAdult
|
||||||
|
this.audio_content.is_point_available = item.isPointAvailable
|
||||||
this.audio_content.is_comment_available = item.isCommentAvailable
|
this.audio_content.is_comment_available = item.isCommentAvailable
|
||||||
this.audio_content.cover_image_url = item.coverImageUrl
|
this.audio_content.cover_image_url = item.coverImageUrl
|
||||||
|
this.audio_content.tags = item.tags
|
||||||
this.show_modify_dialog = true
|
this.show_modify_dialog = true
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -725,7 +807,10 @@ export default {
|
|||||||
this.audio_content = {
|
this.audio_content = {
|
||||||
price: 0,
|
price: 0,
|
||||||
is_adult: false,
|
is_adult: false,
|
||||||
|
is_point_available: false,
|
||||||
is_comment_available: true,
|
is_comment_available: true,
|
||||||
|
is_full_detail_visible: true,
|
||||||
|
purchase_option: 'BOTH',
|
||||||
}
|
}
|
||||||
this.reservation_time = ''
|
this.reservation_time = ''
|
||||||
this.reservation_time = ''
|
this.reservation_time = ''
|
||||||
@@ -833,12 +918,14 @@ export default {
|
|||||||
themeId: this.audio_content.theme_id,
|
themeId: this.audio_content.theme_id,
|
||||||
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,
|
||||||
isOnlyRental: this.audio_content.is_only_rental,
|
purchaseOption: this.audio_content.purchase_option,
|
||||||
isCommentAvailable: this.audio_content.is_comment_available
|
isPointAvailable: this.audio_content.is_point_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) {
|
||||||
request.isOnlyRental = false
|
request.purchaseOption = 'BUY_ONLY'
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.audio_content.price > 0 && this.is_limited_edition === true) {
|
if (this.audio_content.price > 0 && this.is_limited_edition === true) {
|
||||||
@@ -974,6 +1061,10 @@ export default {
|
|||||||
request.isAdult = this.audio_content.is_adult
|
request.isAdult = this.audio_content.is_adult
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.selected_audio_content.isPointAvailable !== this.audio_content.is_point_available) {
|
||||||
|
request.isPointAvailable = this.audio_content.is_point_available
|
||||||
|
}
|
||||||
|
|
||||||
if (this.selected_audio_content.isCommentAvailable !== this.audio_content.is_comment_available) {
|
if (this.selected_audio_content.isCommentAvailable !== this.audio_content.is_comment_available) {
|
||||||
request.isCommentAvailable = this.audio_content.is_comment_available
|
request.isCommentAvailable = this.audio_content.is_comment_available
|
||||||
}
|
}
|
||||||
@@ -982,6 +1073,10 @@ export default {
|
|||||||
request.price = this.audio_content.price
|
request.price = this.audio_content.price
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.audio_content.tags !== this.selected_audio_content.tags) {
|
||||||
|
request.tags = this.audio_content.tags
|
||||||
|
}
|
||||||
|
|
||||||
if (this.audio_content.cover_image !== null) {
|
if (this.audio_content.cover_image !== null) {
|
||||||
formData.append("coverImage", this.audio_content.cover_image)
|
formData.append("coverImage", this.audio_content.cover_image)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user