1/** 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 17var savedImageInfo = { 18 filePath: '' 19}; 20 21var pictureListFromGallery = [ 22 { 23 path: "/common/icon/add.png", 24 checkedValue: false, 25 fileSize: 55.6, // Unit:KB 26 type: 1 // 1 image, 3 video 27 }, 28 { 29 path: "/common/icon/up.png", 30 checkedValue: false, 31 fileSize: 95.6, 32 type: 1 33 }, 34 { 35 path: "/common/icon/vmall.png", 36 checkedValue: false, 37 fileSize: 75.6, 38 type: 1 39 }, 40 { 41 path: "/common/icon/pin.png", 42 checkedValue: false, 43 fileSize: 55.6, 44 type: 1 45 }, 46 { 47 path: "/common/icon/delete.png", 48 checkedValue: false, 49 fileSize: 55.6, 50 type: 1 51 }, 52 { 53 path: "/common/icon/ikea.png", 54 checkedValue: false, 55 fileSize: 55.6, 56 type: 1 57 } 58]; 59 60export default class MorkModel { 61 saveImage() { 62 return savedImageInfo; 63 } 64 65 queryFromGallery() { 66 return pictureListFromGallery; 67 } 68}