From d4cc2b1b6771f622dde6970e0f73c30b18176baa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=A3=E9=9C=87?= <934621328@qq.com> Date: Fri, 13 May 2022 00:32:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=82=AC=E6=B5=AE=E7=BB=84=E4=BB=B61.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/common.css | 361 ---------------------------------------- css/conponent.css | 116 ------------- fixed.html | 56 +++++++ img/icon-phone_1.png | Bin 1862 -> 0 bytes img/icon-top_1.png | Bin 635 -> 0 bytes index.html | 62 +++---- js/conponents.js | 34 ---- plugins/css/common.css | 361 ++++++++++++++++++++++++++++++++++++++++ plugins/css/conponent.css | 200 ++++++++++++++++++++++ plugins/img/icon-feedback_1.png | Bin 0 -> 2751 bytes plugins/img/icon-phone_1.png | Bin 0 -> 1862 bytes plugins/img/icon-qrcode_1.png | Bin 0 -> 572 bytes plugins/img/icon-top_1.png | Bin 0 -> 635 bytes plugins/img/icon-vx_1.1.png | Bin 0 -> 1549 bytes plugins/img/icon-vx_1.png | Bin 0 -> 2152 bytes plugins/js/conponents.js | 116 +++++++++++++ 16 files changed, 766 insertions(+), 540 deletions(-) delete mode 100644 css/common.css delete mode 100644 css/conponent.css create mode 100644 fixed.html delete mode 100644 img/icon-phone_1.png delete mode 100644 img/icon-top_1.png delete mode 100644 js/conponents.js create mode 100644 plugins/css/common.css create mode 100644 plugins/css/conponent.css create mode 100644 plugins/img/icon-feedback_1.png create mode 100644 plugins/img/icon-phone_1.png create mode 100644 plugins/img/icon-qrcode_1.png create mode 100644 plugins/img/icon-top_1.png create mode 100644 plugins/img/icon-vx_1.1.png create mode 100644 plugins/img/icon-vx_1.png create mode 100644 plugins/js/conponents.js diff --git a/css/common.css b/css/common.css deleted file mode 100644 index 4eb5b86..0000000 --- a/css/common.css +++ /dev/null @@ -1,361 +0,0 @@ -@charset "utf-8"; - -/** - * stylesheet file - * 公共样式文件 - * @author: Dai Zhen - * @scene: - * @copyright: null - */ - - - -/* ================================================================================= */ -/* common style */ -/* ================================================================================= */ - -html { - font-family: PingFangSC, "Helvetica Neue", Helvetica, STHeiTi, 'Microsoft Yahei', Arial, sans-serif; - -ms-text-size-adjust: 100%; - -webkit-text-size-adjust: 100%; -} - - -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -main, -nav, -app-business, -summary { - display: block; -} - -audio, -canvas, -progress, -video { - display: inline-block; - vertical-align: baseline; -} - -audio:not([controls]) { - display: none; - height: 0; -} - -[hidden], -template { - display: none; -} - -svg:not(:root) { - overflow: hidden; -} - -a { - background: none; - text-decoration: none; - -webkit-touch-callout: none; - /*禁用长按页面时的弹出菜单(iOS下有效)*/ - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - /*去掉iOS点击链接时默认的灰色半透明覆盖层*/ - color: inherit; -} - -a:active { - outline: 0; -} - -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sup { - top: -0.5em; -} - -sub { - bottom: -0.25em; -} - -img { - border: 0 none; - vertical-align: middle; -} - -hr { - -moz-box-sizing: content-box; - box-sizing: content-box; - height: 0; -} - -pre { - overflow: auto; - white-space: pre; - white-space: pre-wrap; - word-wrap: break-word; -} - -code, -kbd, -pre, -samp { - font-family: monospace; - font-size: 1em; -} - -button, -input, -optgroup, -select, -textarea { - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - -webkit-appearance: none; - color: inherit; - font: inherit; - margin: 0; - border: 0 none; - background: transparent; - outline: none; -} - -button, -select { - text-transform: none; -} - -button, -input[type="button"], -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; - cursor: pointer; -} - -button[disabled], -input[disabled] { - cursor: default; -} - -button::-moz-focus-inner, -input::-moz-focus-inner { - border: 0; - padding: 0; -} - -input { - line-height: normal; -} - -input[type="checkbox"], -input[type="radio"] { - box-sizing: border-box; - padding: 0; -} - -input[type="number"]::-webkit-inner-spin-button, -input[type="number"]::-webkit-outer-spin-button { - height: auto; -} - -input[type="search"] { - -webkit-appearance: textfield; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - box-sizing: border-box; -} - -input[type="search"]::-webkit-search-cancel-button, -input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} - -legend { - border: 0; - padding: 0; -} - -textarea { - overflow: auto; - resize: vertical; -} - -table { - border-collapse: collapse; - border-spacing: 0; -} - -button, -input, -select, -textarea { - font-family: "Helvetica Neue", Helvetica, STHeiTi, 'Microsoft Yahei', Arial, sans-serif; -} - -ul, -ol { - list-style: none; -} - -li { - display: list-item; - text-align: -webkit-match-parent; -} - -input:focus { - outline: none; -} - -input::-moz-placeholder, -textarea::-moz-placeholder { - color: #aaa; -} - -input:-ms-input-placeholder, -textarea:-ms-input-placeholder { - color: #aaa; -} - -input::-webkit-input-placeholder, -textarea::-webkit-input-placeholder { - color: #aaa; -} - -html, -body, -div, -span, -applet, -object, -iframe, -h1, -h2, -h3, -h4, -h5, -h6, -p, -blockquote, -pre, -a, -abbr, -acronym, -address, -big, -cite, -code, -del, -dfn, -em, -img, -ins, -kbd, -q, -s, -samp, -small, -strike, -strong, -sub, -sup, -tt, -var, -b, -u, -i, -center, -dl, -dt, -dd, -ol, -ul, -li, -fieldset, -form, -label, -legend, -table, -caption, -tbody, -tfoot, -thead, -tr, -th, -td, -article, -aside, -canvas, -details, -embed, -figure, -figcaption, -footer, -header, -hgroup, -menu, -nav, -output, -ruby, -app-business, -summary, -time, -mark, -audio, -video { - margin: 0; - padding: 0; -} - -/*浮动*/ - -.fl { - float: left; -} - -.fr { - float: right; -} - -.clearfix { - *zoom: 1; -} - -.clearfix:after { - content: ""; - display: table; - line-height: 0; - font-size: 0; - clear: both; -} - -.hide, -.dn { - display: none; -} - -.tal { - text-align: left !important; -} -.tar { - text-align: right !important; -} - -body { - min-height: 100vh; - margin: 0; - font-size: 14px; - -webkit-overflow-scrolling: touch; - color: #333; - background-color: rgba(222, 233, 244, .9); -} - diff --git a/css/conponent.css b/css/conponent.css deleted file mode 100644 index 1945dac..0000000 --- a/css/conponent.css +++ /dev/null @@ -1,116 +0,0 @@ -@charset "utf-8"; - -/** - * stylesheet file - * 组件库样式文件 - * @author: Dai Zhen - * @scene: - * @copyright: null - */ - - - -/* ================================================================================= */ -/* 右下角悬浮组件 */ -/* ================================================================================= */ -.conponent_fixed{ - position: fixed; - right: 30px; - bottom: 50px; - width: 50px; -} - -.conponent_fixed_item{ - position: relative; - margin-top: 5px; - padding: 5px; - width: 40px; - height: 40px; - text-align: center; - background: #FFF; - cursor: pointer; - color: #AAA; - border-radius: 4px; - box-shadow: 0px 0px 2px rgba(33, 33, 33, .1); -} - -.conponent_fixed_item .item { - position: inherit; - width: 100%; - height: 100%; - z-index: 99; -} -/* 图标 */ -.conponent_fixed_item .icon{ - display: block; - width: 100%; - height: 100%; - background: url('../img/icon-top_1.png') no-repeat center center; - background-size: 75% 75%; - transition: all 0.3s; -} -.conponent_fixed_item:hover .icon{ - opacity: 0; -} - -/* 文字 */ -.conponent_fixed_item .text { - position: absolute; - top: 0; - left: 0; - padding: 4px 0; - width: inherit; - height: inherit; - line-height: 18px; - opacity: 0; - transition: all 0.3s; - box-sizing: border-box; -} -.conponent_fixed_item .text.word_2{ - line-height: 36px; -} -.conponent_fixed_item:hover .text{ - opacity: 1; -} - -/* 浮窗: 文字或者图片 */ -.conponent_fixed_item .pop{ - display: none; - padding-right: 6px; - position: absolute; - top: 0; - right: 50px; - z-index: 9; -} -.conponent_fixed_item .pop .msg{ - padding: 5px 15px; - color: #444; - font-size: 18px; - line-height: 40px; - white-space: nowrap; - border-radius: 4px; - background: #FFF; - box-shadow: 0px 0px 2px rgba(33, 33, 33, .1); -} -.conponent_fixed_item:hover .pop{ - display: block; - animation: fadeIn 0.5s; -} - -.conponent_fixed_item.phone .icon{ - background-image: url('../img/icon-phone_1.png'); -} -.conponent_fixed_item.totop .icon{ - background-image: url('../img/icon-top_1.png'); -} - -@keyframes fadeIn { - 0% { - opacity: 0; - right: -110px; - } - 100% { - opacity: 1; - right: 50px; - } -} \ No newline at end of file diff --git a/fixed.html b/fixed.html new file mode 100644 index 0000000..84b2132 --- /dev/null +++ b/fixed.html @@ -0,0 +1,56 @@ + + +
+ +微信公众号
+