Browse Source

safety

master
fmk 3 years ago
parent
commit
5bc392b1c2
  1. 7
      README.md
  2. 8
      ios/Podfile.lock
  3. 20
      lib/community/community_view/community_dynamic.dart
  4. 3
      lib/union/union_page.dart

7
README.md

@ -16,7 +16,7 @@ For help getting started with Flutter, view our
samples, guidance on mobile development, and a full API reference. samples, guidance on mobile development, and a full API reference.
#1.0
登录页 登录页
发送验证码 发送验证码
@ -64,3 +64,8 @@ samples, guidance on mobile development, and a full API reference.
订单详情 (订单生成时间) 订单详情 (订单生成时间)
取消订单 取消订单
取件码 取件码
#说明
huixiang_app/pubspec.yaml #依赖

8
ios/Podfile.lock

@ -103,6 +103,8 @@ PODS:
- Flutter - Flutter
- FMDB (>= 2.7.5) - FMDB (>= 2.7.5)
- SSZipArchive (2.4.2) - SSZipArchive (2.4.2)
- thumbnails (0.0.1):
- Flutter
- TPNS-iOS (1.3.3.0) - TPNS-iOS (1.3.3.0)
- tpns_flutter_plugin (1.1.2): - tpns_flutter_plugin (1.1.2):
- Flutter - Flutter
@ -136,6 +138,7 @@ DEPENDENCIES:
- sharesdk_plugin (from `.symlinks/plugins/sharesdk_plugin/ios`) - sharesdk_plugin (from `.symlinks/plugins/sharesdk_plugin/ios`)
- sqflite (from `.symlinks/plugins/sqflite/ios`) - sqflite (from `.symlinks/plugins/sqflite/ios`)
- SSZipArchive (~> 2.4.2) - SSZipArchive (~> 2.4.2)
- thumbnails (from `.symlinks/plugins/thumbnails/ios`)
- tpns_flutter_plugin (from `.symlinks/plugins/tpns_flutter_plugin/ios`) - tpns_flutter_plugin (from `.symlinks/plugins/tpns_flutter_plugin/ios`)
- url_launcher (from `.symlinks/plugins/url_launcher/ios`) - url_launcher (from `.symlinks/plugins/url_launcher/ios`)
- video_player (from `.symlinks/plugins/video_player/ios`) - video_player (from `.symlinks/plugins/video_player/ios`)
@ -188,6 +191,8 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/sharesdk_plugin/ios" :path: ".symlinks/plugins/sharesdk_plugin/ios"
sqflite: sqflite:
:path: ".symlinks/plugins/sqflite/ios" :path: ".symlinks/plugins/sqflite/ios"
thumbnails:
:path: ".symlinks/plugins/thumbnails/ios"
tpns_flutter_plugin: tpns_flutter_plugin:
:path: ".symlinks/plugins/tpns_flutter_plugin/ios" :path: ".symlinks/plugins/tpns_flutter_plugin/ios"
url_launcher: url_launcher:
@ -212,7 +217,7 @@ SPEC CHECKSUMS:
flutter_scankit: 16936d86b3de3f83c122e763f4c24c5da214c78f flutter_scankit: 16936d86b3de3f83c122e763f4c24c5da214c78f
fluwx: c192ef1ea3617badb813fa1a761ffc5c9c12208a fluwx: c192ef1ea3617badb813fa1a761ffc5c9c12208a
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
image_pickers: 25c8916d358bc9d2707cb470ba3d57497f105773 image_pickers: 5e6ec7083f9363d014c0fb061f1b9cd97bb5e451
mob_sharesdk: c771f001e00739d24301a9fa250247601efe7a3c mob_sharesdk: c771f001e00739d24301a9fa250247601efe7a3c
MOBFoundation: 2abd23c80c33d1337d30dc4b0018ed914cef8f8e MOBFoundation: 2abd23c80c33d1337d30dc4b0018ed914cef8f8e
package_info: 873975fc26034f0b863a300ad47e7f1ac6c7ec62 package_info: 873975fc26034f0b863a300ad47e7f1ac6c7ec62
@ -224,6 +229,7 @@ SPEC CHECKSUMS:
sharesdk_plugin: 6d6634bb480174b607030f19fc9d84d68cfbf326 sharesdk_plugin: 6d6634bb480174b607030f19fc9d84d68cfbf326
sqflite: 6d358c025f5b867b29ed92fc697fd34924e11904 sqflite: 6d358c025f5b867b29ed92fc697fd34924e11904
SSZipArchive: e7b4f3d9e780c2acc1764cd88fbf2de28f26e5b2 SSZipArchive: e7b4f3d9e780c2acc1764cd88fbf2de28f26e5b2
thumbnails: bb4f4e9bb4b51c8ae4e6ad9a2fa81373f9b634ad
TPNS-iOS: 57a146496858ba2fb5d43e5f240feb19243b69cb TPNS-iOS: 57a146496858ba2fb5d43e5f240feb19243b69cb
tpns_flutter_plugin: a366649c8ad71f19dfb864d3c994ed0480b69daa tpns_flutter_plugin: a366649c8ad71f19dfb864d3c994ed0480b69daa
url_launcher: 6fef411d543ceb26efce54b05a0a40bfd74cbbef url_launcher: 6fef411d543ceb26efce54b05a0a40bfd74cbbef

20
lib/community/community_view/community_dynamic.dart

@ -408,16 +408,20 @@ class _CommunityDynamic extends State<CommunityDynamic> {
)) ))
: Container( : Container(
width: width, width: width,
height: width / 3 * 2, height: width / 7 * 5,
color: Colors.black,
child: Stack( child: Stack(
children: [ children: [
MImage( Center(
src, child: MImage(
width: width, src,
height: width / 3 * 2, aspectRatio: videoPlayerController != null
fit: BoxFit.cover, ? videoPlayerController.value.aspectRatio
errorSrc: "assets/image/default_2_1.png", : (width / 7 * 5),
fadeSrc: "assets/image/default_2_1.png", fit: BoxFit.cover,
errorSrc: "assets/image/default_2_1.png",
fadeSrc: "assets/image/default_2_1.png",
),
), ),
Center( Center(
child: Icon( child: Icon(

3
lib/union/union_page.dart

@ -12,7 +12,6 @@ import 'package:huixiang/generated/l10n.dart';
import 'package:huixiang/main.dart'; import 'package:huixiang/main.dart';
import 'package:huixiang/retrofit/data/base_data.dart'; import 'package:huixiang/retrofit/data/base_data.dart';
import 'package:huixiang/retrofit/data/store.dart'; import 'package:huixiang/retrofit/data/store.dart';
import 'package:huixiang/retrofit/data/store_type.dart';
import 'package:huixiang/retrofit/retrofit_api.dart'; import 'package:huixiang/retrofit/retrofit_api.dart';
import 'package:huixiang/store/scan.dart'; import 'package:huixiang/store/scan.dart';
import 'package:huixiang/utils/event_type.dart'; import 'package:huixiang/utils/event_type.dart';
@ -22,8 +21,6 @@ import 'package:huixiang/view_widget/custom_image.dart';
import 'package:huixiang/view_widget/icon_text.dart'; import 'package:huixiang/view_widget/icon_text.dart';
import 'package:huixiang/view_widget/item_title.dart'; import 'package:huixiang/view_widget/item_title.dart';
import 'package:huixiang/view_widget/my_appbar.dart'; import 'package:huixiang/view_widget/my_appbar.dart';
import 'package:huixiang/view_widget/request_permission.dart';
import 'package:permission_handler/permission_handler.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart'; import 'package:pull_to_refresh/pull_to_refresh.dart';
import 'package:shared_preferences/shared_preferences.dart'; import 'package:shared_preferences/shared_preferences.dart';
import 'package:flutter/rendering.dart'; import 'package:flutter/rendering.dart';

Loading…
Cancel
Save