设备 预约接口
This commit is contained in:
@@ -875,7 +875,7 @@ Future showOneSelectionDialog(
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
color: themeController.currentColor.sc3,
|
||||
color: Colors.white,
|
||||
fontSize: 30.rpx,
|
||||
)),
|
||||
ClickableContainer(
|
||||
|
||||
@@ -45,6 +45,7 @@ class ApplyRepairPage extends GetView<ApplyRepairController> {
|
||||
),
|
||||
),
|
||||
child: Scaffold(
|
||||
resizeToAvoidBottomInset: true, // 自动调整页面避免被键盘遮挡
|
||||
backgroundColor: Colors.transparent,
|
||||
appBar: AppBar(
|
||||
backgroundColor: Colors.transparent,
|
||||
@@ -1779,8 +1780,8 @@ class ApplyRepairPage extends GetView<ApplyRepairController> {
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsetsDirectional.fromSTEB(
|
||||
15, 15, 15, AppConstants.page_button_bottom_padding),
|
||||
padding: EdgeInsetsDirectional.fromSTEB(30.rpx, 30.rpx,
|
||||
30.rpx, AppConstants.page_button_bottom_padding),
|
||||
child: Container(
|
||||
width: bodysize!.maxWidth,
|
||||
height: bodysize!.maxHeight * 0.056,
|
||||
@@ -1836,61 +1837,7 @@ class ApplyRepairPage extends GetView<ApplyRepairController> {
|
||||
),
|
||||
),
|
||||
),
|
||||
)
|
||||
|
||||
// Container(
|
||||
// width: bodysize!.maxWidth,
|
||||
// height: bodysize!.maxHeight * 0.056,
|
||||
// decoration: BoxDecoration(
|
||||
// color: FlutterFlowTheme.of(context)
|
||||
// .secondaryBackground,
|
||||
// borderRadius: BorderRadius.circular(16.rpx),
|
||||
// ),
|
||||
// child: FFButtonWidget(
|
||||
// onPressed: () {
|
||||
// print('Button pressed ...');
|
||||
// controller.submitRepair(context).then((msg) {
|
||||
// if (msg.isEmpty) {
|
||||
// MessageListController messageListController =
|
||||
// Get.find();
|
||||
// messageListController.addMessage();
|
||||
// Get.to(() => ApplyRepairSuccessPage(),
|
||||
// arguments: {'model': controller.model});
|
||||
// controller.model =
|
||||
// ApplyRepairModel(); // 在 submitRepair 完成后执行
|
||||
// controller.updateAll();
|
||||
// }
|
||||
// }).catchError((error) {
|
||||
// // 错误处理
|
||||
// print('Error: $error');
|
||||
// });
|
||||
// },
|
||||
// text: '提交申请',
|
||||
// options: FFButtonOptions(
|
||||
// height: 40,
|
||||
// padding: const EdgeInsetsDirectional.fromSTEB(
|
||||
// 24, 0, 24, 0),
|
||||
// iconPadding: const EdgeInsetsDirectional.fromSTEB(
|
||||
// 0, 0, 0, 0),
|
||||
// color: const Color(0xFFD3B684),
|
||||
// textStyle: FlutterFlowTheme.of(context)
|
||||
// .titleSmall
|
||||
// .override(
|
||||
// fontFamily: 'Readex Pro',
|
||||
// color: Colors.white,
|
||||
// fontSize: AppFontsize.normal_text_size,
|
||||
// letterSpacing: 0,
|
||||
// ),
|
||||
// elevation: 0,
|
||||
// borderSide: const BorderSide(
|
||||
// color: Colors.transparent,
|
||||
// width: 1,
|
||||
// ),
|
||||
// borderRadius: BorderRadius.circular(8),
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
),
|
||||
)),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
@@ -144,7 +144,7 @@ class _BluetoothState extends State<BluetoothPage> {
|
||||
_buildMenuButton(
|
||||
context, '睡眠习惯', "/sleepHabitPage"),
|
||||
_buildMenuButton(
|
||||
context, '分享设备', "/devicePeopleInfo"),
|
||||
context, '分享设备', "/deviceSharePage"),
|
||||
_buildMenuButton(
|
||||
context, '解绑', "/devicePeopleInfo"),
|
||||
],
|
||||
|
||||
@@ -1,19 +1,11 @@
|
||||
import 'package:ef/ef.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:vbvs_app/common/color/appConstants.dart';
|
||||
import 'package:vbvs_app/common/util/FitTool.dart';
|
||||
import 'package:vbvs_app/common/util/MyUtils.dart';
|
||||
import 'package:vbvs_app/controller/mh_controller/book_info_controller.dart';
|
||||
|
||||
class BookDateWidget extends GetView<BookInfoController> {
|
||||
// final String week;
|
||||
// final String date;
|
||||
|
||||
// const BookDateWidget({
|
||||
// super.key,
|
||||
// String? week,
|
||||
// String? date,
|
||||
// }) : this.week = week ?? '周一',
|
||||
// this.date = date ?? '07/10';
|
||||
|
||||
int index;
|
||||
BookInfoController bookInfoController;
|
||||
|
||||
@@ -22,25 +14,25 @@ class BookDateWidget extends GetView<BookInfoController> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return InkWell(onTap: () {
|
||||
// if(index == controller.model.datetimes_index) {
|
||||
// return;
|
||||
// }
|
||||
// controller.model.datetimes_index = index;
|
||||
// controller.time_periodChange();
|
||||
// controller.updateAll();
|
||||
if (index == controller.model.datetimes_index) {
|
||||
return;
|
||||
}
|
||||
controller.model.datetimes_index = index;
|
||||
controller.time_periodChange();
|
||||
controller.updateAll();
|
||||
}, child: Obx(() {
|
||||
return Container(
|
||||
width: 71.5,
|
||||
height: 71.5,
|
||||
width: 144.rpx,
|
||||
height: 143.rpx,
|
||||
constraints: BoxConstraints(
|
||||
minHeight: 70,
|
||||
minHeight: 140.rpx,
|
||||
),
|
||||
decoration: BoxDecoration(
|
||||
// color: FlutterFlowTheme.of(context).secondaryBackground,
|
||||
color: controller.model.datetimes_index == index
|
||||
? stringToColor('#D3B684')
|
||||
: FlutterFlowTheme.of(context).secondaryBackground,
|
||||
borderRadius: BorderRadius.circular(8),
|
||||
? Color(0XFF84F5FF)
|
||||
: Color(0xFF003058),
|
||||
borderRadius: BorderRadius.circular(13.rpx),
|
||||
),
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.max,
|
||||
@@ -50,32 +42,32 @@ class BookDateWidget extends GetView<BookInfoController> {
|
||||
child: Text(
|
||||
"${bookInfoController.model.datetimes![index]?['dayName']}",
|
||||
style: FlutterFlowTheme.of(context).bodyMedium.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
color: controller.model.datetimes_index == index
|
||||
? stringToColor('#FFFFFF')
|
||||
: stringToColor('#333333'),
|
||||
),
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
color: controller.model.datetimes_index == index
|
||||
? Color(0XFF011D33)
|
||||
: Colors.white,
|
||||
fontSize: 26.rpx),
|
||||
),
|
||||
),
|
||||
Flexible(
|
||||
child: Text(
|
||||
"${bookInfoController.model.datetimes![index]?['day']}",
|
||||
style: FlutterFlowTheme.of(context).bodyMedium.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
color: controller.model.datetimes_index == index
|
||||
? stringToColor('#FFFFFF')
|
||||
: stringToColor('#333333'),
|
||||
),
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
color: controller.model.datetimes_index == index
|
||||
? Color(0XFF011D33)
|
||||
: Colors.white,
|
||||
fontSize: 19.rpx),
|
||||
),
|
||||
),
|
||||
Flexible(
|
||||
child: Icon(
|
||||
Icons.keyboard_arrow_down_rounded,
|
||||
color: controller.model.datetimes_index == index
|
||||
? stringToColor('#FFFFFF')
|
||||
: stringToColor('#333333'),
|
||||
? Color(0XFF011D33)
|
||||
: Colors.white,
|
||||
size: 12,
|
||||
),
|
||||
),
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -106,7 +106,7 @@ class DeviceInfoWidget extends GetView {
|
||||
text: '设备ID:' +
|
||||
(deviceListController.model
|
||||
.deviceList[
|
||||
index]['id'] ??
|
||||
index]['_id'] ??
|
||||
''),
|
||||
style: FlutterFlowTheme.of(
|
||||
context)
|
||||
@@ -232,13 +232,9 @@ class DeviceInfoWidget extends GetView {
|
||||
padding: EdgeInsetsDirectional.fromSTEB(0, 36.rpx, 0, 0),
|
||||
child: Container(
|
||||
width: MediaQuery.sizeOf(context).width,
|
||||
height: 130,
|
||||
constraints: BoxConstraints(
|
||||
minHeight: 1,
|
||||
maxHeight: 1,
|
||||
),
|
||||
height: 0.5.rpx,
|
||||
decoration: BoxDecoration(
|
||||
color: Color(0xFFB6BBC9),
|
||||
color: Color(0xFF929699),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -9,324 +9,330 @@ import 'package:vbvs_app/common/color/appConstants.dart';
|
||||
import 'package:vbvs_app/common/color/appFontsize.dart';
|
||||
import 'package:vbvs_app/common/util/FitTool.dart';
|
||||
import 'package:vbvs_app/common/util/MyUtils.dart';
|
||||
import 'package:vbvs_app/component/NullDataComponentWidget.dart';
|
||||
import 'package:vbvs_app/component/tool/ClickableContainer.dart';
|
||||
import 'package:vbvs_app/controller/mh_controller/experience_store_list_page.dart';
|
||||
import 'package:vbvs_app/controller/weather/weather_controller.dart';
|
||||
import 'package:vbvs_app/pages/mh_page/Empty.dart';
|
||||
import 'package:vbvs_app/pages/mh_page/experience_store_widget.dart';
|
||||
import 'package:vbvs_app/pages/mh_page/searchWidget.dart';
|
||||
|
||||
class ExperienceStorePage extends GetView<ExperienceStoreListController> {
|
||||
class ExperienceStorePage extends StatefulWidget {
|
||||
ExperienceStorePage({super.key});
|
||||
@override
|
||||
State<ExperienceStorePage> createState() => _ExperienceStorePageState();
|
||||
}
|
||||
|
||||
// class _ExperienceStorePageState extends State<ExperienceStorePage> {
|
||||
// get controller => Get.find<ExperienceStoreListController>();
|
||||
// final scaffoldKey = GlobalKey<ScaffoldState>();
|
||||
class _ExperienceStorePageState extends State<ExperienceStorePage> {
|
||||
final scaffoldKey = GlobalKey<ScaffoldState>();
|
||||
BoxConstraints? bodysize;
|
||||
|
||||
ScrollController scrollController = ScrollController();
|
||||
ExperienceStoreListController controller = Get.find();
|
||||
WeatherModelController weatherModelController = Get.find();
|
||||
int runTime = 0;
|
||||
|
||||
// @override
|
||||
// void initState() {
|
||||
// // TODO: implement initState
|
||||
// super.initState();
|
||||
// Timer(Duration(milliseconds: 100), () async {
|
||||
// controller.resetParm();
|
||||
// await controller.determinePosition();
|
||||
// controller.page = 0;
|
||||
// controller.getData();
|
||||
// scrollController.addListener(() {
|
||||
// int ctime = DateTime.now().millisecondsSinceEpoch;
|
||||
// if (ctime - runTime > 100 &&
|
||||
// scrollController.position.pixels + 80 >
|
||||
// scrollController.position.maxScrollExtent) {
|
||||
// runTime = ctime;
|
||||
// print(
|
||||
// "bottom get more data ${scrollController.position.pixels} ${scrollController.position.maxScrollExtent}");
|
||||
// controller.getData();
|
||||
// }
|
||||
// });
|
||||
// });
|
||||
// }
|
||||
@override
|
||||
void initState() {
|
||||
// TODO: implement initState
|
||||
super.initState();
|
||||
Timer(Duration(milliseconds: 100), () async {
|
||||
controller.resetParm();
|
||||
await weatherModelController.determinePosition();
|
||||
controller.page = 0;
|
||||
controller.getData();
|
||||
scrollController.addListener(() {
|
||||
int ctime = DateTime.now().millisecondsSinceEpoch;
|
||||
if (ctime - runTime > 100 &&
|
||||
scrollController.position.pixels + 80 >
|
||||
scrollController.position.maxScrollExtent) {
|
||||
runTime = ctime;
|
||||
print(
|
||||
"bottom get more data ${scrollController.position.pixels} ${scrollController.position.maxScrollExtent}");
|
||||
controller.getData();
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return LayoutBuilder(builder: (context, cc) {
|
||||
controller.model.experienceStoreModelList = [
|
||||
{
|
||||
"id": "5b82d1d9c33c74647e7624ec1db7918f",
|
||||
"enabled": true,
|
||||
"code": "3401002",
|
||||
"name": "SWES眠花糖合肥省委大院体验店",
|
||||
"customerId": null,
|
||||
"setNetCustomerKid": null,
|
||||
"customer": null,
|
||||
"kingdeeId": "",
|
||||
"channel": null,
|
||||
"salePersonId": "ed648f977422a9f32a05b4892a3cb529",
|
||||
"salePerson": null,
|
||||
"deptId": 3,
|
||||
"deptName": null,
|
||||
"dept": null,
|
||||
"introduction": "",
|
||||
"mobile": "18156022846",
|
||||
"hotline": "0551-64464894",
|
||||
"city": "合肥市",
|
||||
"district": "庐阳区",
|
||||
"addressDetail": "合肥市庐阳区逍遥津街道南含山路与红星路交汇处",
|
||||
"image": "",
|
||||
"latitude": "31.858934",
|
||||
"longitude": "117.282166",
|
||||
"isDel": false,
|
||||
"isAppShow": true,
|
||||
"business": true,
|
||||
"authEndTime": null,
|
||||
"createTime": 1701133326000,
|
||||
"createAdminId": "f6da6faa2d50e7eff7b54bcdd55b0283",
|
||||
"updateTime": 1709193588000,
|
||||
"updateAdminId": null,
|
||||
"distance": 2.2
|
||||
},
|
||||
{
|
||||
"id": "97603deebb83f610f73acf5d0def2bce",
|
||||
"enabled": true,
|
||||
"code": "3401003",
|
||||
"name": "SWES眠花糖合肥安粮国贸体验店",
|
||||
"customerId": null,
|
||||
"setNetCustomerKid": null,
|
||||
"customer": null,
|
||||
"kingdeeId": "",
|
||||
"channel": null,
|
||||
"salePersonId": "69297c65588adde4ee5de3c43a2c4033",
|
||||
"salePerson": null,
|
||||
"deptId": 3,
|
||||
"deptName": null,
|
||||
"dept": null,
|
||||
"introduction": "",
|
||||
"mobile": "18655643429",
|
||||
"hotline": "0551-65156985",
|
||||
"city": "合肥市",
|
||||
"district": "政务新区",
|
||||
"addressDetail": "安徽省合肥市蜀山区合作化南路16号",
|
||||
"image": "",
|
||||
"latitude": "31.82018",
|
||||
"longitude": "117.25367",
|
||||
"isDel": false,
|
||||
"isAppShow": true,
|
||||
"business": true,
|
||||
"authEndTime": null,
|
||||
"createTime": 1701133473000,
|
||||
"createAdminId": "f6da6faa2d50e7eff7b54bcdd55b0283",
|
||||
"updateTime": 1709193752000,
|
||||
"updateAdminId": null,
|
||||
"distance": 3.5
|
||||
},
|
||||
{
|
||||
"id": "b6b588d7ff6b248115ee3e5951cf39a1",
|
||||
"enabled": true,
|
||||
"code": "3301001",
|
||||
"name": "SWES眠花糖杭州南星桥旗舰店",
|
||||
"customerId": null,
|
||||
"setNetCustomerKid": null,
|
||||
"customer": null,
|
||||
"kingdeeId": "",
|
||||
"channel": null,
|
||||
"salePersonId": "f3a5e7935f65e94bc5aa6b2d63211e61",
|
||||
"salePerson": null,
|
||||
"deptId": 33,
|
||||
"deptName": null,
|
||||
"dept": null,
|
||||
"introduction": "",
|
||||
"mobile": "15222919097",
|
||||
"hotline": "0571-86718606",
|
||||
"city": "杭州市",
|
||||
"district": "上城区",
|
||||
"addressDetail": "浙江省杭州市上城区飞云江路45号一层102室",
|
||||
"image": "",
|
||||
"latitude": "30.21667",
|
||||
"longitude": "120.17757",
|
||||
"isDel": false,
|
||||
"isAppShow": true,
|
||||
"business": true,
|
||||
"authEndTime": null,
|
||||
"createTime": 1701135379000,
|
||||
"createAdminId": "f6da6faa2d50e7eff7b54bcdd55b0283",
|
||||
"updateTime": 1709194185000,
|
||||
"updateAdminId": null,
|
||||
"distance": 332.1
|
||||
},
|
||||
{
|
||||
"id": "38fdbb715dc7bfddae3e32685c288e49",
|
||||
"enabled": true,
|
||||
"code": "3102001",
|
||||
"name": "SWES眠花糖上海复兴荟旗舰店",
|
||||
"customerId": null,
|
||||
"setNetCustomerKid": null,
|
||||
"customer": null,
|
||||
"kingdeeId": "",
|
||||
"channel": null,
|
||||
"salePersonId": "4ae944badb423197bc54c0a6ec252944",
|
||||
"salePerson": null,
|
||||
"deptId": 32,
|
||||
"deptName": null,
|
||||
"dept": null,
|
||||
"introduction": "",
|
||||
"mobile": "13053037959",
|
||||
"hotline": "021-63391962",
|
||||
"city": "上海市",
|
||||
"district": "黄浦区",
|
||||
"addressDetail": "上海市黄浦区复兴东路1108号1层-1室",
|
||||
"image": "",
|
||||
"latitude": "31.22209",
|
||||
"longitude": "121.494667",
|
||||
"isDel": false,
|
||||
"isAppShow": true,
|
||||
"business": true,
|
||||
"authEndTime": null,
|
||||
"createTime": 1701135192000,
|
||||
"createAdminId": "f6da6faa2d50e7eff7b54bcdd55b0283",
|
||||
"updateTime": 1709194151000,
|
||||
"updateAdminId": null,
|
||||
"distance": 407.3
|
||||
},
|
||||
{
|
||||
"id": "af908e6c5d1a2c8113b1c73117e15064",
|
||||
"enabled": true,
|
||||
"code": "3101001",
|
||||
"name": "SWES眠花糖上海外滩九里体验店",
|
||||
"customerId": null,
|
||||
"setNetCustomerKid": null,
|
||||
"customer": null,
|
||||
"kingdeeId": "",
|
||||
"channel": null,
|
||||
"salePersonId": "1794f729f27ad4a44afad10061446dd5",
|
||||
"salePerson": null,
|
||||
"deptId": 31,
|
||||
"deptName": null,
|
||||
"dept": null,
|
||||
"introduction": "",
|
||||
"mobile": "13856414205",
|
||||
"hotline": "021-63391208",
|
||||
"city": "上海市",
|
||||
"district": "黄浦区",
|
||||
"addressDetail": "上海市黄浦区紫霞路103-107号1层103-12室",
|
||||
"image": "",
|
||||
"latitude": "31.218434",
|
||||
"longitude": "121.502098",
|
||||
"isDel": false,
|
||||
"isAppShow": true,
|
||||
"business": true,
|
||||
"authEndTime": null,
|
||||
"createTime": 1701134886000,
|
||||
"createAdminId": "f6da6faa2d50e7eff7b54bcdd55b0283",
|
||||
"updateTime": 1709194053000,
|
||||
"updateAdminId": null,
|
||||
"distance": 408.1
|
||||
},
|
||||
{
|
||||
"id": "a5f1fc9a03ba827841c473e28a3fcdb2",
|
||||
"enabled": true,
|
||||
"code": "3101002",
|
||||
"name": "SWES眠花糖上海尚悦湾旗舰店",
|
||||
"customerId": null,
|
||||
"setNetCustomerKid": null,
|
||||
"customer": null,
|
||||
"kingdeeId": "",
|
||||
"channel": null,
|
||||
"salePersonId": "d97ec48ee3b1060eb7ff5c81f0ffa37f",
|
||||
"salePerson": null,
|
||||
"deptId": 31,
|
||||
"deptName": null,
|
||||
"dept": null,
|
||||
"introduction": "",
|
||||
"mobile": "19523660595",
|
||||
"hotline": "021-63336707",
|
||||
"city": "上海市",
|
||||
"district": "浦东新区",
|
||||
"addressDetail": "上海市浦东新区银城路66号",
|
||||
"image": "",
|
||||
"latitude": "31.24103",
|
||||
"longitude": "121.51045",
|
||||
"isDel": false,
|
||||
"isAppShow": true,
|
||||
"business": true,
|
||||
"authEndTime": null,
|
||||
"createTime": 1701135694000,
|
||||
"createAdminId": "f6da6faa2d50e7eff7b54bcdd55b0283",
|
||||
"updateTime": 1709194087000,
|
||||
"updateAdminId": null,
|
||||
"distance": 408.4
|
||||
},
|
||||
{
|
||||
"id": "21ddfb547060e930f841605dc4469bec",
|
||||
"enabled": true,
|
||||
"code": "1101001",
|
||||
"name": "SWES眠花糖北京富力城旗舰店",
|
||||
"customerId": null,
|
||||
"setNetCustomerKid": null,
|
||||
"customer": null,
|
||||
"kingdeeId": "",
|
||||
"channel": null,
|
||||
"salePersonId": "b66028a628ce0fcb871ab7db5c17128e",
|
||||
"salePerson": null,
|
||||
"deptId": 11,
|
||||
"deptName": null,
|
||||
"dept": null,
|
||||
"introduction": "",
|
||||
"mobile": "15556119960",
|
||||
"hotline": "010-58766288",
|
||||
"city": "北京市",
|
||||
"district": "朝阳区",
|
||||
"addressDetail": "北京市朝阳区天力街3号楼1至2层商业12号",
|
||||
"image": "",
|
||||
"latitude": "39.89862",
|
||||
"longitude": "116.45851",
|
||||
"isDel": false,
|
||||
"isAppShow": false,
|
||||
"business": true,
|
||||
"authEndTime": null,
|
||||
"createTime": 1701134049000,
|
||||
"createAdminId": "f6da6faa2d50e7eff7b54bcdd55b0283",
|
||||
"updateTime": 1733193484000,
|
||||
"updateAdminId": null,
|
||||
"distance": 897.7
|
||||
},
|
||||
{
|
||||
"id": "432bfdf508115827c5dca474b72dea68",
|
||||
"enabled": true,
|
||||
"code": "1102001",
|
||||
"name": "SWES眠花糖北京英皇中心旗舰店",
|
||||
"customerId": null,
|
||||
"setNetCustomerKid": null,
|
||||
"customer": null,
|
||||
"kingdeeId": "",
|
||||
"channel": null,
|
||||
"salePersonId": "155848302d5b6f2768111574f0161816",
|
||||
"salePerson": null,
|
||||
"deptId": 12,
|
||||
"deptName": null,
|
||||
"dept": null,
|
||||
"introduction": "",
|
||||
"mobile": "18225602774",
|
||||
"hotline": "010-53269059",
|
||||
"city": "北京市",
|
||||
"district": "朝阳区",
|
||||
"addressDetail": "北京市朝阳区建国门外大街丁12号",
|
||||
"image": "",
|
||||
"latitude": "39.907911",
|
||||
"longitude": "116.444584",
|
||||
"isDel": false,
|
||||
"isAppShow": true,
|
||||
"business": true,
|
||||
"authEndTime": null,
|
||||
"createTime": 1701134158000,
|
||||
"createAdminId": "f6da6faa2d50e7eff7b54bcdd55b0283",
|
||||
"updateTime": 1710490644000,
|
||||
"updateAdminId": null,
|
||||
"distance": 898.9
|
||||
}
|
||||
];
|
||||
// controller.model.experienceStoreModelList = [
|
||||
// {
|
||||
// "id": "5b82d1d9c33c74647e7624ec1db7918f",
|
||||
// "enabled": true,
|
||||
// "code": "3401002",
|
||||
// "name": "SWES眠花糖合肥省委大院体验店",
|
||||
// "customerId": null,
|
||||
// "setNetCustomerKid": null,
|
||||
// "customer": null,
|
||||
// "kingdeeId": "",
|
||||
// "channel": null,
|
||||
// "salePersonId": "ed648f977422a9f32a05b4892a3cb529",
|
||||
// "salePerson": null,
|
||||
// "deptId": 3,
|
||||
// "deptName": null,
|
||||
// "dept": null,
|
||||
// "introduction": "",
|
||||
// "mobile": "18156022846",
|
||||
// "hotline": "0551-64464894",
|
||||
// "city": "合肥市",
|
||||
// "district": "庐阳区",
|
||||
// "addressDetail": "合肥市庐阳区逍遥津街道南含山路与红星路交汇处",
|
||||
// "image": "",
|
||||
// "latitude": "31.858934",
|
||||
// "longitude": "117.282166",
|
||||
// "isDel": false,
|
||||
// "isAppShow": true,
|
||||
// "business": true,
|
||||
// "authEndTime": null,
|
||||
// "createTime": 1701133326000,
|
||||
// "createAdminId": "f6da6faa2d50e7eff7b54bcdd55b0283",
|
||||
// "updateTime": 1709193588000,
|
||||
// "updateAdminId": null,
|
||||
// "distance": 2.2
|
||||
// },
|
||||
// {
|
||||
// "id": "97603deebb83f610f73acf5d0def2bce",
|
||||
// "enabled": true,
|
||||
// "code": "3401003",
|
||||
// "name": "SWES眠花糖合肥安粮国贸体验店",
|
||||
// "customerId": null,
|
||||
// "setNetCustomerKid": null,
|
||||
// "customer": null,
|
||||
// "kingdeeId": "",
|
||||
// "channel": null,
|
||||
// "salePersonId": "69297c65588adde4ee5de3c43a2c4033",
|
||||
// "salePerson": null,
|
||||
// "deptId": 3,
|
||||
// "deptName": null,
|
||||
// "dept": null,
|
||||
// "introduction": "",
|
||||
// "mobile": "18655643429",
|
||||
// "hotline": "0551-65156985",
|
||||
// "city": "合肥市",
|
||||
// "district": "政务新区",
|
||||
// "addressDetail": "安徽省合肥市蜀山区合作化南路16号",
|
||||
// "image": "",
|
||||
// "latitude": "31.82018",
|
||||
// "longitude": "117.25367",
|
||||
// "isDel": false,
|
||||
// "isAppShow": true,
|
||||
// "business": true,
|
||||
// "authEndTime": null,
|
||||
// "createTime": 1701133473000,
|
||||
// "createAdminId": "f6da6faa2d50e7eff7b54bcdd55b0283",
|
||||
// "updateTime": 1709193752000,
|
||||
// "updateAdminId": null,
|
||||
// "distance": 3.5
|
||||
// },
|
||||
// {
|
||||
// "id": "b6b588d7ff6b248115ee3e5951cf39a1",
|
||||
// "enabled": true,
|
||||
// "code": "3301001",
|
||||
// "name": "SWES眠花糖杭州南星桥旗舰店",
|
||||
// "customerId": null,
|
||||
// "setNetCustomerKid": null,
|
||||
// "customer": null,
|
||||
// "kingdeeId": "",
|
||||
// "channel": null,
|
||||
// "salePersonId": "f3a5e7935f65e94bc5aa6b2d63211e61",
|
||||
// "salePerson": null,
|
||||
// "deptId": 33,
|
||||
// "deptName": null,
|
||||
// "dept": null,
|
||||
// "introduction": "",
|
||||
// "mobile": "15222919097",
|
||||
// "hotline": "0571-86718606",
|
||||
// "city": "杭州市",
|
||||
// "district": "上城区",
|
||||
// "addressDetail": "浙江省杭州市上城区飞云江路45号一层102室",
|
||||
// "image": "",
|
||||
// "latitude": "30.21667",
|
||||
// "longitude": "120.17757",
|
||||
// "isDel": false,
|
||||
// "isAppShow": true,
|
||||
// "business": true,
|
||||
// "authEndTime": null,
|
||||
// "createTime": 1701135379000,
|
||||
// "createAdminId": "f6da6faa2d50e7eff7b54bcdd55b0283",
|
||||
// "updateTime": 1709194185000,
|
||||
// "updateAdminId": null,
|
||||
// "distance": 332.1
|
||||
// },
|
||||
// {
|
||||
// "id": "38fdbb715dc7bfddae3e32685c288e49",
|
||||
// "enabled": true,
|
||||
// "code": "3102001",
|
||||
// "name": "SWES眠花糖上海复兴荟旗舰店",
|
||||
// "customerId": null,
|
||||
// "setNetCustomerKid": null,
|
||||
// "customer": null,
|
||||
// "kingdeeId": "",
|
||||
// "channel": null,
|
||||
// "salePersonId": "4ae944badb423197bc54c0a6ec252944",
|
||||
// "salePerson": null,
|
||||
// "deptId": 32,
|
||||
// "deptName": null,
|
||||
// "dept": null,
|
||||
// "introduction": "",
|
||||
// "mobile": "13053037959",
|
||||
// "hotline": "021-63391962",
|
||||
// "city": "上海市",
|
||||
// "district": "黄浦区",
|
||||
// "addressDetail": "上海市黄浦区复兴东路1108号1层-1室",
|
||||
// "image": "",
|
||||
// "latitude": "31.22209",
|
||||
// "longitude": "121.494667",
|
||||
// "isDel": false,
|
||||
// "isAppShow": true,
|
||||
// "business": true,
|
||||
// "authEndTime": null,
|
||||
// "createTime": 1701135192000,
|
||||
// "createAdminId": "f6da6faa2d50e7eff7b54bcdd55b0283",
|
||||
// "updateTime": 1709194151000,
|
||||
// "updateAdminId": null,
|
||||
// "distance": 407.3
|
||||
// },
|
||||
// {
|
||||
// "id": "af908e6c5d1a2c8113b1c73117e15064",
|
||||
// "enabled": true,
|
||||
// "code": "3101001",
|
||||
// "name": "SWES眠花糖上海外滩九里体验店",
|
||||
// "customerId": null,
|
||||
// "setNetCustomerKid": null,
|
||||
// "customer": null,
|
||||
// "kingdeeId": "",
|
||||
// "channel": null,
|
||||
// "salePersonId": "1794f729f27ad4a44afad10061446dd5",
|
||||
// "salePerson": null,
|
||||
// "deptId": 31,
|
||||
// "deptName": null,
|
||||
// "dept": null,
|
||||
// "introduction": "",
|
||||
// "mobile": "13856414205",
|
||||
// "hotline": "021-63391208",
|
||||
// "city": "上海市",
|
||||
// "district": "黄浦区",
|
||||
// "addressDetail": "上海市黄浦区紫霞路103-107号1层103-12室",
|
||||
// "image": "",
|
||||
// "latitude": "31.218434",
|
||||
// "longitude": "121.502098",
|
||||
// "isDel": false,
|
||||
// "isAppShow": true,
|
||||
// "business": true,
|
||||
// "authEndTime": null,
|
||||
// "createTime": 1701134886000,
|
||||
// "createAdminId": "f6da6faa2d50e7eff7b54bcdd55b0283",
|
||||
// "updateTime": 1709194053000,
|
||||
// "updateAdminId": null,
|
||||
// "distance": 408.1
|
||||
// },
|
||||
// {
|
||||
// "id": "a5f1fc9a03ba827841c473e28a3fcdb2",
|
||||
// "enabled": true,
|
||||
// "code": "3101002",
|
||||
// "name": "SWES眠花糖上海尚悦湾旗舰店",
|
||||
// "customerId": null,
|
||||
// "setNetCustomerKid": null,
|
||||
// "customer": null,
|
||||
// "kingdeeId": "",
|
||||
// "channel": null,
|
||||
// "salePersonId": "d97ec48ee3b1060eb7ff5c81f0ffa37f",
|
||||
// "salePerson": null,
|
||||
// "deptId": 31,
|
||||
// "deptName": null,
|
||||
// "dept": null,
|
||||
// "introduction": "",
|
||||
// "mobile": "19523660595",
|
||||
// "hotline": "021-63336707",
|
||||
// "city": "上海市",
|
||||
// "district": "浦东新区",
|
||||
// "addressDetail": "上海市浦东新区银城路66号",
|
||||
// "image": "",
|
||||
// "latitude": "31.24103",
|
||||
// "longitude": "121.51045",
|
||||
// "isDel": false,
|
||||
// "isAppShow": true,
|
||||
// "business": true,
|
||||
// "authEndTime": null,
|
||||
// "createTime": 1701135694000,
|
||||
// "createAdminId": "f6da6faa2d50e7eff7b54bcdd55b0283",
|
||||
// "updateTime": 1709194087000,
|
||||
// "updateAdminId": null,
|
||||
// "distance": 408.4
|
||||
// },
|
||||
// {
|
||||
// "id": "21ddfb547060e930f841605dc4469bec",
|
||||
// "enabled": true,
|
||||
// "code": "1101001",
|
||||
// "name": "SWES眠花糖北京富力城旗舰店",
|
||||
// "customerId": null,
|
||||
// "setNetCustomerKid": null,
|
||||
// "customer": null,
|
||||
// "kingdeeId": "",
|
||||
// "channel": null,
|
||||
// "salePersonId": "b66028a628ce0fcb871ab7db5c17128e",
|
||||
// "salePerson": null,
|
||||
// "deptId": 11,
|
||||
// "deptName": null,
|
||||
// "dept": null,
|
||||
// "introduction": "",
|
||||
// "mobile": "15556119960",
|
||||
// "hotline": "010-58766288",
|
||||
// "city": "北京市",
|
||||
// "district": "朝阳区",
|
||||
// "addressDetail": "北京市朝阳区天力街3号楼1至2层商业12号",
|
||||
// "image": "",
|
||||
// "latitude": "39.89862",
|
||||
// "longitude": "116.45851",
|
||||
// "isDel": false,
|
||||
// "isAppShow": false,
|
||||
// "business": true,
|
||||
// "authEndTime": null,
|
||||
// "createTime": 1701134049000,
|
||||
// "createAdminId": "f6da6faa2d50e7eff7b54bcdd55b0283",
|
||||
// "updateTime": 1733193484000,
|
||||
// "updateAdminId": null,
|
||||
// "distance": 897.7
|
||||
// },
|
||||
// {
|
||||
// "id": "432bfdf508115827c5dca474b72dea68",
|
||||
// "enabled": true,
|
||||
// "code": "1102001",
|
||||
// "name": "SWES眠花糖北京英皇中心旗舰店",
|
||||
// "customerId": null,
|
||||
// "setNetCustomerKid": null,
|
||||
// "customer": null,
|
||||
// "kingdeeId": "",
|
||||
// "channel": null,
|
||||
// "salePersonId": "155848302d5b6f2768111574f0161816",
|
||||
// "salePerson": null,
|
||||
// "deptId": 12,
|
||||
// "deptName": null,
|
||||
// "dept": null,
|
||||
// "introduction": "",
|
||||
// "mobile": "18225602774",
|
||||
// "hotline": "010-53269059",
|
||||
// "city": "北京市",
|
||||
// "district": "朝阳区",
|
||||
// "addressDetail": "北京市朝阳区建国门外大街丁12号",
|
||||
// "image": "",
|
||||
// "latitude": "39.907911",
|
||||
// "longitude": "116.444584",
|
||||
// "isDel": false,
|
||||
// "isAppShow": true,
|
||||
// "business": true,
|
||||
// "authEndTime": null,
|
||||
// "createTime": 1701134158000,
|
||||
// "createAdminId": "f6da6faa2d50e7eff7b54bcdd55b0283",
|
||||
// "updateTime": 1710490644000,
|
||||
// "updateAdminId": null,
|
||||
// "distance": 898.9
|
||||
// }
|
||||
// ];
|
||||
|
||||
bodysize = cc;
|
||||
|
||||
return GestureDetector(
|
||||
@@ -411,6 +417,7 @@ class ExperienceStorePage extends GetView<ExperienceStoreListController> {
|
||||
},
|
||||
),
|
||||
),
|
||||
|
||||
Obx(() {
|
||||
if (controller
|
||||
.model.experienceStoreModelList.length ==
|
||||
@@ -420,6 +427,7 @@ class ExperienceStorePage extends GetView<ExperienceStoreListController> {
|
||||
return Container();
|
||||
}
|
||||
}),
|
||||
|
||||
Expanded(
|
||||
child: Obx(() => ListView(
|
||||
controller: scrollController,
|
||||
|
||||
@@ -188,27 +188,23 @@ class ExperienceStoreWidget extends GetView {
|
||||
child: InkWell(
|
||||
onTap: () async {
|
||||
//"latitude" -> "31.858934" "longitude" -> "117.282166"
|
||||
// AppMapLocation.checkInstalledApps()
|
||||
// .then((d) {
|
||||
// if (AppMapLocation
|
||||
// .availableMapsToNames.isEmpty) {
|
||||
// showToast("未检测到导航软件");
|
||||
// } else {
|
||||
// showOneSelectionDialog(context,
|
||||
// title: "选择地图",
|
||||
// arr: AppMapLocation
|
||||
// .availableMapsToNames,
|
||||
// checkChange: (index) {
|
||||
// AppMapLocation.launchMap(
|
||||
// index,
|
||||
// data["name"],
|
||||
// double.parse(
|
||||
// "${data["latitude"]}"),
|
||||
// double.parse(
|
||||
// "${data["longitude"]}"));
|
||||
// });
|
||||
// }
|
||||
// });
|
||||
AppMapLocation.checkInstalledApps().then((d) {
|
||||
if (AppMapLocation
|
||||
.availableMapsToNames.isEmpty) {
|
||||
showToast("未检测到导航软件");
|
||||
} else {
|
||||
showOneSelectionDialog(context,
|
||||
title: "选择地图",
|
||||
arr: AppMapLocation.availableMapsToNames,
|
||||
checkChange: (index) {
|
||||
AppMapLocation.launchMap(
|
||||
index,
|
||||
data["name"],
|
||||
double.parse("${data["latitude"]}"),
|
||||
double.parse("${data["longitude"]}"));
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
child: Container(
|
||||
width: MediaQuery.sizeOf(context).width * 0.105,
|
||||
|
||||
@@ -281,7 +281,7 @@ class _MinePageState extends State<NewMinePage> {
|
||||
children: [
|
||||
_buildListTile('assets/img/icon/order.svg',
|
||||
'我的订单', '快捷查看我在网上的订单记录',
|
||||
showTopLine: true, path: "/issueListpage"),
|
||||
showTopLine: true, path: ""),
|
||||
_buildListTile('assets/img/icon/store.svg',
|
||||
'门店体验', '如果想免费体验智能设备,可在此进行提前预约',
|
||||
path: "/experienceStorePage"),
|
||||
@@ -293,7 +293,7 @@ class _MinePageState extends State<NewMinePage> {
|
||||
),
|
||||
_buildListTile('assets/img/icon/mall.svg', '网上商城',
|
||||
'最新的智能产品线上购买服务',
|
||||
path: "/issueListpage"),
|
||||
path: ""),
|
||||
_buildListTile('assets/img/icon/address.svg',
|
||||
'地址管理', '用于收货和报修时联系您',
|
||||
path: "/addressListPage"),
|
||||
@@ -304,7 +304,7 @@ class _MinePageState extends State<NewMinePage> {
|
||||
'assets/img/icon/customer_service.svg',
|
||||
'在线客服',
|
||||
'购买和使用智能床过程中,如果遇到疑问可与客服进行联系',
|
||||
path: "/issueListpage"),
|
||||
path: ""),
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -345,15 +345,19 @@ class _MinePageState extends State<NewMinePage> {
|
||||
highlightColor: Colors.white,
|
||||
padding: EdgeInsets.all(0.rpx),
|
||||
onTap: () {
|
||||
Get.toNamed(path!);
|
||||
if (path == null || path.isEmpty) {
|
||||
TopSlideNotification.show(context, text: "待开发功能".tr);
|
||||
} else {
|
||||
Get.toNamed(path);
|
||||
}
|
||||
},
|
||||
child: Container(
|
||||
decoration: BoxDecoration(
|
||||
border: Border(
|
||||
top: showTopLine
|
||||
? BorderSide(color: Color(0xFF929699), width: 2.rpx)
|
||||
? BorderSide(color: Color(0xFF929699), width: 0.5.rpx)
|
||||
: BorderSide.none,
|
||||
bottom: BorderSide(color: Color(0xFF929699), width: 2.rpx),
|
||||
bottom: BorderSide(color: Color(0xFF929699), width: 0.5.rpx),
|
||||
),
|
||||
),
|
||||
height: 116.rpx,
|
||||
|
||||
@@ -35,7 +35,7 @@ class _PeopleInfoState extends State<PeopleInfoPage> {
|
||||
// }
|
||||
|
||||
getLine() {
|
||||
return Container(height: 0.5.rpx, color: Color(0xFFD8D8D8));
|
||||
return Container(height: 0.5.rpx, color: Color(0xFF929699));
|
||||
}
|
||||
|
||||
@override
|
||||
|
||||
@@ -158,10 +158,10 @@ class RepairHistoryWidget extends GetView<RepairInfoController> {
|
||||
// color: const Color(0xFF06486F),
|
||||
border: Border(
|
||||
top: index == 0
|
||||
? BorderSide(color: const Color(0xFF929699), width: 1.rpx)
|
||||
? BorderSide(color: const Color(0xFF929699), width: 0.5.rpx)
|
||||
: BorderSide.none,
|
||||
bottom:
|
||||
BorderSide(color: const Color(0xFF929699), width: 1.rpx),
|
||||
BorderSide(color: const Color(0xFF929699), width: 0.5.rpx),
|
||||
),
|
||||
),
|
||||
child: Padding(
|
||||
|
||||
@@ -13,13 +13,6 @@ class Smys extends GetView<SleepingHabitController> {
|
||||
|
||||
// get glController => Get.find<GlobalController>();
|
||||
|
||||
getLine() {
|
||||
return Container(
|
||||
height: 1,
|
||||
color: stringToColor("#152676"),
|
||||
);
|
||||
}
|
||||
|
||||
// updateParm(
|
||||
// {int time = 2, bool isShowToast = true, Function? errorccCallback = null}) {
|
||||
// ApiService.request
|
||||
@@ -87,7 +80,7 @@ class Smys extends GetView<SleepingHabitController> {
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
|
||||
actions: [],
|
||||
centerTitle: false,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user