Commit bd58aed6 authored by wangqinghua's avatar wangqinghua

物品领用

parent 5644f15f
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<widget id="io.ionic.smart19.starter" version="4.3.8" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <widget id="io.ionic.smart19.starter" version="4.3.9" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>部机关党建云</name> <name>部机关党建云</name>
<description>组织部党建云平台App.</description> <description>组织部党建云平台App.</description>
<author email="hi@ionicframework" href="http://ionicframework.com/">Ionic Framework Team</author> <author email="hi@ionicframework" href="http://ionicframework.com/">Ionic Framework Team</author>
...@@ -86,7 +86,6 @@ ...@@ -86,7 +86,6 @@
<plugin name="cordova-plugin-statusbar" spec="^2.4.2" /> <plugin name="cordova-plugin-statusbar" spec="^2.4.2" />
<plugin name="cordova-plugin-file" spec="^6.0.1" /> <plugin name="cordova-plugin-file" spec="^6.0.1" />
<plugin name="cordova.plugins.diagnostic" spec="^2.0.0" /> <plugin name="cordova.plugins.diagnostic" spec="^2.0.0" />
<plugin name="cordova-plugin-tts" spec="^0.2.3" />
<plugin name="phonegap-plugin-mobile-accessibility" spec="~1.0.5-dev" /> <plugin name="phonegap-plugin-mobile-accessibility" spec="~1.0.5-dev" />
<plugin name="cordova-plugin-camera" spec="~4.0.3" /> <plugin name="cordova-plugin-camera" spec="~4.0.3" />
<plugin name="cordova-plugin-file-transfer" spec="~1.7.1" /> <plugin name="cordova-plugin-file-transfer" spec="~1.7.1" />
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
"proxies": [ "proxies": [
{ {
"path": "/wisdomgroup", "path": "/wisdomgroup",
"proxyUrl": "http://218.78.19.169:8081/wisdomgroup" "proxyUrl": "http://47.103.33.196:8080/wisdomgroup"
} }
] ]
} }
...@@ -156,6 +156,11 @@ ...@@ -156,6 +156,11 @@
"resolved": "http://r.cnpmjs.org/@ionic-native/screen-orientation/download/@ionic-native/screen-orientation-4.20.0.tgz", "resolved": "http://r.cnpmjs.org/@ionic-native/screen-orientation/download/@ionic-native/screen-orientation-4.20.0.tgz",
"integrity": "sha1-Qzf34BTZ0S0tmpuPjt6c76Vc9zk=" "integrity": "sha1-Qzf34BTZ0S0tmpuPjt6c76Vc9zk="
}, },
"@ionic-native/sms": {
"version": "4.20.0",
"resolved": "http://r.cnpmjs.org/@ionic-native/sms/download/@ionic-native/sms-4.20.0.tgz",
"integrity": "sha1-GYuGAvOoT33WbuwPwGq6kT/xnZY="
},
"@ionic-native/splash-screen": { "@ionic-native/splash-screen": {
"version": "4.20.0", "version": "4.20.0",
"resolved": "http://r.cnpmjs.org/@ionic-native/splash-screen/download/@ionic-native/splash-screen-4.20.0.tgz", "resolved": "http://r.cnpmjs.org/@ionic-native/splash-screen/download/@ionic-native/splash-screen-4.20.0.tgz",
...@@ -3284,6 +3289,12 @@ ...@@ -3284,6 +3289,12 @@
"resolved": "https://registry.npmjs.org/cordova-plugin-badge/-/cordova-plugin-badge-0.8.7.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-badge/-/cordova-plugin-badge-0.8.7.tgz",
"integrity": "sha512-s+s4yusKdeJ4sMPhQs4zR3lR2UuROzSy14GFAp00pTHPiBfCtxeINSUYAZYnpuO3RGx6PPlVCwSJpVG0IdM58g==" "integrity": "sha512-s+s4yusKdeJ4sMPhQs4zR3lR2UuROzSy14GFAp00pTHPiBfCtxeINSUYAZYnpuO3RGx6PPlVCwSJpVG0IdM58g=="
}, },
"cordova-plugin-camera": {
"version": "4.0.3",
"resolved": "http://r.cnpmjs.org/cordova-plugin-camera/download/cordova-plugin-camera-4.0.3.tgz",
"integrity": "sha1-c3Olk4MYyGzP2E43E+I4LRD+B2s=",
"dev": true
},
"cordova-plugin-device": { "cordova-plugin-device": {
"version": "2.0.1", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/cordova-plugin-device/-/cordova-plugin-device-2.0.1.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-device/-/cordova-plugin-device-2.0.1.tgz",
...@@ -3299,6 +3310,12 @@ ...@@ -3299,6 +3310,12 @@
"resolved": "https://registry.npmjs.org/cordova-plugin-file-opener2/-/cordova-plugin-file-opener2-2.0.19.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-file-opener2/-/cordova-plugin-file-opener2-2.0.19.tgz",
"integrity": "sha1-yjrhIlOVt3qx/lsgrMv+zGiOJJM=" "integrity": "sha1-yjrhIlOVt3qx/lsgrMv+zGiOJJM="
}, },
"cordova-plugin-file-transfer": {
"version": "1.7.1",
"resolved": "http://r.cnpmjs.org/cordova-plugin-file-transfer/download/cordova-plugin-file-transfer-1.7.1.tgz",
"integrity": "sha1-p12L4uvDu5sjxbG70ZkhTsJnWGs=",
"dev": true
},
"cordova-plugin-geolocation": { "cordova-plugin-geolocation": {
"version": "4.0.1", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/cordova-plugin-geolocation/-/cordova-plugin-geolocation-4.0.1.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-geolocation/-/cordova-plugin-geolocation-4.0.1.tgz",
...@@ -3309,16 +3326,17 @@ ...@@ -3309,16 +3326,17 @@
"resolved": "https://registry.npmjs.org/cordova-plugin-ionic-webview/-/cordova-plugin-ionic-webview-1.1.16.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-ionic-webview/-/cordova-plugin-ionic-webview-1.1.16.tgz",
"integrity": "sha512-57EW4qNkKyCfcVt0pH11s88Dvwdtgf2UkbAyPNk2+T1cmLVQ503S/+3Wa3l173J0NGt/QGGyUM8Z66LkqTnoWg==" "integrity": "sha512-57EW4qNkKyCfcVt0pH11s88Dvwdtgf2UkbAyPNk2+T1cmLVQ503S/+3Wa3l173J0NGt/QGGyUM8Z66LkqTnoWg=="
}, },
"cordova-plugin-splashscreen": {
"version": "5.0.3",
"resolved": "http://r.cnpmjs.org/cordova-plugin-splashscreen/download/cordova-plugin-splashscreen-5.0.3.tgz",
"integrity": "sha1-AoIEcnccPhC0PO7dVLCh5GdO+m0=",
"dev": true
},
"cordova-plugin-statusbar": { "cordova-plugin-statusbar": {
"version": "2.4.2", "version": "2.4.2",
"resolved": "https://registry.npmjs.org/cordova-plugin-statusbar/-/cordova-plugin-statusbar-2.4.2.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-statusbar/-/cordova-plugin-statusbar-2.4.2.tgz",
"integrity": "sha1-/B+9wNjXAzp+jh8ff/FnrJvU+vY=" "integrity": "sha1-/B+9wNjXAzp+jh8ff/FnrJvU+vY="
}, },
"cordova-plugin-tts": {
"version": "0.2.3",
"resolved": "http://r.cnpmjs.org/cordova-plugin-tts/download/cordova-plugin-tts-0.2.3.tgz",
"integrity": "sha1-xXQ/bG8lHoy0vEXdM9QamiKZcoc="
},
"cordova-plugin-whitelist": { "cordova-plugin-whitelist": {
"version": "1.3.3", "version": "1.3.3",
"resolved": "https://registry.npmjs.org/cordova-plugin-whitelist/-/cordova-plugin-whitelist-1.3.3.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-whitelist/-/cordova-plugin-whitelist-1.3.3.tgz",
...@@ -8790,6 +8808,12 @@ ...@@ -8790,6 +8808,12 @@
"integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=",
"dev": true "dev": true
}, },
"phonegap-plugin-mobile-accessibility": {
"version": "1.0.5",
"resolved": "http://r.cnpmjs.org/phonegap-plugin-mobile-accessibility/download/phonegap-plugin-mobile-accessibility-1.0.5.tgz",
"integrity": "sha1-lah1TRJ1CLxuGuJZpTznZYNurAM=",
"dev": true
},
"pify": { "pify": {
"version": "2.3.0", "version": "2.3.0",
"resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
"@ionic-native/keyboard": "^4.6.0", "@ionic-native/keyboard": "^4.6.0",
"@ionic-native/mobile-accessibility": "^4.20.0", "@ionic-native/mobile-accessibility": "^4.20.0",
"@ionic-native/screen-orientation": "^4.20.0", "@ionic-native/screen-orientation": "^4.20.0",
"@ionic-native/sms": "^4.20.0",
"@ionic-native/splash-screen": "^4.20.0", "@ionic-native/splash-screen": "^4.20.0",
"@ionic-native/status-bar": "4.4.0", "@ionic-native/status-bar": "4.4.0",
"@ionic/storage": "2.1.3", "@ionic/storage": "2.1.3",
...@@ -48,7 +49,6 @@ ...@@ -48,7 +49,6 @@
"cordova-plugin-geolocation": "^4.0.1", "cordova-plugin-geolocation": "^4.0.1",
"cordova-plugin-ionic-webview": "^1.1.16", "cordova-plugin-ionic-webview": "^1.1.16",
"cordova-plugin-statusbar": "^2.4.2", "cordova-plugin-statusbar": "^2.4.2",
"cordova-plugin-tts": "^0.2.3",
"cordova-plugin-whitelist": "^1.3.3", "cordova-plugin-whitelist": "^1.3.3",
"cordova.plugins.diagnostic": "^2.0.0", "cordova.plugins.diagnostic": "^2.0.0",
"ion2-calendar": "^2.2.0", "ion2-calendar": "^2.2.0",
...@@ -70,8 +70,7 @@ ...@@ -70,8 +70,7 @@
"phonegap-plugin-mobile-accessibility": "~1.0.5-dev", "phonegap-plugin-mobile-accessibility": "~1.0.5-dev",
"cordova-plugin-camera": "~4.0.3", "cordova-plugin-camera": "~4.0.3",
"cordova-plugin-file-transfer": "~1.7.1", "cordova-plugin-file-transfer": "~1.7.1",
"cordova-plugin-splashscreen": "~5.0.2", "cordova-plugin-splashscreen": "~5.0.2"
"com.moust.cordova.videoplayer": "https://github.com/moust/cordova-plugin-videoplayer.git"
}, },
"description": "An Ionic project", "description": "An Ionic project",
"cordova": { "cordova": {
...@@ -90,12 +89,10 @@ ...@@ -90,12 +89,10 @@
"cordova-plugin-ionic-keyboard": {}, "cordova-plugin-ionic-keyboard": {},
"cordova-plugin-statusbar": {}, "cordova-plugin-statusbar": {},
"cordova.plugins.diagnostic": {}, "cordova.plugins.diagnostic": {},
"cordova-plugin-tts": {},
"phonegap-plugin-mobile-accessibility": {}, "phonegap-plugin-mobile-accessibility": {},
"cordova-plugin-camera": {}, "cordova-plugin-camera": {},
"cordova-plugin-file-transfer": {}, "cordova-plugin-file-transfer": {},
"cordova-plugin-splashscreen": {}, "cordova-plugin-splashscreen": {}
"com.moust.cordova.videoplayer": {}
}, },
"platforms": [ "platforms": [
"ios", "ios",
......
...@@ -39,6 +39,10 @@ ...@@ -39,6 +39,10 @@
{ {
"xml": "<uses-permission android:name=\"android.permission.BLUETOOTH\" />", "xml": "<uses-permission android:name=\"android.permission.BLUETOOTH\" />",
"count": 1 "count": 1
},
{
"xml": "<uses-feature android:name=\"android.hardware.telephony\" android:required=\"false\" />",
"count": 1
} }
], ],
"/*": [ "/*": [
...@@ -193,6 +197,10 @@ ...@@ -193,6 +197,10 @@
{ {
"xml": "<feature name=\"AppAvailability\"><param name=\"android-package\" value=\"com.ohh2ahh.appavailability.AppAvailability\" /></feature>", "xml": "<feature name=\"AppAvailability\"><param name=\"android-package\" value=\"com.ohh2ahh.appavailability.AppAvailability\" /></feature>",
"count": 1 "count": 1
},
{
"xml": "<feature name=\"Sms\"><param name=\"android-package\" value=\"com.cordova.plugins.sms.Sms\" /></feature>",
"count": 1
} }
] ]
} }
...@@ -265,6 +273,9 @@ ...@@ -265,6 +273,9 @@
}, },
"cordova-plugin-appavailability": { "cordova-plugin-appavailability": {
"PACKAGE_NAME": "io.ionic.smart19.starter" "PACKAGE_NAME": "io.ionic.smart19.starter"
},
"cordova-sms-plugin": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
} }
}, },
"dependent_plugins": {}, "dependent_plugins": {},
...@@ -646,6 +657,14 @@ ...@@ -646,6 +657,14 @@
"clobbers": [ "clobbers": [
"appAvailability" "appAvailability"
] ]
},
{
"id": "cordova-sms-plugin.Sms",
"file": "plugins/cordova-sms-plugin/www/sms.js",
"pluginId": "cordova-sms-plugin",
"clobbers": [
"window.sms"
]
} }
], ],
"plugin_metadata": { "plugin_metadata": {
...@@ -670,6 +689,7 @@ ...@@ -670,6 +689,7 @@
"com.moust.cordova.videoplayer": "1.0.1", "com.moust.cordova.videoplayer": "1.0.1",
"es6-promise-plugin": "4.2.2", "es6-promise-plugin": "4.2.2",
"cordova-plugin-screen-orientation": "3.0.1", "cordova-plugin-screen-orientation": "3.0.1",
"cordova-plugin-appavailability": "0.4.2" "cordova-plugin-appavailability": "0.4.2",
"cordova-sms-plugin": "1.0.0"
} }
} }
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
#Fri Jul 12 22:18:57 CST 2019 #Sat Jul 13 14:30:31 CST 2019
base.0=/Users/ben/gitLab-project/party-build-cloud/platforms/android/app/build/intermediates/transforms/dex/release/0 base.0=/Users/ben/gitLab-project/party-build-cloud/platforms/android/app/build/intermediates/transforms/dex/release/0
renamed.0=classes.dex renamed.0=classes.dex
file.0=/Users/ben/gitLab-project/party-build-cloud/platforms/android/app/build/intermediates/transforms/dex/release/0/classes.dex file.0=/Users/ben/gitLab-project/party-build-cloud/platforms/android/app/build/intermediates/transforms/dex/release/0/classes.dex
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.ionic.smart19.starter" package="io.ionic.smart19.starter"
android:hardwareAccelerated="true" android:hardwareAccelerated="true"
android:versionCode="40308" android:versionCode="40309"
android:versionName="4.3.8" > android:versionName="4.3.9" >
<uses-sdk <uses-sdk
android:minSdkVersion="16" android:minSdkVersion="16"
......
[{"outputType":{"type":"MERGED_MANIFESTS"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":40308},"path":"AndroidManifest.xml","properties":{"packageId":"io.ionic.smart19.starter","split":"","minSdkVersion":"16"}}] [{"outputType":{"type":"MERGED_MANIFESTS"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":40309},"path":"AndroidManifest.xml","properties":{"packageId":"io.ionic.smart19.starter","split":"","minSdkVersion":"16"}}]
\ No newline at end of file \ No newline at end of file
[{"outputType":{"type":"INSTANT_RUN_MERGED_MANIFESTS"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":40308},"path":"AndroidManifest.xml","properties":{"packageId":"io.ionic.smart19.starter","split":"","minSdkVersion":"16"}}] [{"outputType":{"type":"INSTANT_RUN_MERGED_MANIFESTS"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":40309},"path":"AndroidManifest.xml","properties":{"packageId":"io.ionic.smart19.starter","split":"","minSdkVersion":"16"}}]
\ No newline at end of file \ No newline at end of file
[{"outputType":{"type":"PROCESSED_RES"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":40308},"path":"resources-release.ap_","properties":{"packageId":"io.ionic.smart19.starter","split":"","minSdkVersion":"16"}}] [{"outputType":{"type":"PROCESSED_RES"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":40309},"path":"resources-release.ap_","properties":{"packageId":"io.ionic.smart19.starter","split":"","minSdkVersion":"16"}}]
\ No newline at end of file \ No newline at end of file
[{"name":"main","index":0,"scopes":["EXTERNAL_LIBRARIES","PROJECT","SUB_PROJECTS"],"types":["DEX"],"format":"DIRECTORY","present":true}] [{"name":"main","index":0,"scopes":["EXTERNAL_LIBRARIES","SUB_PROJECTS","PROJECT"],"types":["DEX"],"format":"DIRECTORY","present":true}]
\ No newline at end of file \ No newline at end of file
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":40308},"path":"app-release-unsigned.apk","properties":{"packageId":"io.ionic.smart19.starter","split":"","minSdkVersion":"16"}}] [{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":40309},"path":"app-release-unsigned.apk","properties":{"packageId":"io.ionic.smart19.starter","split":"","minSdkVersion":"16"}}]
\ No newline at end of file \ No newline at end of file
...@@ -176,7 +176,7 @@ document.getElementById(id).style.display = 'none'; ...@@ -176,7 +176,7 @@ document.getElementById(id).style.display = 'none';
<span class="mdl-layout-title">Lint Report: 1 error</span> <span class="mdl-layout-title">Lint Report: 1 error</span>
<div class="mdl-layout-spacer"></div> <div class="mdl-layout-spacer"></div>
<nav class="mdl-navigation mdl-layout--large-screen-only"> <nav class="mdl-navigation mdl-layout--large-screen-only">
Check performed at Fri Jul 12 22:19:00 CST 2019 </nav> Check performed at Sat Jul 13 14:30:35 CST 2019 </nav>
</div> </div>
</header> </header>
<div class="mdl-layout__drawer"> <div class="mdl-layout__drawer">
......
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<manifest android:hardwareAccelerated="true" android:versionCode="40308" android:versionName="4.3.8" package="io.ionic.smart19.starter" xmlns:android="http://schemas.android.com/apk/res/android"> <manifest android:hardwareAccelerated="true" android:versionCode="40309" android:versionName="4.3.9" package="io.ionic.smart19.starter" xmlns:android="http://schemas.android.com/apk/res/android">
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" /> <supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
<application android:hardwareAccelerated="true" android:icon="@mipmap/icon" android:label="@string/app_name" android:supportsRtl="true"> <application android:hardwareAccelerated="true" android:icon="@mipmap/icon" android:label="@string/app_name" android:supportsRtl="true">
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:theme="@android:style/Theme.DeviceDefault.NoActionBar" android:windowSoftInputMode="adjustResize"> <activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:theme="@android:style/Theme.DeviceDefault.NoActionBar" android:windowSoftInputMode="adjustResize">
...@@ -26,4 +26,5 @@ ...@@ -26,4 +26,5 @@
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.BLUETOOTH" /> <uses-permission android:name="android.permission.BLUETOOTH" />
<uses-feature android:name="android.hardware.telephony" android:required="false" />
</manifest> </manifest>
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<widget id="io.ionic.smart19.starter" version="4.3.8" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <widget id="io.ionic.smart19.starter" version="4.3.9" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<feature name="Keyboard"> <feature name="Keyboard">
<param name="android-package" onload="true" value="io.ionic.keyboard.IonicKeyboard" /> <param name="android-package" onload="true" value="io.ionic.keyboard.IonicKeyboard" />
</feature> </feature>
...@@ -67,6 +67,9 @@ ...@@ -67,6 +67,9 @@
<feature name="AppAvailability"> <feature name="AppAvailability">
<param name="android-package" value="com.ohh2ahh.appavailability.AppAvailability" /> <param name="android-package" value="com.ohh2ahh.appavailability.AppAvailability" />
</feature> </feature>
<feature name="Sms">
<param name="android-package" value="com.cordova.plugins.sms.Sms" />
</feature>
<name>部机关党建云</name> <name>部机关党建云</name>
<description>组织部党建云平台App.</description> <description>组织部党建云平台App.</description>
<author email="hi@ionicframework" href="http://ionicframework.com/">Ionic Framework Team</author> <author email="hi@ionicframework" href="http://ionicframework.com/">Ionic Framework Team</author>
......
...@@ -377,6 +377,14 @@ module.exports = [ ...@@ -377,6 +377,14 @@ module.exports = [
"clobbers": [ "clobbers": [
"appAvailability" "appAvailability"
] ]
},
{
"id": "cordova-sms-plugin.Sms",
"file": "plugins/cordova-sms-plugin/www/sms.js",
"pluginId": "cordova-sms-plugin",
"clobbers": [
"window.sms"
]
} }
]; ];
module.exports.metadata = module.exports.metadata =
...@@ -403,7 +411,8 @@ module.exports.metadata = ...@@ -403,7 +411,8 @@ module.exports.metadata =
"com.moust.cordova.videoplayer": "1.0.1", "com.moust.cordova.videoplayer": "1.0.1",
"es6-promise-plugin": "4.2.2", "es6-promise-plugin": "4.2.2",
"cordova-plugin-screen-orientation": "3.0.1", "cordova-plugin-screen-orientation": "3.0.1",
"cordova-plugin-appavailability": "0.4.2" "cordova-plugin-appavailability": "0.4.2",
"cordova-sms-plugin": "1.0.0"
}; };
// BOTTOM OF METADATA // BOTTOM OF METADATA
}); });
\ No newline at end of file
...@@ -95,6 +95,9 @@ ...@@ -95,6 +95,9 @@
}, },
"cordova-plugin-appavailability": { "cordova-plugin-appavailability": {
"PACKAGE_NAME": "io.ionic.smart19.starter" "PACKAGE_NAME": "io.ionic.smart19.starter"
},
"cordova-sms-plugin": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
} }
}, },
"dependent_plugins": {}, "dependent_plugins": {},
...@@ -499,6 +502,14 @@ ...@@ -499,6 +502,14 @@
"clobbers": [ "clobbers": [
"appAvailability" "appAvailability"
] ]
},
{
"file": "plugins/cordova-sms-plugin/www/sms.js",
"id": "cordova-sms-plugin.Sms",
"pluginId": "cordova-sms-plugin",
"clobbers": [
"window.sms"
]
} }
], ],
"plugin_metadata": { "plugin_metadata": {
...@@ -523,6 +534,7 @@ ...@@ -523,6 +534,7 @@
"cordova-plugin-splashscreen": "5.0.2", "cordova-plugin-splashscreen": "5.0.2",
"com.moust.cordova.videoplayer": "1.0.1", "com.moust.cordova.videoplayer": "1.0.1",
"cordova-plugin-screen-orientation": "3.0.1", "cordova-plugin-screen-orientation": "3.0.1",
"cordova-plugin-appavailability": "0.4.2" "cordova-plugin-appavailability": "0.4.2",
"cordova-sms-plugin": "1.0.0"
} }
} }
\ No newline at end of file
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<widget id="io.ionic.smart19.starter" version="4.3.2" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <widget id="io.ionic.smart19.starter" version="4.3.9" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>部机关党建云(试运行)</name> <name>部机关党建云</name>
<description>An awesome Ionic/Cordova app.</description> <description>组织部党建云平台App.</description>
<author email="hi@ionicframework" href="http://ionicframework.com/">Ionic Framework Team</author> <author email="hi@ionicframework" href="http://ionicframework.com/">Ionic Framework Team</author>
<content src="index.html" /> <content src="index.html" />
<access origin="*" /> <access origin="*" />
......
...@@ -400,6 +400,14 @@ module.exports = [ ...@@ -400,6 +400,14 @@ module.exports = [
"clobbers": [ "clobbers": [
"appAvailability" "appAvailability"
] ]
},
{
"file": "plugins/cordova-sms-plugin/www/sms.js",
"id": "cordova-sms-plugin.Sms",
"pluginId": "cordova-sms-plugin",
"clobbers": [
"window.sms"
]
} }
]; ];
module.exports.metadata = module.exports.metadata =
...@@ -426,7 +434,8 @@ module.exports.metadata = ...@@ -426,7 +434,8 @@ module.exports.metadata =
"cordova-plugin-splashscreen": "5.0.2", "cordova-plugin-splashscreen": "5.0.2",
"com.moust.cordova.videoplayer": "1.0.1", "com.moust.cordova.videoplayer": "1.0.1",
"cordova-plugin-screen-orientation": "3.0.1", "cordova-plugin-screen-orientation": "3.0.1",
"cordova-plugin-appavailability": "0.4.2" "cordova-plugin-appavailability": "0.4.2",
"cordova-sms-plugin": "1.0.0"
} }
// BOTTOM OF METADATA // BOTTOM OF METADATA
}); });
\ No newline at end of file
...@@ -66,6 +66,9 @@ ...@@ -66,6 +66,9 @@
}, },
"cordova-plugin-appavailability": { "cordova-plugin-appavailability": {
"PACKAGE_NAME": "io.ionic.smart19.starter" "PACKAGE_NAME": "io.ionic.smart19.starter"
},
"cordova-sms-plugin": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
} }
}, },
"dependent_plugins": { "dependent_plugins": {
......
...@@ -69,6 +69,9 @@ ...@@ -69,6 +69,9 @@
}, },
"cordova-plugin-appavailability": { "cordova-plugin-appavailability": {
"PACKAGE_NAME": "io.ionic.smart19.starter" "PACKAGE_NAME": "io.ionic.smart19.starter"
},
"cordova-sms-plugin": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
} }
}, },
"dependent_plugins": { "dependent_plugins": {
......
# Cordova Text-to-Speech Plugin
## Platforms
iOS 7+
Windows Phone 8
Android 4.0.3+ (API Level 15+)
## Installation
```sh
cordova plugin add cordova-plugin-tts
```
## Usage
```javascript
// basic usage
TTS
.speak('hello, world!', function () {
alert('success');
}, function (reason) {
alert(reason);
});
// or with more options
TTS
.speak({
text: 'hello, world!',
locale: 'en-GB',
rate: 0.75
}, function () {
alert('success');
}, function (reason) {
alert(reason);
});
```
**Tips:** `speak` an empty string to interrupt.
## API Definitions
The `onfulfilled` callback will be called when the speech finishes,
and the `onrejected` callback (Windows Phone only) will be called when an error occurs.
If the API is invoked when it's still speaking, the previous speaking will be canceled immediately,
but the `onfulfilled` callback of the previous speaking will be called when it stops.
```typescript
declare module TTS {
interface IOptions {
/** text to speak */
text: string;
/** a string like 'en-US', 'zh-CN', etc */
locale?: string;
/** speed rate, 0 ~ 1 */
rate?: number;
}
function speak(options: IOptions, onfulfilled: () => void, onrejected: (reason) => void): void;
function speak(text: string, onfulfilled: () => void, onrejected: (reason) => void): void;
}
```
{
"_from": "cordova-plugin-tts",
"_id": "cordova-plugin-tts@0.2.3",
"_inBundle": false,
"_integrity": "sha1-xXQ/bG8lHoy0vEXdM9QamiKZcoc=",
"_location": "/cordova-plugin-tts",
"_phantomChildren": {},
"_requested": {
"type": "tag",
"registry": true,
"raw": "cordova-plugin-tts",
"name": "cordova-plugin-tts",
"escapedName": "cordova-plugin-tts",
"rawSpec": "",
"saveSpec": null,
"fetchSpec": "latest"
},
"_requiredBy": [
"#USER",
"/"
],
"_resolved": "http://r.cnpmjs.org/cordova-plugin-tts/download/cordova-plugin-tts-0.2.3.tgz",
"_shasum": "c5743f6c6f251e8cb4bc45dd33d41a9a22997287",
"_spec": "cordova-plugin-tts",
"_where": "/Users/ben/gitLab-project/wisdom-ces",
"author": {
"name": "VILIC VANE"
},
"bugs": {
"url": "https://github.com/vilic/cordova-plugin-tts/issues"
},
"bundleDependencies": false,
"cordova": {
"id": "cordova-plugin-tts",
"platforms": [
"ios",
"wp8",
"android"
]
},
"deprecated": false,
"description": "Cordova Text-to-Speech Plugin",
"homepage": "https://github.com/vilic/cordova-plugin-tts#readme",
"keywords": [
"cordova",
"tts",
"text-to-speech",
"ecosystem:cordova",
"cordova-ios",
"cordova-wp8",
"cordova-android"
],
"license": "MIT",
"name": "cordova-plugin-tts",
"repository": {
"type": "git",
"url": "git+https://github.com/vilic/cordova-plugin-tts.git"
},
"version": "0.2.3"
}
<?xml version='1.0' encoding='utf-8'?>
<plugin
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-tts"
version="0.2.3">
<name>TTS</name>
<description>Cordova Text-to-Speech Plugin</description>
<author>VILIC VANE</author>
<license>MIT</license>
<keywords>cordova,tts,text-to-speech</keywords>
<repo>https://github.com/vilic/cordova-plugin-tts.git</repo>
<issue>https://github.com/vilic/cordova-plugin-tts/issues</issue>
<js-module src="www/tts.js" name="tts">
<clobbers target="TTS" />
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="TTS">
<param name="ios-package" value="CDVTTS"/>
</feature>
</config-file>
<header-file src="src/ios/CDVTTS.h" />
<source-file src="src/ios/CDVTTS.m" />
</platform>
<!-- windows phone 8 -->
<platform name="wp8">
<config-file target="config.xml" parent="/*">
<feature name="TTS">
<param name="wp-package" value="TTS"/>
</feature>
</config-file>
<config-file target="Properties/WMAppManifest.xml" parent="/*/App/Capabilities">
<Capability Name="ID_CAP_SPEECH_RECOGNITION" />
</config-file>
<source-file src="src/wp/TTS.cs" />
</platform>
<!-- android -->
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="TTS">
<param name="android-package" value="com.wordsbaking.cordova.tts.TTS" />
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="src/android/TTS.java" target-dir="src/com/wordsbaking/cordova/tts" />
</platform>
</plugin>
package com.wordsbaking.cordova.tts;
import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaPlugin;
import org.apache.cordova.CordovaWebView;
import org.apache.cordova.CordovaInterface;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.speech.tts.TextToSpeech;
import android.speech.tts.TextToSpeech.OnInitListener;
import android.speech.tts.UtteranceProgressListener;
import java.util.HashMap;
import java.util.Locale;
/*
Cordova Text-to-Speech Plugin
https://github.com/vilic/cordova-plugin-tts
by VILIC VANE
https://github.com/vilic
MIT License
*/
public class TTS extends CordovaPlugin implements OnInitListener {
public static final String ERR_INVALID_OPTIONS = "ERR_INVALID_OPTIONS";
public static final String ERR_NOT_INITIALIZED = "ERR_NOT_INITIALIZED";
public static final String ERR_ERROR_INITIALIZING = "ERR_ERROR_INITIALIZING";
public static final String ERR_UNKNOWN = "ERR_UNKNOWN";
boolean ttsInitialized = false;
TextToSpeech tts = null;
@Override
public void initialize(CordovaInterface cordova, final CordovaWebView webView) {
tts = new TextToSpeech(cordova.getActivity().getApplicationContext(), this);
tts.setOnUtteranceProgressListener(new UtteranceProgressListener() {
@Override
public void onStart(String s) {
// do nothing
}
@Override
public void onDone(String callbackId) {
if (!callbackId.equals("")) {
CallbackContext context = new CallbackContext(callbackId, webView);
context.success();
}
}
@Override
public void onError(String callbackId) {
if (!callbackId.equals("")) {
CallbackContext context = new CallbackContext(callbackId, webView);
context.error(ERR_UNKNOWN);
}
}
});
}
@Override
public boolean execute(String action, JSONArray args, CallbackContext callbackContext)
throws JSONException {
if (action.equals("speak")) {
speak(args, callbackContext);
} else {
return false;
}
return true;
}
@Override
public void onInit(int status) {
if (status != TextToSpeech.SUCCESS) {
tts = null;
} else {
// warm up the tts engine with an empty string
HashMap<String, String> ttsParams = new HashMap<String, String>();
ttsParams.put(TextToSpeech.Engine.KEY_PARAM_UTTERANCE_ID, "");
tts.setLanguage(new Locale("en", "US"));
tts.speak("", TextToSpeech.QUEUE_FLUSH, ttsParams);
ttsInitialized = true;
}
}
private void speak(JSONArray args, CallbackContext callbackContext)
throws JSONException, NullPointerException {
JSONObject params = args.getJSONObject(0);
if (params == null) {
callbackContext.error(ERR_INVALID_OPTIONS);
return;
}
String text;
String locale;
double rate;
if (params.isNull("text")) {
callbackContext.error(ERR_INVALID_OPTIONS);
return;
} else {
text = params.getString("text");
}
if (params.isNull("locale")) {
locale = "en-US";
} else {
locale = params.getString("locale");
}
if (params.isNull("rate")) {
rate = 1.0;
} else {
rate = params.getDouble("rate");
}
if (tts == null) {
callbackContext.error(ERR_ERROR_INITIALIZING);
return;
}
if (!ttsInitialized) {
callbackContext.error(ERR_NOT_INITIALIZED);
return;
}
HashMap<String, String> ttsParams = new HashMap<String, String>();
ttsParams.put(TextToSpeech.Engine.KEY_PARAM_UTTERANCE_ID, callbackContext.getCallbackId());
String[] localeArgs = locale.split("-");
tts.setLanguage(new Locale(localeArgs[0], localeArgs[1]));
tts.setSpeechRate((float) rate);
tts.speak(text, TextToSpeech.QUEUE_FLUSH, ttsParams);
}
}
\ No newline at end of file
/*
Cordova Text-to-Speech Plugin
https://github.com/vilic/cordova-plugin-tts
by VILIC VANE
https://github.com/vilic
MIT License
*/
#import <Cordova/CDV.h>
#import <AVFoundation/AVFoundation.h>
@interface CDVTTS : CDVPlugin <AVSpeechSynthesizerDelegate> {
AVSpeechSynthesizer* synthesizer;
NSString* lastCallbackId;
NSString* callbackId;
}
- (void)speak:(CDVInvokedUrlCommand*)command;
@end
/*
Cordova Text-to-Speech Plugin
https://github.com/vilic/cordova-plugin-tts
by VILIC VANE
https://github.com/vilic
MIT License
*/
#import <Cordova/CDV.h>
#import "CDVTTS.h"
@implementation CDVTTS
- (void)pluginInitialize {
synthesizer = [AVSpeechSynthesizer new];
synthesizer.delegate = self;
}
- (void)speechSynthesizer:(AVSpeechSynthesizer*)synthesizer didFinishSpeechUtterance:(AVSpeechUtterance*)utterance {
CDVPluginResult* result = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK];
if (lastCallbackId) {
[self.commandDelegate sendPluginResult:result callbackId:lastCallbackId];
lastCallbackId = nil;
} else {
[self.commandDelegate sendPluginResult:result callbackId:callbackId];
callbackId = nil;
}
[[AVAudioSession sharedInstance] setActive:NO withOptions:0 error:nil];
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryAmbient
withOptions: 0 error: nil];
[[AVAudioSession sharedInstance] setActive:YES withOptions: 0 error:nil];
}
- (void)speak:(CDVInvokedUrlCommand*)command {
[[AVAudioSession sharedInstance] setActive:NO withOptions:0 error:nil];
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback
withOptions:AVAudioSessionCategoryOptionDuckOthers error:nil];
if (callbackId) {
lastCallbackId = callbackId;
}
callbackId = command.callbackId;
[synthesizer stopSpeakingAtBoundary:AVSpeechBoundaryImmediate];
NSDictionary* options = [command.arguments objectAtIndex:0];
NSString* text = [options objectForKey:@"text"];
NSString* locale = [options objectForKey:@"locale"];
double rate = [[options objectForKey:@"rate"] doubleValue];
if (!locale || (id)locale == [NSNull null]) {
locale = @"en-US";
}
if (!rate) {
rate = 1.0;
}
AVSpeechUtterance* utterance = [[AVSpeechUtterance new] initWithString:text];
utterance.voice = [AVSpeechSynthesisVoice voiceWithLanguage:locale];
// Rate expression adjusted manually for a closer match to other platform.
utterance.rate = (AVSpeechUtteranceMinimumSpeechRate * 1.5 + AVSpeechUtteranceDefaultSpeechRate) / 2.5 * rate * rate;
utterance.pitchMultiplier = 1.2;
[synthesizer speakUtterance:utterance];
}
@end
/*
Cordova Text-to-Speech Plugin
https://github.com/vilic/cordova-plugin-tts
by VILIC VANE
https://github.com/vilic
MIT License
*/
using System;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Threading.Tasks;
using Windows.Phone.Speech.Synthesis;
using WPCordovaClassLib.Cordova;
using WPCordovaClassLib.Cordova.Commands;
using WPCordovaClassLib.Cordova.JSON;
namespace Cordova.Extension.Commands {
[DataContract]
class Options {
[DataMember]
public string text;
[DataMember]
public string locale;
[DataMember]
public double? rate;
}
class TTS : BaseCommand {
SpeechSynthesizer synth = new SpeechSynthesizer();
string lastCallbackId;
public async void speak(string argsJSON) {
if (lastCallbackId != null) {
DispatchCommandResult(new PluginResult(PluginResult.Status.OK), lastCallbackId);
lastCallbackId = null;
synth.CancelAll();
}
var args = JsonHelper.Deserialize<string[]>(argsJSON);
var options = JsonHelper.Deserialize<Options>(args[0]);
lastCallbackId = args[1];
var locale = options.locale != null ? options.locale : "en-US";
var rate = options.rate != null ? options.rate : 1.0;
var ssml =
@"<?xml version=""1.0""?>
<speak version=""1.0""
xmlns=""http://www.w3.org/2001/10/synthesis""
xml:lang=""" + locale + @""">
<prosody pitch=""x-high"" rate=""" + rate + @""">" + xmlEncode(options.text) + @"</prosody>
</speak>";
try {
await synth.SpeakSsmlAsync(ssml);
lastCallbackId = null;
DispatchCommandResult(new PluginResult(PluginResult.Status.OK));
} catch (OperationCanceledException) {
// do nothing
} catch (Exception e) {
Debug.WriteLine(e.Message);
lastCallbackId = null;
DispatchCommandResult(new PluginResult(PluginResult.Status.ERROR, e.Message));
}
}
string xmlEncode(string text) {
return text
.Replace("&", "&amp;")
.Replace("<", "&lt;")
.Replace(">", "&gt;");
}
}
}
...@@ -105,14 +105,6 @@ ...@@ -105,14 +105,6 @@
"is_top_level": true, "is_top_level": true,
"variables": {} "variables": {}
}, },
"cordova-plugin-tts": {
"source": {
"type": "registry",
"id": "cordova-plugin-tts"
},
"is_top_level": true,
"variables": {}
},
"integrator-cordova-plugin-downloader": { "integrator-cordova-plugin-downloader": {
"source": { "source": {
"type": "registry", "type": "registry",
...@@ -202,5 +194,13 @@ ...@@ -202,5 +194,13 @@
}, },
"is_top_level": true, "is_top_level": true,
"variables": {} "variables": {}
},
"cordova-sms-plugin": {
"source": {
"type": "registry",
"id": "cordova-sms-plugin"
},
"is_top_level": true,
"variables": {}
} }
} }
\ No newline at end of file
import {NgModule, ErrorHandler} from '@angular/core'; import {NgModule, ErrorHandler} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser'; import {BrowserModule} from '@angular/platform-browser';
import {IonicApp, IonicModule, IonicErrorHandler} from 'ionic-angular'; import {IonicApp, IonicModule, IonicErrorHandler, Config} from 'ionic-angular';
import {MyApp} from './app.component'; import {MyApp} from './app.component';
import {HttpClientModule} from "@angular/common/http"; import {HttpClientModule} from "@angular/common/http";
...@@ -44,6 +44,11 @@ import {ProposalPageModule} from "../pages/mine-pages/proposal/proposal.module"; ...@@ -44,6 +44,11 @@ import {ProposalPageModule} from "../pages/mine-pages/proposal/proposal.module";
import {MineService} from "../pages/mine-pages/mine.service"; import {MineService} from "../pages/mine-pages/mine.service";
import {ScreenOrientation} from "@ionic-native/screen-orientation"; import {ScreenOrientation} from "@ionic-native/screen-orientation";
import {AppAvailability} from "@ionic-native/app-availability"; import {AppAvailability} from "@ionic-native/app-availability";
import {SMS} from "@ionic-native/sms";
import {ServeService} from "../pages/service-pages/serve.service";
import { ModalFromRightEnter, ModalFromRightLeave, ModalScaleEnter, ModalScaleLeave } from './modal-transitions';
import {GoodsCollectPageModule} from "../pages/service-pages/goods-collect/goods-collect.module";
@NgModule({ @NgModule({
declarations: [ declarations: [
...@@ -76,6 +81,7 @@ import {AppAvailability} from "@ionic-native/app-availability"; ...@@ -76,6 +81,7 @@ import {AppAvailability} from "@ionic-native/app-availability";
StuffDetailPageModule, StuffDetailPageModule,
PublishPageModule, PublishPageModule,
ProposalPageModule, ProposalPageModule,
GoodsCollectPageModule,
], ],
bootstrap: [IonicApp], bootstrap: [IonicApp],
entryComponents: [ entryComponents: [
...@@ -104,6 +110,7 @@ import {AppAvailability} from "@ionic-native/app-availability"; ...@@ -104,6 +110,7 @@ import {AppAvailability} from "@ionic-native/app-availability";
ScreenOrientation, ScreenOrientation,
AppAvailability, AppAvailability,
Geolocation, Geolocation,
SMS,
DatePipe, DatePipe,
LearnService, LearnService,
LearnManageService, LearnManageService,
...@@ -111,6 +118,7 @@ import {AppAvailability} from "@ionic-native/app-availability"; ...@@ -111,6 +118,7 @@ import {AppAvailability} from "@ionic-native/app-availability";
CommonService, CommonService,
BackButtonService, BackButtonService,
HomeService, HomeService,
ServeService,
TabsService, TabsService,
MineService, MineService,
EmitService, EmitService,
...@@ -118,4 +126,14 @@ import {AppAvailability} from "@ionic-native/app-availability"; ...@@ -118,4 +126,14 @@ import {AppAvailability} from "@ionic-native/app-availability";
] ]
}) })
export class AppModule { export class AppModule {
constructor(public config: Config) {
this.setCustomTransitions();
}
private setCustomTransitions() {
this.config.setTransition('modal-from-right-enter', ModalFromRightEnter);
this.config.setTransition('modal-from-right-leave', ModalFromRightLeave);
this.config.setTransition('modal-scale-enter', ModalScaleEnter);
this.config.setTransition('modal-scale-leave', ModalScaleLeave);
}
} }
import { Animation, PageTransition } from 'ionic-angular'; export class ModalFromRightEnter extends PageTransition { public init() { super.init(); const ele = this.enteringView.pageRef().nativeElement; const backdrop = new Animation(this.plt, ele.querySelector('ion-backdrop')); backdrop.beforeStyles({ 'z-index': 0, 'opacity': 0.3, 'visibility': 'visible' }); const wrapper = new Animation(this.plt, ele.querySelector('.modal-wrapper')); wrapper.beforeStyles({ 'opacity': 1 }); wrapper.fromTo('transform', 'translateX(100%)', 'translateX(10%)'); const contentWrapper = new Animation(this.plt, ele.querySelector('ion-content.content')); contentWrapper.beforeStyles({ 'width': '90%' }); this .element(this.enteringView.pageRef()) .duration(300) .easing('cubic-bezier(.25, .1, .25, 1)') .add(backdrop) .add(wrapper) .add(contentWrapper); }} export class ModalFromRightLeave extends PageTransition { public init() { super.init(); const ele = this.leavingView.pageRef().nativeElement; const backdrop = new Animation(this.plt, ele.querySelector('ion-backdrop')); backdrop.beforeStyles({ 'visibility': 'hidden' }); const wrapper = new Animation(this.plt, ele.querySelector('.modal-wrapper')); wrapper.fromTo('transform', 'translateX(10%)', 'translateX(100%)'); this .element(this.leavingView.pageRef()) .duration(300) .easing('cubic-bezier(.25, .1, .25, 1)') .add(backdrop) .add(wrapper); }} export class ModalScaleEnter extends PageTransition { public init() { super.init(); const ele = this.enteringView.pageRef().nativeElement; const wrapper = new Animation(this.plt, ele.querySelector('.modal-wrapper')); wrapper.beforeStyles({ 'opacity': 1 }); wrapper.fromTo('transform', 'scale(0)', 'scale(1)'); this .element(this.enteringView.pageRef()) .duration(400) .easing('cubic-bezier(.1, .7, .1, 1)') .add(wrapper); }} export class ModalScaleLeave extends PageTransition { public init() { super.init(); const ele = this.leavingView.pageRef().nativeElement; const wrapper = new Animation(this.plt, ele.querySelector('.modal-wrapper')); wrapper.fromTo('transform', 'scale(1)', 'scale(0)'); this .element(this.leavingView.pageRef()) .duration(400) .easing('cubic-bezier(.1, .7, .1, 1)') .add(wrapper); }}
\ No newline at end of file
...@@ -31,12 +31,24 @@ ...@@ -31,12 +31,24 @@
<ul class="icon_lists dib-box"> <ul class="icon_lists dib-box">
<li class="dib"> <li class="dib">
<span class="icon iconfont">&#xe64c;</span>
<div class="name">cart</div>
<div class="code-name">&amp;#xe64c;</div>
</li>
<li class="dib">
<span class="icon iconfont">&#xe621;</span> <span class="icon iconfont">&#xe621;</span>
<div class="name">tm-email</div> <div class="name">tm-email</div>
<div class="code-name">&amp;#xe621;</div> <div class="code-name">&amp;#xe621;</div>
</li> </li>
<li class="dib"> <li class="dib">
<span class="icon iconfont">&#xe60f;</span>
<div class="name">filter</div>
<div class="code-name">&amp;#xe60f;</div>
</li>
<li class="dib">
<span class="icon iconfont">&#xe607;</span> <span class="icon iconfont">&#xe607;</span>
<div class="name">fire</div> <div class="name">fire</div>
<div class="code-name">&amp;#xe607;</div> <div class="code-name">&amp;#xe607;</div>
...@@ -49,12 +61,24 @@ ...@@ -49,12 +61,24 @@
</li> </li>
<li class="dib"> <li class="dib">
<span class="icon iconfont">&#xe72d;</span>
<div class="name">order</div>
<div class="code-name">&amp;#xe72d;</div>
</li>
<li class="dib">
<span class="icon iconfont">&#xe647;</span> <span class="icon iconfont">&#xe647;</span>
<div class="name">视频</div> <div class="name">视频</div>
<div class="code-name">&amp;#xe647;</div> <div class="code-name">&amp;#xe647;</div>
</li> </li>
<li class="dib"> <li class="dib">
<span class="icon iconfont">&#xe618;</span>
<div class="name">star - simple-surfac</div>
<div class="code-name">&amp;#xe618;</div>
</li>
<li class="dib">
<span class="icon iconfont">&#xe6ab;</span> <span class="icon iconfont">&#xe6ab;</span>
<div class="name">发布</div> <div class="name">发布</div>
<div class="code-name">&amp;#xe6ab;</div> <div class="code-name">&amp;#xe6ab;</div>
...@@ -117,6 +141,15 @@ ...@@ -117,6 +141,15 @@
<ul class="icon_lists dib-box"> <ul class="icon_lists dib-box">
<li class="dib"> <li class="dib">
<span class="icon iconfont icon-cart"></span>
<div class="name">
cart
</div>
<div class="code-name">.icon-cart
</div>
</li>
<li class="dib">
<span class="icon iconfont icon-youjian"></span> <span class="icon iconfont icon-youjian"></span>
<div class="name"> <div class="name">
tm-email tm-email
...@@ -126,6 +159,15 @@ ...@@ -126,6 +159,15 @@
</li> </li>
<li class="dib"> <li class="dib">
<span class="icon iconfont icon-icon-filter"></span>
<div class="name">
filter
</div>
<div class="code-name">.icon-icon-filter
</div>
</li>
<li class="dib">
<span class="icon iconfont icon-fire"></span> <span class="icon iconfont icon-fire"></span>
<div class="name"> <div class="name">
fire fire
...@@ -144,6 +186,15 @@ ...@@ -144,6 +186,15 @@
</li> </li>
<li class="dib"> <li class="dib">
<span class="icon iconfont icon-order"></span>
<div class="name">
order
</div>
<div class="code-name">.icon-order
</div>
</li>
<li class="dib">
<span class="icon iconfont icon-shipin-tianchong"></span> <span class="icon iconfont icon-shipin-tianchong"></span>
<div class="name"> <div class="name">
视频 视频
...@@ -153,6 +204,15 @@ ...@@ -153,6 +204,15 @@
</li> </li>
<li class="dib"> <li class="dib">
<span class="icon iconfont icon-star-simple-surfac"></span>
<div class="name">
star - simple-surfac
</div>
<div class="code-name">.icon-star-simple-surfac
</div>
</li>
<li class="dib">
<span class="icon iconfont icon-fabu"></span> <span class="icon iconfont icon-fabu"></span>
<div class="name"> <div class="name">
发布 发布
...@@ -201,6 +261,14 @@ ...@@ -201,6 +261,14 @@
<li class="dib"> <li class="dib">
<svg class="icon svg-icon" aria-hidden="true"> <svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#icon-cart"></use>
</svg>
<div class="name">cart</div>
<div class="code-name">#icon-cart</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#icon-youjian"></use> <use xlink:href="#icon-youjian"></use>
</svg> </svg>
<div class="name">tm-email</div> <div class="name">tm-email</div>
...@@ -209,6 +277,14 @@ ...@@ -209,6 +277,14 @@
<li class="dib"> <li class="dib">
<svg class="icon svg-icon" aria-hidden="true"> <svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#icon-icon-filter"></use>
</svg>
<div class="name">filter</div>
<div class="code-name">#icon-icon-filter</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#icon-fire"></use> <use xlink:href="#icon-fire"></use>
</svg> </svg>
<div class="name">fire</div> <div class="name">fire</div>
...@@ -225,6 +301,14 @@ ...@@ -225,6 +301,14 @@
<li class="dib"> <li class="dib">
<svg class="icon svg-icon" aria-hidden="true"> <svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#icon-order"></use>
</svg>
<div class="name">order</div>
<div class="code-name">#icon-order</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#icon-shipin-tianchong"></use> <use xlink:href="#icon-shipin-tianchong"></use>
</svg> </svg>
<div class="name">视频</div> <div class="name">视频</div>
...@@ -233,6 +317,14 @@ ...@@ -233,6 +317,14 @@
<li class="dib"> <li class="dib">
<svg class="icon svg-icon" aria-hidden="true"> <svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#icon-star-simple-surfac"></use>
</svg>
<div class="name">star - simple-surfac</div>
<div class="code-name">#icon-star-simple-surfac</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#icon-fabu"></use> <use xlink:href="#icon-fabu"></use>
</svg> </svg>
<div class="name">发布</div> <div class="name">发布</div>
......
@font-face {font-family: "iconfont"; @font-face {font-family: "iconfont";
src: url('iconfont.eot?t=1557813315754'); /* IE9 */ src: url('iconfont.eot?t=1564384665834'); /* IE9 */
src: url('iconfont.eot?t=1557813315754#iefix') format('embedded-opentype'), /* IE6-IE8 */ src: url('iconfont.eot?t=1564384665834#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAaQAAsAAAAAC+wAAAZEAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCDXgqKNIgYATYCJAMcCxAABCAFhG0HZRv1CVGUL1Ke7A9QYcjScVBSonaYw9gwBkcAABCBL/fF6lnJBm+D6jYpVb/nf3EJnuf399/aZx/NfR9UYho5AUjTACQQIcMRbj+Nmzg5l/kBYQbqAd2AOW3TNuXLpw9ypNzs7uXg/BwA6Mn1ACDzvzZXMpwPG3AAlkKGkU7+AJ6abE7KQflkBxfQ/m5/t+kyuYN9pRcAG3AD4+uBLXxnooKn61BS1XT/c79XfyR+sLz27Lt0xIKGO6MEGlBEW6Q3/5EMSMe8wzybmxSi4mvQ+RAgoQI3jsEDY3MgAwuWCipaSCQEMgIdtoIiRKUv2Nciu3BEs8MEYKf6eflIUDLA4BR8oVEL+gXQ9Sa4iv9lmq5n/XAWYHsQKNAGwIJsLbStR02sjWSS88qWcQAyiBj8UKPNUW2Yxa4+hO14upBBbGAG/Ydn8TgQD8jSEH5S3MObwBAYeJODQOFNNQKBN8MQWHizmNdNfhXV4AAIYp8MoBwgJ0G+gVWdU0UMjrDazub45KgypConp6IsJwW+YwhJVpKVa5vziwocL7KPVdihI0d1mrNLuhH59C4L0EnoEASsnC2PoYT/idA3EAtcIOT2AXk1aTrX0Bm00AwiIXrkGN2ergcij6H9oeWyCj3tzutV2v2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gTJxG5TbP2ZzRzScc0mwwrZHMRa4wcWTksWlSN2OjJynURcnJfX2LWIEiandAY79219RikyPL/Zjr/+GGE2EOGfYt/0Xwnbc5IExhhktwX6I5FLDjqXrbT+MDXcoSwPVlxUJsEJZJIqaAriRPp1HFLHgskZVtWWERjsvG1n0H0vHO8LhG5EfUxY4UTEJJJRIYkkklUxybIcs04eleYf5YEs6zc9dFOKRRWaa3raYlW3ja+6IT0PNXXV5fsclkEo257cFeX7bpRqJGjXWqEaqyXeb3Gk1P7nXAwAA') format('woff2'),
url('iconfont.woff?t=1557813315754') format('woff'), url('iconfont.woff?t=1564384665834') format('woff'),
url('iconfont.ttf?t=1557813315754') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ url('iconfont.ttf?t=1564384665834') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
url('iconfont.svg?t=1557813315754#iconfont') format('svg'); /* iOS 4.1- */ url('iconfont.svg?t=1564384665834#iconfont') format('svg'); /* iOS 4.1- */
} }
.iconfont { .iconfont {
...@@ -15,10 +15,18 @@ ...@@ -15,10 +15,18 @@
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
.icon-cart:before {
content: "\e64c";
}
.icon-youjian:before { .icon-youjian:before {
content: "\e621"; content: "\e621";
} }
.icon-icon-filter:before {
content: "\e60f";
}
.icon-fire:before { .icon-fire:before {
content: "\e607"; content: "\e607";
} }
...@@ -27,10 +35,18 @@ ...@@ -27,10 +35,18 @@
content: "\e612"; content: "\e612";
} }
.icon-order:before {
content: "\e72d";
}
.icon-shipin-tianchong:before { .icon-shipin-tianchong:before {
content: "\e647"; content: "\e647";
} }
.icon-star-simple-surfac:before {
content: "\e618";
}
.icon-fabu:before { .icon-fabu:before {
content: "\e6ab"; content: "\e6ab";
} }
......
This diff is collapsed.
This diff is collapsed.
src/assets/imgs/mine/barCode.png

9.87 KB | W: | H:

src/assets/imgs/mine/barCode.png

10.6 KB | W: | H:

src/assets/imgs/mine/barCode.png
src/assets/imgs/mine/barCode.png
src/assets/imgs/mine/barCode.png
src/assets/imgs/mine/barCode.png
  • 2-up
  • Swipe
  • Onion skin
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
...@@ -6,7 +6,9 @@ import {CommentComponent} from './comment/comment'; ...@@ -6,7 +6,9 @@ import {CommentComponent} from './comment/comment';
import {SwiperComponent} from './swiper/swiper'; import {SwiperComponent} from './swiper/swiper';
import {EducationComponent} from './education/education'; import {EducationComponent} from './education/education';
import {VideoiComponent} from './videoi/videoi'; import {VideoiComponent} from './videoi/videoi';
import { SidebarComponent } from './sidebar/sidebar'; import {SidebarComponent} from './sidebar/sidebar';
import {FilterComponent} from './filter/filter';
import {SpcesComponent} from './spces/spces';
@NgModule({ @NgModule({
declarations: [ declarations: [
...@@ -17,6 +19,8 @@ import { SidebarComponent } from './sidebar/sidebar'; ...@@ -17,6 +19,8 @@ import { SidebarComponent } from './sidebar/sidebar';
EducationComponent, EducationComponent,
VideoiComponent, VideoiComponent,
SidebarComponent, SidebarComponent,
FilterComponent,
SpcesComponent,
], ],
imports: [ imports: [
IonicPageModule, IonicPageModule,
...@@ -29,17 +33,23 @@ import { SidebarComponent } from './sidebar/sidebar'; ...@@ -29,17 +33,23 @@ import { SidebarComponent } from './sidebar/sidebar';
EducationComponent, EducationComponent,
VideoiComponent, VideoiComponent,
SidebarComponent, SidebarComponent,
FilterComponent,
SpcesComponent,
], ],
providers: [ providers: [
SlideListComponent, SlideListComponent,
ReplyComponent, ReplyComponent,
CommentComponent, CommentComponent,
SwiperComponent SwiperComponent,
FilterComponent,
SpcesComponent
], ],
entryComponents: [ entryComponents: [
ReplyComponent, ReplyComponent,
CommentComponent, CommentComponent,
SwiperComponent SwiperComponent,
FilterComponent,
SpcesComponent,
] ]
}) })
export class ComponentsModule { export class ComponentsModule {
......
...@@ -51,8 +51,5 @@ ...@@ -51,8 +51,5 @@
</body> </body>
<script src="assets/swiper/swiper-4.1.6.min.js"></script> <script src="assets/swiper/swiper-4.1.6.min.js"></script>
<script src="assets/jwplayer/jwplayer.js"></script>
<script src="assets/jwplayer/jwpsrv.js"></script>
<script src="assets/jwplayer/jwplayer.html5.js"></script>
</html> </html>
...@@ -62,5 +62,37 @@ ...@@ -62,5 +62,37 @@
<label class="label2-2 more2-2">值班换班</label> <label class="label2-2 more2-2">值班换班</label>
</div> </div>
</ng-container> </ng-container>
<div class="card" (click)="goTo('LearningListPage')">
<img src="./assets/imgs/home/icon-hysyd.png">
<label class="label2-2 more2-2">会议室预定</label>
</div>
<div class="card" (click)="goTo('GoodsCollectPage')">
<img src="./assets/imgs/home/icon-wply.png">
<label class="label2-2 more2-2">物品领用</label>
</div>
<div class="card" (click)="goTo('LearningListPage')">
<img src="./assets/imgs/home/icon-ycsq.png">
<label class="label2-2 more2-2">用车申请</label>
</div>
<div class="card" (click)="goTo('LearningListPage')">
<img src="./assets/imgs/home/icon-fkdj.png">
<label class="label2-2 more2-2">访客登记</label>
</div>
<div class="card" (click)="goTo('LearningListPage')">
<img src="./assets/imgs/home/icon-yjbx.png">
<label class="label2-2 more2-2">一键保修</label>
</div>
<div class="card" (click)="goTo('LearningListPage')">
<img src="./assets/imgs/home/icon-yylf.png">
<label class="label2-2 more2-2">预约理发</label>
</div>
<div class="card" (click)="goTo('LearningListPage')">
<img src="./assets/imgs/home/icon-ywzd.png">
<label class="label2-2 more2-2">业务制度</label>
</div>
<div class="card" (click)="goTo('LearningListPage')">
<img src="./assets/imgs/home/icon-zcgl.png">
<label class="label2-2 more2-2">资产管理</label>
</div>
</div> </div>
</ion-content> </ion-content>
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
</ion-row> </ion-row>
</ng-container> </ng-container>
</ng-container> </ng-container>
<ion-list text-center style="margin-top: 10rem" *ngIf=" !isLoad && draftList.length == 0"> <ion-list text-center style="margin-top: 10rem" *ngIf=" draftList.length == 0">
<img style="width: 20%;" src="./assets/imgs/no-info.png" alt=""> <img style="width: 20%;" src="./assets/imgs/no-info.png" alt="">
<p text-center> <p text-center>
暂无发布 暂无发布
......
import {Injectable} from "@angular/core";import {HttpClient} from "@angular/common/http";import {Http} from "@angular/http";import {Observable} from "rxjs/Observable";import {AppGlobal} from "../../service/http.service";import {CommonService} from "../../provide/common.service"; @Injectable()export class ServeService{ constructor( private http:HttpClient, //该请求 将结果转为json private commonSer:CommonService, private https:Http, //该请求不转json ){} //办公用品列表 searchSupplies(data): Observable<any>{ return this.http.post(AppGlobal.domain+'/wisdomgroup/modules/officesupplies/searchSupplies',this.commonSer.toFormData(data)); } //保存订单 saveOrder(data): Observable<any>{ return this.http.post(AppGlobal.domain+'/wisdomgroup/modules/ordermanage/saveOrder',data ); } //类型列表 getTypeList(): Observable<any>{ return this.http.post(AppGlobal.domain+'/wisdomgroup/modules/officesupplies/getTypeList',null); } //购物车 shoppingCar(data): Observable<any>{ return this.http.post(AppGlobal.domain+'/wisdomgroup/modules/ordermanage/shoppingCar',data); } }
\ No newline at end of file
...@@ -17,7 +17,7 @@ export class AppGlobal { ...@@ -17,7 +17,7 @@ export class AppGlobal {
// static domain = "http://192.168.2.235:8080"; //测试环境 // static domain = "http://192.168.2.235:8080"; //测试环境
// static domain = "http://47.103.33.196:8080"; //阿里云正式地址 // static domain = "http://47.103.33.196:8080"; //阿里云正式地址
// static domain = "http://47.103.35.216:8080"; //阿里云测试地址 // static domain = "http://47.103.35.216:8080"; //阿里云测试地址
// static domain = "http://218.78.19.169:8081"; //天翼云测试地址 // static domain = "http://218.78.19.169:8081"; //天翼云地址
static domain = ""; //本地环境 static domain = ""; //本地环境
//图片地址 //图片地址
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment