Merge pull request 'test' (#26) from test into main

Reviewed-on: #26
This commit is contained in:
klaus 2024-03-19 07:50:16 +00:00
commit c14c041daa
4 changed files with 45 additions and 10 deletions

19
package-lock.json generated
View File

@ -13,6 +13,7 @@
"vue": "^2.6.11", "vue": "^2.6.11",
"vue-excel-xlsx": "^1.2.2", "vue-excel-xlsx": "^1.2.2",
"vue-router": "^3.2.0", "vue-router": "^3.2.0",
"vue-show-more-text": "^2.0.2",
"vue2-editor": "^2.10.3", "vue2-editor": "^2.10.3",
"vuedraggable": "^2.24.3", "vuedraggable": "^2.24.3",
"vuejs-datetimepicker": "^1.1.13", "vuejs-datetimepicker": "^1.1.13",
@ -14602,6 +14603,15 @@
"resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.5.3.tgz", "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.5.3.tgz",
"integrity": "sha512-FUlILrW3DGitS2h+Xaw8aRNvGTwtuaxrRkNSHWTizOfLUie7wuYwezeZ50iflRn8YPV5kxmU2LQuu3nM/b3Zsg==" "integrity": "sha512-FUlILrW3DGitS2h+Xaw8aRNvGTwtuaxrRkNSHWTizOfLUie7wuYwezeZ50iflRn8YPV5kxmU2LQuu3nM/b3Zsg=="
}, },
"node_modules/vue-show-more-text": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/vue-show-more-text/-/vue-show-more-text-2.0.2.tgz",
"integrity": "sha512-x/WuikWAx8Hm4gpZx6KHtJYiXDordGdSoXrd34lTiJeAnlT8Y7Yc0FfGBNdUv6mXncuET3LiRwwNz+X5gI+oiw==",
"dependencies": {
"core-js": "^3.6.5",
"vue": "^2.6.11"
}
},
"node_modules/vue-style-loader": { "node_modules/vue-style-loader": {
"version": "4.1.3", "version": "4.1.3",
"resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.3.tgz", "resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.3.tgz",
@ -27443,6 +27453,15 @@
"resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.5.3.tgz", "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.5.3.tgz",
"integrity": "sha512-FUlILrW3DGitS2h+Xaw8aRNvGTwtuaxrRkNSHWTizOfLUie7wuYwezeZ50iflRn8YPV5kxmU2LQuu3nM/b3Zsg==" "integrity": "sha512-FUlILrW3DGitS2h+Xaw8aRNvGTwtuaxrRkNSHWTizOfLUie7wuYwezeZ50iflRn8YPV5kxmU2LQuu3nM/b3Zsg=="
}, },
"vue-show-more-text": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/vue-show-more-text/-/vue-show-more-text-2.0.2.tgz",
"integrity": "sha512-x/WuikWAx8Hm4gpZx6KHtJYiXDordGdSoXrd34lTiJeAnlT8Y7Yc0FfGBNdUv6mXncuET3LiRwwNz+X5gI+oiw==",
"requires": {
"core-js": "^3.6.5",
"vue": "^2.6.11"
}
},
"vue-style-loader": { "vue-style-loader": {
"version": "4.1.3", "version": "4.1.3",
"resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.3.tgz", "resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.3.tgz",

View File

@ -15,6 +15,7 @@
"vue": "^2.6.11", "vue": "^2.6.11",
"vue-excel-xlsx": "^1.2.2", "vue-excel-xlsx": "^1.2.2",
"vue-router": "^3.2.0", "vue-router": "^3.2.0",
"vue-show-more-text": "^2.0.2",
"vue2-editor": "^2.10.3", "vue2-editor": "^2.10.3",
"vuedraggable": "^2.24.3", "vuedraggable": "^2.24.3",
"vuejs-datetimepicker": "^1.1.13", "vuejs-datetimepicker": "^1.1.13",

View File

@ -122,13 +122,19 @@
</td> </td>
<td>{{ item.title }}</td> <td>{{ item.title }}</td>
<td style="max-width: 350px !important; word-break:break-all; height: auto;"> <td style="max-width: 350px !important; word-break:break-all; height: auto;">
{{ item.detail }} <vue-show-more-text
:text="item.detail"
:lines="3"
/>
</td> </td>
<td>{{ item.curationTitle || '없음' }}</td> <td>{{ item.curationTitle || '없음' }}</td>
<td>{{ item.creatorNickname }}</td> <td>{{ item.creatorNickname }}</td>
<td>{{ item.theme }}</td> <td>{{ item.theme }}</td>
<td style="max-width: 200px !important; word-break:break-all; height: auto;"> <td style="max-width: 200px !important; word-break:break-all; height: auto;">
{{ item.tags }} <vue-show-more-text
:text="item.tags"
:lines="3"
/>
</td> </td>
<td v-if="item.price > 0"> <td v-if="item.price > 0">
{{ item.price }} 코인 {{ item.price }} 코인
@ -369,11 +375,12 @@ import * as api from '@/api/audio_content'
import * as dynamicLink from "@/api/firebase_dynamic_link"; import * as dynamicLink from "@/api/firebase_dynamic_link";
import VuetifyAudio from 'vuetify-audio' import VuetifyAudio from 'vuetify-audio'
import VueShowMoreText from 'vue-show-more-text'
export default { export default {
name: "AudioContentList", name: "AudioContentList",
components: {VuetifyAudio}, components: {VuetifyAudio, VueShowMoreText},
data() { data() {
return { return {

View File

@ -75,12 +75,21 @@
<td>{{ item.email }}</td> <td>{{ item.email }}</td>
<td>{{ item.nickname }}</td> <td>{{ item.nickname }}</td>
<td align="center"> <td align="center">
<v-img <div>
max-width="100" <v-img
max-height="100" max-width="100"
:src="item.profileUrl" max-height="100"
class="rounded-circle" :src="item.profileUrl"
/> class="rounded-circle"
/>
<br>
<a
:href="item.profileUrl"
class="v-btn v-btn--outlined"
>
Download Image
</a>
</div>
</td> </td>
<td>{{ item.userType }}</td> <td>{{ item.userType }}</td>
<td> <td>
@ -363,5 +372,4 @@ export default {
</script> </script>
<style scoped> <style scoped>
</style> </style>