diff --git a/compileruntime/worker_lib_standard/src/main/js/default/pages/index/index.js b/compileruntime/worker_lib_standard/src/main/js/default/pages/index/index.js index 70372a8dc02b308decca64d54fa640aade6c3cfd..0f185cf96ace03efce6fc6d0687fef58b0deff7e 100644 --- a/compileruntime/worker_lib_standard/src/main/js/default/pages/index/index.js +++ b/compileruntime/worker_lib_standard/src/main/js/default/pages/index/index.js @@ -33,11 +33,6 @@ export default { require('../../../test/List.test') core.execute() }, - onclick: function () { - router.replace({ - uri: 'pages/second/second' - }) - }, touchMove(e) { if (e.direction === 'right') { this.appExit(); diff --git a/compileruntime/worker_lib_standard/src/main/js/default/pages/second/second.css b/compileruntime/worker_lib_standard/src/main/js/default/pages/second/second.css deleted file mode 100644 index db2b048d654812f46761f4af2caad2818e70d505..0000000000000000000000000000000000000000 --- a/compileruntime/worker_lib_standard/src/main/js/default/pages/second/second.css +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the 'License'); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an 'AS IS' BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -.container { - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - left: 0px; - top: 0px; - width: 100%; - height: 100%; -} - -.title { - font-size: 60px; - text-align: center; - width: 100%; - height: 40%; - margin: 10px; -} - -.btn { - width: 50%; - height: 100px; - font-size: 40px; -} diff --git a/compileruntime/worker_lib_standard/src/main/js/default/pages/second/second.hml b/compileruntime/worker_lib_standard/src/main/js/default/pages/second/second.hml deleted file mode 100644 index 4f0c7498ba0906d3f7f2def8628329db6c7ca192..0000000000000000000000000000000000000000 --- a/compileruntime/worker_lib_standard/src/main/js/default/pages/second/second.hml +++ /dev/null @@ -1,21 +0,0 @@ - - -
- - {{ $t('strings.page') }} - - -
diff --git a/compileruntime/worker_lib_standard/src/main/js/default/pages/second/second.js b/compileruntime/worker_lib_standard/src/main/js/default/pages/second/second.js deleted file mode 100644 index 6d0859a15a11ca39368ce0b7ec4cae3e73c506bd..0000000000000000000000000000000000000000 --- a/compileruntime/worker_lib_standard/src/main/js/default/pages/second/second.js +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import router from '@system.router' - -export default { - data: { - title: 'World' - }, - onclick: function () { - router.replace({ - uri: "pages/index/index" - }) - } -}