From cd661df21ae26f9ecf76d9e126ae413ba736ca2d Mon Sep 17 00:00:00 2001 From: bayanxing Date: Fri, 27 May 2022 17:14:56 +0800 Subject: [PATCH] add webView code Signed-off-by: bayanxing --- .../src/main/resources/rawfile/css/reset.css | 18 ++++++++++++++---- .../src/main/resources/rawfile/css/style.css | 15 +++++++++++++++ .../src/main/resources/rawfile/css/tongz.css | 15 +++++++++++++++ .../main/resources/rawfile/js/tab_qiehuc.js | 15 +++++++++++++++ .../entry/src/main/resources/rawfile/list.html | 15 +++++++++++++++ .../src/main/resources/rawfile/location.html | 15 +++++++++++++++ .../entry/src/main/resources/rawfile/test.html | 15 +++++++++++++++ 7 files changed, 104 insertions(+), 4 deletions(-) diff --git a/arkui/ace_ets_webView/entry/src/main/resources/rawfile/css/reset.css b/arkui/ace_ets_webView/entry/src/main/resources/rawfile/css/reset.css index 8465ec358..77578ef3d 100644 --- a/arkui/ace_ets_webView/entry/src/main/resources/rawfile/css/reset.css +++ b/arkui/ace_ets_webView/entry/src/main/resources/rawfile/css/reset.css @@ -1,8 +1,18 @@ -/* - * html5doctor.com Reset Stylesheet v1.6.1 (http://html5doctor.com/html-5-reset-stylesheet/) - * Richard Clark (http://richclarkdesign.com) - * http://www.58img.com/ +/** + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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. */ + html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, diff --git a/arkui/ace_ets_webView/entry/src/main/resources/rawfile/css/style.css b/arkui/ace_ets_webView/entry/src/main/resources/rawfile/css/style.css index 433fd4dfd..82ecb0adc 100644 --- a/arkui/ace_ets_webView/entry/src/main/resources/rawfile/css/style.css +++ b/arkui/ace_ets_webView/entry/src/main/resources/rawfile/css/style.css @@ -1,3 +1,18 @@ +/** + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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. + */ + .fa-gray{ margin: 0 2px; color: #9c9c9c; diff --git a/arkui/ace_ets_webView/entry/src/main/resources/rawfile/css/tongz.css b/arkui/ace_ets_webView/entry/src/main/resources/rawfile/css/tongz.css index 78ed416af..90996dc9f 100644 --- a/arkui/ace_ets_webView/entry/src/main/resources/rawfile/css/tongz.css +++ b/arkui/ace_ets_webView/entry/src/main/resources/rawfile/css/tongz.css @@ -1,3 +1,18 @@ +/** + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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. + */ + /*全局设定*/ body,ul,li,h1,h2,h3,h4,h5,h6,dl,dt,dd,ol,form,table,tr,td,p{ margin:0;padding:0;} body{ font-family:'宋体';} diff --git a/arkui/ace_ets_webView/entry/src/main/resources/rawfile/js/tab_qiehuc.js b/arkui/ace_ets_webView/entry/src/main/resources/rawfile/js/tab_qiehuc.js index 7521dbc99..5c36893c9 100644 --- a/arkui/ace_ets_webView/entry/src/main/resources/rawfile/js/tab_qiehuc.js +++ b/arkui/ace_ets_webView/entry/src/main/resources/rawfile/js/tab_qiehuc.js @@ -1,3 +1,18 @@ +/** + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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. + */ + function setTab(m,n){ var tli=document.getElementById("menu"+m).getElementsByTagName("li"); var mli=document.getElementById("main"+m).getElementsByTagName("ul"); diff --git a/arkui/ace_ets_webView/entry/src/main/resources/rawfile/list.html b/arkui/ace_ets_webView/entry/src/main/resources/rawfile/list.html index 7ff947a68..36f902527 100644 --- a/arkui/ace_ets_webView/entry/src/main/resources/rawfile/list.html +++ b/arkui/ace_ets_webView/entry/src/main/resources/rawfile/list.html @@ -1,3 +1,18 @@ + + diff --git a/arkui/ace_ets_webView/entry/src/main/resources/rawfile/location.html b/arkui/ace_ets_webView/entry/src/main/resources/rawfile/location.html index 9bdf0d037..6ee73db5b 100644 --- a/arkui/ace_ets_webView/entry/src/main/resources/rawfile/location.html +++ b/arkui/ace_ets_webView/entry/src/main/resources/rawfile/location.html @@ -1,3 +1,18 @@ + + diff --git a/arkui/ace_ets_webView/entry/src/main/resources/rawfile/test.html b/arkui/ace_ets_webView/entry/src/main/resources/rawfile/test.html index d523e6065..6e1d37d36 100644 --- a/arkui/ace_ets_webView/entry/src/main/resources/rawfile/test.html +++ b/arkui/ace_ets_webView/entry/src/main/resources/rawfile/test.html @@ -1,3 +1,18 @@ + + -- GitLab