1/* 2 * Copyright (c) 2021 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{ 17 "@app-component/importJS": { 18 "_descriptor": {}, 19 "back": "function back() {\n _system[\"default\"].back();\n }", 20 "data": {}, 21 "template": { 22 "attr": { 23 "className": "back_container", 24 "debugLine": "pages/importJS/importJS:1" 25 }, 26 "children": [ 27 { 28 "attr": { 29 "className": "image_back", 30 "debugLine": "pages/importJS/importJS:2", 31 "src": "/common/image/back.png" 32 }, 33 "classList": [ 34 "image_back" 35 ], 36 "type": "image" 37 }, 38 { 39 "attr": { 40 "className": "text_back", 41 "debugLine": "pages/importJS/importJS:3", 42 "value": "返回" 43 }, 44 "classList": [ 45 "text_back" 46 ], 47 "type": "text" 48 } 49 ], 50 "classList": [ 51 "back_container" 52 ], 53 "events": { 54 "click": "back" 55 }, 56 "type": "div" 57 } 58 } 59}