Compare commits
25 Commits
test
...
c5f707efb9
| Author | SHA1 | Date | |
|---|---|---|---|
| c5f707efb9 | |||
| 27a827662e | |||
| b7c8bed727 | |||
| f059dda7eb | |||
| 4cdcf1d0b6 | |||
| 4497141061 | |||
| dfaac20b63 | |||
| 0d3bc1c16e | |||
| c88aa227fd | |||
| 3631919245 | |||
| 4a4783563e | |||
| 28d56ab59a | |||
| be97e0ab31 | |||
| 5e8ec80621 | |||
| 0efb3ea86d | |||
| c0b6a23782 | |||
| a838b3673c | |||
| f64f1f0fb7 | |||
| 3088f957e2 | |||
| 41f99a175c | |||
| 61b5d785a3 | |||
| 3fe7554e06 | |||
| 1def9ddd4a | |||
| a13d442924 | |||
| a1f206a3c0 |
@@ -5,7 +5,7 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<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://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css">
|
||||
</head>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
dark
|
||||
>
|
||||
<v-spacer />
|
||||
<v-toolbar-title>보이스온 크리에이터 관리자</v-toolbar-title>
|
||||
<v-toolbar-title>소다라이브 크리에이터</v-toolbar-title>
|
||||
<v-spacer />
|
||||
</v-app-bar>
|
||||
|
||||
@@ -39,12 +39,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
.noscroll {
|
||||
html::-webkit-scrollbar, body::-webkit-scrollbar {
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
.noscroll::-webkit-scrollbar {
|
||||
html, body {
|
||||
overflow-y: hidden;
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -82,12 +82,6 @@ const router = new VueRouter({
|
||||
|
||||
router.beforeEach((to, from, next) => {
|
||||
if (to.path !== '/login') {
|
||||
if (to.path === '/content/series/list') {
|
||||
document.documentElement.classList.add('noscroll'); // html에 클래스 추가
|
||||
} else {
|
||||
document.documentElement.classList.remove('noscroll');
|
||||
}
|
||||
|
||||
const isAuthenticated = store.getters['accountStore/isAuthenticated']
|
||||
if (isAuthenticated) {
|
||||
next();
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<v-col>
|
||||
<v-btn
|
||||
block
|
||||
color="#3bb9f1"
|
||||
color="#9970ff"
|
||||
dark
|
||||
depressed
|
||||
@click="showWriteDialog"
|
||||
@@ -227,20 +227,6 @@
|
||||
</v-col>
|
||||
</v-row>
|
||||
</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-row align="center">
|
||||
<v-col cols="4">
|
||||
@@ -287,22 +273,6 @@
|
||||
</v-col>
|
||||
</v-row>
|
||||
</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-spacer />
|
||||
<v-btn
|
||||
@@ -484,7 +454,7 @@
|
||||
label="가격"
|
||||
required
|
||||
/>
|
||||
※ 유료 콘텐츠 가격을 입력하면 해당 콘텐츠의 미리듣기 시간을 설정할 수 있습니다.<br>미리듣기 시간은 최소 15초 이상 설정해야 합니다.
|
||||
※ 유료 콘텐츠 가격을 입력하면 해당 콘텐츠의 미리듣기 시간을 설정할 수 있습니다.<br>미리듣기 시간은 최소 30초 이상 설정해야 합니다.
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-card-text>
|
||||
@@ -564,52 +534,18 @@
|
||||
</v-row>
|
||||
</v-card-text>
|
||||
<v-card-text v-show="audio_content.price > 0 && is_limited_edition === false">
|
||||
<v-row align="center">
|
||||
<v-row>
|
||||
<v-col cols="4">
|
||||
소장 설정
|
||||
대여만 가능
|
||||
</v-col>
|
||||
<v-col cols="8">
|
||||
<v-radio-group
|
||||
v-model="audio_content.purchase_option"
|
||||
row
|
||||
<v-col
|
||||
cols="8"
|
||||
align="left"
|
||||
>
|
||||
<input
|
||||
v-model="audio_content.is_only_rental"
|
||||
type="checkbox"
|
||||
>
|
||||
<v-radio
|
||||
value="BOTH"
|
||||
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-row>
|
||||
</v-card-text>
|
||||
@@ -645,22 +581,6 @@
|
||||
</v-col>
|
||||
</v-row>
|
||||
</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-spacer />
|
||||
<v-btn
|
||||
@@ -746,15 +666,15 @@ export default {
|
||||
audio_content: {
|
||||
price: 0,
|
||||
is_adult: false,
|
||||
is_point_available: false,
|
||||
is_generate_preview: false,
|
||||
is_comment_available: true,
|
||||
is_full_detail_visible: true,
|
||||
purchase_option: 'BOTH',
|
||||
},
|
||||
audio_contents: [],
|
||||
themeList: [],
|
||||
selected_audio_content: {},
|
||||
utm_source: '',
|
||||
utm_medium: '',
|
||||
utm_campaign: '',
|
||||
}
|
||||
},
|
||||
|
||||
@@ -795,10 +715,8 @@ export default {
|
||||
this.audio_content.detail = item.detail
|
||||
this.audio_content.price = item.price
|
||||
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.cover_image_url = item.coverImageUrl
|
||||
this.audio_content.tags = item.tags
|
||||
this.show_modify_dialog = true
|
||||
},
|
||||
|
||||
@@ -807,10 +725,7 @@ export default {
|
||||
this.audio_content = {
|
||||
price: 0,
|
||||
is_adult: false,
|
||||
is_point_available: false,
|
||||
is_comment_available: true,
|
||||
is_full_detail_visible: true,
|
||||
purchase_option: 'BOTH',
|
||||
}
|
||||
this.reservation_time = ''
|
||||
this.reservation_time = ''
|
||||
@@ -918,14 +833,12 @@ export default {
|
||||
themeId: this.audio_content.theme_id,
|
||||
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,
|
||||
isPointAvailable: this.audio_content.is_point_available,
|
||||
isCommentAvailable: this.audio_content.is_comment_available,
|
||||
isFullDetailVisible: this.audio_content.is_full_detail_visible
|
||||
isOnlyRental: this.audio_content.is_only_rental,
|
||||
isCommentAvailable: this.audio_content.is_comment_available
|
||||
}
|
||||
|
||||
if (this.audio_content.limited > 0) {
|
||||
request.purchaseOption = 'BUY_ONLY'
|
||||
request.isOnlyRental = false
|
||||
}
|
||||
|
||||
if (this.audio_content.price > 0 && this.is_limited_edition === true) {
|
||||
@@ -957,7 +870,7 @@ export default {
|
||||
!this.isValidTimeFormat(previewStartTime) ||
|
||||
!this.isValidTimeFormat(previewEndTime)
|
||||
) {
|
||||
this.notifyError("미리 듣기 시간 형식은 00:00:15 과 같아야 합니다")
|
||||
this.notifyError("미리 듣기 시간 형식은 00:30:00 과 같아야 합니다")
|
||||
this.is_loading = false
|
||||
return
|
||||
}
|
||||
@@ -969,8 +882,8 @@ export default {
|
||||
const totalSeconds2 = h2 * 3600 + m2 * 60 + s2;
|
||||
const timeDifference = totalSeconds2 - totalSeconds1;
|
||||
|
||||
if (timeDifference < 15) {
|
||||
this.notifyError("미리 듣기의 최소 시간은 15초 입니다.")
|
||||
if (timeDifference < 30) {
|
||||
this.notifyError("미리 듣기의 최소 시간은 30초 입니다.")
|
||||
this.is_loading = false
|
||||
return
|
||||
}
|
||||
@@ -1061,10 +974,6 @@ export default {
|
||||
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) {
|
||||
request.isCommentAvailable = this.audio_content.is_comment_available
|
||||
}
|
||||
@@ -1073,10 +982,6 @@ export default {
|
||||
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) {
|
||||
formData.append("coverImage", this.audio_content.cover_image)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user