Browse Source

first commit

null_safety
fmk 3 years ago
parent
commit
76b7724686
  1. 52
      .gitignore
  2. 10
      .metadata
  3. 7
      .vscode/launch.json
  4. 11
      android/.gitignore
  5. 93
      android/app/build.gradle
  6. BIN
      android/app/huixiang.jks
  7. BIN
      android/app/libs/AMap3DMap_7.9.1_AMapSearch_7.9.0_AMapLocation_5.3.1_20210414.jar
  8. BIN
      android/app/libs/Bluetooth-release.aar
  9. BIN
      android/app/libs/android-gif-drawable-release@1.2.23.aar
  10. BIN
      android/app/libs/arm64-v8a/libAMapSDK_MAP_v7_9_1.so
  11. BIN
      android/app/libs/armeabi-v7a/libAMapSDK_MAP_v7_9_1.so
  12. BIN
      android/app/libs/armeabi/libAMapSDK_MAP_v7_9_1.so
  13. BIN
      android/app/libs/contacts-release.aar
  14. BIN
      android/app/libs/fingerprint-release.aar
  15. BIN
      android/app/libs/iBeacon-release.aar
  16. BIN
      android/app/libs/messaging-release.aar
  17. BIN
      android/app/libs/oaid_sdk_1.0.25.aar
  18. BIN
      android/app/libs/sqlite-release.aar
  19. BIN
      android/app/libs/uniMPSDK-release.aar
  20. BIN
      android/app/libs/uniapp-release.aar
  21. BIN
      android/app/libs/x86/libAMapSDK_MAP_v7_9_1.so
  22. BIN
      android/app/libs/x86_64/libAMapSDK_MAP_v7_9_1.so
  23. 7
      android/app/src/debug/AndroidManifest.xml
  24. 84
      android/app/src/main/AndroidManifest.xml
  25. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/__uniappchooselocation.js
  26. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/__uniappes6.js
  27. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/__uniappopenlocation.js
  28. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/__uniapppicker.js
  29. 8
      android/app/src/main/assets/apps/__UNI__EB9B743/www/__uniappquill.js
  30. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/__uniappquillimageresize.js
  31. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/__uniappscan.js
  32. BIN
      android/app/src/main/assets/apps/__UNI__EB9B743/www/__uniappsuccess.png
  33. 25
      android/app/src/main/assets/apps/__UNI__EB9B743/www/__uniappview.html
  34. 8
      android/app/src/main/assets/apps/__UNI__EB9B743/www/app-config-service.js
  35. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/app-config.js
  36. 7
      android/app/src/main/assets/apps/__UNI__EB9B743/www/app-service.js
  37. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/app-view.js
  38. BIN
      android/app/src/main/assets/apps/__UNI__EB9B743/www/components/uni-datetime-picker/cale-50.png
  39. BIN
      android/app/src/main/assets/apps/__UNI__EB9B743/www/components/uni-icons/uni.ttf
  40. 88
      android/app/src/main/assets/apps/__UNI__EB9B743/www/hybrid/html/local.html
  41. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/manifest.json
  42. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/API/map-search/map-search.js
  43. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/API/map/map.js
  44. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/API/navigator/new-page/new-nvue-page-1.js
  45. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/API/navigator/new-page/new-nvue-page-2.js
  46. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/API/subnvue/subnvue/drawer.js
  47. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/API/subnvue/subnvue/popup.js
  48. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/API/subnvue/subnvue/video-mask.js
  49. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/component/cover-view/cover-view.js
  50. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/component/input/input.js
  51. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/component/map/map.js
  52. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/component/video/video.js
  53. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/badge/badge.js
  54. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/calendar/calendar.js
  55. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/card/card.js
  56. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/collapse/collapse.js
  57. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/countdown/countdown.js
  58. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/data-checkbox/data-checkbox.js
  59. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/data-picker/data-picker.js
  60. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/dateformat/dateformat.js
  61. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/drawer/drawer.js
  62. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/easyinput/easyinput.js
  63. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/fab/fab.js
  64. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/fav/fav.js
  65. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/forms/forms.js
  66. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/goods-nav/goods-nav.js
  67. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/grid/grid.js
  68. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/group/group.js
  69. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/icons/icons.js
  70. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/indexed-list/indexed-list.js
  71. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/link/link.js
  72. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/list/ad.js
  73. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/list/chat.js
  74. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/list/list.js
  75. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/load-more/load-more.js
  76. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/nav-bar/nav-bar.js
  77. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/notice-bar/notice-bar.js
  78. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/number-box/number-box.js
  79. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/pagination/pagination.js
  80. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/popup/popup.js
  81. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/rate/rate.js
  82. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/row/row.js
  83. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/search-bar/search-bar.js
  84. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/section/section.js
  85. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/segmented-control/segmented-control.js
  86. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/steps/steps.js
  87. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/swipe-action/swipe-action.js
  88. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/swiper-dot/swiper-dot.js
  89. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/tag/tag.js
  90. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/title/title.js
  91. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/transition/transition.js
  92. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/tabBar/API/API.js
  93. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/tabBar/component/component.js
  94. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/tabBar/extUI/extUI.js
  95. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/tabBar/template/template.js
  96. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/template/swiper-list-nvue/swiper-list-nvue.js
  97. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/template/swiper-list/swiper-list.js
  98. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/template/swiper-vertical/swiper-vertical.js
  99. 1
      android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/template/tabbar/tabbar.js
  100. BIN
      android/app/src/main/assets/apps/__UNI__EB9B743/www/static/60x60.png
  101. Some files were not shown because too many files have changed in this diff Show More

52
.gitignore vendored

@ -0,0 +1,52 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/
# IntelliJ related
*.iml
*.ipr
*.iws
.idea/
# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/
# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/
# Web related
lib/generated_plugin_registrant.dart
# Symbolication related
app.*.symbols
# Obfuscation related
app.*.map.json
# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release
/android/app/build/
ios/UniMPSDK/Core/*
ios/UniMPSDK/Features/*
/.gradle/

10
.metadata

@ -0,0 +1,10 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled and should not be manually edited.
version:
revision: 02c026b03cd31dd3f867e5faeb7e104cce174c5f
channel: stable
project_type: app

7
.vscode/launch.json vendored

@ -0,0 +1,7 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": []
}

11
android/.gitignore vendored

@ -0,0 +1,11 @@
gradle-wrapper.jar
/.gradle
/captures/
/gradlew
/gradlew.bat
/local.properties
GeneratedPluginRegistrant.java
# Remember to never publicly share your keystore.
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
key.properties

93
android/app/build.gradle

@ -0,0 +1,93 @@
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
def mfph = [
//宿
"apk.applicationId" : "com.zsw.huixiang",
]
android {
compileSdkVersion 30
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
main{
jniLibs.srcDirs = ['libs']
}
}
defaultConfig {
applicationId "com.zsw.huixiang"
minSdkVersion 21
targetSdkVersion 30
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
manifestPlaceholders = mfph
}
signingConfigs {
config {
keyAlias 'huixiang'
keyPassword 'huixiang'
storeFile file('huixiang.jks')
storePassword 'huixiang'
v1SigningEnabled true //v1
v2SigningEnabled true //v2
}
}
buildTypes {
release {
signingConfig signingConfigs.config
}
}
aaptOptions {
additionalParameters '--auto-add-overlay'
ignoreAssetsPattern "!.svn:!.git:.*:!CVS:!thumbs.db:!picasa.ini:!*.scc:*~"
}
}
flutter {
source '../..'
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation fileTree(include: ['*.aar'], dir: 'libs')
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'com.facebook.fresco:fresco:1.13.0'
implementation "com.facebook.fresco:animated-gif:1.13.0"
implementation 'com.github.bumptech.glide:glide:4.12.0'
implementation 'com.alibaba:fastjson:1.2.54'
}

BIN
android/app/huixiang.jks

Binary file not shown.

BIN
android/app/libs/AMap3DMap_7.9.1_AMapSearch_7.9.0_AMapLocation_5.3.1_20210414.jar

Binary file not shown.

BIN
android/app/libs/Bluetooth-release.aar

Binary file not shown.

BIN
android/app/libs/android-gif-drawable-release@1.2.23.aar

Binary file not shown.

BIN
android/app/libs/arm64-v8a/libAMapSDK_MAP_v7_9_1.so

Binary file not shown.

BIN
android/app/libs/armeabi-v7a/libAMapSDK_MAP_v7_9_1.so

Binary file not shown.

BIN
android/app/libs/armeabi/libAMapSDK_MAP_v7_9_1.so

Binary file not shown.

BIN
android/app/libs/contacts-release.aar

Binary file not shown.

BIN
android/app/libs/fingerprint-release.aar

Binary file not shown.

BIN
android/app/libs/iBeacon-release.aar

Binary file not shown.

BIN
android/app/libs/messaging-release.aar

Binary file not shown.

BIN
android/app/libs/oaid_sdk_1.0.25.aar

Binary file not shown.

BIN
android/app/libs/sqlite-release.aar

Binary file not shown.

BIN
android/app/libs/uniMPSDK-release.aar

Binary file not shown.

BIN
android/app/libs/uniapp-release.aar

Binary file not shown.

BIN
android/app/libs/x86/libAMapSDK_MAP_v7_9_1.so

Binary file not shown.

BIN
android/app/libs/x86_64/libAMapSDK_MAP_v7_9_1.so

Binary file not shown.

7
android/app/src/debug/AndroidManifest.xml

@ -0,0 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.zsw.huixiang">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>

84
android/app/src/main/AndroidManifest.xml

@ -0,0 +1,84 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.zsw.huixiang">
<!--允许程序打开网络套接字-->
<uses-permission android:name="android.permission.INTERNET" />
<!--允许程序设置内置sd卡的写权限-->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<!--允许程序获取网络状态-->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<!--允许程序访问WiFi网络信息-->
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<!--允许程序读写手机状态和身份-->
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<!--允许程序访问CellID或WiFi热点来获取粗略的位置-->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<!--精确定位-->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<!--申请调用A-GPS模块-->
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
<!--用于获取wifi的获取权限,wifi信息会用来进行网络定位-->
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<application
android:label="回乡"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme" />
<meta-data
android:name="io.flutter.embedding.android.SplashScreenDrawable"
android:resource="@drawable/launch_background"
/>
<meta-data
android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
android:value="true" />
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<activity
android:name="io.dcloud.PandoraEntryActivity"
android:configChanges="orientation|keyboardHidden|screenSize|mcc|mnc|fontScale|keyboard"
android:hardwareAccelerated="true"
android:launchMode="singleTask"
android:permission="com.miui.securitycenter.permission.AppPermissionsEditor"
android:screenOrientation="user"
android:theme="@style/DCloudTheme"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<action android:name="android.intent.action.VIEW" />
<data android:scheme="h56131bcf" />
</intent-filter>
</activity>
<service android:name="com.amap.api.location.APSService"/>
<meta-data
android:name="dcloud_appkey"
android:value="42e7ed15371a164e53572e7b86c6d6ce" />
<meta-data
android:name="com.amap.api.v2.apikey"
android:value="f39d1daa020a56f208eb2519f63e9534"/>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
android:name="flutterEmbedding"
android:value="2" />
</application>
</manifest>

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/__uniappchooselocation.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/__uniappes6.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/__uniappopenlocation.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/__uniapppicker.js

File diff suppressed because one or more lines are too long

8
android/app/src/main/assets/apps/__UNI__EB9B743/www/__uniappquill.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/__uniappquillimageresize.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/__uniappscan.js

File diff suppressed because one or more lines are too long

BIN
android/app/src/main/assets/apps/__UNI__EB9B743/www/__uniappsuccess.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

25
android/app/src/main/assets/apps/__UNI__EB9B743/www/__uniappview.html

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<script>
var __UniViewStartTime__ = Date.now();
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
CSS.supports('top: constant(a)'))
document.write(
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<title>View</title>
<link rel="stylesheet" href="view.css" />
</head>
<body>
<div id="app"></div>
<script src="__uniappes6.js"></script>
<script src="view.umd.min.js"></script>
<script src="app-view.js"></script>
</body>
</html>

8
android/app/src/main/assets/apps/__UNI__EB9B743/www/app-config-service.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/app-config.js

@ -0,0 +1 @@
(function(e){function r(r){for(var n,l,i=r[0],p=r[1],a=r[2],c=0,s=[];c<i.length;c++)l=i[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in p)Object.prototype.hasOwnProperty.call(p,n)&&(e[n]=p[n]);f&&f(r);while(s.length)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,i=1;i<t.length;i++){var p=t[i];0!==o[p]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={"app-config":0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e["default"]}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var i=this["webpackJsonp"]=this["webpackJsonp"]||[],p=i.push.bind(i);i.push=r,i=i.slice();for(var a=0;a<i.length;a++)r(i[a]);var f=p;t()})([]);

7
android/app/src/main/assets/apps/__UNI__EB9B743/www/app-service.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/app-view.js

File diff suppressed because one or more lines are too long

BIN
android/app/src/main/assets/apps/__UNI__EB9B743/www/components/uni-datetime-picker/cale-50.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

BIN
android/app/src/main/assets/apps/__UNI__EB9B743/www/components/uni-icons/uni.ttf

Binary file not shown.

88
android/app/src/main/assets/apps/__UNI__EB9B743/www/hybrid/html/local.html

@ -0,0 +1,88 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>本地网页</title>
<style type="text/css">
.btn {
display: block;
margin: 20px auto;
padding: 5px;
background-color: #007aff;
border: 0;
color: #ffffff;
height: 40px;
width: 200px;
}
.btn-red {
background-color: #dd524d;
}
.btn-yellow {
background-color: #f0ad4e;
}
.desc {
padding: 10px;
color: #999999;
}
</style>
</head>
<body>
<p class="desc">web-view 组件加载本地 html 示例,仅在 App 环境下生效。点击下列按钮,跳转至其它页面。</p>
<div class="btn-list">
<button class="btn" type="button" data-action="navigateTo">navigateTo</button>
<button class="btn" type="button" data-action="redirectTo">redirectTo</button>
<button class="btn" type="button" data-action="navigateBack">navigateBack</button>
<button class="btn" type="button" data-action="reLaunch">reLaunch</button>
<button class="btn" type="button" data-action="switchTab">switchTab</button>
</div>
<p class="desc">网页向应用发送消息。注意:小程序端应用会在此页面后退时接收到消息。</p>
<div class="btn-list">
<button class="btn btn-red" type="button" id="postMessage">postMessage</button>
</div>
<!-- uni 的 SDK -->
<script type="text/javascript" src="https://js.cdn.aliyun.dcloud.net.cn/dev/uni-app/uni.webview.1.5.2.js"></script>
<script type="text/javascript">
document.addEventListener('UniAppJSBridgeReady', function() {
document.querySelector('.btn-list').addEventListener('click', function(evt) {
var target = evt.target;
if (target.tagName === 'BUTTON') {
var action = target.getAttribute('data-action');
switch (action) {
case 'switchTab':
uni.switchTab({
url: '/pages/tabBar/API/API'
});
break;
case 'reLaunch':
uni.reLaunch({
url: '/pages/tabBar/API/API'
});
break;
case 'navigateBack':
uni.navigateBack({
delta: 1
});
break;
default:
uni[action]({
url: '/pages/component/button/button'
});
break;
}
}
});
document.querySelector("#postMessage").addEventListener('click', function() {
uni.postMessage({
data: {
action: 'message'
}
});
})
});
</script>
</body>
</html>

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/manifest.json

@ -0,0 +1 @@
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__EB9B743","name":"huixiang","version":{"name":"1.0.0","code":"100"},"description":"应用描述","launch_path":"","developer":{"name":"","email":"","url":""},"permissions":{"OAuth":{},"Payment":{},"Push":{},"Share":{},"Speech":{},"VideoPlayer":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview","render":"always","uniNView":{"path":"pages/tabBar/component/component.js"}},"statusbar":{"immersed":"supportedDevice","style":"light","background":"#007AFF"},"usingComponents":true,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","compilerVersion":3,"allowsInlineMediaPlayback":true,"safearea":{"background":"#F8F8F8","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"3.1.18","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"fast"},"tabBar":{"color":"#7A7E83","selectedColor":"#007AFF","borderStyle":"rgba(0,0,0,0.4)","backgroundColor":"#F8F8F8","list":[{"pagePath":"pages/tabBar/component/component","iconPath":"static/component.png","selectedIconPath":"static/componentHL.png","text":"内置组件"},{"pagePath":"pages/tabBar/API/API","iconPath":"static/api.png","selectedIconPath":"static/apiHL.png","text":"接口"},{"pagePath":"pages/tabBar/extUI/extUI","iconPath":"static/extui.png","selectedIconPath":"static/extuiHL.png","text":"扩展组件"},{"pagePath":"pages/tabBar/template/template","iconPath":"static/template.png","selectedIconPath":"static/templateHL.png","text":"模板"}],"height":"50px","child":["lauchwebview"]}},"screenOrientation":["portrait-primary","portrait-secondary"]}

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/API/map-search/map-search.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/API/map/map.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/API/navigator/new-page/new-nvue-page-1.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/API/navigator/new-page/new-nvue-page-2.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/API/subnvue/subnvue/drawer.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/API/subnvue/subnvue/popup.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/API/subnvue/subnvue/video-mask.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/component/cover-view/cover-view.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/component/input/input.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/component/map/map.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/component/video/video.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/badge/badge.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/calendar/calendar.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/card/card.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/collapse/collapse.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/countdown/countdown.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/data-checkbox/data-checkbox.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/data-picker/data-picker.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/dateformat/dateformat.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/drawer/drawer.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/easyinput/easyinput.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/fab/fab.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/fav/fav.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/forms/forms.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/goods-nav/goods-nav.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/grid/grid.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/group/group.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/icons/icons.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/indexed-list/indexed-list.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/link/link.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/list/ad.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/list/chat.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/list/list.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/load-more/load-more.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/nav-bar/nav-bar.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/notice-bar/notice-bar.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/number-box/number-box.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/pagination/pagination.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/popup/popup.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/rate/rate.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/row/row.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/search-bar/search-bar.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/section/section.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/segmented-control/segmented-control.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/steps/steps.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/swipe-action/swipe-action.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/swiper-dot/swiper-dot.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/tag/tag.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/title/title.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/extUI/transition/transition.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/tabBar/API/API.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/tabBar/component/component.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/tabBar/extUI/extUI.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/tabBar/template/template.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/template/swiper-list-nvue/swiper-list-nvue.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/template/swiper-list/swiper-list.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/template/swiper-vertical/swiper-vertical.js

File diff suppressed because one or more lines are too long

1
android/app/src/main/assets/apps/__UNI__EB9B743/www/pages/template/tabbar/tabbar.js

File diff suppressed because one or more lines are too long

BIN
android/app/src/main/assets/apps/__UNI__EB9B743/www/static/60x60.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 774 B

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save