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
5302e7c1
Commit
5302e7c1
authored
Sep 04, 2023
by
haojie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
创建直播页面展示问题
parent
07427bcf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
26 deletions
+3
-26
src/pages/createLive/components/ChoseDigitalPerson.vue
+3
-26
No files found.
src/pages/createLive/components/ChoseDigitalPerson.vue
View file @
5302e7c1
...
@@ -3,15 +3,9 @@
...
@@ -3,15 +3,9 @@
<div
class=
"all-select"
>
<div
class=
"all-select"
>
<Select
:options=
"options"
v-model=
"currentOption"
@
change=
"onSelectChange"
></Select>
<Select
:options=
"options"
v-model=
"currentOption"
@
change=
"onSelectChange"
></Select>
</div>
</div>
<div
class=
"create-digital-person-list-box-parent"
>
<div
class=
"create-digital-person-list-box-parent
narrow-scrollbar
"
>
<Loading
v-show=
"loading"
></Loading>
<Loading
v-show=
"loading"
></Loading>
<div
<div
class=
"create-digital-person-list-box"
>
class=
"create-digital-person-list-box narrow-scrollbar"
ref=
"personList"
:style=
"
{
maxHeight: maxHeight + 'px',
}"
>
<div
class=
"create-digital-person-grid"
>
<div
class=
"create-digital-person-grid"
>
<template
v-for=
"item in digitalList.list"
:key=
"item.id"
>
<template
v-for=
"item in digitalList.list"
:key=
"item.id"
>
<CardOne
<CardOne
...
@@ -56,10 +50,6 @@ const editInfo = computed(() => store.getters['live/getEditLive']);
...
@@ -56,10 +50,6 @@ const editInfo = computed(() => store.getters['live/getEditLive']);
const
loading
=
ref
(
false
);
const
loading
=
ref
(
false
);
// el元素
const
personList
=
ref
();
const
maxHeight
=
ref
();
// 当前选中项
// 当前选中项
const
currentOption
=
ref
(
'1'
);
const
currentOption
=
ref
(
'1'
);
// 当前选择的数字人
// 当前选择的数字人
...
@@ -248,19 +238,6 @@ onActivated(() => {
...
@@ -248,19 +238,6 @@ onActivated(() => {
// 获取数字人列表
// 获取数字人列表
getList
();
getList
();
});
});
watch
(
()
=>
props
.
toolHeight
,
(
v
)
=>
{
if
(
v
)
{
setTimeout
(()
=>
{
let
obj
=
getElBounding
(
personList
.
value
);
let
client
=
getWindowClient
();
maxHeight
.
value
=
client
.
height
-
obj
.
top
-
v
;
},
500
);
}
},
);
</
script
>
</
script
>
<
style
lang=
"less"
>
<
style
lang=
"less"
>
...
@@ -280,9 +257,9 @@ watch(
...
@@ -280,9 +257,9 @@ watch(
border
:
1px
solid
#464646
;
border
:
1px
solid
#464646
;
background
:
#1e1e1e
;
background
:
#1e1e1e
;
position
:
relative
;
position
:
relative
;
overflow-y
:
auto
;
.create-digital-person-list-box
{
.create-digital-person-list-box
{
padding
:
12px
;
padding
:
12px
;
overflow-y
:
auto
;
.custom-card-box
{
.custom-card-box
{
background
:
white
;
background
:
white
;
width
:
150px
;
width
:
150px
;
...
...
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