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

10
pubspec.lock

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

8
pubspec.yaml

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

Loading…
Cancel
Save