diff --git a/style/css/common.css b/style/css/common.css deleted file mode 100644 index 29aec91..0000000 --- a/style/css/common.css +++ /dev/null @@ -1,62 +0,0 @@ -html,body,li{ - font-family: Microsoft YaHei UI; - font-size: 14px; - color: #1E2226; - width: 100%; - height: 100%; - padding: 0; - margin: 0; - list-style: none; - font-style: normal; - text-decoration: none; - border: none; -} -body{ - background: #F5F7FA; -} -p{ - margin: 0; -} - -.flex{ - display: flex; -} -.hide{ - display: none !important; -} -.center{ - display: flex; - align-items: center; - justify-content: center; -} -.column{ - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; -} - -/* 底部 */ -.leftSideFooterNew{ - display: flex; - flex-direction: row; - justify-content: center; - align-items: center; - padding: 30px 70px; - font-size: var(--font-small-size); - color: #9E9E9E; - position: relative; - z-index: 98; -} -.leftSideFooterNew p{ - margin: 0; - color: #9E9E9E; -} -.leftSideFooterNew p span{ - color: #5B6FF6; - display: inline-block; -} -.leftSideFooterNew p a{ - color: #9E9E9E; - text-decoration: none; -} \ No newline at end of file diff --git a/style/css/index.css b/style/css/index.css deleted file mode 100644 index f14553c..0000000 --- a/style/css/index.css +++ /dev/null @@ -1,766 +0,0 @@ -.flex { - display: flex; - display: -ms-flexbox; -} -.hide,.hidden{ - display: none !important; -} -.radio-wrap{} -.radio_box,.check_Box{ - display: flex; - display: -ms-flexbox; - align-items: center; - margin-right: 24px; - position: relative; - cursor: pointer; - font-weight: 500; - color: #2C394B; - transition: all .3s ease; -} - -.check_Box input,.radio_box input{ - opacity: 0; - position: absolute; - left: 0; - width: 100%; - cursor: pointer; -} -.radio_box div{ - width: 18px; - height: 18px; - margin-right: 8px; - cursor: pointer; -} -/* @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { - .radio_box div{ - width: 20px; - height: 20px; - } -} */ - -.radio_box_active,.check_Box_active{ - color: #006AFF; -} -.radio_box div{ - background: url(../img/radio_normal.svg); - background-size: contain; -} -.radio_box_active div{ - width: 18px; - height: 18px; - animation: radio_scale .3s; - background: url(../img/radio_active.svg); -} -#page-numbers { - display: flex; - flex-wrap: wrap; - list-style: none; - color: #8a8a8a; - padding: 0; - user-select: none; -} - -#page-numbers span { - display: flex; - align-items: center; - justify-content: center; - width: 32px; - height: 32px; - cursor: pointer; -} - -#page-numbers span { - margin-left: 10px; -} - -#page-numbers span:hover { - color: #006AFF; -} - -#page-numbers .pagActive:hover { - color: #fff; -} - -#next-page { - margin-right: 16px; -} - -.input-page span { - display: inline-block; -} - -/* 分页容器样式 */ -.pagination { - margin-top: 20px; - display: flex; - justify-content: flex-end; - align-items: center; -} - -.pagination input { - width: 50px; - padding: 5px; - text-align: center; -} - -.pagActive { - background: #006AFF; - color: #fff; - border-radius: 4px; -} - - -.home-page { - width: 100%; - height: 100%; -} - -.header-wrap { - /* position: absolute; - left: 0px; - top: 0px; */ - width: calc(100% - 64px); - height: 46px; - /* 自动布局 */ - display: flex; - flex-direction: row; - justify-content: space-between; - align-items: center; - padding: 8px 32px; - display: flex; - justify-content: space-between; - background: linear-gradient(270deg, #4EA4F3 0%, #3D85EA 100%); -} - -.home-logo { - width: 168px; -} - -/* Dropdown 容器 */ -.dropdown { - position: relative; - display: inline-block; -} - -/* Dropdown 按钮 */ -.dropdown-toggle { - background-color: transparent; - padding: 10px 20px; - border: none; - cursor: pointer; - display: flex; - align-items: center; - gap: 8px; - color: #fff; -} - -/* Dropdown 面板 */ -.dropdown-panel { - display: none; - position: absolute; - right: 20px; - padding: 12px; - background-color: #fff; - min-width: 160px; - border-radius: 4px; - box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.16); - z-index: 1; -} - -/* Dropdown 面板中的链接 */ -.dropdown-panel a { - color: black; - border-radius: 2px; - padding: 7px 10px; - background: #F6F7FA; - text-decoration: none; - display: block; -} - -/* Dropdown 面板中的链接悬停效果 */ -.dropdown-panel a:hover { - background-color: #f1f1f1; -} - -/* 图标旋转效果 */ -.icon { - transition: transform 0.3s ease; -} - -/* 面板展开时图标的旋转 */ -.icon.rotate { - transform: rotate(180deg); -} - -.header-right { - align-items: center; -} - -.home-main { - margin: 20px; - background: #fff; - padding: 0 14px; -} - -.tab-list { - justify-content: space-between; - padding-top: 13px; - align-items: center; - border-bottom: 1px solid #DFE2E6;; -} -.tab-list::after{ - content: ''; - display: block; - position: absolute; - width: 100%; - height: 1px; - left: 50%; - transform: translateX(-50%); - bottom: -8px; - background: linear-gradient(270deg, rgba(140, 145, 157, 0.1) 0%, rgba(140, 145, 157, 0.2) 50%, rgba(140, 145, 157, 0.1) 100%); -} - -.index-nav-wrap ul { - width: 346px; - height: 20px; - display: flex; - text-align: center; - justify-content: flex-start; - padding-left: 0; - letter-spacing: 1px; - box-sizing: border-box; - position: relative; - margin: 9px 0; -} - -.index-nav-wrap ul::after { - /* content: ''; - display: block; - position: absolute; - width: 500px; - height: 1px; - left: 50%; - transform: translateX(-50%); - bottom: -8px; - background: linear-gradient(270deg, rgba(140, 145, 157, 0.1) 0%, rgba(140, 145, 157, 0.2) 50%, rgba(140, 145, 157, 0.1) 100%); */ -} - -.index-nav-wrap ul li { - color: #3D4B54; - font-size: 14px; - font-weight: 500; - text-align: left; - position: relative; - cursor: pointer; -} - -.index-nav-wrap ul li span { - position: relative; - color: #3D4B54; - font-size: 14px; - font-weight: 500; -} - -.index-nav-wrap ul li span.active { - color: #1675FF !important; - font-weight: 600; -} - -.index-nav-wrap ul li span.active::after { - content: ''; - display: block; - position: absolute; - width: 100%; - height: 2px; - background: #1675FF; - border-radius: 2px; - left: 50%; - margin-left: -50%; - bottom: -12px; -} - -/* 小版视频容器 */ -#small-video-container { - width: 200px; - cursor: pointer; -} - -/* 小版视频封面图 */ - - -/* vedio */ -/* 初始小版视频样式 */ -/* 放大后的视频容器 */ -#large-video-container { - display: none; - position: fixed; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - width: 800px; - max-width: 800px; - z-index: 1000; - background: black; - padding: 50px; - border-radius: 16px; - box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); -} - -/* 放大后的视频 */ -#large-video { - width: 100%; - height: auto; -} - -/* 关闭按钮 */ -#close-btn, -#close-btn1 { - position: absolute; - top: 10px; - right: 10px; - background: red; - color: white; - border: none; - height: 30px; - display: flex; - align-items: center; - justify-content: center; - /* padding: 10px; */ - width: 30px; - border-radius: 50%; - cursor: pointer; - font-size: 16px; -} - -/* 小版图片容器 */ -#small-image-container { - width: 170px; - cursor: pointer; -} - -/* 小版图片 */ -.small-image, -.small-video-cover { - width: 170px; - height: 107px; - border-radius: 5px; - position: relative; - margin-right: 8px; -} - -.small-image-desc { - position: absolute; - left: 6px; - bottom: 8px; - border-radius: 2px; - background: rgba(0, 0, 0, 0.4); - padding: 4px 10px 5px 10px; - font-size: 12px; - z-index: 1; - line-height: 13px; - letter-spacing: 0.08em; - color: #FFFFFF; -} - -.play-video { - width: 40px; - height: 40px; - position: absolute !important; - left: 50%; - top: 50%; - transform: translate(-50%, -50%); -} - -/* 放大后的图片容器 */ -#large-image-container { - display: none; - position: fixed; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - /* width: 800px; */ - /* height: 100%; */ - background: rgba(0, 0, 0, 0.8); - z-index: 1000; - text-align: center; - border-radius: 16px; -} - -#large-image-container h2 { - color: #fff; -} - -/* 放大后的图片 */ -#large-image { - margin: 20px 50px 50px; - width: 800px; - border: 5px solid white; - border-radius: 10px; -} - -/* 关闭按钮 */ -#close-btn2 { - position: absolute; - top: 20px; - right: 20px; - background: #fff; - color: #000; - border: none; - padding: 10px 15px; - border-radius: 50%; - cursor: pointer; - font-size: 20px; -} - -.button { - display: flex; - justify-content: center; - align-items: center; - padding: 7px 22px; - border-radius: 3px; - background: #FFFFFF; - box-sizing: border-box; - letter-spacing: 0.08em; - border: 1px solid #DFE2E6; - margin-left: 20px; - color: #23242B; - cursor: pointer; -} -.upload_btn{ - margin-left: 0; -} -button:hover { - opacity: .8; -} - -.button-primary { - background: #006AFF; - color: #FFFFFF; -} - -.button-normal {} - -.btngroups { - justify-content: flex-end; - -} - -.addNewBtn { - display: flex; - flex-direction: row; - justify-content: center; - align-items: center; - padding: 7px 12px; - border-radius: 3px; - opacity: 1; - height: 32px; - border:none; - /* main/main_stardard */ - background: #006AFF; - font-weight: normal; - line-height: normal; - letter-spacing: 0.08em; - color: #FFFFFF; -} - -.list_all { - display: flex; - flex-direction: column; - align-items: center; -} - -.list_item { - margin: 18px 12px; - padding-bottom: 18px; - width: 100%; - border-bottom: 1px solid #eee; -} - -.list_item_top { - color: #8A9099; - display: flex; - justify-content: space-between; -} - -.list_item_top .list_item_top_l b { - color: #1E2226; -} - -.list_item_top_r { - display: flex; - align-items: center; - cursor: pointer; -} - -.list_item_top_r img { - margin-right: 4px; -} - -.desc_text { - line-height: 18px; - letter-spacing: 0.08em; - color: #1E2226; - margin-top: 12px; -} - -.img_list ,.img_list2{ - margin: 8px 0; - display: flex; - flex-wrap: wrap; -} - -.img_list img ,.img_list2 img{ - width: 170px; - cursor: pointer; -} - -.green, -.blue { - padding: 2px 10px; - border-radius: 4px; - opacity: 1; - letter-spacing: 0.08em; - color: #0DAF49; - background: rgba(239, 255, 224, 0.5); - box-sizing: border-box; - border: 1px solid rgba(0, 194, 97, 0.6); -} - -.blue { - color: #006AFF; - background: #F2F7FF; - border: 1px solid #BFDAFF; -} -.form-item{ - display: flex; - align-items: center; - padding: 12px 0; -} -.form-left{ - width: 60px; - margin-right: 24px; -} -.form-right{ - flex: 1; -} -.editmodal .add-form .form-left{ - display: none; -} -.addmodal .add-form .form-left{ - display: block; -} -.addmodal .modal_upload_btn{ - flex-direction: column; - justify-content: flex-end; - margin-bottom: 20px; -} -.addmodal .modal_btns{ - margin-bottom: 12px; - justify-content: flex-end; - width: 100%; -} -.addmodal .modal_btns + p{ - width: 100%; - text-align: right; -} -/* 弹框样式 */ -.modal { - display: none; - position: fixed; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - width: 660px; - padding: 0 24px 12px; - background: #fff; - border-radius: 6px; - opacity: 1; - background: #FFFFFF; - box-shadow: 0px 4px 16px 0px rgba(17, 55, 143, 0.12); - z-index: 1000; -} -#close_modal{ - cursor: pointer; -} -.modal-overlay { - display: none; - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: rgba(0, 0, 0, 0.5); - z-index: 999; -} -.modal textarea { - width: calc(100% - 24px); - height: 64px; - margin-bottom: 10px; - padding: 10px 12px 28px; - letter-spacing: 0.08em; - font-variation-settings: "opsz" auto; - color: #1E2226; -} -.text-area-container{ - position: relative; -} -.wordNum{ - position: absolute; - right: 13px; - bottom: 20px; -} -.modal .modal_top{ - display: flex; - justify-content: space-between; - align-items: center; - margin: 16px 0; -} -.modal .modal_top b{ - font-size: 16px; -} -.modal .preview { - margin-bottom: 10px; - display: flex; - flex-wrap: wrap; -} -.modal .preview .small-image{ - margin-right: 10px; - margin-bottom: 10px; - overflow: hidden; -} -.modal .preview img, -.modal .preview video { - max-width: 170px; - position: relative; -} -.modal .preview .delete-btn { - position: absolute; - top: 0; - right: 0; - width: 24px; - color: white; - background: transparent; - border: none; - cursor: pointer; -} -.modal .img_list2 .delete-btn { - position: absolute; - top: 0; - right: 0; - width: 24px; - color: white; - border: none; - cursor: pointer; -} -.modal .buttons { - justify-content: flex-end; -} -.modal .buttons button { - margin-left: 10px; -} - -.modal_btn_column{ - flex-direction: column; - justify-content: flex-end; -} -.modal_upload_btn{ - align-items: center; - margin-bottom: 20px; - width: 100%; -} -.modal_upload_btn p{ - font-size: 12px; - font-weight: normal; - line-height: 13px; - letter-spacing: 0.08em; - font-variation-settings: "opsz" auto; - color: #8A9099; - margin-left: 10px; -} -.modal_btns button:first-child{ - margin-right: 10px; -} -/* 上传区域样式 */ -.upload-container { - width: 400px; - margin: 20px auto; - padding: 20px; - border: 1px solid #ccc; - background: #f9f9f9; -} -.upload-container input[type="file"] { - display: none; -} -.upload-container button { - margin-right: 10px; -} -.upload_name{ - font-family: Inter; - font-size: 13px; - font-weight: normal; - line-height: 22px; - letter-spacing: 0px; - color: #606266; /* #606266 */ - display: flex; - justify-content: space-between; - align-items: center; -} -.upload_file_name{ - max-width: 130px; - display: inline-block; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; -} -.preview { - margin-top: 20px; -} -.preview .item { - position: relative; - display: inline-block; - margin-right: 10px; - margin-bottom: 10px; - width: 170px; -} -.preview img, -.preview video { - /* max-width: 100px; - max-height: 100px; */ -} -.preview .delete-btn { - position: absolute; - top: 0; - right: 0; - background: red; - color: white; - border: none; - cursor: pointer; -} -.progress-bar { - width: 100%; - height: 2px; - background: #EBEEF5; - margin-top: 5px; -} -.progress-bar .progress { - height: 100%; - width: 0; - background: #006AFF; -} -.status { - font-size: 12px; - color: #666; - margin-top: 5px; - display: flex; - align-items: center; - justify-content: space-between; -} -.status.uploading { - color: #2196f3; -} -.status.success { - color: #4caf50; -} -.status.failed { - color: #f44336; -} \ No newline at end of file diff --git a/style/img/add.svg b/style/img/add.svg deleted file mode 100644 index fcb0eae..0000000 --- a/style/img/add.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/style/img/close_modal.svg b/style/img/close_modal.svg deleted file mode 100644 index 8258e2c..0000000 --- a/style/img/close_modal.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/style/img/delete-icon.svg b/style/img/delete-icon.svg deleted file mode 100644 index be965c5..0000000 --- a/style/img/delete-icon.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/style/img/drop-icon.svg b/style/img/drop-icon.svg deleted file mode 100644 index ec41ae5..0000000 --- a/style/img/drop-icon.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/style/img/edit.svg b/style/img/edit.svg deleted file mode 100644 index 3cacf5c..0000000 --- a/style/img/edit.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/style/img/home-logo.png b/style/img/home-logo.png deleted file mode 100644 index 250d242..0000000 Binary files a/style/img/home-logo.png and /dev/null differ diff --git a/style/img/home-logo.svg b/style/img/home-logo.svg deleted file mode 100644 index b1e1f8d..0000000 --- a/style/img/home-logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/style/img/home-more.png b/style/img/home-more.png deleted file mode 100644 index 8073d45..0000000 Binary files a/style/img/home-more.png and /dev/null differ diff --git a/style/img/img_upload.svg b/style/img/img_upload.svg deleted file mode 100644 index 3752a38..0000000 --- a/style/img/img_upload.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/style/img/login_back.png b/style/img/login_back.png deleted file mode 100644 index 8c5dc0a..0000000 Binary files a/style/img/login_back.png and /dev/null differ diff --git a/style/img/login_top.svg b/style/img/login_top.svg deleted file mode 100644 index e9d3d99..0000000 --- a/style/img/login_top.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/style/img/login_weixin.svg b/style/img/login_weixin.svg deleted file mode 100644 index 2a2d485..0000000 --- a/style/img/login_weixin.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/style/img/next.svg b/style/img/next.svg deleted file mode 100644 index e455402..0000000 --- a/style/img/next.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/style/img/play.svg b/style/img/play.svg deleted file mode 100644 index abd7214..0000000 --- a/style/img/play.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/style/img/prev.svg b/style/img/prev.svg deleted file mode 100644 index ca519eb..0000000 --- a/style/img/prev.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/style/img/qrcode-tem.png b/style/img/qrcode-tem.png deleted file mode 100644 index dcc5eec..0000000 Binary files a/style/img/qrcode-tem.png and /dev/null differ diff --git a/style/img/radio_active.svg b/style/img/radio_active.svg deleted file mode 100644 index 2143edd..0000000 --- a/style/img/radio_active.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/style/img/radio_normal.svg b/style/img/radio_normal.svg deleted file mode 100644 index 40b9d56..0000000 --- a/style/img/radio_normal.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/style/img/refresh.svg b/style/img/refresh.svg deleted file mode 100644 index bbe6f3b..0000000 --- a/style/img/refresh.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/style/img/vedio_img.png b/style/img/vedio_img.png deleted file mode 100644 index 3b8816c..0000000 Binary files a/style/img/vedio_img.png and /dev/null differ diff --git a/style/img/vedio_upload.svg b/style/img/vedio_upload.svg deleted file mode 100644 index 08b6e86..0000000 --- a/style/img/vedio_upload.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/style/img/viewimg1.png b/style/img/viewimg1.png deleted file mode 100644 index 42fc010..0000000 Binary files a/style/img/viewimg1.png and /dev/null differ diff --git a/style/img/viewimg2.png b/style/img/viewimg2.png deleted file mode 100644 index a259c48..0000000 Binary files a/style/img/viewimg2.png and /dev/null differ diff --git a/style/img/viewimg3.png b/style/img/viewimg3.png deleted file mode 100644 index 3e8d8b9..0000000 Binary files a/style/img/viewimg3.png and /dev/null differ diff --git a/style/js/index.js b/style/js/index.js deleted file mode 100644 index 079d869..0000000 --- a/style/js/index.js +++ /dev/null @@ -1,830 +0,0 @@ -$(document).ready(function () { - var imgurl = '' - var tabActive = '1'; - var cur_editdata = {}; //当前编辑数据 - var vediourl = '' - var allData =[];//用于列表展示 - // 假数据假数据----- - //待审批 - var waitCheck = [{ - id: 1, - source: '微博', - name: '麻辣烫---', - lurutime: '2025.01.13 23:00', - vedios: [{ - img_show: 'viewimg1.png', - url: 'https://cloud.video.taobao.com/vod/QveMufgzEwjhHPj1wo_KI_KF7vbZwUJhbOpGtVCXN3Y.mp4', - }, - { - img_show: 'viewimg2.png', - url: 'https://cloud.video.taobao.com/vod/BYqzWJAb0TEleeeLZG-L5qFoBnmmKt0WC8qxw4hVDFc.mp4', - }, - ], - desc: '111111华佗医生真是医术献💐。华佗医生真是医术高明,每次看您的微博都能学到很多中医的智慧和精髓,真是受益匪浅!感谢您为中医事业做出的贡献💐。', - }, - { - id: 2, - imgs: [ - 'viewimg1.png', - 'viewimg2.png', - 'viewimg3.png', - ], - source: '自录入', - desc: '22222对于中医按摩时穴位定位的问题,确实有不少初学者会遇到找不准穴位的情况。以下是一些技巧和建议,以及辅助工具,可以帮助您更准确地找到穴位', - question: '有没有什么技巧或者辅助工具可以帮助我们更准确地找到穴位呢?', - name: '麻辣烫---', - lurutime: '2025.01.13 23:00', - }, - { - id: 3, - source: '自录入', - name: '麻辣烫---', - lurutime: '2025.01.13 23:00', - vedios: [{ - img_show: 'viewimg1.png', - url: 'https://cloud.video.taobao.com/vod/QveMufgzEwjhHPj1wo_KI_KF7vbZwUJhbOpGtVCXN3Y.mp4', - }, - { - img_show: 'viewimg1.png', - url: 'https://s10.mogucdn.com/mlcdn/c45406/240506_303f82ha577j13gc73j71faj880gi.mp4', - }, - ], - desc: '333333浅!感谢您为中医事业做出的贡献💐。华佗医生真是医术高明,每次看您的微博都能学到很多中医的智慧和精髓,真是受益匪浅!感谢您为中医事业做出的贡献💐。华佗医生真是医术高明,每次看您的微博都能学到很多中医', - }, - { - id: 4, - imgs: [ - 'viewimg1.png', - 'viewimg2.png', - 'viewimg3.png', - ], - source: '自录入', - question: '有没有什么技巧或者辅助工具可以帮助我们更准确地找到穴位呢?', - name: '麻辣烫---', - lurutime: '2025.01.13 23:00', - answer: '对于中医按摩时穴位定位的问题,确实有不少初学者会遇到找不准穴位的情况。以下是一些技巧和建议,以及辅助工具,可以帮助您更准确地找到穴位', - desc: '4444浅!感谢您为中医事业做出的贡献💐。华佗医生真是医术高明,每次看您的微博都能学到很多中医的智慧和精髓,真是受益匪浅!感谢您为中医事业做出的贡献💐。华佗医生真是医术高明,每次看您的微博都能学到很多中医', - }, - { - id: 5, - source: '微博', - name: '麻辣烫---', - lurutime: '2025.01.13 23:00', - vedios: [{ - img_show: 'viewimg1.png', - url: 'https://cloud.video.taobao.com/vod/QveMufgzEwjhHPj1wo_KI_KF7vbZwUJhbOpGtVCXN3Y.mp4', - }, - { - img_show: 'viewimg1.png', - url: 'https://s10.mogucdn.com/mlcdn/c45406/240506_303f82ha577j13gc73j71faj880gi.mp4', - }, - ], - desc: '55555浅!感谢您为中医事业做出的贡献💐。华佗医生真是医术高明,每次看您的微博都能学到很多中医的智慧和精髓,真是受益匪浅!感谢您为中医事业做出的贡献💐。华佗医生真是医术高明,每次看您的微博都能学到很多中医', - }, - { - id: 6, - imgs: [ - 'viewimg1.png', - 'viewimg2.png', - 'viewimg3.png', - ], - source: '自录入', - question: '有没有什么技巧或者辅助工具可以帮助我们更准确地找到穴位呢?', - name: '麻辣烫---', - lurutime: '2025.01.13 23:00', - answer: '对于中医按摩时穴位定位的问题,确实有不少初学者会遇到找不准穴位的情况。以下是一些技巧和建议,以及辅助工具,可以帮助您更准确地找到穴位', - desc: '6666浅!感谢您为中医事业做出的贡献💐。华佗医生真是医术高明,每次看您的微博都能学到很多中医的智慧和精髓,真是受益匪浅!感谢您为中医事业做出的贡献💐。华佗医生真是医术高明,每次看您的微博都能学到很多中医。', - }, - ]; - //已审批 - var checkList = [{ - id: 1, - source: '微博', - name: '待审批11-', - lurutime: '2025.01.13 23:00', - vedios: [{ - img_show: 'viewimg1.png', - url: 'https://cloud.video.taobao.com/vod/QveMufgzEwjhHPj1wo_KI_KF7vbZwUJhbOpGtVCXN3Y.mp4', - }, - { - img_show: 'viewimg2.png', - url: 'https://cloud.video.taobao.com/vod/BYqzWJAb0TEleeeLZG-L5qFoBnmmKt0WC8qxw4hVDFc.mp4', - }, - ], - desc: '审批审批----------审批', - - }, - { - id: 2, - - imgs: [ - 'viewimg1.png', - 'viewimg2.png', - 'viewimg3.png', - ], - source: '自录入', - desc: '审批审批----------审批', - question: '有没有什么技巧或者辅助工具可以帮助我们更准确地找到穴位呢?', - name: '待审批-2222', - lurutime: '2025.01.13 23:00', - }, - ]; - //已删除 - var deletedList = [{ - id: 1, - - source: '微博', - name: '已删除111-', - lurutime: '2025.01.13 23:00', - vedios: [{ - img_show: 'viewimg1.png', - url: 'https://cloud.video.taobao.com/vod/QveMufgzEwjhHPj1wo_KI_KF7vbZwUJhbOpGtVCXN3Y.mp4', - }, - { - img_show: 'viewimg2.png', - url: 'https://cloud.video.taobao.com/vod/BYqzWJAb0TEleeeLZG-L5qFoBnmmKt0WC8qxw4hVDFc.mp4', - }, - ], - desc: '删除----删除', - - }, - { - id: 2, - - imgs: [ - 'viewimg1.png', - 'viewimg2.png', - 'viewimg3.png', - ], - source: '自录入', - desc: '删除----删除', - question: '有没有什么技巧或者辅助工具可以帮助我们更准确地找到穴位呢?', - name: '已删除-2222', - lurutime: '2025.01.13 23:00', - }, - ]; - - allData = waitCheck;//初始赋值待审批列表 后续从接口请求赋值 - - $('.radio-wrap').on('click', '.radio_box input', function () { - var radio_val = $(this).attr('value') - $('.edit-input').val('') - if (radio_val == '1') { - $('.answer-form').hide() - $('.common-input').html('录入信息') - } else { - $('.common-input').html('提问信息') - $('.answer-form').show() - } - $('.radio-wrap .radio_box').removeClass('radio_box_active'); - $(this).parent().addClass('radio_box_active'); - }) - - - //编辑 打开弹框 - $('#data-list').on('click', '.list_item_top_r', function () { - $('.preview').html('') - var cur_id = $(this).attr('id'); - cur_editdata = allData.filter(item => item.id == cur_id)[0]; - console.log(cur_editdata, 'cur_editdata'); - $('.edit-input').val('') - $('.radio-form').hide(); - $('.answer-form').hide(); - $('.normal-input').val(cur_editdata.desc); - $('.char-count').text(cur_editdata.desc.length + '/100'); - - if ($('.modal').hasClass('addmodal')) { - $('.modal').removeClass('addmodal') - $('.modal').addClass('editmodal') - } else { - $('.modal').addClass('editmodal') - } - $('#header_title').html('编辑'); - // $('.edit-input').show(); - $('.img_list2').html('') - $('.img_list2').show() - imagesHTML1 = '' - renderImages(cur_editdata) - $('.modal, .modal-overlay').fadeIn(); - }) - // 打开弹框 - $('.addNewBtn').click(function () { - $('.preview').html('') - $('.edit-input').val('') - $('.radio-form').show(); - $('.img_list2').html('') - $('.img_list2').show() - imagesHTML1 = '' - var radio_val = $('.radio-wrap').find('.radio_box_active input').val(); - if (radio_val == '1') { - $('.answer-form').hide() - $('.common-input').html('录入信息') - } else { - $('.answer-form').show() - $('.common-input').html('提问信息') - } - if ($('.modal').hasClass('editmodal')) { - $('.modal').removeClass('editmodal') - $('.modal').addClass('addmodal') - } else { - $('.modal').addClass('addmodal') - } - - $('#header_title').html('新增自录入') - $('.modal, .modal-overlay').fadeIn(); - }); - var imagesHTML1 = '' - - function renderImages(item) { - if (item.imgs) { - item.imgs.forEach(image => { - imagesHTML1 += ` -
- 图片 - Small Image - Small Image -
- `; - }); - } else if (item.vedios) { - item.vedios.forEach(v => { - imagesHTML1 += ` -
- 视频 - Video Cover - ...丢了 - Small Image -
- `; - }); - } - $('.img_list2').html(imagesHTML1) - } - - // 关闭弹框 - $('#cancel, .modal-overlay').click(function () { - $('.modal, .modal-overlay').fadeOut(); - $('.edit-input').val('') - $('.wordNum').html('0/100') - }); - $('#close_modal').click(function () { - $('.modal, .modal-overlay').fadeOut(); - $('.edit-input').val('') - $('.wordNum').html('0/100') - }); - - // 上传图片 - $('#upload-image-btn').click(function () { - $('#upload-image').click(); // 触发文件选择 - }); - - $('#upload-image').change(function (e) { - const files = e.target.files; - for (let i = 0; i < files.length; i++) { - uploadFile(files[i], 'image'); - } - }); - - // 上传视频 - $('#upload-video-btn').click(function () { - $('#upload-video').click(); // 触发文件选择 - }); - - $('#upload-video').change(function (e) { - const files = e.target.files; - for (let i = 0; i < files.length; i++) { - uploadFile(files[i], 'video'); - } - }); - - // 文件上传函数 - function uploadFile(file, type) { - const item = $(` -
-
上传中...
-
-
-
-
上传中...
- -
- `); - $('.preview').append(item); - // 模拟上传过程 - const formData = new FormData(); - formData.append('file', file); - // 模拟接口上传 - $.ajax({ - url: 'http://zq.pengda.checkcopy.com//upload_file', // 模拟接口地址 - type: 'POST', - data: formData, - processData: false, - contentType: false, - xhr: function () { - console.log(file,'=====file'); - var xhr = $.ajaxSettings.xhr(); - xhr.upload.addEventListener('progress', function (e) { - if (e.lengthComputable) { - const percent = Math.ceil((e.loaded / e.total) * 100); - item.find('.progress').css('width', percent + '%'); - item.find('.upload_name').html(`${file.name}` + percent + '%'); - } - }, false); - return xhr; - }, - success: function (response) { - res = JSON.parse(response) - item.find('.status').removeClass('uploading').addClass('hidden').text('上传成功'); - item.find('.progress-bar').addClass('hide'); // 隐藏进度条 - item.find('.upload_name').addClass('hide'); // 隐藏进度条 - const reader = new FileReader(); - reader.onload = function (event) { - if (type === 'image') { - item.prepend(`
- 图片 - Small Image - Small Image -
`); - } else if (type === 'video') { - // 视频需要展示封面图片 后续从response、获取也行 event.target.result只是用作占位 - item.prepend(`
- 视频 - Video Cover - ...丢了 - Small Image -
`); - } - }; - reader.readAsDataURL(file); - return - if (res.status) { - item.find('.status').removeClass('uploading').addClass('hidden').text('上传成功'); - item.find('.progress-bar').addClass('hide'); // 隐藏进度条 - item.find('.upload_name').addClass('hide'); // 隐藏进度条 - const reader = new FileReader(); - reader.onload = function (event) { - if (type === 'image') { - item.prepend(`
- 图片 - Small Image - Small Image -
`); - } else if (type === 'video') { - // 视频需要展示封面图片 后续从response、获取也行 event.target.result只是用作占位 - item.prepend(`
- 视频 - Video Cover - ...丢了 - Small Image -
`); - } - }; - reader.readAsDataURL(file); - }else{ - console.log(res,'response.info---'); - item.find('.upload_name').html(`${file.name}` +res.info); - item.find('.status').removeClass('uploading').addClass('failed').text('上传失败'); - } - }, - error: function () { - item.find('.status').removeClass('uploading').addClass('failed').text('上传失败');ç - } - }); - } - - // 删除功能 - $('.img_list2').on('click', '.delete-btn', function () { - $(this).parent().remove(); - // 请求借口 - // $.ajax({ - // type: "post", - // dataType: 'json', - // url: '', - // data: { - // type - // }, - // success: function (res) {} - // }) - }); - $('.preview').on('click', '.delete-btn', function () { - $(this).parent().parent().remove(); - // 请求借口 - // $.ajax({ - // type: "post", - // dataType: 'json', - // url: '', - // data: { - // type - // }, - // success: function (res) {} - // }) - }); - // 三个按钮操作 - - - // viedo - // 点击小版视频封面图时放大 - $('#data-list').on('click', '.list_item .small-video-cover', function () { - console.log($(this), '900000'); - vediourl = $(this).attr('href') - console.log(vediourl, '------8988989'); - // $('#large-viedo-url').attr('src', vediourl) - var dom = document.getElementById('large-viedo-url') - dom.src = vediourl - $('#large-video-container').fadeIn(); // 显示放大后的视频容器 - $('#large-video').get(0).load(); // 播放视频 - setTimeout(() => { - $('#large-video').get(0).play(); // 播放视频 - }, 500); - }); - - // 点击关闭按钮时关闭放大视频 - $('#close-btn').click(function () { - $('#large-video').get(0).pause(); // 暂停视频 - $('#large-video-container').fadeOut(); // 隐藏放大后的视频容器 - }); - - // 图片 - $('#data-list').on('click', '.list_item .small-image', function () { - imgurl = $(this).attr('src') - $('#large-image').attr('src', imgurl) - $('#large-image-container').fadeIn(); // 显示放大后的图片容器 - }); - - // 点击关闭按钮时关闭放大图片 - $('#close-btn2').click(function () { - $('#large-image-container').fadeOut(); // 隐藏放大后的图片容器 - }); - - // 点击背景区域时关闭放大图片 - $('#large-image-container').click(function (e) { - if (e.target === this) { - $('#large-image-container').fadeOut(); // 隐藏放大后的图片容器 - } - }); - - $('.dropdown-toggle').click(function () { - const dropdownPanel = document.querySelector('.dropdown-panel'); - const icon = document.querySelector('.icon'); - // 切换面板的显示/隐藏 - if (dropdownPanel.style.display === 'block') { - dropdownPanel.style.display = 'none'; - icon.classList.remove('rotate'); // 移除旋转效果 - } else { - dropdownPanel.style.display = 'block'; - icon.classList.add('rotate'); // 添加旋转效果 - } - }) - - // 点击页面其他区域关闭面板 - document.addEventListener('click', (event) => { - const dropdown = document.querySelector('.dropdown'); - const dropdownPanel = document.querySelector('.dropdown-panel'); - const icon = document.querySelector('.icon'); - - // 如果点击的区域不在 Dropdown 内,则关闭面板 - if (!dropdown.contains(event.target)) { - dropdownPanel.style.display = 'none'; - icon.classList.remove('rotate'); - } - }); - var list = waitCheck - var currentPage = 1; // 定义变量,用于存储当前的页码 - var pageSize = 2; // 定义变量,用于存储当前页条数 - renderList(list) - // 当文档加载完成后执行以下函数 - function renderList(list) { - function createPagination(currentPage, totalPages) { - var paginationHtml = ""; // 初始化一个字符串,用于存放分页条的HTML代码 - - // 如果当前页不是第一页,则生成一个“上一页”按钮 - // if (currentPage > 1) { - paginationHtml += "
  • <
  • "; - // } - - // 始终显示第一页的页码 - paginationHtml += generatePageNumberHtml(1, currentPage); - - // 如果总页数大于1页,则继续生成分页条的其余部分 - if (totalPages > 1) { - // 如果当前页码大于3,则在第一页和当前页之间添加省略号 - if (currentPage > 3) { - paginationHtml += "
  • ...
  • "; - } - // 遍历当前页附近的页码,并生成对应的分页按钮 - for ( - let i = Math.max(currentPage - 2, 2); i <= Math.min(currentPage + 2, totalPages - 1); i++ - ) { - paginationHtml += generatePageNumberHtml(i, currentPage); - } - // 如果当前页码小于总页数减去2,则在当前页和最后一页之间添加省略号 - if (currentPage < totalPages - 2) { - paginationHtml += "
  • ...
  • "; - } - } - - // 始终显示最后一页的页码 - paginationHtml += generatePageNumberHtml(totalPages, currentPage); - - // 如果当前页不是最后一页,则生成一个“下一页”按钮 - if (currentPage < totalPages) { - paginationHtml += "
  • >
  • "; - } - - // 返回生成的分页条HTML字符串 - return paginationHtml; - } - // 创建分页条的函数 - - // 生成单个页码按钮的HTML的函数 - function generatePageNumberHtml(pageNumber, currentPage) { - // 返回一个格式化后的HTML字符串,包含激活状态的判断 - return ( - '
  • ' + - pageNumber + - "
  • " - ); - } - - // 选择页码的函数 - function selectPage(pageNumber) { - // 更新当前页码的变量,并重新生成分页条 - currentPage = pageNumber; - $("#pagination").html(createPagination(currentPage, Math.ceil(list.length / pageSize))); - } - - // 为分页条上的每个按钮绑定点击事件 - $("#pagination").on("click", "li", function (event) { - let pageNumber = $(this).text(); // 获取点击的页码或按钮文本 - - // 如果点击的是省略号,则不执行任何操作 - if (pageNumber === "...") { - event.preventDefault(); - return; - } - - // 根据点击的按钮,调用selectPage函数更新当前页码 - if (pageNumber === "<") { - if (currentPage < 2) { - return - } - selectPage(currentPage - 1); - } else if (pageNumber === ">") { - // if(currentPage <2){ - // return - // } - selectPage(currentPage + 1); - } else { - selectPage(parseInt(pageNumber)); - } - }); - - // 初始化分页条,总页数为20,默认显示第一页 - $("#pagination").html(createPagination(currentPage, Math.ceil(list.length / pageSize))); - } - - // 模拟数据 - // var allData = [ - // "数据 1", "数据 2", "数据 3", "数据 4", "数据 5", - // "数据 6", "数据 7", "数据 8", "数据 9", "数据 10", - // "数据 11", "数据 12", "数据 13", "数据 14", "数据 15", - // "数据 16", "数据 17", "数据 18", "数据 19", "数据 20", - // "数据 21", "数据 22", "数据 23", "数据 24", "数据 25", - // "数据 26", "数据 27", "数据 28", "数据 29", "数据 30" - // ]; - // 总页数 - var totalPages = Math.ceil(allData.length / pageSize); - // 渲染数据 - function renderData() { - totalPages = Math.ceil(allData.length / pageSize); - const start = (currentPage - 1) * pageSize; - const end = start + pageSize; - const pageData = allData.slice(start, end); - // 清空列表 - $('#data-list').empty(); - - var html1 = ''; - // 渲染当前页数据 - pageData.forEach(item => { - let imagesHTML = ''; - if (item.imgs) { - item.imgs.forEach(image => { - imagesHTML += ` -
    - 图片 - Small Image -
    - `; - }); - } else if (item.vedios) { - item.vedios.forEach(v => { - imagesHTML += ` -
    - 视频 - Video Cover - ...丢了 -
    - `; - }); - } - html1 += `
    -
    -
    - ` + item.source + ` - ${item.question ? `${item.question}` :''} - ` + item.name + ` - 录入:` + item.lurutime + ` -
    - ${ - tabActive == '1' ? `
    编辑
    ` :'' - } - -
    -

    - ${item.desc} -

    - -
    - ${imagesHTML} -
    -
    - ${tabActive == '1' || tabActive == '2' ? '' : ''} - ${tabActive == '1' ? '' : ''} - ${tabActive == '3' || tabActive == '2' ? '' : ''} -
    -
    ` - $('#data-list').html(html1); - }); - - // 渲染分页按钮 - renderPagination(); - } - - // 渲染分页按钮 - function renderPagination() { - const pageNumbers = $('#page-numbers'); - pageNumbers.empty(); - - // 总页数小于等于 7 时,显示所有页码 - if (totalPages <= 7) { - for (let i = 1; i <= totalPages; i++) { - pageNumbers.append(`${i}`); - } - } else { - // 总页数大于 7 时,显示部分页码并用省略号代替 - if (currentPage <= 4) { - // 前 5 页 + 省略号 + 最后一页 - for (let i = 1; i <= 5; i++) { - pageNumbers.append(`${i}`); - } - pageNumbers.append('...'); - pageNumbers.append(`${totalPages}`); - } else if (currentPage >= totalPages - 3) { - // 第一页 + 省略号 + 最后 5 页 - pageNumbers.append('1'); - pageNumbers.append('...'); - for (let i = totalPages - 4; i <= totalPages; i++) { - pageNumbers.append(`${i}`); - } - } else { - // 第一页 + 省略号 + 当前页及前后两页 + 省略号 + 最后一页 - pageNumbers.append('1'); - pageNumbers.append('...'); - for (let i = currentPage - 2; i <= currentPage + 2; i++) { - pageNumbers.append(`${i}`); - } - pageNumbers.append('...'); - pageNumbers.append(`${totalPages}`); - } - } - - // 绑定页码点击事件 - pageNumbers.find('span').click(function () { - const page = parseInt($(this).text()); - if (!isNaN(page)) { - currentPage = page; - renderData(); - } - }); - } - - // 初始化渲染 - renderData(); - - // 上一页 - $('#prev-page').click(function () { - if (currentPage > 1) { - currentPage--; - renderData(); - } - }); - - // 下一页 - $('#next-page').click(function () { - if (currentPage < totalPages) { - currentPage++; - renderData(); - } - }); - - // 跳转到指定页 - $('#go-to-page').click(function () { - const page = parseInt($('#jump-to-page').val()); - if (page >= 1 && page <= totalPages) { - currentPage = page; - renderData(); - } else { - alert(`请输入有效的页码(1-${totalPages})`); - } - }); - - $('.index-nav-wrap-li').click(function () { - tabActive = $(this).attr('type'); - switch (tabActive) { - case '1': - allData = waitCheck - break - case '2': - allData = checkList - break - case '3': - allData = deletedList - break - } - currentPage = 1; - $('.index-nav-wrap-li span').removeClass('active') - $(this).find('span').addClass('active') - renderData() - }) - - // 仅保存 - // 录入信息 - $('#submit').click(function () { - if ($('.modal').hasClass('editmodal')) { //编辑 - var desc = $('.normal-input').val().trim() - var answer = $('.answer-input').val().trim() - // cur_editdata.id //当前编辑数据 后续用其他参数也可 - - } else if ($('.modal').hasClass('addmodal')) { //新增 - var radio_val = $('.radio-wrap').find('.radio_box_active input').val(); - // 区分信息段、问答 - if (radio_val == '1') { - - } else { - - } - } - // $.ajax({ - // type: "post", - // dataType: 'json', - // url: '', - // data: { - // type - // }, - - // success: function (res) {} - // }) - $('.modal, .modal-overlay').fadeOut(); - - }) - // 保存并通过审批 - $('#savePass').click(function () { - // 请求借口 - if ($('.modal').hasClass('editmodal')) { //编辑 - var desc = $('.normal-input').val().trim() - var answer = $('.answer-input').val().trim() - - } else if ($('.modal').hasClass('addmodal')) { //新增 - var radio_val = $('.radio-wrap').find('.radio_box_active input').val(); - // 区分信息段、问答 - if (radio_val == '1') { - - } else { - - } - } - // $.ajax({ - // type: "post", - // dataType: 'json', - // url: '', - // data: { - // type - // }, - - // success: function (res) {} - // }) - $('.modal, .modal-overlay').fadeOut(); - }) - $('.list_all').on('click','deleteBtn',function(){ - // 列表删除 - }) - $('.list_all').on('click','passBtn',function(){ - // 列表通过 - }) - $('.list_all').on('click','checkBtn',function(){ - // 恢复待审批 - }) - -}); \ No newline at end of file diff --git a/style/js/jquery-3.6.0.min.js b/style/js/jquery-3.6.0.min.js deleted file mode 100644 index c4c6022..0000000 --- a/style/js/jquery-3.6.0.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
    ",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0>>=1;return(t+r)/e};return n.int32=function(){return 0|a.g(4)},n.quick=function(){return a.g(4)/4294967296},n.double=n,E(x(a.S),o),(e.pass||r||function(t,e,r,i){return i&&(i.S&&b(i,a),t.state=function(){return b(a,{})}),r?(h[c]=t,e):t})(n,s,"global"in e?e.global:this==h,e.state)},E(h.random(),o)}([],BMMath);var BezierFactory=function(){var t={getBezierEasing:function(t,e,r,i,s){var a=s||("bez_"+t+"_"+e+"_"+r+"_"+i).replace(/\./g,"p");if(o[a])return o[a];var n=new h([t,e,r,i]);return o[a]=n}},o={};var l=11,p=1/(l-1),e="function"==typeof Float32Array;function i(t,e){return 1-3*e+3*t}function s(t,e){return 3*e-6*t}function a(t){return 3*t}function m(t,e,r){return((i(e,r)*t+s(e,r))*t+a(e))*t}function f(t,e,r){return 3*i(e,r)*t*t+2*s(e,r)*t+a(e)}function h(t){this._p=t,this._mSampleValues=e?new Float32Array(l):new Array(l),this._precomputed=!1,this.get=this.get.bind(this)}return h.prototype={get:function(t){var e=this._p[0],r=this._p[1],i=this._p[2],s=this._p[3];return this._precomputed||this._precompute(),e===r&&i===s?t:0===t?0:1===t?1:m(this._getTForX(t),r,s)},_precompute:function(){var t=this._p[0],e=this._p[1],r=this._p[2],i=this._p[3];this._precomputed=!0,t===e&&r===i||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],r=0;rn?-1:1,l=!0;l;)if(i[a]<=n&&i[a+1]>n?(o=(n-i[a])/(i[a+1]-i[a]),l=!1):a+=h,a<0||s-1<=a){if(a===s-1)return r[a];l=!1}return r[a]+(r[a+1]-r[a])*o}var D=createTypedArray("float32",8);return{getSegmentsLength:function(t){var e,r=segments_length_pool.newElement(),i=t.c,s=t.v,a=t.o,n=t.i,o=t._length,h=r.lengths,l=0;for(e=0;er[0]||!(r[0]>t[0])&&(t[1]>r[1]||!(r[1]>t[1])&&(t[2]>r[2]||!(r[2]>t[2])&&void 0))}var h,r=function(){var i=[4,4,14];function s(t){var e,r,i,s=t.length;for(e=0;e=a.t-i){s.h&&(s=a),f=0;break}if(a.t-i>t){f=c;break}c=r&&r<=t||this._caching.lastFrame=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(t,this._caching);this.pv=i}return this._caching.lastFrame=t,this.pv}function d(t){var e;if("unidimensional"===this.propType)e=t*this.mult,1e-5=this.p.keyframes[this.p.keyframes.length-1].t?(e=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/i,0),this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/i,0)):(e=this.p.pv,this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/i,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){e=[],r=[];var s=this.px,a=this.py;s._caching.lastFrame+s.offsetTime<=s.keyframes[0].t?(e[0]=s.getValueAtTime((s.keyframes[0].t+.01)/i,0),e[1]=a.getValueAtTime((a.keyframes[0].t+.01)/i,0),r[0]=s.getValueAtTime(s.keyframes[0].t/i,0),r[1]=a.getValueAtTime(a.keyframes[0].t/i,0)):s._caching.lastFrame+s.offsetTime>=s.keyframes[s.keyframes.length-1].t?(e[0]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/i,0),e[1]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/i,0),r[0]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/i,0),r[1]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/i,0)):(e=[s.pv,a.pv],r[0]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/i,s.offsetTime),r[1]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/i,a.offsetTime))}else e=r=n;this.v.rotate(-Math.atan2(e[1]-r[1],e[0]-r[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}if(this.r){if(this.r.effectsSequence.length)return;this.pre.rotate(-this.r.v),this.appliedTransformations=4}else this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],i),i.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},i.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(t,e,r){return new i(t,e,r)}}}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var r=0;r=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o}(!a[i]||a[i]&&!s)&&(a[i]=point_pool.newElement()),a[i][0]=t,a[i][1]=e},ShapePath.prototype.setTripleAt=function(t,e,r,i,s,a,n,o){this.setXYAt(t,e,"v",n,o),this.setXYAt(r,i,"o",n,o),this.setXYAt(s,a,"i",n,o)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,r=this.o,i=this.i,s=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],i[0][0],i[0][1],r[0][0],r[0][1],0,!1),s=1);var a,n=this._length-1,o=this._length;for(a=s;a=c[c.length-1].t-this.offsetTime)i=c[c.length-1].s?c[c.length-1].s[0]:c[c.length-2].e[0],a=!0;else{for(var d,u,y=f,g=c.length-1,v=!0;v&&(d=c[y],!((u=c[y+1]).t-this.offsetTime>t));)y=u.t-this.offsetTime)p=1;else if(ti+r);else p=o.s*s<=i?0:(o.s*s-i)/r,m=o.e*s>=i+r?1:(o.e*s-i)/r,h.push([p,m])}return h.length||h.push([0,0]),h},TrimModifier.prototype.releasePathsData=function(t){var e,r=t.length;for(e=0;ee.e){r.c=!1;break}e.s<=d&&e.e>=d+n.addedLength?(this.addSegment(f[i].v[s-1],f[i].o[s-1],f[i].i[s],f[i].v[s],r,o,y),y=!1):(l=bez.getNewSegment(f[i].v[s-1],f[i].v[s],f[i].o[s-1],f[i].i[s],(e.s-d)/n.addedLength,(e.e-d)/n.addedLength,h[s-1]),this.addSegmentFromArray(l,r,o,y),y=!1,r.c=!1),d+=n.addedLength,o+=1}if(f[i].c&&h.length){if(n=h[s-1],d<=e.e){var g=h[s-1].addedLength;e.s<=d&&e.e>=d+g?(this.addSegment(f[i].v[s-1],f[i].o[s-1],f[i].i[0],f[i].v[0],r,o,y),y=!1):(l=bez.getNewSegment(f[i].v[s-1],f[i].v[0],f[i].o[s-1],f[i].i[0],(e.s-d)/g,(e.e-d)/g,h[s-1]),this.addSegmentFromArray(l,r,o,y),y=!1,r.c=!1)}else r.c=!1;d+=n.addedLength,o+=1}if(r._length&&(r.setXYAt(r.v[p][0],r.v[p][1],"i",p),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),d>e.e)break;i=d.length&&(m=0,d=u[f+=1]?u[f].points:E.v.c?u[f=m=0].points:(l-=h.partialLength,null)),d&&(c=h,y=(h=d[m]).partialLength));L=T[s].an/2-T[s].add,_.translate(-L,0,0)}else L=T[s].an/2-T[s].add,_.translate(-L,0,0),_.translate(-x[0]*T[s].an/200,-x[1]*V/100,0);for(T[s].l/2,F=0;Fe));)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e,r=FontManager.getCombinedCharacterCodes(),i=[],s=0,a=t.length;sthis.minimumFontSize&&D=u(o)&&(n=c(0,d(t-o<0?d(h,1)-(o-t):h-t,1))),a(n));return n*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,r=this.o.v/e,i=this.s.v/e+r,s=this.e.v/e+r;if(st-this.layers[e].st&&this.buildItem(e),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t)}return this.createNull(t)},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(t){return new AudioElement(t,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t=t)return this.threeDElements[e].perspectiveElem;e+=1}},HybridRenderer.prototype.createThreeDContainer=function(t,e){var r=createTag("div");styleDiv(r);var i=createTag("div");styleDiv(i),"3d"===e&&(r.style.width=this.globalData.compSize.w+"px",r.style.height=this.globalData.compSize.h+"px",r.style.transformOrigin=r.style.mozTransformOrigin=r.style.webkitTransformOrigin="50% 50%",i.style.transform=i.style.webkitTransform="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)"),r.appendChild(i);var s={container:i,perspectiveElem:r,startPos:t,endPos:t,type:e};return this.threeDElements.push(s),s},HybridRenderer.prototype.build3dContainers=function(){var t,e,r=this.layers.length,i="";for(t=0;tt?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=e,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMaxthis.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,r,i=this.animationData.layers,s=i.length,a=t.layers,n=a.length;for(r=0;rthis.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame()},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!=t||!0===this.isPaused&&(this.isPaused=!1,this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!=t||!1===this.isPaused&&(this.isPaused=!0,this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(t){t&&this.name!=t||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!=t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.goToAndStop=function(t,e,r){r&&this.name!=r||(e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier),this.pause())},AnimationItem.prototype.goToAndPlay=function(t,e,r){this.goToAndStop(t,e,r),this.play()},AnimationItem.prototype.advanceTime=function(t){if(!0!==this.isPaused&&!1!==this.isLoaded){var e=this.currentRawFrame+t*this.frameModifier,r=!1;e>=this.totalFrames-1&&0=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(r=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,e=0):(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(e),r&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.timeCompleted=this.totalFrames=t[1]-t[0],this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFramee&&(r=e-t)),this.firstFrame=t,this.timeCompleted=this.totalFrames=e-t,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"==typeof t[0]){var r,i=t.length;for(r=0;rdata.k[e].t&&tdata.k[e+1].t-t?(r=e+2,data.k[e+1].t):(r=e+1,data.k[e].t);break}}-1===r&&(r=e+1,i=data.k[e].t)}else i=r=0;var a={};return a.index=r,a.time=i/elem.comp.globalData.frameRate,a}function key(t){var e,r,i;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var s=data.k[t].hasOwnProperty("s")?data.k[t].s:data.k[t-1].e;for(i=s.length,r=0;rl.length-1)&&(e=l.length-1),i=p-(s=l[l.length-1-e].t)),"pingpong"===t){if(Math.floor((h-s)/i)%2!=0)return this.getValueAtTime((i-(h-s)%i+s)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var m=this.getValueAtTime(s/this.comp.globalData.frameRate,0),f=this.getValueAtTime(p/this.comp.globalData.frameRate,0),c=this.getValueAtTime(((h-s)%i+s)/this.comp.globalData.frameRate,0),d=Math.floor((h-s)/i);if(this.pv.length){for(n=(o=new Array(m.length)).length,a=0;al.length-1)&&(e=l.length-1),i=(s=l[e].t)-p),"pingpong"===t){if(Math.floor((p-h)/i)%2==0)return this.getValueAtTime(((p-h)%i+p)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var m=this.getValueAtTime(p/this.comp.globalData.frameRate,0),f=this.getValueAtTime(s/this.comp.globalData.frameRate,0),c=this.getValueAtTime((i-(p-h)%i+p)/this.comp.globalData.frameRate,0),d=Math.floor((p-h)/i)+1;if(this.pv.length){for(n=(o=new Array(m.length)).length,a=0;an){var p=o,m=r.c&&o===h-1?0:o+1,f=(n-l)/a[o].addedLength;i=bez.getPointInSegment(r.v[p],r.v[m],r.o[p],r.i[m],f,a[o]);break}l+=a[o].addedLength,o+=1}return i||(i=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),i},vectorOnPath:function(t,e,r){t=1==t?this.v.c?0:.999:t;var i=this.pointOnPath(t,e),s=this.pointOnPath(t+.001,e),a=s[0]-i[0],n=s[1]-i[1],o=Math.sqrt(Math.pow(a,2)+Math.pow(n,2));return 0===o?[0,0]:"tangent"===r?[a/o,n/o]:[-n/o,a/o]},tangentOnPath:function(t,e){return this.vectorOnPath(t,e,"tangent")},normalOnPath:function(t,e){return this.vectorOnPath(t,e,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([r],t),extendPrototype([r],e),e.prototype.getValueAtTime=function(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shape_pool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime ${item.wid != '' ? '微博' :'自录入'} ${item.refer ? `${item.refer}` :''} - ` + item.wid + ` + ` + item.wid + ` 录入:` + item.created_at + ` ${ diff --git a/view/templates/weibo/home.html b/view/templates/weibo/home.html index 5dc0f6f..da3709b 100644 --- a/view/templates/weibo/home.html +++ b/view/templates/weibo/home.html @@ -29,6 +29,8 @@ +
    +
      @@ -173,6 +175,11 @@
    +
    +

    Copyright ©2012-2025 .

    +

    All Rights Reserved 底部随便写的

    +
    +