视频grid未开摄像头优化
This commit is contained in:
parent
e91c400d2f
commit
b378c4fb92
Binary file not shown.
|
After Width: | Height: | Size: 64 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 120 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
|
|
@ -14,6 +14,7 @@ import 'package:wgshare/pages/metting/share/meeting_main_share_view.dart';
|
|||
import 'package:wgshare/pages/metting/video/meeting_main_video_view.dart';
|
||||
import 'package:wgshare/utils/toast_utils.dart';
|
||||
|
||||
import '../../common/models/meeting_room_user.dart';
|
||||
import '../../utils/color_util.dart';
|
||||
import '../../utils/cus_behavior.dart';
|
||||
import '../../view/view_svg_path.dart';
|
||||
|
|
@ -1620,7 +1621,28 @@ class MeetingMainPageState extends State<MeetingMainPage> {
|
|||
)
|
||||
:
|
||||
Container(
|
||||
color: Colors.amber,
|
||||
color: ColorUtil.Color_16_19_13,
|
||||
child: SizedBox(
|
||||
width: double.infinity,
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Image.asset(
|
||||
'assets/images/metting_main_no_person.png',
|
||||
width: 78.w,
|
||||
height: 84.h,
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
Text(
|
||||
'该用户未开启摄像头...',
|
||||
style: TextStyle(
|
||||
color: ColorUtil.Color_255_255_255,
|
||||
fontSize: 10.sp
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
Positioned(
|
||||
left: 4,
|
||||
|
|
@ -1805,7 +1827,28 @@ class MeetingMainPageState extends State<MeetingMainPage> {
|
|||
)
|
||||
:
|
||||
Container(
|
||||
color: Colors.amber,
|
||||
color: ColorUtil.Color_16_19_13,
|
||||
child: SizedBox(
|
||||
width: double.infinity,
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Image.asset(
|
||||
'assets/images/metting_main_no_person.png',
|
||||
width: 78.w,
|
||||
height: 84.h,
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
Text(
|
||||
'该用户未开启摄像头...',
|
||||
style: TextStyle(
|
||||
color: ColorUtil.Color_255_255_255,
|
||||
fontSize: 10.sp
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
Positioned(
|
||||
left: 4,
|
||||
|
|
|
|||
|
|
@ -69,6 +69,8 @@ class ColorUtil {
|
|||
|
||||
static const Color_99_111_158 = Color.fromRGBO(99, 111, 158, 1);
|
||||
|
||||
static const Color_16_19_13 = Color.fromRGBO(16, 19, 13, 1);
|
||||
|
||||
/// 十六进制颜色,
|
||||
/// hex, 十六进制值,例如:0xffffff,
|
||||
/// alpha, 透明度 [0.0,1.0]
|
||||
|
|
|
|||
Loading…
Reference in New Issue