Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
live-management-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haojie
live-management-web
Commits
e0d94a07
Commit
e0d94a07
authored
Aug 17, 2023
by
haojie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
创建直播没有标题的问题
parent
e1567184
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
11 deletions
+22
-11
src/components/digitalPeopleDiaog.vue
+2
-2
src/layouts/components/Header.vue
+7
-1
src/pages/createAction/components/choseDigitalPeople/index.less
+7
-6
src/pages/createAction/components/choseDigitalPeople/index.tsx
+1
-1
src/pages/createLive/components/audioScriptDialog.vue
+5
-1
No files found.
src/components/digitalPeopleDiaog.vue
View file @
e0d94a07
...
...
@@ -2,7 +2,7 @@
<Dialog
v-model=
"visible"
className=
"chose-person-dialog"
@
confirm=
"confirm"
>
<div
class=
"chose-person-dialog-body"
>
<div
class=
"header"
>
选择数字人
</div>
<div
class=
"group-btns"
>
<div
class=
"
chose-person-
group-btns"
>
<template
v-for=
"item in constdigitalPeopleTypeList"
:key=
"item.value"
>
<Button
theme=
"opacity"
...
...
@@ -116,7 +116,7 @@ watch(
color
:
#fff
;
font-size
:
@
size-16
;
}
.group-btns
{
.
chose-person-
group-btns
{
margin-top
:
12px
;
.default-chose-person-btn
{
height
:
27px
!important
;
...
...
src/layouts/components/Header.vue
View file @
e0d94a07
...
...
@@ -19,7 +19,7 @@ import LoginDropdown from './LoginDropdown.vue';
import
{
useRoute
,
useRouter
}
from
'vue-router'
;
import
ChangeName
from
'@/components/changeName.vue'
;
import
{
useStore
}
from
'vuex'
;
import
{
computed
}
from
'vue'
;
import
{
computed
,
onMounted
}
from
'vue'
;
import
routerConfig
from
'@/router/tool'
;
import
{
getUserCookie
}
from
'@/utils/api/userApi'
;
const
route
=
useRoute
();
...
...
@@ -50,6 +50,12 @@ const liveNameEvent = async (value: string) => {
store
.
commit
(
'live/setName'
,
value
);
return
true
;
};
onMounted
(()
=>
{
if
(
route
.
query
.
title
)
{
store
.
commit
(
'live/setName'
,
route
.
query
.
title
);
}
});
</
script
>
<
style
lang=
"less"
>
@import
'@/style/variables'
;
...
...
src/pages/createAction/components/choseDigitalPeople/index.less
View file @
e0d94a07
...
...
@@ -7,22 +7,23 @@
text-align: center;
padding-top: 30px;
}
.group-btns {
.
action-
group-btns {
margin: 16px 0;
.default-chose-person-btn {
font-size: @size-13;
height: 27px !important;
border-radius: 4px;
}
}
.btn-active {
border: 1px solid #04ae8a;
background: #04ae8a;
&:hover {
.btn-active {
border: 1px solid #04ae8a;
background: #04ae8a;
&:hover {
border: 1px solid #04ae8a;
background: #04ae8a;
}
}
}
.person-list {
display: grid;
justify-content: space-between;
...
...
src/pages/createAction/components/choseDigitalPeople/index.tsx
View file @
e0d94a07
...
...
@@ -103,7 +103,7 @@ export default defineComponent({
return
()
=>
(
<
div
class=
"action-chose-person-body"
>
<
div
class=
"header-title"
>
选择数字人进行动作创建
</
div
>
<
div
class=
"group-btns"
>
<
div
class=
"
action-
group-btns"
>
{
constdigitalPeopleTypeList
.
map
((
item
:
any
)
=>
(
<
Button
key=
{
item
.
value
}
...
...
src/pages/createLive/components/audioScriptDialog.vue
View file @
e0d94a07
...
...
@@ -29,7 +29,7 @@
</
template
>
<
script
lang=
"ts"
setup
>
import
{
watch
,
ref
,
onMounted
}
from
'vue'
;
import
{
watch
,
ref
,
on
Activated
,
on
Mounted
}
from
'vue'
;
import
Select
from
'@/components/Select.vue'
;
import
Dialog
from
'@/components/Dialog.vue'
;
import
CustomInput
from
'@/components/input/index.vue'
;
...
...
@@ -88,6 +88,10 @@ onMounted(() => {
getAction
();
});
onActivated
(()
=>
{
getAction
();
});
const
confirm
=
()
=>
{
if
(
!
titleValue
.
value
)
{
show_message
(
'标题必填'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment