From 6faac0321a3cfb23ed66f267834b7524b40daff1 Mon Sep 17 00:00:00 2001 From: Jolie <> Date: Tue, 16 Dec 2025 00:05:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9E=84=E5=BB=BA=E9=87=91?= =?UTF-8?q?=E5=B8=81=E6=A0=87=E7=AD=BE=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/widget/message/image_item.dart | 12 ++++++------ lib/widget/message/text_item.dart | 12 ++++++------ lib/widget/message/video_item.dart | 12 ++++++------ lib/widget/message/voice_item.dart | 12 ++++++------ 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/lib/widget/message/image_item.dart b/lib/widget/message/image_item.dart index a85cf9a..5e4c400 100644 --- a/lib/widget/message/image_item.dart +++ b/lib/widget/message/image_item.dart @@ -676,24 +676,24 @@ class _ImageItemState extends State { // 构建金币标签 Widget _buildCoinLabel(String revenueInfo) { return Container( - padding: EdgeInsets.symmetric(horizontal: 12.w, vertical: 6.h), + padding: EdgeInsets.symmetric(horizontal: 6.w, vertical: 3.h), decoration: BoxDecoration( color: Color.fromRGBO(0, 0, 0, 0.05), - borderRadius: BorderRadius.circular(20.w), + borderRadius: BorderRadius.circular(12.w), ), child: Row( mainAxisSize: MainAxisSize.min, children: [ Image.asset( Assets.imagesImCoinIcon, - width: 16.w, - height: 16.w, + width: 10.w, + height: 10.w, ), - SizedBox(width: 4.w), + SizedBox(width: 2.w), Text( revenueInfo, style: TextStyle( - fontSize: 12.sp, + fontSize: 9.sp, color: Color.fromRGBO(255, 132, 0, 1), ), ), diff --git a/lib/widget/message/text_item.dart b/lib/widget/message/text_item.dart index 36da0b7..0e9f702 100644 --- a/lib/widget/message/text_item.dart +++ b/lib/widget/message/text_item.dart @@ -160,24 +160,24 @@ class TextItem extends StatelessWidget { // 构建金币标签 Widget _buildCoinLabel(String revenueInfo) { return Container( - padding: EdgeInsets.symmetric(horizontal: 12.w, vertical: 6.h), + padding: EdgeInsets.symmetric(horizontal: 6.w, vertical: 3.h), decoration: BoxDecoration( color: Color.fromRGBO(0, 0, 0, 0.05), - borderRadius: BorderRadius.circular(20.w), + borderRadius: BorderRadius.circular(12.w), ), child: Row( mainAxisSize: MainAxisSize.min, children: [ Image.asset( Assets.imagesImCoinIcon, - width: 16.w, - height: 16.w, + width: 10.w, + height: 10.w, ), - SizedBox(width: 4.w), + SizedBox(width: 2.w), Text( revenueInfo, style: TextStyle( - fontSize: 12.sp, + fontSize: 9.sp, color: Color.fromRGBO(255, 132, 0, 1), ), ), diff --git a/lib/widget/message/video_item.dart b/lib/widget/message/video_item.dart index 8c8f818..26dc917 100644 --- a/lib/widget/message/video_item.dart +++ b/lib/widget/message/video_item.dart @@ -484,24 +484,24 @@ class _VideoItemState extends State { // 构建金币标签 Widget _buildCoinLabel(String revenueInfo) { return Container( - padding: EdgeInsets.symmetric(horizontal: 12.w, vertical: 6.h), + padding: EdgeInsets.symmetric(horizontal: 6.w, vertical: 3.h), decoration: BoxDecoration( color: Color.fromRGBO(0, 0, 0, 0.05), - borderRadius: BorderRadius.circular(20.w), + borderRadius: BorderRadius.circular(12.w), ), child: Row( mainAxisSize: MainAxisSize.min, children: [ Image.asset( Assets.imagesImCoinIcon, - width: 16.w, - height: 16.w, + width: 10.w, + height: 10.w, ), - SizedBox(width: 4.w), + SizedBox(width: 2.w), Text( revenueInfo, style: TextStyle( - fontSize: 12.sp, + fontSize: 9.sp, color: Color.fromRGBO(255, 132, 0, 1), ), ), diff --git a/lib/widget/message/voice_item.dart b/lib/widget/message/voice_item.dart index 51363ec..d60da43 100644 --- a/lib/widget/message/voice_item.dart +++ b/lib/widget/message/voice_item.dart @@ -382,24 +382,24 @@ class _VoiceItemState extends State with TickerProviderStateMixin { // 构建金币标签 Widget _buildCoinLabel(String revenueInfo) { return Container( - padding: EdgeInsets.symmetric(horizontal: 12.w, vertical: 6.h), + padding: EdgeInsets.symmetric(horizontal: 6.w, vertical: 3.h), decoration: BoxDecoration( color: Color.fromRGBO(0, 0, 0, 0.05), - borderRadius: BorderRadius.circular(20.w), + borderRadius: BorderRadius.circular(12.w), ), child: Row( mainAxisSize: MainAxisSize.min, children: [ Image.asset( Assets.imagesImCoinIcon, - width: 16.w, - height: 16.w, + width: 10.w, + height: 10.w, ), - SizedBox(width: 4.w), + SizedBox(width: 2.w), Text( revenueInfo, style: TextStyle( - fontSize: 12.sp, + fontSize: 9.sp, color: Color.fromRGBO(255, 132, 0, 1), ), ),