设备 预约接口
This commit is contained in:
@@ -279,7 +279,7 @@ class DeviceInfoWidget extends GetView {
|
||||
mainAxisSize: MainAxisSize.max,
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
children: [
|
||||
if (device['type'] == 1)
|
||||
if (device['bind_type'] == 1)
|
||||
Text(
|
||||
'已分享:',
|
||||
style: FlutterFlowTheme.of(context)
|
||||
@@ -289,32 +289,32 @@ class DeviceInfoWidget extends GetView {
|
||||
fontSize: AppFontsize
|
||||
.normal_text_size,
|
||||
letterSpacing: 0,
|
||||
color: Color(0xFF333333),
|
||||
color: Colors.white,
|
||||
),
|
||||
),
|
||||
if (device['type'] == 1)
|
||||
if (device['bind_type'] == 1)
|
||||
Padding(
|
||||
padding:
|
||||
EdgeInsetsDirectional.fromSTEB(
|
||||
5, 0, 5, 0),
|
||||
child: Text(
|
||||
// '0',
|
||||
deviceListController
|
||||
.model.deviceList[index]
|
||||
['shareNum'] ??
|
||||
'0',
|
||||
(deviceListController.model
|
||||
.deviceList[index]
|
||||
['shareNum'] ??
|
||||
0)
|
||||
.toString(),
|
||||
style: FlutterFlowTheme.of(context)
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
color: Color(0xFFE55E92),
|
||||
color: Color(0xFF85F5FF),
|
||||
fontSize: AppFontsize
|
||||
.normal_text_size,
|
||||
letterSpacing: 0,
|
||||
),
|
||||
),
|
||||
),
|
||||
if (device['type'] == 1)
|
||||
if (device['bind_type'] == 1)
|
||||
Text(
|
||||
'人',
|
||||
style: FlutterFlowTheme.of(context)
|
||||
@@ -324,10 +324,10 @@ class DeviceInfoWidget extends GetView {
|
||||
fontSize: AppFontsize
|
||||
.normal_text_size,
|
||||
letterSpacing: 0,
|
||||
color: Color(0xFF333333),
|
||||
color: Colors.white,
|
||||
),
|
||||
),
|
||||
if (device['type'] == 2)
|
||||
if (device['bind_type'] == 2)
|
||||
Text(
|
||||
'来自',
|
||||
style: FlutterFlowTheme.of(context)
|
||||
@@ -337,10 +337,10 @@ class DeviceInfoWidget extends GetView {
|
||||
fontSize: AppFontsize
|
||||
.normal_text_size,
|
||||
letterSpacing: 0,
|
||||
color: Color(0xFF333333),
|
||||
color: Colors.white,
|
||||
),
|
||||
),
|
||||
if (device['type'] == 2)
|
||||
if (device['bind_type'] == 2)
|
||||
Padding(
|
||||
padding:
|
||||
EdgeInsetsDirectional.fromSTEB(
|
||||
@@ -351,14 +351,14 @@ class DeviceInfoWidget extends GetView {
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
color: Color(0xFFE55E92),
|
||||
color: Color(0xFF85F5FF),
|
||||
fontSize: AppFontsize
|
||||
.normal_text_size,
|
||||
letterSpacing: 0,
|
||||
),
|
||||
),
|
||||
),
|
||||
if (device['type'] == 2)
|
||||
if (device['bind_type'] == 2)
|
||||
Text(
|
||||
'的分享',
|
||||
style: FlutterFlowTheme.of(context)
|
||||
@@ -367,7 +367,7 @@ class DeviceInfoWidget extends GetView {
|
||||
fontFamily: 'Readex Pro',
|
||||
fontSize: 21.rpx,
|
||||
letterSpacing: 0,
|
||||
color: Color(0xFF333333),
|
||||
color: Colors.white,
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user