diff --git a/bytedesk_kefu/lib/ui/chat/page/chat_kf_page.dart b/bytedesk_kefu/lib/ui/chat/page/chat_kf_page.dart index bddc234..b44c342 100755 --- a/bytedesk_kefu/lib/ui/chat/page/chat_kf_page.dart +++ b/bytedesk_kefu/lib/ui/chat/page/chat_kf_page.dart @@ -128,7 +128,10 @@ class _ChatKFPageState extends State BytedeskUtils.goodsInfo.addListener(() { print('发生改变!!!!!!!!!!'); + print('customGoods'+customGoods); + print('BytedeskUtils.goodsInfo.value'+BytedeskUtils.goodsInfo.value); customGoods = BytedeskUtils.goodsInfo.value; + print('BytedeskUtils.goodsInfo.value'+BytedeskUtils.goodsInfo.value); _goodsSubmitted(); }); diff --git a/bytedesk_kefu/lib/ui/chat/widget/message_widget.dart b/bytedesk_kefu/lib/ui/chat/widget/message_widget.dart index be80b64..b1444d4 100755 --- a/bytedesk_kefu/lib/ui/chat/widget/message_widget.dart +++ b/bytedesk_kefu/lib/ui/chat/widget/message_widget.dart @@ -677,6 +677,7 @@ class MessageWidget extends StatelessWidget { child: Text( title, maxLines: 2, + style: TextStyle(color: Color(0xFF333333)), overflow: TextOverflow.ellipsis, ), ), @@ -689,15 +690,15 @@ class MessageWidget extends StatelessWidget { overflow: TextOverflow.ellipsis, ), ), - // Container( - // margin: EdgeInsets.only(top: 10, left: 8), - // child: Text( - // '$content', - // style: TextStyle(fontSize: 12, color: Colors.grey), - // maxLines: 1, - // overflow: TextOverflow.ellipsis, - // ), - // ) + Container( + margin: EdgeInsets.only(top: 10, left: 8), + child: Text( + '$content', + style: TextStyle(fontSize: 12, color: Colors.grey), + maxLines: 1, + overflow: TextOverflow.ellipsis, + ), + ) // Gaps.vGap4, ], ), diff --git a/bytedesk_kefu/lib/ui/widget/chat_input.dart b/bytedesk_kefu/lib/ui/widget/chat_input.dart index 5089ec1..6893923 100644 --- a/bytedesk_kefu/lib/ui/widget/chat_input.dart +++ b/bytedesk_kefu/lib/ui/widget/chat_input.dart @@ -335,6 +335,22 @@ class _ChatInputState extends State with TickerProviderStateMixin { // ), // hintText: '', // ), + decoration: InputDecoration( + + focusedBorder: UnderlineInputBorder( + borderSide: BorderSide( + width: 1, + + ), + ), + enabledBorder: UnderlineInputBorder( + borderSide: BorderSide( + width: 1, + color: Color(0xFF333333), + ), + ), + + ), style:TextStyle(color: Color(0xFF333333)), focusNode: _inputFocusNode, // maxLength: 400, diff --git a/bytedesk_kefu/lib/ui/widget/extra_item.dart b/bytedesk_kefu/lib/ui/widget/extra_item.dart index 25d98fc..45cf38d 100644 --- a/bytedesk_kefu/lib/ui/widget/extra_item.dart +++ b/bytedesk_kefu/lib/ui/widget/extra_item.dart @@ -58,7 +58,7 @@ class ExtraItem extends StatelessWidget { ), ), ), - Text(this.title), + Text(this.title,style: TextStyle(color: Color(0xFF333333)),), ], ), ),