소스 검색

1800*1350像素,版本1.0.17

panxingxin 5 년 전
부모
커밋
eba78603a4

+ 1 - 1
dev.xml

@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='utf-8'?>
-<widget id="com.ionicframework.devSgZongLi" version="1.0.16" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
+<widget id="com.ionicframework.devSgZongLi" version="1.0.17" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
     <name>SG测试</name>
     <description>An awesome Ionic/Cordova app.</description>
     <author email="hi@ionicframework.com" href="http://ionicframework.com/">Ionic Framework Team</author>

+ 1 - 1
prod.xml

@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='utf-8'?>
-<widget id="com.ionicframework.sgZongLi" version="1.0.16" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
+<widget id="com.ionicframework.sgZongLi" version="1.0.17" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
     <name>SG综礼</name>
     <description>An awesome Ionic/Cordova app.</description>
     <author email="hi@ionicframework.com" href="http://ionicframework.com/">Ionic Framework Team</author>

+ 4 - 4
src/app/contract-detail/contract-detail.page.ts

@@ -62,12 +62,12 @@ export class ContractDetailPage implements OnInit {
 
   takePicture(contract) {
     const options: CameraOptions = {
-      quality: 100,
+      quality: 90,
       destinationType: this.camera.DestinationType.DATA_URL,
-      encodingType: this.camera.EncodingType.PNG,
+      encodingType: this.camera.EncodingType.JPEG,
       mediaType: this.camera.MediaType.PICTURE,
-      targetWidth: 1500,
-      targetHeight: 1125
+      targetWidth: 1800,
+      targetHeight: 1350
     }
 
     this.camera.getPicture(options).then((imageData) => {

+ 5 - 4
src/app/sample-detail/sample-detail.page.ts

@@ -67,12 +67,13 @@ export class SampleDetailPage implements OnInit {
 
   takePicture(sample) {
     const options: CameraOptions = {
-      quality: 100,
+      quality: 90,
       destinationType: this.camera.DestinationType.DATA_URL,
-      encodingType: this.camera.EncodingType.PNG,
+      encodingType: this.camera.EncodingType.JPEG,
       mediaType: this.camera.MediaType.PICTURE,
-      targetWidth: 1500,
-      targetHeight: 1125
+      targetWidth: 1800,
+      targetHeight: 1350
+      // 1500
     }
 
     this.camera.getPicture(options).then((imageData) => {

+ 4 - 4
src/app/store-qc-detail/store-qc-detail.page.ts

@@ -94,12 +94,12 @@ export class StoreQCDetailPage implements OnInit {
   }
   takePicture(qc) {
     const options: CameraOptions = {
-      quality: 100,
+      quality: 90,
       destinationType: this.camera.DestinationType.DATA_URL,
-      encodingType: this.camera.EncodingType.PNG,
+      encodingType: this.camera.EncodingType.JPEG,
       mediaType: this.camera.MediaType.PICTURE,
-      targetWidth: 1500,
-      targetHeight: 1125
+      targetWidth: 1800,
+      targetHeight: 1350
     }
 
     this.camera.getPicture(options).then((imageData) => {

+ 4 - 4
src/app/store-qc-scanning/store-qc-scanning.page.ts

@@ -189,12 +189,12 @@ export class StoreQCScanningPage implements OnInit {
 
   takePicture(qc) {
     const options: CameraOptions = {
-      quality: 100,
+      quality: 90,
       destinationType: this.camera.DestinationType.DATA_URL,
-      encodingType: this.camera.EncodingType.PNG,
+      encodingType: this.camera.EncodingType.JPEG,
       mediaType: this.camera.MediaType.PICTURE,
-      targetWidth: 1500,
-      targetHeight: 1125
+      targetWidth: 1800,
+      targetHeight: 1350
     }
 
     this.camera.getPicture(options).then((imageData) => {