|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter_screenutil/screenutil.dart';
|
|
|
|
import 'package:one_key/constant/state.dart';
|
|
|
|
import 'package:one_key/models/customer_label_model.dart';
|
|
|
|
import 'package:one_key/models/guest_info_model.dart';
|
|
|
|
import 'package:one_key/provider/customer_provider.dart';
|
|
|
|
import 'package:one_key/provider/user_model.dart';
|
|
|
|
import 'package:one_key/res/colors.dart';
|
|
|
|
import 'package:one_key/utils/dialog_util.dart';
|
|
|
|
import 'package:one_key/utils/event_bus.dart';
|
|
...
|
...
|
@@ -43,6 +45,7 @@ class _CustomerDetailEditPageState extends State<CustomerDetailEditPage> { |
|
|
|
|
|
|
|
CustomerProvider customerProvider;
|
|
|
|
String labelShow = '';
|
|
|
|
ScrollController scrollController = ScrollController();
|
|
|
|
@override
|
|
|
|
void initState() {
|
|
|
|
super.initState();
|
|
...
|
...
|
@@ -80,9 +83,28 @@ class _CustomerDetailEditPageState extends State<CustomerDetailEditPage> { |
|
|
|
fwController.text = widget.guest.serve ?? '';
|
|
|
|
labelShow = widget.guest.label ?? '';
|
|
|
|
setState(() {});
|
|
|
|
_getLabelBySellerid();
|
|
|
|
// scrollController.jumpTo(scrollController.position.minScrollExtent);
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
///获取商家标签
|
|
|
|
_getLabelBySellerid() async {
|
|
|
|
Map<String, String> params = {
|
|
|
|
"sellerid": Provider.of<UserModel>(context, listen: false).user.sellerid,
|
|
|
|
};
|
|
|
|
List<CustomerLabelSunModel> modelLabel =
|
|
|
|
await customerProvider.getLabelBySellerid(context, params);
|
|
|
|
|
|
|
|
if (modelLabel.length > 0) {
|
|
|
|
for (int i = 0; i < customerProvider.labelList.length; i++) {
|
|
|
|
if (labelShow == customerProvider.labelList[i].label) {
|
|
|
|
customerProvider.labelSelIndex = i;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
_setGuestInfo() async {
|
|
|
|
if (nameStr.trim().length == 0) {
|
|
|
|
Utils.showToast('请填写客户姓名');
|
|
...
|
...
|
@@ -115,7 +137,7 @@ class _CustomerDetailEditPageState extends State<CustomerDetailEditPage> { |
|
|
|
params['position'] = positionController.text;
|
|
|
|
}
|
|
|
|
if (labelShow != '') {
|
|
|
|
// params['label'] =
|
|
|
|
params['label'] = labelShow;
|
|
|
|
}
|
|
|
|
if (jkController.text.trim().length > 0) {
|
|
|
|
params['taboos'] = jkController.text;
|
|
...
|
...
|
@@ -365,251 +387,260 @@ class _CustomerDetailEditPageState extends State<CustomerDetailEditPage> { |
|
|
|
child: Padding(
|
|
|
|
padding: EdgeInsets.symmetric(
|
|
|
|
horizontal: ScreenUtil().setWidth(50)),
|
|
|
|
child: SingleChildScrollView(
|
|
|
|
child: Column(
|
|
|
|
children: [
|
|
|
|
// VEmptyView(30),
|
|
|
|
Container(
|
|
|
|
// height: ScreenUtil().setWidth(60),
|
|
|
|
padding: EdgeInsets.symmetric(
|
|
|
|
vertical: ScreenUtil().setWidth(10)),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
border: Border(
|
|
|
|
bottom: BorderSide(
|
|
|
|
width: ScreenUtil().setWidth(2),
|
|
|
|
color:
|
|
|
|
Color.fromRGBO(220, 220, 220, 1)))),
|
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
// color: Colors.red,
|
|
|
|
width: ScreenUtil().setWidth(150),
|
|
|
|
height: ScreenUtil().setWidth(35),
|
|
|
|
child: Text(
|
|
|
|
'姓名',
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: ScreenUtil().setSp(28),
|
|
|
|
color: MyColours.color_333333),
|
|
|
|
),
|
|
|
|
child: ListView(
|
|
|
|
controller: scrollController,
|
|
|
|
children: [
|
|
|
|
// VEmptyView(30),
|
|
|
|
Container(
|
|
|
|
// height: ScreenUtil().setWidth(60),
|
|
|
|
padding: EdgeInsets.symmetric(
|
|
|
|
vertical: ScreenUtil().setWidth(10)),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
border: Border(
|
|
|
|
bottom: BorderSide(
|
|
|
|
width: ScreenUtil().setWidth(2),
|
|
|
|
color:
|
|
|
|
Color.fromRGBO(220, 220, 220, 1)))),
|
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
// color: Colors.red,
|
|
|
|
width: ScreenUtil().setWidth(150),
|
|
|
|
height: ScreenUtil().setWidth(35),
|
|
|
|
child: Text(
|
|
|
|
'姓名',
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: ScreenUtil().setSp(28),
|
|
|
|
color: MyColours.color_333333),
|
|
|
|
),
|
|
|
|
Expanded(
|
|
|
|
child: TextField(
|
|
|
|
maxLines: 1,
|
|
|
|
),
|
|
|
|
Expanded(
|
|
|
|
child: TextField(
|
|
|
|
maxLines: 1,
|
|
|
|
|
|
|
|
//输入文本的样式
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: ScreenUtil().setSp(30),
|
|
|
|
color: MyColours.color_353535),
|
|
|
|
controller: nameController,
|
|
|
|
focusNode: nameFocus,
|
|
|
|
// textAlignVertical: TextAlignVertical.top,
|
|
|
|
decoration: InputDecoration(
|
|
|
|
hintText: "填写姓名",
|
|
|
|
hintStyle: TextStyle(
|
|
|
|
color: MyColours.color_999999,
|
|
|
|
fontSize: ScreenUtil().setSp(30),
|
|
|
|
),
|
|
|
|
// contentPadding:
|
|
|
|
// EdgeInsets.only(bottom: ScreenUtil().setWidth(17)),
|
|
|
|
contentPadding: EdgeInsets.zero,
|
|
|
|
border: OutlineInputBorder(
|
|
|
|
borderSide: BorderSide.none),
|
|
|
|
//输入文本的样式
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: ScreenUtil().setSp(30),
|
|
|
|
color: MyColours.color_353535),
|
|
|
|
controller: nameController,
|
|
|
|
focusNode: nameFocus,
|
|
|
|
// textAlignVertical: TextAlignVertical.top,
|
|
|
|
decoration: InputDecoration(
|
|
|
|
hintText: "填写姓名",
|
|
|
|
hintStyle: TextStyle(
|
|
|
|
color: MyColours.color_999999,
|
|
|
|
fontSize: ScreenUtil().setSp(30),
|
|
|
|
),
|
|
|
|
onChanged: (value) {
|
|
|
|
print('ggg');
|
|
|
|
|
|
|
|
if (value.endsWith('先生') ||
|
|
|
|
value.endsWith('女士') ||
|
|
|
|
value.endsWith('公司')) {
|
|
|
|
nameStr = value.substring(
|
|
|
|
0, value.length - 2);
|
|
|
|
} else {
|
|
|
|
nameStr = value;
|
|
|
|
}
|
|
|
|
},
|
|
|
|
onEditingComplete: () {
|
|
|
|
print('fff');
|
|
|
|
nameFocus.unfocus();
|
|
|
|
// _homeEnterModel.nameController.text =
|
|
|
|
// nameStr + _nameSuffix();
|
|
|
|
_addNameSuffix(nameStr, _nameSuffix());
|
|
|
|
},
|
|
|
|
keyboardType: TextInputType.text,
|
|
|
|
// contentPadding:
|
|
|
|
// EdgeInsets.only(bottom: ScreenUtil().setWidth(17)),
|
|
|
|
contentPadding: EdgeInsets.zero,
|
|
|
|
border: OutlineInputBorder(
|
|
|
|
borderSide: BorderSide.none),
|
|
|
|
),
|
|
|
|
onChanged: (value) {
|
|
|
|
print('ggg');
|
|
|
|
|
|
|
|
if (value.endsWith('先生') ||
|
|
|
|
value.endsWith('女士') ||
|
|
|
|
value.endsWith('公司')) {
|
|
|
|
nameStr =
|
|
|
|
value.substring(0, value.length - 2);
|
|
|
|
} else {
|
|
|
|
nameStr = value;
|
|
|
|
}
|
|
|
|
},
|
|
|
|
onEditingComplete: () {
|
|
|
|
print('fff');
|
|
|
|
nameFocus.unfocus();
|
|
|
|
// _homeEnterModel.nameController.text =
|
|
|
|
// nameStr + _nameSuffix();
|
|
|
|
_addNameSuffix(nameStr, _nameSuffix());
|
|
|
|
},
|
|
|
|
keyboardType: TextInputType.text,
|
|
|
|
),
|
|
|
|
// HEmptyView(40),
|
|
|
|
Row(
|
|
|
|
children: sexList.map((value) {
|
|
|
|
return _callButton(
|
|
|
|
onPress: () {
|
|
|
|
for (var item in sexList) {
|
|
|
|
item['select'] = false;
|
|
|
|
if (item['title'] == value['title']) {
|
|
|
|
item['select'] = true;
|
|
|
|
// _homeEnterModel.nameController.text =
|
|
|
|
// nameStr + item['title'];
|
|
|
|
if (nameStr != null &&
|
|
|
|
nameStr != '') {
|
|
|
|
_addNameSuffix(
|
|
|
|
nameStr, item['title']);
|
|
|
|
}
|
|
|
|
),
|
|
|
|
// HEmptyView(40),
|
|
|
|
Row(
|
|
|
|
children: sexList.map((value) {
|
|
|
|
return _callButton(
|
|
|
|
onPress: () {
|
|
|
|
for (var item in sexList) {
|
|
|
|
item['select'] = false;
|
|
|
|
if (item['title'] == value['title']) {
|
|
|
|
item['select'] = true;
|
|
|
|
// _homeEnterModel.nameController.text =
|
|
|
|
// nameStr + item['title'];
|
|
|
|
if (nameStr != null &&
|
|
|
|
nameStr != '') {
|
|
|
|
_addNameSuffix(
|
|
|
|
nameStr, item['title']);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
setState(() {});
|
|
|
|
},
|
|
|
|
content: value['title'],
|
|
|
|
hasLeftBorder: value['hasLeftBorder'],
|
|
|
|
isSelect: value['select']);
|
|
|
|
}).toList()),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
}
|
|
|
|
setState(() {});
|
|
|
|
},
|
|
|
|
content: value['title'],
|
|
|
|
hasLeftBorder: value['hasLeftBorder'],
|
|
|
|
isSelect: value['select']);
|
|
|
|
}).toList()),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
_textfieldWidget(
|
|
|
|
'电话', '填写电话', phoneController, phoneFocus),
|
|
|
|
_textfieldWidget(
|
|
|
|
'工作单位', '填写工作单位', adressController, adressFocus),
|
|
|
|
_textfieldWidget('部门', '填写部门', departmentController,
|
|
|
|
departmentFocus),
|
|
|
|
_textfieldWidget(
|
|
|
|
'职位', '填写职位', positionController, positionFocus),
|
|
|
|
InkWell(
|
|
|
|
onTap: () {
|
|
|
|
FocusScope.of(context)
|
|
|
|
.requestFocus(FocusNode()); //隐藏键盘
|
|
|
|
// DialogUtil.showSelectCusmanDialog(
|
|
|
|
// context, couponList, (value) {
|
|
|
|
// if (value != null) {
|
|
|
|
// setState(() {
|
|
|
|
// couponSelectIndex = value.first;
|
|
|
|
// });
|
|
|
|
// }
|
|
|
|
// },
|
|
|
|
// selecteds: couponSelectIndex == null
|
|
|
|
// ? []
|
|
|
|
// : [couponSelectIndex])
|
|
|
|
// .then((value) {});
|
|
|
|
),
|
|
|
|
_textfieldWidget(
|
|
|
|
'电话', '填写电话', phoneController, phoneFocus),
|
|
|
|
_textfieldWidget(
|
|
|
|
'工作单位', '填写工作单位', adressController, adressFocus),
|
|
|
|
_textfieldWidget('部门', '填写部门', departmentController,
|
|
|
|
departmentFocus),
|
|
|
|
_textfieldWidget(
|
|
|
|
'职位', '填写职位', positionController, positionFocus),
|
|
|
|
InkWell(
|
|
|
|
onTap: () {
|
|
|
|
FocusScope.of(context)
|
|
|
|
.requestFocus(FocusNode()); //隐藏键盘
|
|
|
|
DialogUtil.showSelectCusmanDialog(
|
|
|
|
context,
|
|
|
|
customerProvider.labelList.map((item) {
|
|
|
|
return item.label;
|
|
|
|
}).toList(), (value) {
|
|
|
|
if (value != null) {
|
|
|
|
setState(() {
|
|
|
|
customerProvider.labelSelIndex =
|
|
|
|
value.first;
|
|
|
|
labelShow = customerProvider
|
|
|
|
.labelList[
|
|
|
|
customerProvider.labelSelIndex]
|
|
|
|
.label;
|
|
|
|
});
|
|
|
|
}
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
// height: ScreenUtil().setWidth(60),
|
|
|
|
padding: EdgeInsets.symmetric(
|
|
|
|
vertical: ScreenUtil().setWidth(50)),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
border: Border(
|
|
|
|
bottom: BorderSide(
|
|
|
|
width: ScreenUtil().setWidth(2),
|
|
|
|
color: Color.fromRGBO(
|
|
|
|
220, 220, 220, 1)))),
|
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment:
|
|
|
|
MainAxisAlignment.spaceBetween,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
// color: Colors.red,
|
|
|
|
width: ScreenUtil().setWidth(150),
|
|
|
|
height: ScreenUtil().setWidth(35),
|
|
|
|
selecteds:
|
|
|
|
customerProvider.labelSelIndex == null
|
|
|
|
? []
|
|
|
|
: [
|
|
|
|
customerProvider.labelSelIndex
|
|
|
|
])
|
|
|
|
.then((value) {});
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
// height: ScreenUtil().setWidth(60),
|
|
|
|
padding: EdgeInsets.symmetric(
|
|
|
|
vertical: ScreenUtil().setWidth(50)),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
border: Border(
|
|
|
|
bottom: BorderSide(
|
|
|
|
width: ScreenUtil().setWidth(2),
|
|
|
|
color: Color.fromRGBO(
|
|
|
|
220, 220, 220, 1)))),
|
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment:
|
|
|
|
MainAxisAlignment.spaceBetween,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
// color: Colors.red,
|
|
|
|
width: ScreenUtil().setWidth(150),
|
|
|
|
height: ScreenUtil().setWidth(35),
|
|
|
|
child: Text(
|
|
|
|
'自定义标签',
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: ScreenUtil().setSp(28),
|
|
|
|
color: MyColours.color_333333),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Expanded(
|
|
|
|
child: Text(
|
|
|
|
'自定义标签',
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: ScreenUtil().setSp(28),
|
|
|
|
color: MyColours.color_333333),
|
|
|
|
),
|
|
|
|
labelShow,
|
|
|
|
overflow: TextOverflow.ellipsis,
|
|
|
|
style: TextStyle(
|
|
|
|
color: Color.fromRGBO(193, 194, 63, 1),
|
|
|
|
fontSize: ScreenUtil().setSp(28),
|
|
|
|
),
|
|
|
|
Expanded(
|
|
|
|
)),
|
|
|
|
HEmptyView(10),
|
|
|
|
Image.asset(
|
|
|
|
Utils.getImgPath(showLabel
|
|
|
|
? 'c_arrow_up'
|
|
|
|
: 'c_arrow_down'),
|
|
|
|
width: ScreenUtil().setWidth(24),
|
|
|
|
// height: ScreenUtil().setWidth(10),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
widget.fromPage == FromPage.FromPageMyCustomer
|
|
|
|
? SizedBox()
|
|
|
|
: InkWell(
|
|
|
|
onTap: () {
|
|
|
|
// DialogUtil.showSelectCusmanDialog(
|
|
|
|
// context, couponList, (value) {
|
|
|
|
// if (value != null) {
|
|
|
|
// setState(() {
|
|
|
|
// couponSelectIndex = value.first;
|
|
|
|
// });
|
|
|
|
// }
|
|
|
|
// },
|
|
|
|
// selecteds: couponSelectIndex == null
|
|
|
|
// ? []
|
|
|
|
// : [couponSelectIndex])
|
|
|
|
// .then((value) {});
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
// height: ScreenUtil().setWidth(60),
|
|
|
|
padding: EdgeInsets.symmetric(
|
|
|
|
vertical: ScreenUtil().setWidth(50)),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
border: Border(
|
|
|
|
bottom: BorderSide(
|
|
|
|
width: ScreenUtil().setWidth(2),
|
|
|
|
color: Color.fromRGBO(
|
|
|
|
220, 220, 220, 1)))),
|
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment:
|
|
|
|
MainAxisAlignment.spaceBetween,
|
|
|
|
crossAxisAlignment:
|
|
|
|
CrossAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
// color: Colors.red,
|
|
|
|
width: ScreenUtil().setWidth(150),
|
|
|
|
height: ScreenUtil().setWidth(35),
|
|
|
|
child: Text(
|
|
|
|
labelShow,
|
|
|
|
overflow: TextOverflow.ellipsis,
|
|
|
|
style: TextStyle(
|
|
|
|
color: Color.fromRGBO(193, 194, 63, 1),
|
|
|
|
fontSize: ScreenUtil().setSp(28),
|
|
|
|
'客户经理',
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: ScreenUtil().setSp(28),
|
|
|
|
color: MyColours.color_333333),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
HEmptyView(10),
|
|
|
|
Image.asset(
|
|
|
|
Utils.getImgPath(showLabel
|
|
|
|
? 'c_arrow_up'
|
|
|
|
: 'c_arrow_down'),
|
|
|
|
width: ScreenUtil().setWidth(24),
|
|
|
|
// height: ScreenUtil().setWidth(10),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
widget.fromPage == FromPage.FromPageMyCustomer
|
|
|
|
? SizedBox()
|
|
|
|
: InkWell(
|
|
|
|
onTap: () {
|
|
|
|
// DialogUtil.showSelectCusmanDialog(
|
|
|
|
// context, couponList, (value) {
|
|
|
|
// if (value != null) {
|
|
|
|
// setState(() {
|
|
|
|
// couponSelectIndex = value.first;
|
|
|
|
// });
|
|
|
|
// }
|
|
|
|
// },
|
|
|
|
// selecteds: couponSelectIndex == null
|
|
|
|
// ? []
|
|
|
|
// : [couponSelectIndex])
|
|
|
|
// .then((value) {});
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
// height: ScreenUtil().setWidth(60),
|
|
|
|
padding: EdgeInsets.symmetric(
|
|
|
|
vertical: ScreenUtil().setWidth(50)),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
border: Border(
|
|
|
|
bottom: BorderSide(
|
|
|
|
width: ScreenUtil().setWidth(2),
|
|
|
|
color: Color.fromRGBO(
|
|
|
|
220, 220, 220, 1)))),
|
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment:
|
|
|
|
MainAxisAlignment.spaceBetween,
|
|
|
|
crossAxisAlignment:
|
|
|
|
CrossAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
// color: Colors.red,
|
|
|
|
width: ScreenUtil().setWidth(150),
|
|
|
|
height: ScreenUtil().setWidth(35),
|
|
|
|
Expanded(
|
|
|
|
child: Text(
|
|
|
|
'客户经理',
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize:
|
|
|
|
ScreenUtil().setSp(28),
|
|
|
|
color: MyColours.color_333333),
|
|
|
|
),
|
|
|
|
'xxxj',
|
|
|
|
overflow: TextOverflow.ellipsis,
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_333333,
|
|
|
|
fontSize: ScreenUtil().setSp(28),
|
|
|
|
),
|
|
|
|
Expanded(
|
|
|
|
child: Text(
|
|
|
|
'xxxj',
|
|
|
|
overflow: TextOverflow.ellipsis,
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_333333,
|
|
|
|
fontSize: ScreenUtil().setSp(28),
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
HEmptyView(10),
|
|
|
|
Image.asset(
|
|
|
|
Utils.getImgPath(showLabel
|
|
|
|
? 'c_arrow_up'
|
|
|
|
: 'c_arrow_down'),
|
|
|
|
width: ScreenUtil().setWidth(24),
|
|
|
|
// height: ScreenUtil().setWidth(10),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
VEmptyView(60),
|
|
|
|
_textMulLine('忌口', '输入忌口的东西', jkController),
|
|
|
|
VEmptyView(30),
|
|
|
|
_textMulLine('喜好', '输入喜好', xhController),
|
|
|
|
VEmptyView(30),
|
|
|
|
_textMulLine('服务', '输入服务', fwController),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
HEmptyView(10),
|
|
|
|
Image.asset(
|
|
|
|
Utils.getImgPath(showLabel
|
|
|
|
? 'c_arrow_up'
|
|
|
|
: 'c_arrow_down'),
|
|
|
|
width: ScreenUtil().setWidth(24),
|
|
|
|
// height: ScreenUtil().setWidth(10),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
VEmptyView(60),
|
|
|
|
_textMulLine('忌口', '输入忌口的东西', jkController),
|
|
|
|
VEmptyView(30),
|
|
|
|
_textMulLine('喜好', '输入喜好', xhController),
|
|
|
|
VEmptyView(30),
|
|
|
|
_textMulLine('服务', '输入服务', fwController),
|
|
|
|
],
|
|
|
|
))),
|
|
|
|
RoundButton(
|
|
|
|
text: '保存',
|
...
|
...
|
|