Browse Source

动态发布更新;

商城活动商品选规格;
我的页面我的砍价秒杀订单列表详情;
zyh
w-R 3 years ago
parent
commit
715caaa401
  1. 2
      lib/community/release_dynamic.dart
  2. 2
      lib/mine/user_info_page.dart
  3. 111
      lib/order/bargain_group_order.dart
  4. 44
      lib/retrofit/data/activity_order_list.dart
  5. 2
      lib/retrofit/min_api.g.dart
  6. 2
      lib/retrofit/retrofit_api.dart
  7. 6
      lib/retrofit/retrofit_api.g.dart
  8. 1
      lib/store/shopping/activity_prefecture_details.dart
  9. 67
      lib/store/shopping/shopping_goods_details.dart
  10. 45
      lib/store/shopping/shopping_home/group_details.dart
  11. 22
      pubspec.lock
  12. 8
      pubspec.yaml

2
lib/community/release_dynamic.dart

@ -196,6 +196,7 @@ class _ReleaseDynamic extends State<ReleaseDynamic> {
BaseData<UploadResult> baseData = await apiService.upload(
File(thumbnail),
123123123,
dynamicType == 2
);
if (baseData != null && baseData.isSuccess) {
UploadResult uploadResult = baseData.data;
@ -207,6 +208,7 @@ class _ReleaseDynamic extends State<ReleaseDynamic> {
BaseData<UploadResult> baseData = await apiService.upload(
file,
123123123,
dynamicType == 2
);
if (baseData != null && baseData.isSuccess) {
UploadResult uploadResult = baseData.data;

2
lib/mine/user_info_page.dart

@ -356,7 +356,7 @@ class _UserInfoPage extends State<UserInfoPage> {
///
fileUpload() async {
if (filePath != null && filePath != "" && await File(filePath).exists()) {
BaseData<UploadResult> baseData = await apiService.upload(File(filePath), 123123123).catchError((onError) {});
BaseData<UploadResult> baseData = await apiService.upload(File(filePath), 123123123,false).catchError((onError) {});
if (baseData != null && baseData.isSuccess) {
UploadResult uploadResult = baseData.data;
modifyInfo["headimg"] = uploadResult.url;

111
lib/order/bargain_group_order.dart

@ -2,9 +2,11 @@ import 'package:dio/dio.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:huixiang/generated/l10n.dart';
import 'package:huixiang/retrofit/data/activity_order_list.dart';
import 'package:huixiang/retrofit/data/base_data.dart';
import 'package:huixiang/retrofit/data/exchange_order.dart';
import 'package:huixiang/retrofit/data/page.dart';
import 'package:huixiang/retrofit/min_api.dart';
import 'package:huixiang/retrofit/retrofit_api.dart';
import 'package:huixiang/utils/font_weight.dart';
import 'package:huixiang/view_widget/classic_header.dart';
@ -37,6 +39,9 @@ class _BargainGroupOrder extends State<BargainGroupOrder>
super.initState();
}
///
@override
void didChangeDependencies() {
super.didChangeDependencies();
@ -118,24 +123,55 @@ class ExchangeHistoryList extends StatefulWidget {
}
class _ExchangeHistoryList extends State<ExchangeHistoryList> {
ApiService apiService;
MinApiService minService;
List<ActivityOrderList> activityOrderList = [];
RefreshController _refreshController =
RefreshController(initialRefresh: false);
@override
void initState() {
super.initState();
SharedPreferences.getInstance().then((value) => {
apiService = ApiService(Dio(),
context: context, token: value.getString('token')),
SharedPreferences.getInstance().then((value) {
String minToken = value.getString("minToken");
String tenant = value.getString("tenant");
String storeId = value.getString("storeId");
minService = MinApiService(
Dio(),
context: context,
token: minToken,
tenant: tenant,
storeId: storeId,
);
queryShowMyActList();
});
}
queryShowMyActList() async {
BaseData<List<ActivityOrderList>> baseData =
await minService.showMyActList({
"state":0,
"type" :1,
}).catchError((error) {
_refreshController.loadFailed();
_refreshController.refreshFailed();
});
if (baseData != null && baseData.isSuccess) {
_refreshController.refreshCompleted();
setState(() {
activityOrderList.clear();
if(baseData.data.length > 0)
activityOrderList.addAll(baseData.data);
});
} else {
_refreshController.refreshFailed();
}
}
int pageNum = 1;
// int pageNum = 1;
_refresh() {
pageNum = 1;
// pageNum = 1;
queryShowMyActList();
}
@override
@ -151,21 +187,20 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
),
controller: _refreshController,
onRefresh: _refresh,
// onLoading: queryHistory,
onLoading: queryShowMyActList,
child:
// orders == null || orders.length == 0
// ? NoDataView(
// isShowBtn: false,
// text: "还没有订单,快去下一单吧~",
// fontSize: 16.sp,
// margin: EdgeInsets.only(top: 120.h),
// )
// :
(activityOrderList?.length ?? 0) < 0
? NoDataView(
isShowBtn: false,
text: "还没有订单,快去下一单吧~",
fontSize: 16.sp,
margin: EdgeInsets.only(top: 120.h),
)
:
ListView.builder(
// itemCount: orders == null ? 0 : orders.length,
itemCount: 5,
itemCount: activityOrderList?.length ?? 0,
itemBuilder: (context, position) {
return bargainOrder();
return bargainOrder(activityOrderList[position]);
},
),
);
@ -187,7 +222,7 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
return orderStatus;
}
Widget bargainOrder() {
Widget bargainOrder(ActivityOrderList activityOrderList) {
return Container(
margin: EdgeInsets.fromLTRB(16.w, 8.h, 16.w, 8.h),
decoration: BoxDecoration(
@ -235,8 +270,7 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
margin: EdgeInsets.only(left: 6.w, top: 12.h),
alignment: Alignment.centerLeft,
child: Text(
// (orderInfo != null) ? orderInfo.storeName : "",
"一心回乡商城",
activityOrderList?.storeName ?? "",
style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: 14.sp,
@ -260,7 +294,8 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
// orderInfo.sendStatus,
// orderInfo.isTakeOut)
// : "",
"还差¥23.4砍价成功",
// "还差¥{activityOrderList?.howManyMoney ?? ""}砍价成功",
"还差${activityOrderList?.howManyMore ?? 0}人拼团成功",
style: TextStyle(
fontSize: 14.sp,
fontWeight: FontWeight.bold,
@ -286,7 +321,7 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
S.of(context).xiadanshijian_("下单时间:2020.01.20 10:50:22"),
S.of(context).xiadanshijian_(activityOrderList?.joinTime ?? ""),
style: TextStyle(
fontSize: 10.sp,
color: Color(0xFF727272),
@ -302,18 +337,13 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
mainAxisAlignment: MainAxisAlignment.spaceBetween,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
// MImage(
// "",
// width: 81.w,
// height: 81.h,
// fit: BoxFit.cover,
// errorSrc: "assets/image/default_1.png",
// fadeSrc: "assets/image/default_1.png",
// ),
Image.asset(
"assets/image/icon_story_td.png",
width: 81,
height: 81,
MImage(
activityOrderList?.productImg ?? "",
width: 81.w,
height: 81.h,
fit: BoxFit.cover,
errorSrc: "assets/image/default_1.png",
fadeSrc: "assets/image/default_1.png",
),
SizedBox(
width: 10,
@ -324,7 +354,7 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
"[生态小农]山林放养鸡蛋30枚/盒",
activityOrderList?.storeName ?? "",
maxLines: 2,
overflow: TextOverflow.ellipsis,
style: TextStyle(
@ -334,7 +364,7 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
),
),
Text(
"套盒装",
activityOrderList?.productSkuName ?? "",
style: TextStyle(
fontSize: 10.sp,
fontWeight: MyFontWeight.medium,
@ -357,7 +387,8 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
TextSpan(
children: [
TextSpan(
text: "已砍至:",
// text: "已砍至:",
text: S.of(context).heji,
style: TextStyle(
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
@ -365,7 +396,7 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
),
),
TextSpan(
text: "58.2",
text:activityOrderList?.orderSum ?? "0",
style: TextStyle(
fontSize: 14.sp,
fontWeight: MyFontWeight.semi_bold,

44
lib/retrofit/data/activity_order_list.dart

@ -3,9 +3,11 @@
/// productImg : "https://pos.upload.gznl.top/1179/2021/11/e50b00a1-09a2-4bab-b71f-e26e80006459.png"
/// productName : "无花果礼盒"
/// productSkuName : ""
/// actRecordstate : 4
/// actRecordJoinState : null
/// howManyMore : null
/// actRecordId : "1479399513473941504"
/// actRecordState : 4
/// actRecordJoinState : false
/// howManyMore : 2
/// orderSum : null
/// bargainMoney : null
/// howManyMoney : null
@ -16,9 +18,11 @@ class ActivityOrderList {
String productImg,
String productName,
String productSkuName,
int actRecordstate,
dynamic actRecordJoinState,
dynamic howManyMore,
String actRecordId,
int actRecordState,
bool actRecordJoinState,
int howManyMore,
dynamic orderSum,
dynamic bargainMoney,
dynamic howManyMoney,}){
_storeName = storeName;
@ -26,9 +30,11 @@ class ActivityOrderList {
_productImg = productImg;
_productName = productName;
_productSkuName = productSkuName;
_actRecordstate = actRecordstate;
_actRecordId = actRecordId;
_actRecordState = actRecordState;
_actRecordJoinState = actRecordJoinState;
_howManyMore = howManyMore;
_orderSum = orderSum;
_bargainMoney = bargainMoney;
_howManyMoney = howManyMoney;
}
@ -39,9 +45,11 @@ class ActivityOrderList {
_productImg = json['productImg'];
_productName = json['productName'];
_productSkuName = json['productSkuName'];
_actRecordstate = json['actRecordstate'];
_actRecordId = json['actRecordId'];
_actRecordState = json['actRecordState'];
_actRecordJoinState = json['actRecordJoinState'];
_howManyMore = json['howManyMore'];
_orderSum = json['orderSum'];
_bargainMoney = json['bargainMoney'];
_howManyMoney = json['howManyMoney'];
}
@ -50,9 +58,11 @@ class ActivityOrderList {
String _productImg;
String _productName;
String _productSkuName;
int _actRecordstate;
dynamic _actRecordJoinState;
dynamic _howManyMore;
String _actRecordId;
int _actRecordState;
bool _actRecordJoinState;
int _howManyMore;
dynamic _orderSum;
dynamic _bargainMoney;
dynamic _howManyMoney;
@ -61,9 +71,11 @@ class ActivityOrderList {
String get productImg => _productImg;
String get productName => _productName;
String get productSkuName => _productSkuName;
int get actRecordstate => _actRecordstate;
dynamic get actRecordJoinState => _actRecordJoinState;
dynamic get howManyMore => _howManyMore;
String get actRecordId => _actRecordId;
int get actRecordState => _actRecordState;
bool get actRecordJoinState => _actRecordJoinState;
int get howManyMore => _howManyMore;
dynamic get orderSum => _orderSum;
dynamic get bargainMoney => _bargainMoney;
dynamic get howManyMoney => _howManyMoney;
@ -74,9 +86,11 @@ class ActivityOrderList {
map['productImg'] = _productImg;
map['productName'] = _productName;
map['productSkuName'] = _productSkuName;
map['actRecordstate'] = _actRecordstate;
map['actRecordId'] = _actRecordId;
map['actRecordState'] = _actRecordState;
map['actRecordJoinState'] = _actRecordJoinState;
map['howManyMore'] = _howManyMore;
map['orderSum'] = _orderSum;
map['bargainMoney'] = _bargainMoney;
map['howManyMoney'] = _howManyMoney;
return map;

2
lib/retrofit/min_api.g.dart

@ -561,7 +561,7 @@ class _MinApiService implements MinApiService {
final queryParameters = <String, dynamic>{};
final _data = <String, dynamic>{};
_data.addAll(param ?? <String, dynamic>{});
final _result = await _dio.request<Map<String, dynamic>>('actTemplate/launchAct',
final _result = await _dio.request<Map<String, dynamic>>('actTemplate/showMyActList',
queryParameters: queryParameters,
options: RequestOptions(
method: 'POST',

2
lib/retrofit/retrofit_api.dart

@ -165,7 +165,7 @@ abstract class ApiService {
@POST("/file/upload")
@MultiPart()
Future<BaseData<UploadResult>> upload(
@Part(name: "file") File data, @Part(name: "folderId") int folderId);
@Part(name: "file") File data, @Part(name: "folderId") int folderId,bool isVideo);
///
@GET(

6
lib/retrofit/retrofit_api.g.dart

@ -17,15 +17,17 @@ class _ApiService implements ApiService {
String baseUrl;
@override
Future<BaseData<UploadResult>> upload(data, folderId) async {
Future<BaseData<UploadResult>> upload(data, folderId,bool isVideo) async {
ArgumentError.checkNotNull(data, 'data');
ArgumentError.checkNotNull(folderId, 'folderId');
const _extra = <String, dynamic>{};
final queryParameters = <String, dynamic>{};
final _data = FormData();
String fileName = data.path.split(Platform.pathSeparator).last;
if(!fileName.contains(".jpeg") && !fileName.contains(".mp4") && !fileName.contains(".png"))
if(!isVideo && !fileName.contains(".jpeg") && !fileName.contains(".png"))
fileName += ".jpeg";
else if(isVideo && !fileName.contains(".mp4"))
fileName += ".mp4";
_data.files.add(MapEntry(
'file',
MultipartFile.fromFileSync(data.path,

1
lib/store/shopping/activity_prefecture_details.dart

@ -632,6 +632,7 @@ class _ActivityPrefectureDetails extends State<ActivityPrefectureDetails> {
'/router/shopping_goods_details',
arguments: {
"actProductId": productList[position].id,
"productId":productList[position].productId,
"type":pageType,
"storeId": storeId,
"tenant": tenant,

67
lib/store/shopping/shopping_goods_details.dart

@ -13,21 +13,15 @@ import 'package:huixiang/generated/l10n.dart';
import 'package:huixiang/retrofit/data/activity.dart';
import 'package:huixiang/retrofit/data/activity_details.dart';
import 'package:huixiang/retrofit/data/base_data.dart';
import 'package:huixiang/retrofit/data/findMiNiGroupList.dart';
import 'package:huixiang/retrofit/data/goods.dart';
import 'package:huixiang/retrofit/data/activity_order_list.dart';
import 'package:huixiang/retrofit/data/miNiDetail.dart';
import 'package:huixiang/retrofit/data/shoppingCart.dart';
import 'package:huixiang/retrofit/data/store_info.dart';
import 'package:huixiang/retrofit/data/user_info.dart';
import 'package:huixiang/retrofit/min_api.dart';
import 'package:huixiang/retrofit/retrofit_api.dart';
import 'package:huixiang/store/store_view/product_sku.dart';
import 'package:huixiang/store/store_view/store_order_list.dart';
import 'package:huixiang/utils/font_weight.dart';
import 'package:huixiang/view_widget/classic_header.dart';
import 'package:huixiang/view_widget/custom_image.dart';
import 'package:huixiang/view_widget/my_appbar.dart';
import 'package:huixiang/view_widget/my_footer.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart';
import 'package:shared_preferences/shared_preferences.dart';
@ -67,15 +61,16 @@ class _ShoppingGoodsDetails extends State<ShoppingGoodsDetails> {
List<Activity> activitys;
ProductSkuVOListBean productSku;
String actProductId;
String productId;
String pageType = "1";
ActivityDetails activityDetails;
int limitNumber = 0;
int limitTime = 0;
String bannerImg;
// String pName;
// String pid;
// String cName;
// String cid;
String pName;
String pid;
String cName;
String cid;
bool isDispose = false;
Timer _timer;
String testTime = "2021-12-30 10:00:00";
@ -101,6 +96,7 @@ class _ShoppingGoodsDetails extends State<ShoppingGoodsDetails> {
limitNumber = widget.arguments["limitNumber"];
limitTime = widget.arguments["limitTime"];
bannerImg = widget.arguments["bannerImg"];
productId =widget.arguments["productId"];
startCountdownTimer();
debugPrint("store_param tenant:$tenant storeId:$storeId");
@ -144,10 +140,9 @@ class _ShoppingGoodsDetails extends State<ShoppingGoodsDetails> {
if (pageType == null) {
queryMiNiDetail(id);
} else {
queryMiNiDetail(productId);
queryViewProduct(actProductId, pageType);
}
EasyLoading.dismiss();
}
});
@ -363,6 +358,7 @@ class _ShoppingGoodsDetails extends State<ShoppingGoodsDetails> {
var callback = ((timer) {
if (isDispose) return;
setState(() {
if((activityDetails?.actRecordAndJoinlDTOList) != null)
activityDetails.actRecordAndJoinlDTOList.forEach((element) {
var tempDateTime =
DateTime.parse(element.actRecord.endTime).difference(DateTime.now());
@ -383,6 +379,44 @@ class _ShoppingGoodsDetails extends State<ShoppingGoodsDetails> {
_timer = Timer.periodic(oneSec, callback);
}
///
toDownOrder() async {
// int num = count();
if (count1 == 0) {
SmartDialog.showToast("请先选择您要购买的商品!~");
return;
}
await Navigator.of(context).pushNamed(
'/router/settlement',
arguments: {
"storeInfo": storeInfo,
"tableId": tableId,
// "parentCode": parentCode,
// "parentId": parentId,
"pName":pName,
"pid":pid,
"cName":cName,
"cid":cid,
"shoppingCartSkuItemList": [
{
"buyNum": count1,
"id": skuId1,
"productId": miNiDetail.id,
"productName": miNiDetail.productName,
"skuName": skuValue1,
"storeId": storeId,
"skuPrice": productSku.skuPrice,
"skuStock": productSku.skuStock,
"tableId": tableId,
},
],
// "numberOfPeople": numberOfPeople,
},
);
}
@override
Widget build(BuildContext context) {
@ -420,6 +454,7 @@ class _ShoppingGoodsDetails extends State<ShoppingGoodsDetails> {
buildColumn(),
///
if (pageType == "1")
groupOption(),
///
@ -602,7 +637,7 @@ class _ShoppingGoodsDetails extends State<ShoppingGoodsDetails> {
),
GestureDetector(
onTap: () {
// toDownOrder();
toDownOrder();
},
child: Container(
alignment: Alignment.center,
@ -1325,7 +1360,11 @@ class _ShoppingGoodsDetails extends State<ShoppingGoodsDetails> {
GestureDetector(
onTap: () {
setState(() {
if(pageType == null){
showStoreSelector(miNiDetail, id, 1);
}else {
showStoreSelector(miNiDetail, productId, 1);
}
});
},
child: Icon(
@ -1519,7 +1558,7 @@ class _ShoppingGoodsDetails extends State<ShoppingGoodsDetails> {
),
),
Text(
"剩余${(actRecordAndJoinlDTOList.actRecord.tempDay != 0)?actRecordAndJoinlDTOList.actRecord.tempDay : ""}:${actRecordAndJoinlDTOList.actRecord.tempHour}:${actRecordAndJoinlDTOList.actRecord.tempM}:${actRecordAndJoinlDTOList.actRecord.tempS}",
"剩余${(actRecordAndJoinlDTOList?.actRecord?.tempDay != 0)?actRecordAndJoinlDTOList.actRecord.tempDay : ""}:${actRecordAndJoinlDTOList?.actRecord?.tempHour ?? 0}:${actRecordAndJoinlDTOList?.actRecord?.tempM ?? 0}:${actRecordAndJoinlDTOList?.actRecord?.tempS ?? 0}",
style: TextStyle(
fontSize: 10.sp,
fontWeight: MyFontWeight.regular,

45
lib/store/shopping/shopping_home/group_details.dart

@ -39,6 +39,17 @@ class _GroupDetails extends State<GroupDetails> {
int tempM = 0;
int tempS = 0;
@override
void dispose() {
super.dispose();
if (refreshController != null) refreshController.dispose();
isDispose = true;
if (_timer != null) {
_timer.cancel();
}
}
@override
void initState() {
super.initState();
@ -70,7 +81,7 @@ class _GroupDetails extends State<GroupDetails> {
if (isDispose) return;
setState(() {
var tempDateTime =
DateTime.parse(activityActRecordDetails.actRecord.endTime).difference(DateTime.now());
DateTime.parse(activityActRecordDetails?.actRecord?.endTime).difference(DateTime.now());
if (tempDateTime.inSeconds < 0) {
tempDay = 0;
tempHour = 0;
@ -104,12 +115,6 @@ class _GroupDetails extends State<GroupDetails> {
}
}
@override
void dispose() {
super.dispose();
if (refreshController != null) refreshController.dispose();
}
final RefreshController refreshController = RefreshController();
@override
@ -150,7 +155,9 @@ class _GroupDetails extends State<GroupDetails> {
header: MyHeader(),
physics: BouncingScrollPhysics(),
onRefresh: () {
setState(() {});
setState(() {
queryShowOneAct(actRecordId);
});
},
child: SingleChildScrollView(
physics: NeverScrollableScrollPhysics(),
@ -373,7 +380,8 @@ class _GroupDetails extends State<GroupDetails> {
height: 28,
alignment: Alignment.center,
decoration: BoxDecoration(
color: Color(0xFFD2D2D2),
// color: Color(0xFFD2D2D2),
color: Color(0xFFF8961E),
borderRadius: BorderRadius.circular(4)),
child: Text(
tempDay.toString(),
@ -392,7 +400,8 @@ class _GroupDetails extends State<GroupDetails> {
style: TextStyle(
fontSize: 16.sp,
fontWeight: MyFontWeight.medium,
color: Color(0xFFD2D2D2),
// color: Color(0xFFD2D2D2),
color: Color(0xFFF8961E),
),
)),
],
@ -404,7 +413,8 @@ class _GroupDetails extends State<GroupDetails> {
height: 28,
alignment: Alignment.center,
decoration: BoxDecoration(
color: Color(0xFFD2D2D2),
// color: Color(0xFFD2D2D2),
color: Color(0xFFF8961E),
borderRadius: BorderRadius.circular(4)),
child: Text(
tempHour.toString(),
@ -423,7 +433,8 @@ class _GroupDetails extends State<GroupDetails> {
style: TextStyle(
fontSize: 16.sp,
fontWeight: MyFontWeight.medium,
color: Color(0xFFD2D2D2),
// color: Color(0xFFD2D2D2),
color: Color(0xFFF8961E),
),
)),
InkWell(
@ -433,7 +444,8 @@ class _GroupDetails extends State<GroupDetails> {
height: 28,
alignment: Alignment.center,
decoration: BoxDecoration(
color: Color(0xFFD2D2D2),
// color: Color(0xFFD2D2D2),
color: Color(0xFFF8961E),
borderRadius: BorderRadius.circular(4)),
child: Text(
tempM.toString(),
@ -452,7 +464,8 @@ class _GroupDetails extends State<GroupDetails> {
style: TextStyle(
fontSize: 16.sp,
fontWeight: MyFontWeight.medium,
color: Color(0xFFD2D2D2),
// color: Color(0xFFD2D2D2),
color: Color(0xFFF8961E),
),
)),
InkWell(
@ -462,7 +475,8 @@ class _GroupDetails extends State<GroupDetails> {
height: 28,
alignment: Alignment.center,
decoration: BoxDecoration(
color: Color(0xFFD2D2D2),
// color: Color(0xFFD2D2D2),
color: Color(0xFFF8961E),
borderRadius: BorderRadius.circular(4)),
child: Text(
tempS.toString(),
@ -608,6 +622,7 @@ class _GroupDetails extends State<GroupDetails> {
// ],
// )),
// ),
//
// InkWell(
// onTap: () {
// setState(() {

22
pubspec.lock

@ -482,7 +482,7 @@ packages:
name: path_provider_linux
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.4"
version: "2.1.5"
path_provider_platform_interface:
dependency: transitive
description:
@ -496,7 +496,7 @@ packages:
name: path_provider_windows
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.4"
version: "2.0.5"
pedantic:
dependency: transitive
description:
@ -629,7 +629,7 @@ packages:
name: shared_preferences_linux
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.3"
version: "2.0.4"
shared_preferences_macos:
dependency: transitive
description:
@ -650,14 +650,14 @@ packages:
name: shared_preferences_web
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.2"
version: "2.0.3"
shared_preferences_windows:
dependency: transitive
description:
name: shared_preferences_windows
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.3"
version: "2.0.4"
sharesdk_plugin:
dependency: "direct main"
description:
@ -743,12 +743,10 @@ packages:
tpns_flutter_plugin:
dependency: "direct main"
description:
path: "."
ref: "V1.1.2"
resolved-ref: b814d62f4b82422459f786671f23dd535062d503
url: "git://github.com/TencentCloud/TPNS-Flutter-Plugin"
source: git
version: "1.1.2"
name: tpns_flutter_plugin
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.8"
transformer_page_view:
dependency: transitive
description:
@ -846,7 +844,7 @@ packages:
name: video_player_web
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.5"
version: "2.0.6"
wakelock:
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.1.2
tpns_flutter_plugin: 1.0.8
# git:
# url: git://github.com/TencentCloud/TPNS-Flutter-Plugin
# ref: V1.0.7
like_button: ^2.0.2
cupertino_icons: ^1.0.2

Loading…
Cancel
Save