diff --git a/.dart_tool/package_config.json b/.dart_tool/package_config.json
index 0953508..9b53158 100644
--- a/.dart_tool/package_config.json
+++ b/.dart_tool/package_config.json
@@ -788,7 +788,7 @@
"languageVersion": "2.1"
}
],
- "generated": "2020-09-22T09:35:21.193093Z",
+ "generated": "2020-09-22T12:40:39.852808Z",
"generator": "pub",
"generatorVersion": "2.7.2"
}
diff --git a/.idea/saveactions_settings.xml b/.idea/saveactions_settings.xml
deleted file mode 100644
index 6025467..0000000
--- a/.idea/saveactions_settings.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj
index 27ae0eb..ee080b8 100644
--- a/example/ios/Runner.xcodeproj/project.pbxproj
+++ b/example/ios/Runner.xcodeproj/project.pbxproj
@@ -17,8 +17,13 @@
978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; };
97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; };
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
- 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
+ 9FFCE301251ADE0600F4F353 /* yw_1222_baichuan.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 9FFCE2F7251ADE0600F4F353 /* yw_1222_baichuan.jpg */; };
+ 9FFCE303251ADE0600F4F353 /* 1.png in Resources */ = {isa = PBXBuildFile; fileRef = 9FFCE2FB251ADE0600F4F353 /* 1.png */; };
+ 9FFCE304251ADE0600F4F353 /* 2.png in Resources */ = {isa = PBXBuildFile; fileRef = 9FFCE2FC251ADE0600F4F353 /* 2.png */; };
+ 9FFCE305251ADE0600F4F353 /* 3.png in Resources */ = {isa = PBXBuildFile; fileRef = 9FFCE2FD251ADE0600F4F353 /* 3.png */; };
+ 9FFCE306251ADE0600F4F353 /* 4.png in Resources */ = {isa = PBXBuildFile; fileRef = 9FFCE2FE251ADE0600F4F353 /* 4.png */; };
+ 9FFCE307251ADE0600F4F353 /* 智莺生活.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9FFCE2FF251ADE0600F4F353 /* 智莺生活.xcassets */; };
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
@@ -52,9 +57,14 @@
97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
- 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
+ 9FFCE2F7251ADE0600F4F353 /* yw_1222_baichuan.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = yw_1222_baichuan.jpg; sourceTree = ""; };
+ 9FFCE2FB251ADE0600F4F353 /* 1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 1.png; sourceTree = ""; };
+ 9FFCE2FC251ADE0600F4F353 /* 2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 2.png; sourceTree = ""; };
+ 9FFCE2FD251ADE0600F4F353 /* 3.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 3.png; sourceTree = ""; };
+ 9FFCE2FE251ADE0600F4F353 /* 4.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 4.png; sourceTree = ""; };
+ 9FFCE2FF251ADE0600F4F353 /* 智莺生活.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "智莺生活.xcassets"; sourceTree = ""; };
A860D105A09AEA74261219D2 /* libPods-Runner.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Runner.a"; sourceTree = BUILT_PRODUCTS_DIR; };
E03B6CB558D0A26B049E0718 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; };
/* End PBXFileReference section */
@@ -118,10 +128,10 @@
97C146F01CF9000F007C117D /* Runner */ = {
isa = PBXGroup;
children = (
+ 9FFCE2F3251ADE0600F4F353 /* 项目资源 */,
7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */,
7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */,
97C146FA1CF9000F007C117D /* Main.storyboard */,
- 97C146FD1CF9000F007C117D /* Assets.xcassets */,
97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
97C147021CF9000F007C117D /* Info.plist */,
97C146F11CF9000F007C117D /* Supporting Files */,
@@ -139,6 +149,43 @@
name = "Supporting Files";
sourceTree = "";
};
+ 9FFCE2F3251ADE0600F4F353 /* 项目资源 */ = {
+ isa = PBXGroup;
+ children = (
+ 9FFCE2F4251ADE0600F4F353 /* 智莺生活 */,
+ );
+ path = "项目资源";
+ sourceTree = "";
+ };
+ 9FFCE2F4251ADE0600F4F353 /* 智莺生活 */ = {
+ isa = PBXGroup;
+ children = (
+ 9FFCE2F5251ADE0600F4F353 /* config */,
+ 9FFCE2FA251ADE0600F4F353 /* image */,
+ );
+ path = "智莺生活";
+ sourceTree = "";
+ };
+ 9FFCE2F5251ADE0600F4F353 /* config */ = {
+ isa = PBXGroup;
+ children = (
+ 9FFCE2F7251ADE0600F4F353 /* yw_1222_baichuan.jpg */,
+ );
+ path = config;
+ sourceTree = "";
+ };
+ 9FFCE2FA251ADE0600F4F353 /* image */ = {
+ isa = PBXGroup;
+ children = (
+ 9FFCE2FB251ADE0600F4F353 /* 1.png */,
+ 9FFCE2FC251ADE0600F4F353 /* 2.png */,
+ 9FFCE2FD251ADE0600F4F353 /* 3.png */,
+ 9FFCE2FE251ADE0600F4F353 /* 4.png */,
+ 9FFCE2FF251ADE0600F4F353 /* 智莺生活.xcassets */,
+ );
+ path = image;
+ sourceTree = "";
+ };
EE1370F94952C6405CCA440D /* Frameworks */ = {
isa = PBXGroup;
children = (
@@ -212,9 +259,14 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
+ 9FFCE306251ADE0600F4F353 /* 4.png in Resources */,
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
+ 9FFCE303251ADE0600F4F353 /* 1.png in Resources */,
+ 9FFCE301251ADE0600F4F353 /* yw_1222_baichuan.jpg in Resources */,
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
- 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
+ 9FFCE305251ADE0600F4F353 /* 3.png in Resources */,
+ 9FFCE307251ADE0600F4F353 /* 智莺生活.xcassets in Resources */,
+ 9FFCE304251ADE0600F4F353 /* 2.png in Resources */,
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
diff --git a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
deleted file mode 100644
index dc9ada4..0000000
Binary files a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png and /dev/null differ
diff --git a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
deleted file mode 100644
index 28c6bf0..0000000
Binary files a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png and /dev/null differ
diff --git a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
deleted file mode 100644
index 2ccbfd9..0000000
Binary files a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png and /dev/null differ
diff --git a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
deleted file mode 100644
index f091b6b..0000000
Binary files a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png and /dev/null differ
diff --git a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
deleted file mode 100644
index 4cde121..0000000
Binary files a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png and /dev/null differ
diff --git a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
deleted file mode 100644
index d0ef06e..0000000
Binary files a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png and /dev/null differ
diff --git a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
deleted file mode 100644
index dcdc230..0000000
Binary files a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png and /dev/null differ
diff --git a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
deleted file mode 100644
index 2ccbfd9..0000000
Binary files a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png and /dev/null differ
diff --git a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
deleted file mode 100644
index c8f9ed8..0000000
Binary files a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png and /dev/null differ
diff --git a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
deleted file mode 100644
index a6d6b86..0000000
Binary files a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png and /dev/null differ
diff --git a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
deleted file mode 100644
index a6d6b86..0000000
Binary files a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png and /dev/null differ
diff --git a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
deleted file mode 100644
index 75b2d16..0000000
Binary files a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png and /dev/null differ
diff --git a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
deleted file mode 100644
index c4df70d..0000000
Binary files a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png and /dev/null differ
diff --git a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
deleted file mode 100644
index 6a84f41..0000000
Binary files a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png and /dev/null differ
diff --git a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
deleted file mode 100644
index d0e1f58..0000000
Binary files a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png and /dev/null differ
diff --git a/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
deleted file mode 100644
index 0bedcf2..0000000
--- a/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "images" : [
- {
- "idiom" : "universal",
- "filename" : "LaunchImage.png",
- "scale" : "1x"
- },
- {
- "idiom" : "universal",
- "filename" : "LaunchImage@2x.png",
- "scale" : "2x"
- },
- {
- "idiom" : "universal",
- "filename" : "LaunchImage@3x.png",
- "scale" : "3x"
- }
- ],
- "info" : {
- "version" : 1,
- "author" : "xcode"
- }
-}
diff --git a/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
deleted file mode 100644
index 9da19ea..0000000
Binary files a/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png and /dev/null differ
diff --git a/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
deleted file mode 100644
index 9da19ea..0000000
Binary files a/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png and /dev/null differ
diff --git a/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
deleted file mode 100644
index 9da19ea..0000000
Binary files a/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png and /dev/null differ
diff --git a/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
deleted file mode 100644
index 89c2725..0000000
--- a/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Launch Screen Assets
-
-You can customize the launch screen with your own desired assets by replacing the image files in this directory.
-
-You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
\ No newline at end of file
diff --git a/example/ios/Runner/Info.plist b/example/ios/Runner/Info.plist
index e42a3c0..9945d13 100644
--- a/example/ios/Runner/Info.plist
+++ b/example/ios/Runner/Info.plist
@@ -64,5 +64,153 @@
NSAllowsArbitraryLoads
+ CFBundleURLTypes
+
+
+ CFBundleTypeRole
+ Editor
+ CFBundleURLName
+ WBkey
+ CFBundleURLSchemes
+
+ wb
+
+
+
+ CFBundleTypeRole
+ Editor
+ CFBundleURLName
+ QQ10JZ
+ CFBundleURLSchemes
+
+ tencent1111030588
+
+
+
+ CFBundleTypeRole
+ Editor
+ CFBundleURLName
+ WBSecret
+ CFBundleURLSchemes
+
+ sina.
+
+
+
+ CFBundleTypeRole
+ Editor
+ CFBundleURLName
+ QQ16JZ
+ CFBundleURLSchemes
+
+ QQ4238fb3c
+
+
+
+ CFBundleTypeRole
+ Editor
+ CFBundleURLName
+ tb
+ CFBundleURLSchemes
+
+ tbopen31333495
+
+
+
+ CFBundleTypeRole
+ Editor
+ CFBundleURLName
+ weixin
+ CFBundleURLSchemes
+
+ wx
+
+
+
+ CFBundleTypeRole
+ Editor
+ CFBundleURLSchemes
+
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+
+
+
+ CFBundleTypeRole
+ Editor
+ CFBundleURLName
+ JD
+ CFBundleURLSchemes
+
+ sdkback
+
+
+
+ LSApplicationQueriesSchemes
+
+ otpauth
+ iosamap
+ baidumap
+ vipshop
+ jdlogin
+ openapp
+ openapp.jdmobile
+ pinduoduo
+ wechat
+ tbopen
+ tmall
+ taobao
+ weixin
+ weixinULAPI
+ sinaweibohd
+ sinaweibo
+ sinaweibosso
+ weibosdk
+ weibosdk2.5
+ weibosdk2
+ mqqapi
+ mqq
+ mqqOpensdkSSoLogin
+ mqqconnect
+ mqqopensdkdataline
+ mqqopensdkgrouptribeshare
+ mqqopensdkfriend
+ mqqopensdkapi
+ mqqopensdkapiV2
+ mqqopensdkapiV3
+ mqzoneopensdk
+ wtloginmqq
+ wtloginmqq2
+ mqqwpa
+ mqzone
+ mqzonev2
+ mqzoneshare
+ wtloginqzone
+ mqzonewx
+ mqzoneopensdkapiV2
+ mqqopensdkapiV4
+ mqzoneopensdkapi19
+ mqzoneopensdkapi
+ mqqbrowser
+ mttbrowser
+ renrenios
+ renrenapi
+ renren
+ renreniphone
+ laiwangsso
+ yixin
+ yixinopenapi
+ instagram
+ whatsapp
+ line
+ fbapi
+ fb
+ fb-messenger-api
+ fbauth2
+ fbshareextension
+ alipays
+ alitrip
+ fleamarket
+ youku
+
diff --git a/example/ios/Runner/项目资源/智莺生活/config/yw_1222_baichuan.jpg b/example/ios/Runner/项目资源/智莺生活/config/yw_1222_baichuan.jpg
new file mode 100644
index 0000000..31983d6
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/config/yw_1222_baichuan.jpg differ
diff --git a/example/ios/Runner/项目资源/智莺生活/config/证书/cnzhioszhiying_dev.mobileprovision b/example/ios/Runner/项目资源/智莺生活/config/证书/cnzhioszhiying_dev.mobileprovision
new file mode 100644
index 0000000..7961fee
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/config/证书/cnzhioszhiying_dev.mobileprovision differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/1.png b/example/ios/Runner/项目资源/智莺生活/image/1.png
new file mode 100755
index 0000000..9d7be90
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/1.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/2.png b/example/ios/Runner/项目资源/智莺生活/image/2.png
new file mode 100755
index 0000000..0818d11
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/2.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/3.png b/example/ios/Runner/项目资源/智莺生活/image/3.png
new file mode 100755
index 0000000..5d04759
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/3.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/4.png b/example/ios/Runner/项目资源/智莺生活/image/4.png
new file mode 100755
index 0000000..1736eb6
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/4.png differ
diff --git a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/Contents.json
similarity index 66%
rename from example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
rename to example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/Contents.json
index d36b1fa..3a0122d 100644
--- a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
+++ b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/Contents.json
@@ -3,115 +3,115 @@
{
"size" : "20x20",
"idiom" : "iphone",
- "filename" : "Icon-App-20x20@2x.png",
+ "filename" : "icon-20@2x.png",
"scale" : "2x"
},
{
"size" : "20x20",
"idiom" : "iphone",
- "filename" : "Icon-App-20x20@3x.png",
+ "filename" : "icon-20@3x.png",
"scale" : "3x"
},
{
"size" : "29x29",
"idiom" : "iphone",
- "filename" : "Icon-App-29x29@1x.png",
+ "filename" : "icon-29.png",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "iphone",
- "filename" : "Icon-App-29x29@2x.png",
+ "filename" : "icon-29@2x.png",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "iphone",
- "filename" : "Icon-App-29x29@3x.png",
+ "filename" : "icon-29@3x.png",
"scale" : "3x"
},
{
"size" : "40x40",
"idiom" : "iphone",
- "filename" : "Icon-App-40x40@2x.png",
+ "filename" : "icon-40@2x.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "iphone",
- "filename" : "Icon-App-40x40@3x.png",
+ "filename" : "icon-40@3x.png",
"scale" : "3x"
},
{
"size" : "60x60",
"idiom" : "iphone",
- "filename" : "Icon-App-60x60@2x.png",
+ "filename" : "icon-60@2x.png",
"scale" : "2x"
},
{
"size" : "60x60",
"idiom" : "iphone",
- "filename" : "Icon-App-60x60@3x.png",
+ "filename" : "icon-60@3x.png",
"scale" : "3x"
},
{
"size" : "20x20",
"idiom" : "ipad",
- "filename" : "Icon-App-20x20@1x.png",
+ "filename" : "icon-20-ipad.png",
"scale" : "1x"
},
{
"size" : "20x20",
"idiom" : "ipad",
- "filename" : "Icon-App-20x20@2x.png",
+ "filename" : "icon-20@2x-ipad.png",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "ipad",
- "filename" : "Icon-App-29x29@1x.png",
+ "filename" : "icon-29-ipad.png",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "ipad",
- "filename" : "Icon-App-29x29@2x.png",
+ "filename" : "icon-29@2x-ipad.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "ipad",
- "filename" : "Icon-App-40x40@1x.png",
+ "filename" : "icon-40.png",
"scale" : "1x"
},
{
"size" : "40x40",
"idiom" : "ipad",
- "filename" : "Icon-App-40x40@2x.png",
+ "filename" : "icon-40@2x.png",
"scale" : "2x"
},
{
"size" : "76x76",
"idiom" : "ipad",
- "filename" : "Icon-App-76x76@1x.png",
+ "filename" : "icon-76.png",
"scale" : "1x"
},
{
"size" : "76x76",
"idiom" : "ipad",
- "filename" : "Icon-App-76x76@2x.png",
+ "filename" : "icon-76@2x.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
- "filename" : "Icon-App-83.5x83.5@2x.png",
+ "filename" : "icon-83.5@2x.png",
"scale" : "2x"
},
{
"size" : "1024x1024",
"idiom" : "ios-marketing",
- "filename" : "Icon-App-1024x1024@1x.png",
+ "filename" : "icon-1024.png",
"scale" : "1x"
}
],
@@ -119,4 +119,4 @@
"version" : 1,
"author" : "xcode"
}
-}
+}
\ No newline at end of file
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-1024.png b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-1024.png
new file mode 100644
index 0000000..9da3bab
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-1024.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-20-ipad.png b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-20-ipad.png
new file mode 100644
index 0000000..d953b16
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-20-ipad.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-20@2x-ipad.png b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-20@2x-ipad.png
new file mode 100644
index 0000000..61e01af
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-20@2x-ipad.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-20@2x.png b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-20@2x.png
new file mode 100644
index 0000000..61e01af
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-20@2x.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-20@3x.png b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-20@3x.png
new file mode 100644
index 0000000..950325e
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-20@3x.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-29-ipad.png b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-29-ipad.png
new file mode 100644
index 0000000..2c5ab67
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-29-ipad.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-29.png b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-29.png
new file mode 100644
index 0000000..2c5ab67
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-29.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-29@2x-ipad.png b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-29@2x-ipad.png
new file mode 100644
index 0000000..9ed7580
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-29@2x-ipad.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-29@2x.png b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-29@2x.png
new file mode 100644
index 0000000..9ed7580
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-29@2x.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-29@3x.png b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-29@3x.png
new file mode 100644
index 0000000..c30e547
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-29@3x.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-40.png b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-40.png
new file mode 100644
index 0000000..61e01af
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-40.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-40@2x.png b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-40@2x.png
new file mode 100644
index 0000000..5f4cf8f
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-40@2x.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-40@3x.png b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-40@3x.png
new file mode 100644
index 0000000..3e479dd
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-40@3x.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-60@2x.png b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-60@2x.png
new file mode 100644
index 0000000..3e479dd
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-60@2x.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-60@3x.png b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-60@3x.png
new file mode 100644
index 0000000..f621b3b
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-60@3x.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-76.png b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-76.png
new file mode 100644
index 0000000..a5c92e4
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-76.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-76@2x.png b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-76@2x.png
new file mode 100644
index 0000000..d7a8448
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-76@2x.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-83.5@2x.png b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-83.5@2x.png
new file mode 100644
index 0000000..006d760
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/AppIcon.appiconset/icon-83.5@2x.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/Contents.json b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/Contents.json
new file mode 100644
index 0000000..da4a164
--- /dev/null
+++ b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/LaunchImage.launchimage/1125x2436.png b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/LaunchImage.launchimage/1125x2436.png
new file mode 100755
index 0000000..7c7c2a3
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/LaunchImage.launchimage/1125x2436.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/LaunchImage.launchimage/1242x2208.png b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/LaunchImage.launchimage/1242x2208.png
new file mode 100755
index 0000000..939b61e
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/LaunchImage.launchimage/1242x2208.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/LaunchImage.launchimage/640x1136.png b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/LaunchImage.launchimage/640x1136.png
new file mode 100755
index 0000000..3a14c39
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/LaunchImage.launchimage/640x1136.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/LaunchImage.launchimage/640x960.png b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/LaunchImage.launchimage/640x960.png
new file mode 100755
index 0000000..1021a24
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/LaunchImage.launchimage/640x960.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/LaunchImage.launchimage/750x1334.png b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/LaunchImage.launchimage/750x1334.png
new file mode 100755
index 0000000..ea80ec5
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/LaunchImage.launchimage/750x1334.png differ
diff --git a/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/LaunchImage.launchimage/Contents.json b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/LaunchImage.launchimage/Contents.json
new file mode 100755
index 0000000..624b084
--- /dev/null
+++ b/example/ios/Runner/项目资源/智莺生活/image/智莺生活.xcassets/LaunchImage.launchimage/Contents.json
@@ -0,0 +1,71 @@
+{
+ "images" : [
+ {
+ "extent" : "full-screen",
+ "idiom" : "iphone",
+ "subtype" : "2436h",
+ "filename" : "1125x2436.png",
+ "minimum-system-version" : "11.0",
+ "orientation" : "portrait",
+ "scale" : "3x"
+ },
+ {
+ "extent" : "full-screen",
+ "idiom" : "iphone",
+ "subtype" : "736h",
+ "filename" : "1242x2208.png",
+ "minimum-system-version" : "8.0",
+ "orientation" : "portrait",
+ "scale" : "3x"
+ },
+ {
+ "extent" : "full-screen",
+ "idiom" : "iphone",
+ "subtype" : "667h",
+ "filename" : "750x1334.png",
+ "minimum-system-version" : "8.0",
+ "orientation" : "portrait",
+ "scale" : "2x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "iphone",
+ "filename" : "640x960.png",
+ "extent" : "full-screen",
+ "minimum-system-version" : "7.0",
+ "scale" : "2x"
+ },
+ {
+ "extent" : "full-screen",
+ "idiom" : "iphone",
+ "subtype" : "retina4",
+ "filename" : "640x1136.png",
+ "minimum-system-version" : "7.0",
+ "orientation" : "portrait",
+ "scale" : "2x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "iphone",
+ "extent" : "full-screen",
+ "scale" : "1x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "iphone",
+ "extent" : "full-screen",
+ "scale" : "2x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "iphone",
+ "extent" : "full-screen",
+ "subtype" : "retina4",
+ "scale" : "2x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/example/lib/main.dart b/example/lib/main.dart
index 2904bc0..9e5b085 100644
--- a/example/lib/main.dart
+++ b/example/lib/main.dart
@@ -4,6 +4,7 @@ import 'package:zhiying_base_widget/pages/home_page/home_page.dart';
import 'package:provider/provider.dart';
import 'package:zhiying_base_widget/register.dart';
import 'package:zhiying_comm/zhiying_comm.dart';
+import 'package:flutter_alibc/flutter_alibc.dart';
void main() {
FlutterError.onError = (FlutterErrorDetails details) {
@@ -25,7 +26,11 @@ class _MyAppState extends State {
child: Text(
"走神了~\n${error.exceptionAsString()}",
style:
- Theme.of(context).textTheme.title.copyWith(color: Colors.redAccent),
+ Theme
+ .of(context)
+ .textTheme
+ .title
+ .copyWith(color: Colors.redAccent),
),
);
}
@@ -35,6 +40,9 @@ class _MyAppState extends State {
super.initState();
print('初始化~~~~');
BaseWidgetRegister.init();
+ FlutterAlibc.initAlibc(version: "", appName: "").then((result) {
+ Logger.debug('${result.errorCode} ${result.errorMessage}');
+ });
}
@override
diff --git a/lib/pages/goods_details_page/goods_details_page.dart b/lib/pages/goods_details_page/goods_details_page.dart
index fa38d3d..657857b 100644
--- a/lib/pages/goods_details_page/goods_details_page.dart
+++ b/lib/pages/goods_details_page/goods_details_page.dart
@@ -1,13 +1,14 @@
+import 'dart:ui';
+
import 'package:flutter/material.dart';
+import 'package:flutter_bloc/flutter_bloc.dart';
+import 'package:provider/provider.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart';
import 'package:zhiying_base_widget/pages/goods_details_page/bloc/goods_details_page_bloc.dart';
import 'package:zhiying_base_widget/pages/goods_details_page/bloc/goods_details_page_repository.dart';
import 'package:zhiying_base_widget/pages/goods_details_page/notifier/goods_details_page_notifier.dart';
import 'package:zhiying_base_widget/widgets/goods_details/footer/goods_details_footer_widget.dart';
import 'package:zhiying_comm/zhiying_comm.dart';
-import 'package:provider/provider.dart';
-import 'package:flutter_bloc/flutter_bloc.dart';
-import 'dart:ui';
class GoodsDetailsPage extends StatefulWidget {
final Map data;
@@ -24,19 +25,19 @@ class _GoodsDetailsPageState extends State {
print("parent data = ${widget.data}");
super.initState();
}
+
@override
Widget build(BuildContext context) {
- return Scaffold(
- backgroundColor: HexColor.fromHex('#FFF1F1F1'),
- body: MultiProvider(
- providers: [
- /// 滑动通知
- ChangeNotifierProvider.value(value: GoodsDetailsPageNotifier()),
- ],
- child: BlocProvider(
- create: (_) => GoodsDetailsPageBloc(repository: GoodsDetailsPageRepository())..add(GoodsDetailsPageInitEvent(model: widget?.data)),
- child: GoodsDetailsContainer(widget?.data),
- ),
+ return MultiProvider(
+ providers: [
+ /// 滑动通知
+ ChangeNotifierProvider.value(value: GoodsDetailsPageNotifier()),
+ ],
+ child: BlocProvider(
+ create: (_) =>
+ GoodsDetailsPageBloc(repository: GoodsDetailsPageRepository())
+ ..add(GoodsDetailsPageInitEvent(model: widget?.data)),
+ child: GoodsDetailsContainer(widget?.data),
),
);
}
@@ -54,7 +55,8 @@ class GoodsDetailsContainer extends StatefulWidget {
class _GoodsDetailsContainerState extends State {
bool _isEnded = false;
ScrollController _controller = ScrollController();
- RefreshController _refreshController = RefreshController(initialRefresh: false);
+ RefreshController _refreshController =
+ RefreshController(initialRefresh: false);
void _onLoading() async {
// await Future.delayed(Duration(milliseconds: 1000));
@@ -79,11 +81,14 @@ class _GoodsDetailsContainerState extends State {
void initState() {
_controller.addListener(() {
// print('${_controller.offset} ${_controller.position.maxScrollExtent}');
- if (_controller.offset >= _controller.position.maxScrollExtent && !_isEnded) {
+ if (_controller.offset >= _controller.position.maxScrollExtent &&
+ !_isEnded) {
// 滑动到底部
_isEnded = true;
- Provider.of(context, listen: false).loadMore();
- } else if (_controller.offset < _controller.position.maxScrollExtent && _isEnded) {
+ Provider.of(context, listen: false)
+ .loadMore();
+ } else if (_controller.offset < _controller.position.maxScrollExtent &&
+ _isEnded) {
_isEnded = false;
Provider.of(context, listen: false).reset();
}
@@ -125,35 +130,30 @@ class _GoodsDetailsContainerState extends State {
/// 主视图
Widget _getMainWidget(List