Browse Source

商品小标题更改

zyh
w-R 3 years ago
parent
commit
5ad4abd1fb
  1. 27
      lib/store/shopping/shopping_home/search_page.dart
  2. 10
      pubspec.lock
  3. 8
      pubspec.yaml

27
lib/store/shopping/shopping_home/search_page.dart

@ -353,7 +353,7 @@ class _SearchPage extends State<SearchPage> with AutomaticKeepAliveClientMixin,
child: SmartRefresher( child: SmartRefresher(
controller: refreshController, controller: refreshController,
enablePullDown: true, enablePullDown: true,
enablePullUp: true, enablePullUp: false,
header: MyHeader(), header: MyHeader(),
physics: BouncingScrollPhysics(), physics: BouncingScrollPhysics(),
footer: CustomFooter( footer: CustomFooter(
@ -756,10 +756,10 @@ class _SearchPage extends State<SearchPage> with AutomaticKeepAliveClientMixin,
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
Row( Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.end, crossAxisAlignment: CrossAxisAlignment.end,
children: [ children: [
Container( Expanded(child:Container(
margin: EdgeInsets.only(top: 8, right: 8), margin: EdgeInsets.only(top: 8, right: 8),
padding: EdgeInsets.only(left: 2, right: 2), padding: EdgeInsets.only(left: 2, right: 2),
height: 17.h, height: 17.h,
@ -770,21 +770,24 @@ class _SearchPage extends State<SearchPage> with AutomaticKeepAliveClientMixin,
), ),
child: Text( child: Text(
productListBeans.supplierName, productListBeans.supplierName,
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: TextStyle( style: TextStyle(
fontSize: 10.sp, fontSize: 10.sp,
fontWeight: MyFontWeight.regular, fontWeight: MyFontWeight.regular,
color: Colors.white, color: Colors.white,
), ),
), ),
), ),),
Text( Expanded(child:
"已售${productListBeans?.sellCount ?? 0}", Container(child: Text(
style: TextStyle( "已售${productListBeans?.sellCount ?? 0}",
fontSize: 12.sp, style: TextStyle(
fontWeight: MyFontWeight.regular, fontSize: 12.sp,
color: Color(0xFF5D5D5D), fontWeight: MyFontWeight.regular,
), color: Color(0xFF5D5D5D),
), ),
),alignment: Alignment.topRight,)),
], ],
), ),
Text( Text(

10
pubspec.lock

@ -701,12 +701,10 @@ packages:
tpns_flutter_plugin: tpns_flutter_plugin:
dependency: "direct main" dependency: "direct main"
description: description:
path: "." name: tpns_flutter_plugin
ref: "V1.0.7" url: "https://pub.flutter-io.cn"
resolved-ref: ab0c457ab52f36a34e2b90256929a9809e8d4f9b source: hosted
url: "git://github.com/TencentCloud/TPNS-Flutter-Plugin" version: "1.1.0"
source: git
version: "1.0.7"
transformer_page_view: transformer_page_view:
dependency: transitive dependency: transitive
description: description:

8
pubspec.yaml

@ -19,10 +19,10 @@ dependencies:
keframe: ^2.0.2 #滑动组件卡顿优化 keframe: ^2.0.2 #滑动组件卡顿优化
tpns_flutter_plugin: tpns_flutter_plugin: ^1.0.8
git: # git:
url: git://github.com/TencentCloud/TPNS-Flutter-Plugin # url: git://github.com/TencentCloud/TPNS-Flutter-Plugin
ref: V1.0.7 # ref: V1.1.4
like_button: ^2.0.2 like_button: ^2.0.2
cupertino_icons: ^1.0.2 cupertino_icons: ^1.0.2

Loading…
Cancel
Save