Browse Source

ta荐项目静态页面

master
filesite 1 year ago
parent
commit
c384ce40dd
  1. 1
      .gitignore
  2. 118
      tajian/addvideo.html
  3. 219
      tajian/css/index.css
  4. 2
      tajian/images/PersonalCenter.svg
  5. 2
      tajian/images/addvideos.svg
  6. 15
      tajian/images/buld.svg
  7. 2
      tajian/images/choice.svg
  8. 7
      tajian/images/clos copy.svg
  9. 7
      tajian/images/clos.svg
  10. 2
      tajian/images/contactUs.svg
  11. BIN
      tajian/images/machete_icon.png
  12. 2
      tajian/images/other.svg
  13. 2
      tajian/images/search.svg
  14. BIN
      tajian/images/wx_jialuoma.jpeg
  15. 178
      tajian/index.html
  16. 218
      tajian/js/index.js
  17. 4
      tajian/js/jquery-3.1.1.min.js
  18. 2
      tajian/js/jquery-3.7.1.min.js
  19. 15
      tajian/js/lazyload.js
  20. 118
      tajian/login.html
  21. 122
      tajian/register.html
  22. 165
      tajian/userCenter.html

1
.gitignore vendored

@ -0,0 +1 @@ @@ -0,0 +1 @@
.DS_Store

118
tajian/addvideo.html

@ -0,0 +1,118 @@ @@ -0,0 +1,118 @@
<!-- The author Tan -->
<!DocType html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="referrer" content="default">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
<meta name="renderer" content="webkit">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="icon" href="images/machete_icon.png">
<title>添加视频</title>
<link rel="stylesheet" type="text/css" href="css/index.css?a=3422">
</head>
<body>
<div class="app_add_video g_app_lay" id="app_add_video">
<header class="top_nav">
<a class="log_tn clearfix" href="">
<img class="verMiddle" src="images/machete_icon.png" alt="log图片" />
<span class="verMiddle">Ta荐</span>
</a>
<div class="search hide_movi_xs">
<form id="search_form" class="search_form" action="" method="get">
<div class="input_sf">
<input class="input_sf_JS" type="search" placeholder="搜索" />
</div>
<button class="input_sm jsbtn" aria-label="搜索"><img src="images/search.svg" alt="图片" /></button>
</form>
</div>
<div class="right_class_tn">
<a class="search_move_tn visible_movi_xs" href="javascript:;" title="搜索"><img src="images/search.svg" alt="图片" /></a>
<a class="connect_me_tn connectmeJS" href="javascript:;" title="联系我们"><img src="images/contactUs.svg" alt="图片" /></a>
</div>
</header>
<div class="app_layout_side">
<div class="menu_ls g_ls_menus">
<a href="/index.html" title="">
<img src="images/choice.svg" alt="图片" />
<span>推荐</span>
</a>
<a class="this_set" href="/addvideo.html" title="">
<img src="images/addvideos.svg" alt="图片" />
<span>添加</span>
</a>
<a href="/userCenter.html" title="">
<img src="images/PersonalCenter.svg" alt="图片" />
<span>我的</span>
</a>
</div>
<div class="g_ls_menus hide_movi_xs">
<div class="meuns_title">视频分类</div>
<a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>经济</span>
</a><a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>思考</span>
</a><a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>哲学</span>
</a><a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>影音</span>
</a><a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>搞笑</span>
</a><a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>运动</span>
</a>
</div>
</div>
<main class="g_main_lay g_main_border">
<form class="add_video_form g_form_style" id="add_video_form" action="" method="get">
<div class="">
<label for="text_input_link" class="form-label">分享网址/内容</label>
<input type="text" class="" id="text_input_link" placeholder="请粘贴分享网址/内容">
</div>
<div class="mb-3">
<label for="text_input_title" class="form-label">视频标题(可选)</label>
<input type="text" class="" id="text_input_title" placeholder="请输入视频标题(可选)">
</div>
<div class="avform_bt vercenter">
<button class="jsbtn" aria-label="提交">
<div class="loading_bt bt_class_JS elementNone verMiddle">
<svg viewBox="25 25 50 50">
<circle cx="50" cy="50" r="20"></circle>
</svg>
</div>
<span class="bt_text_JS">提交</span>
<div class="bt_loading_cover bt_class_JS elementNone"></div>
</button>
</div>
</form>
</main>
<!-- 右侧弹出框 -->
<div class="blank_cover elementNone blank_coverJS rtcloseJS"></div>
<div class="right_sidebox right_sideboxJS elementNone">
<h5>
<span>联系我们</span>
<a class="rtcloseJS" href="javascript:;">
<img class="icon svgimg verMiddle" src="images/clos.svg" alt="关闭" title="关闭" />
</a>
</h5>
<p class="sort1">微信扫码加好友</p>
<div class="vercenter"><img class="codeimg" src="images/wx_jialuoma.jpeg" alt="微信二维码" /></div>
</div>
</div>
<script type="text/javascript" src="js/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="js/index.js?a=668665566"></script>
</body>
</html>

219
tajian/css/index.css

@ -0,0 +1,219 @@ @@ -0,0 +1,219 @@
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,select,p,blockquote,th,td{margin:0;padding:0;}
/* body{position:relative;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;word-break: break-all;background-color:#FFF;color:#FFF;font-size:14px;line-height:1.428571429} */
body{position:relative;font-family:"Roboto","Arial",sans-serif;background-color:#FFF;color:#000;font-size:14px;line-height:1.428571429}
html{scroll-behavior:smooth}
ul,li{list-style:none;margin:0;padding:0;}
img,span,em,a{display:inline-block;max-width:100%}
*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
a{color:#464c5c;}
.clearfix{zoom:1;}
.clearfix:after{content:'.';display:block;visibility:hidden;clear:both;overflow:hidden;height:0px;}
.img-responsive{max-width:100%;display:block;}
.elementBlock{display:block !important;}
.elementNone{display:none !important;}
.elementhidden{visibility:hidden !important;}
.verMiddle{vertical-align:middle !important;}
.vercenter{text-align:center !important;}
.verbold{font-weight:bold !important;}
.opacityshow{opacity:1 !important;}
a:hover{text-decoration:none;}
a:active{text-decoration:none;}
a:visited{text-decoration:none;}
a:link{text-decoration:none;}
/* 首页 star*/
.g_app_lay{padding:56px 0 0 200px;}
/* 顶部导航 */
.top_nav{position:fixed;top:0;left:0;z-index:1100;width:100%;height:56px;overflow:hidden;background:#FFF;padding:8px 22px;display:flex;flex-wrap:wrap;flex-direction:row;align-items:center;justify-content: space-between;}
.log_tn img{width:37px;float:left;}
.log_tn span{
font-family: Brush Script MT;
color: #181818;
font-size: 24px;
text-shadow: 1px 1px 0 rgb(122 122 122),
1px 1px 5px rgb(183 183 183 / 80%);
margin-top:3px;
}
.right_class_tn{padding-top:5px;}
.right_class_tn img{margin-left:5px;}
.search_move_tn img{width:24px;}
.connect_me_tn img{width:22px;}
.search{flex:1;display:flex;align-items: center;margin:0 30px;max-width:555px;}
.search-left-arrow{padding:5px 13px;display:none;}
.search-left-arrow img{width:32px;display:block;}
.search_form{display:flex;flex:1;align-items: center;border-radius:5px;background-color: #dedede;}
.search_form .input_sf{flex:1;}
.search_form .input_sf input{border-radius:5px;width:100%;border-top-right-radius:0;border-bottom-right-radius: 0;border:none;padding:0 0 0 14px;font-size:15px;height:40px;background:transparent;}
.search_form .input_sm{cursor:pointer;width:52px;border:none;background:transparent;border-radius:5px;border-top-left-radius:0;border-bottom-left-radius: 0;}
.search_form .input_sm img{width:22px;}
/* 移动端搜索 */
.mobile_search{opacity:0;transform:translateX(101%);position:fixed;left:0;right:0;top:0;bottom:0;opacity:0;transform:translateX(101%);background-color:#FFF;z-index:1200;}
.mob_search_form{background:none;margin-top:18px;}
.mob_search_form .close{width:52px;text-align:center;}
.mob_search_form .input_sf{background-color:#f7f7f7;border-radius:9px;border:solid 1px #e0e0e0;}
/* 左侧菜单 */
.app_layout_side{padding:3px 0 0 0;width:200px;height:100vh;position:fixed;top:56px;left:0;z-index: 1000;overflow-y:auto;background:#FFF;}
.g_ls_menus{padding:9px 12px 6px 12px;border-bottom:solid 1px #eeeeee;}
.g_ls_menus .meuns_title{color:#686868;padding:10px 0 4px 8px;font-weight: bold;}
.g_ls_menus>a{display:block;padding:12px 18px;margin-bottom:4px;color:#4c4c4c;}
.g_ls_menus>a img{width:22px;vertical-align:middle;margin-right:8px;}
.g_ls_menus>a span{vertical-align:middle;}
.g_ls_menus>a:hover, .g_ls_menus .this_set{background-color: #f0f0f0;border-radius: 10px;}
.g_ls_menus .this_set{color: #000;font-weight:bold;font-size:15px;}
/* 主内容 */
.g_main_lay{padding:0 2% 0 3.4%;margin-top:18px;min-height:280px;position:relative;max-width:1700px;}
.g_main_border{border-top:solid 1px #eeeeee;}
.vl_list_main{float:left;width:25%;margin:10px 0 22px 0;position:relative}
.video-menu-ow{border-bottom:1px solid rgba(0,0,0,.1)}
/* .vl_list_main:hover .video_img_vl img{transform:scale(1.01)} */
.vl_list_main:hover .video_title_vl>a{font-weight:bold;}
.video_img_vl{border-radius:6px;width:calc(100% - 16px);position:relative;padding-top:71%;overflow:hidden;background:rgb(0 0 0 / 1)}
.video_img_vl a{text-align:center;position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.video_img_vl img{transform:scale(1);transition:all 0.3s ease-in-out;display:inline-block;max-width:100%;max-height:100%;}
.video_title_vl{padding:0 16px 0 0;color:#bbbbbb;background: #FFF;}
.video_title_vl>a{color:#000;min-height:49px;padding:9px 3px 0 3px;word-break:break-all;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2; /* 这里是超出几行省略 */
overflow: hidden;
}
/* 首页 end*/
/* 联系我们 */
.svgimg{width:2em;height:2em;vertical-align:middle;fill: currentColor;overflow: hidden;}
.blank_cover{transition: all 0.5s ease;position:fixed;left:0;right:0;top:0;bottom:0;background:rgba(0, 0, 0, .7);opacity:0;z-index: 1199}
.right_sidebox{padding:15px 10px 15px 18px;opacity:0;transform:translateX(101%);background-color:#FFF;position:fixed;right:0;top:0;bottom:0;color:#333;width:396px;overflow-y:auto;max-width:100%;z-index:1200;}
.right_sidebox>h5{display:flex;padding:15px 0 10px 0;border-bottom:solid 1px #e9e2e2;margin-bottom:20px;}
.right_sidebox>h5 span{font-size:20px;font-weight:bold;flex: 1;}
.right_sidebox .link{text-decoration: underline;color:#457fc1;}
.right_sidebox .sort1{font-size:16px;font-weight:bold;margin-top:10px;}
.right_sidebox p{margin:5px 0;}
.right_sidebox .codeimg{width:48%;}
.sideboxShow{animation:bounceInRight 0.5s ease forwards;}
/* 添加视频 */
.g_form_style{width:406px;margin:11% auto 0 auto;}
.g_form_style input{width:100%;font-size:15px;padding:12px 10px;border-radius:5px;border:solid 1px #9b9b9b;margin:6px 0 0 0;}
.g_form_style>div{margin-bottom:11px;}
.avform_bt{margin-top:18px;}
.avform_bt button{position: relative;font-size:15px;min-width:100px;border-radius:6px;padding:10px 3px;border:none;background-color:#0d6efd;color:#FFF;cursor: pointer;}
.loading_bt{display:inline-block;}
.bt_loading_cover{z-index:100;position:absolute;left:-1px;right:-1px;top:-1px;bottom:-1px;background:rgba(225,225,225,.5);}
.loading_bt svg{width: 20px;transform-origin: center;animation: change 2.5s linear infinite;
}
.loading_bt circle {fill: none;stroke: #FFF;stroke-width: 7;stroke-dasharray: 1, 200;stroke-dashoffset: 0;stroke-linecap: round;animation: diansh 2s ease-in-out infinite;
}
/* 个人中心 */
.ui_name{padding:3% 0 0 0;margin-bottom:20px;display:flex;align-items: center;justify-content:center;}
.ui_name img{width:112px;border:solid 4px #e6e6e6;border-radius:50%;}
.ui_name span{font-size:21px;font-weight:bold;margin-left:18px;}
.ui_menu{border-bottom: solid 1px #eeeeee;padding:0 0 0 3%;}
.ui_menu>a{padding:0 2px 6px 2px;margin:0 9px;}
.ui_menu .this_sel{font-weight:bold;border-bottom:solid 3px #000;font-size:15px;}
.ui_video_state{color:#ada7a7;margin:18% 0 10% 0;}
@keyframes bounceInRight {
0%,
60%,
75%,
90%,
to {
-webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
animation-timing-function: cubic-bezier(.215, .61, .355, 1)
}
0% {
opacity: 0;
-webkit-transform: translate3d(3000px, 0, 0) scaleX(3);
transform: translate3d(3000px, 0, 0) scaleX(3)
}
60% {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0) scaleX(1);
transform: translate3d(0, 0, 0) scaleX(1)
}
75% {
-webkit-transform: translate3d(0, 0, 0) scaleX(.98);
transform: translate3d(0, 0, 0) scaleX(.98)
}
90% {
-webkit-transform: translate3d(0, 0, 0) scaleX(.995);
transform: translate3d(0, 0, 0) scaleX(.995)
}
to {
opacity: 1;
-webkit-transform: translateZ(0);
transform: translateZ(0)
}
}
@keyframes circle {
0% {
transform: rotate(0);
}
100% {
transform: rotate(360deg);
}
}
@keyframes change {
100% {
transform: rotate(360deg);
}
}
@keyframes diansh {
0% {
stroke-dasharray: 1, 200;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 90, 200;
stroke-dashoffset: -35px;
}
100% {
stroke-dashoffset: -125px;
}
}
@media screen and (max-width: 1199px) {
}
@media screen and (max-width: 991px) {
}
@media screen and (max-width: 767px) {
.vl_list_main{width:50%;}
}
.visible_movi_xs{display:none;}
.hide_movi_xs{display:block;}
@media screen and (max-width:480px) {
.visible_movi_xs{display:inline-block;}
.hide_movi_xs{display:none;}
.top_nav{box-shadow:0 0 7px 0 rgb(155 155 155);}
.g_app_lay{padding:56px 0 60px 0}
.g_main_lay{margin-top:5px;padding:0 0 0 6px;}
.video_img_vl{width:calc(100% - 6px);padding-top:72.6%;}
.app_layout_side{padding:6px 0 6px 0;box-shadow: 0 0 7px 0 rgb(155 155 155);top:initial;bottom:0;right:0;width:100%;height:auto;}
.menu_ls{display:flex;justify-content:space-around;padding:0;border:none;}
.menu_ls>a{flex:1;text-align:center;padding:10px 0;margin:0;}
.menu_ls>a img{margin:0;}
.g_form_style{padding:0 12% 0 10%;width:100%;}
}

2
tajian/images/PersonalCenter.svg

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg class="icon" style="width:2em;height:2em;vertical-align: middle;fill: currentColor;overflow: hidden;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="13602"><path d="M899.640668 897.714805c-7.238868-108.132766-60.680011-208.738092-146.610102-276.03173l-5.16565-3.568269-0.047072 0.069585c-4.88731-2.988054-10.458189-4.586458-16.192797-4.586458-19.701714 0-31.458479 9.498328-31.458479 25.411763 0 9.266038 4.285606 17.975397 11.477402 23.882943l-0.080841 0.13917 4.562922 3.266393c72.065316 51.518351 112.638383 129.652895 120.584356 232.273111l0.084934 1.119497c-0.071631 0.862647-0.116657 1.731434-0.116657 2.612501 0 17.340947 14.058181 31.400151 31.400151 31.400151 16.759709 0 30.449499-13.131065 31.350009-29.665647l0.624217 0L899.640668 897.714805zM798.515502 371.795794c0-156.107407-128.529305-283.119149-286.524712-283.119149s-286.525736 127.011742-286.525736 283.119149c0 84.110653 37.19104 162.570609 102.377692 216.660528-117.01711 62.452377-194.688097 181.588755-203.479321 313.118394l-0.36225 5.482875c-0.007163 0.113587-0.016373 0.226151-0.022513 0.340761l-0.032746 0.499373 0.019443 0c-0.008186 0.267083-0.019443 0.533143-0.019443 0.802272 0 14.702863 11.918447 26.622334 26.622334 26.622334 14.702863 0 26.622334-11.918447 26.622334-26.622334 0-0.26913-0.01228-0.535189-0.019443-0.802272l0.553609 0 0.417509-5.467525c9.647731-124.997875 88.871073-234.450706 202.112184-279.552927 33.809013 15.705704 85.420485 32.060183 131.714857 32.060183 42.889833 0 84.540442-9.451256 124.198673-28.307719l29.048593-16.863063 23.720238-15.566534C758.567675 539.996634 798.515502 458.919061 798.515502 371.795794zM511.989767 597.931115c-126.247332 0-228.949412-101.461833-228.949412-226.157833 0-124.673487 102.701057-226.111784 228.949412-226.111784 126.259612 0 228.972948 101.438297 228.972948 226.111784C740.961692 496.469282 638.249379 597.931115 511.989767 597.931115z" fill="#000" p-id="13603"></path></svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

2
tajian/images/addvideos.svg

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg class="icon" style="width:2em;height:2em;vertical-align: middle;fill: currentColor;overflow: hidden;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="12559"><path d="M892.352 245.312c-30.048-14.816-63.744 0.96-79.904 13.344L704 348.096 704 256c0-52.928-43.072-96-96-96L192 160C139.072 160 96 203.072 96 256l0 224c0 17.664 14.336 32 32 32s32-14.336 32-32L160 256c0-17.632 14.368-32 32-32l416 0c17.664 0 32 14.368 32 32l0 160c0 12.384 7.168 23.648 18.336 28.928 11.296 5.312 24.512 3.616 34.016-4.256l159.872-131.936c2.912-2.208 7.2-4.128 10.336-4.992C863.264 306.336 864 310.816 864 317.984l0 388.064c0 7.072-0.704 11.52-1.376 14.144-3.04-0.832-6.912-2.56-9.056-4.224l-161.216-132.672c-9.568-7.872-22.88-9.504-33.984-4.224C647.168 584.352 640 595.616 640 608l0 160c0 17.664-14.336 32-32 32l-160 0c-17.664 0-32 14.304-32 32s14.336 32 32 32l160 0c52.928 0 96-43.072 96-96l0-92.224 109.792 90.336c18.912 14.4 50.944 26.272 78.624 12.608C908.672 770.688 928 751.552 928 706.016L928 317.984C928 272.48 908.608 253.344 892.352 245.312z" fill="#5F636D" p-id="12560"></path><path d="M384 672 288 672l0-96c0-17.696-14.336-32-32-32s-32 14.304-32 32l0 96L128 672c-17.664 0-32 14.304-32 32s14.336 32 32 32l96 0 0 96c0 17.696 14.336 32 32 32s32-14.304 32-32l0-96 96 0c17.664 0 32-14.304 32-32S401.664 672 384 672z" fill="#000" p-id="12561"></path></svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

15
tajian/images/buld.svg

@ -0,0 +1,15 @@ @@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg class="icon1" viewBox="0 0 1024 1024" style="color:#6c6c6c;width: 2em;height: 2em;vertical-align: middle;fill: currentColor;overflow: hidden;" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5317">
<path
d="M497.9 897.3c-19 0-36.3-7.7-49.1-19.9 6.1 21.4 25.8 36.9 49.1 36.9h26.7c23.3 0 43-15.5 49.1-36.9-12.8 12.2-30.1 19.9-49.1 19.9h-26.7zM444.2 667.9c-34-21.6-62.9-51.3-82.9-86.2-21.5-37.6-33.2-80.6-33.2-124.5 0-66.7 25.9-129.5 73.1-176.7 15.9-15.9 33.4-29.3 52.4-40.2C354 265.5 280 355.8 280 463.2c0 81.2 41.8 154.7 111 196.5l5.3 2.9v52.2c0 1.2 3.8 4.5 10.4 4.5h39.2c-1.7-3-1.6-6.8-1.6-10.2v-41.2z"
p-id="5318"></path>
<path
d="M614.8 738.7H408.6c-17.6 0-31.4-10.3-31.4-23.5v-41.3c-34-21.6-62.4-51.3-82.4-86.2-21.5-37.6-32.9-80.6-32.9-124.5 0-66.7 26-129.5 73.2-176.7s109.9-73.2 176.7-73.2 129.5 26 176.7 73.2 73.2 109.9 73.2 176.7c0 86.5-43 164.8-115.4 210.5v41.4c-0.1 13.3-13.9 23.6-31.5 23.6z m-217.5-23.8c0.7 1.2 4.7 3.8 11.4 3.8h206.2c6.6 0 10.6-2.6 11.4-3.8v-52.4l4.8-2.9c69.2-41.6 110.5-115 110.5-196.3 0-126.7-103.1-229.9-229.9-229.9-126.7 0-229.9 103.1-229.9 229.9 0 81.2 41.3 154.7 110.5 196.5l4.8 2.9v52.2zM632.4 790.6H391.1c-6.5 0-11.7-5.3-11.7-11.7v-26.6c0-6.5 5.3-11.7 11.7-11.7h241.3c6.5 0 11.7 5.3 11.7 11.7v26.6c0 6.5-5.2 11.7-11.7 11.7z m-233-20h224.8v-10H399.4v10zM632.4 844.6H391.1c-6.5 0-11.7-5.3-11.7-11.7v-25.1c0-6.5 5.3-11.7 11.7-11.7h241.3c6.5 0 11.7 5.3 11.7 11.7v25.1c0 6.5-5.2 11.7-11.7 11.7z m-233-20h224.8v-8.5H399.4v8.5zM525.1 931.2h-26.7c-39.2 0-71-31.9-71-71v-10h168.7v10c0 39.2-31.9 71-71 71z m-76.7-61c4.7 23.4 25.3 41 50 41h26.7c24.7 0 45.4-17.7 50-41H448.4zM884 484.5h-70.1c-5.5 0-10-4.5-10-10s4.5-10 10-10H884c5.5 0 10 4.5 10 10s-4.5 10-10 10zM839 297.2l-60.7 35c-4.8 2.8-10.9 1.1-13.7-3.7s-1.1-10.9 3.7-13.7l60.7-35c4.8-2.8 10.9-1.1 13.7 3.7s1.1 11-3.7 13.7zM706.4 157.5l-35 60.7c-2.8 4.8-8.9 6.4-13.7 3.7s-6.4-8.9-3.7-13.7l35-60.7c2.8-4.8 8.9-6.4 13.7-3.7s6.5 8.9 3.7 13.7zM521.8 102.8v70.1c0 5.5-4.5 10-10 10s-10-4.5-10-10v-70.1c0-5.5 4.5-10 10-10s10 4.5 10 10zM334.4 147.7l35 60.7c2.8 4.8 1.1 10.9-3.7 13.7s-10.9 1.1-13.7-3.7l-35-60.7c-2.8-4.8-1.1-10.9 3.7-13.7s11-1 13.7 3.7zM194.7 280.3l60.7 35c4.8 2.8 6.4 8.9 3.7 13.7s-8.9 6.4-13.7 3.7l-60.7-35c-4.8-2.8-6.4-8.9-3.7-13.7s8.9-6.4 13.7-3.7zM140 465h70.1c5.5 0 10 4.5 10 10s-4.5 10-10 10H140c-5.5 0-10-4.5-10-10s4.5-10 10-10z"
p-id="5319"></path>
<path
d="M537.4 729.3c-3.3-55.5 0.7-125.7 10.8-192.7 1.9-12.5 5.1-31.9 9.4-51.8-17.9 0.6-36.2-1.8-51.2-8-0.9 0.3-1.9 0.5-2.8 0.7-11 2.7-23.4 3.4-36.2 2.1 5.3 26.3 9.8 58.6 13.2 96.3 7 77.3 7.5 152 7.5 152.7l-20 0.1c0-0.7-0.4-74.6-7.4-151.1-4.1-44.9-9.2-77.8-14.5-101.8-1.1-0.3-2.1-0.6-3.2-0.9-32.8-9.4-65.9-31.9-60.9-59.3 1.5-8 6.5-15.2 13.9-19.8 13.7-8.5 24.8-5.8 31.7-2 14.6 8.1 25.8 28.7 35 64.9 6.6 1.1 13.3 1.6 19.9 1.4-6.5-7.7-10.1-17-10.6-27.4-1.7-35.7 16.6-48.6 24.5-52.5 13.5-6.7 29.7-4.6 41.4 5.2 13.8 11.6 18.2 31.2 11.9 52.5l-0.3 0.8c-3.8 9.8-9.7 18-17.2 24.5 9.6 1.6 20 1.9 30.2 1.2 5.9-22.8 13.3-43.4 21.9-51.9l0.3-0.3c11.9-10.7 25.3-14.2 36.8-9.7 10.6 4.2 17.8 14.7 18.8 27.2 1.2 15.7-7.3 30.6-22.8 39.8-10.1 6-23.9 10.5-39 13-3.6 15.8-7.3 34.8-10.6 56.8-9.9 65.7-13.8 134.4-10.6 188.5l-19.9 1.5z m61-302.3c-3.8 3.9-8.9 15.4-14.2 34.3 9.1-2.1 17.2-5.1 23.3-8.7 8.8-5.3 13.7-13.1 13.1-21.1-0.4-4.8-2.8-8.9-6.3-10.2-4.2-1.7-10 0.4-15.9 5.7z m-85.2-30.5c-2.7 0-5.3 0.6-7.8 1.8-9.3 4.6-14.2 16.9-13.4 33.7 0.5 9.9 5.6 17.6 15.7 23.3 10.1-4.4 18.4-11.8 23-23.3 3.9-13.4 1.8-24.7-5.8-31.1-3.3-2.9-7.5-4.4-11.7-4.4zM414 410.3c-1.9 0-4.2 0.7-7.3 2.6-2.6 1.6-4.3 4-4.8 6.4-1.8 9.6 13.1 24.6 38.6 33.8-8.9-30-17.6-39-22.4-41.6-1.1-0.7-2.4-1.2-4.1-1.2z"
p-id="5320"></path>
<path d="M646.7 380.9m-12 0a12 12 0 1 0 24 0 12 12 0 1 0-24 0Z" fill="#FF3333" p-id="5321"></path>
<path d="M519.7 332.9m-12 0a12 12 0 1 0 24 0 12 12 0 1 0-24 0Z" fill="#FF3333" p-id="5322"></path>
<path d="M385.7 360.9m-12 0a12 12 0 1 0 24 0 12 12 0 1 0-24 0Z" fill="#FF3333" p-id="5323"></path>
</svg>

After

Width:  |  Height:  |  Size: 3.9 KiB

2
tajian/images/choice.svg

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg class="icon" style="width:2em;height:2em;vertical-align: middle;fill: currentColor;overflow: hidden;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10040"><path d="M236.880363 1019.283956l250.648631-139.044461c8.344715-4.607512 30.204798-13.668951 50.221876-0.10239l251.211772 138.225349a36.501731 36.501731 0 0 0 53.754302-38.037568l-48.942012-292.321014s-10.136526-47.559759 12.54267-65.119498l207.286828-198.839723a36.501731 36.501731 0 0 0 8.549494-36.757703c-4.24915-12.901032-13.259395-26.621178-26.621178-28.924934H798.689611c-16.894209 0-30.409577 14.180897-26.774762 28.924934 3.634815 14.692843 12.440281 22.269639 34.402753 22.269639h160.597377l-200.529144 180.512066c-26.211622 23.242336-28.054626 53.498329-26.211621 64.914719l5.631403 34.607531 43.310609 269.283456-254.539419-143.651973a45.460781 45.460781 0 0 0-39.778184 0l-242.35511 138.737294 64.1468-271.382433c5.529014-29.744047-9.931747-61.996628-28.412988-81.757734L57.904134 409.556587s93.58368 0.972697 153.327747 0c74.539299-1.22867 157.525702-14.180897 188.344836-51.194573 19.300354-15.204788 67.730421-146.41648 67.73042-146.41648l43.822555-141.60419 145.750951 316.894409c8.703077 18.327657 22.474418 20.529024 34.863504 17.047793 12.440281-3.532426 21.092164-19.351549 12.440281-37.679206L544.252581 20.989775a36.60412 36.60412 0 0 0-66.194583 0.153584l-60.56318 183.276572S381.197865 304.505322 360.976009 322.372229C324.115916 355.034366 235.549304 358.362014 109.149902 358.362014H33.484323c-13.566562 2.047783-25.597287 10.75086-29.948826 23.754282-4.300344 12.952227-2.559729 34.14678 6.962462 43.873749 0 0 210.256113 185.221966 222.6452 196.894329 34.044391 32.098998 28.822545 37.935179 27.593875 65.119498 1.22867 0-63.225298 272.45752-68.498339 288.276642-5.273041 15.870318-5.529014 32.866916 5.887376 40.955659a35.989785 35.989785 0 0 0 38.754292 2.047783z" fill="#000" p-id="10041"></path></svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

7
tajian/images/clos copy.svg

@ -0,0 +1,7 @@ @@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg class="icon" style="width: 2em;height: 2em;color:#464c5c;vertical-align: middle;fill: currentColor;overflow: hidden;"
viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7837">
<path
d="M512 64c-247.00852 0-448 200.960516-448 448S264.960516 960 512 960c247.00852 0 448-200.960516 448-448S759.039484 64 512 64zM694.752211 649.984034c12.480043 12.54369 12.447359 32.768069-0.063647 45.248112-6.239161 6.208198-14.399785 9.34412-22.591372 9.34412-8.224271 0-16.415858-3.135923-22.65674-9.407768l-137.60043-138.016718-138.047682 136.576912c-6.239161 6.14455-14.368821 9.247789-22.496761 9.247789-8.255235 0-16.479505-3.168606-22.751351-9.504099-12.416396-12.576374-12.320065-32.800753 0.25631-45.248112l137.887703-136.384249-137.376804-137.824056c-12.480043-12.512727-12.447359-32.768069 0.063647-45.248112 12.512727-12.512727 32.735385-12.447359 45.248112 0.063647l137.567746 137.984034 138.047682-136.575192c12.54369-12.447359 32.831716-12.320065 45.248112 0.25631 12.447359 12.576374 12.320065 32.831716-0.25631 45.248112L557.344443 512.127295 694.752211 649.984034z"
p-id="7838"></path>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

7
tajian/images/clos.svg

@ -0,0 +1,7 @@ @@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg class="icon" style="width: 2em;height: 2em;color:#464c5c;vertical-align: middle;fill: currentColor;overflow: hidden;"
viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7837">
<path
d="M512 64c-247.00852 0-448 200.960516-448 448S264.960516 960 512 960c247.00852 0 448-200.960516 448-448S759.039484 64 512 64zM694.752211 649.984034c12.480043 12.54369 12.447359 32.768069-0.063647 45.248112-6.239161 6.208198-14.399785 9.34412-22.591372 9.34412-8.224271 0-16.415858-3.135923-22.65674-9.407768l-137.60043-138.016718-138.047682 136.576912c-6.239161 6.14455-14.368821 9.247789-22.496761 9.247789-8.255235 0-16.479505-3.168606-22.751351-9.504099-12.416396-12.576374-12.320065-32.800753 0.25631-45.248112l137.887703-136.384249-137.376804-137.824056c-12.480043-12.512727-12.447359-32.768069 0.063647-45.248112 12.512727-12.512727 32.735385-12.447359 45.248112 0.063647l137.567746 137.984034 138.047682-136.575192c12.54369-12.447359 32.831716-12.320065 45.248112 0.25631 12.447359 12.576374 12.320065 32.831716-0.25631 45.248112L557.344443 512.127295 694.752211 649.984034z"
p-id="7838"></path>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

2
tajian/images/contactUs.svg

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg class="icon" style="width:2em;height:2em;vertical-align: middle;fill: currentColor;overflow: hidden;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4177"><path d="M182.091294 756.705882H57.690353C45.281882 756.705882 7.529412 756.675765 7.529412 709.074824V463.631059c0-33.927529 18.748235-53.278118 50.160941-53.278118h124.416c34.032941 0 66.379294 20.871529 66.379294 53.278118v245.443765c-0.015059 17.769412-16.865882 47.631059-66.394353 47.631058zM966.174118 756.705882h-128.692706c-22.678588 0-46.878118-5.436235-46.878118-47.631058V463.631059c0-47.134118 28.687059-53.278118 46.878118-53.278118h128.692706c33.355294 0 50.296471 19.862588 50.29647 53.278118v245.443765c0 31.593412-14.426353 47.631059-50.29647 47.631058zM60.054588 428.739765a14.471529 14.471529 0 0 1-14.396235-16.00753C70.098824 184.801882 266.405647 19.365647 512.421647 19.365647c245.684706 0 441.976471 165.391059 466.718118 393.261177a14.456471 14.456471 0 0 1-28.762353 3.132235C927.262118 202.842353 743.062588 48.308706 512.421647 48.308706c-234.676706 0-414.795294 151.130353-438.000941 367.510588a14.456471 14.456471 0 0 1-14.366118 12.920471z m797.936941-3.282824a14.456471 14.456471 0 0 1-14.411294-13.342117C831.563294 259.403294 679.920941 130.379294 512.421647 130.379294s-319.156706 129.008941-331.143529 281.720471a14.471529 14.471529 0 0 1-28.852706-2.258824c13.146353-167.168 177.995294-308.389647 359.996235-308.389647 182.000941 0 346.849882 141.221647 359.996235 308.404706a14.471529 14.471529 0 0 1-14.426353 15.600941zM607.472941 984.139294a14.456471 14.456471 0 0 1-3.072-28.596706c106.601412-23.356235 233.773176-105.336471 259.553883-211.275294a14.456471 14.456471 0 1 1 28.114823 6.851765C863.518118 868.442353 725.729882 958.569412 610.575059 983.792941a14.607059 14.607059 0 0 1-3.102118 0.346353zM603.934118 1007.962353a38.339765 38.339765 0 0 1-38.294589-38.294588 38.339765 38.339765 0 0 1 38.294589-38.294589 38.339765 38.339765 0 0 1 38.294588 38.294589 38.324706 38.324706 0 0 1-38.294588 38.294588z m0-47.661177a9.366588 9.366588 0 0 0 0 18.718118 9.366588 9.366588 0 0 0 0-18.718118z" p-id="4178"></path></svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
tajian/images/machete_icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

2
tajian/images/other.svg

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg class="icon" style="width:2em;height:2em;vertical-align: middle;fill: currentColor;overflow: hidden;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="30546"><path d="M755.712 483.328c79.93 0 144.725 64.796 144.725 144.725v270.932h-60.074V628.053c0-46.75-37.9-84.65-84.651-84.65H266.757c-46.75 0-84.65 37.9-84.65 84.65v270.932h-60.075V628.053c0-79.93 64.796-144.725 144.725-144.725z m-208.213 125.61v202.07h-60.075v-202.07h60.075zM502.443 120.15c87.47 0 158.378 70.909 158.378 158.379 0 87.47-70.908 158.379-158.378 158.379-87.47 0-158.379-70.909-158.379-158.379 0-87.47 70.909-158.379 158.379-158.379z m0 60.075c-54.292 0-98.304 44.012-98.304 98.304s44.012 98.304 98.304 98.304c54.291 0 98.304-44.012 98.304-98.304s-44.013-98.304-98.304-98.304z" fill="#191F39" p-id="30547"></path></svg>

After

Width:  |  Height:  |  Size: 862 B

2
tajian/images/search.svg

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg class="icon" style="width: 2em;height: 2em;vertical-align: middle;fill: currentColor;overflow: hidden;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3239"><path d="M448 768c176.725333 0 320-143.274667 320-320 0-176.725333-143.274667-320-320-320-176.725333 0-320 143.274667-320 320 0 176.725333 143.274667 320 320 320z m0 42.666667c-200.298667 0-362.666667-162.368-362.666667-362.666667S247.701333 85.333333 448 85.333333s362.666667 162.368 362.666667 362.666667-162.368 362.666667-362.666667 362.666667z m304.917333-27.584a21.333333 21.333333 0 0 1 30.165334-30.165334l150.848 150.848a21.333333 21.333333 0 0 1-30.165334 30.165334l-150.848-150.826667z" fill="#000" p-id="3240"></path></svg>

After

Width:  |  Height:  |  Size: 768 B

BIN
tajian/images/wx_jialuoma.jpeg

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

178
tajian/index.html

@ -0,0 +1,178 @@ @@ -0,0 +1,178 @@
<!-- The author Tan -->
<!DocType html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="referrer" content="default">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
<meta name="renderer" content="webkit">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="icon" href="images/machete_icon.png">
<title>Ta荐</title>
<link rel="stylesheet" type="text/css" href="css/index.css?a=55444">
</head>
<body>
<div class="app_recommend g_app_lay" id="app_recommend">
<header class="top_nav">
<a class="log_tn clearfix" href="">
<img class="verMiddle" src="images/machete_icon.png" alt="log图片" />
<span class="verMiddle">Ta荐</span>
</a>
<div class="search hide_movi_xs">
<form id="search_form" class="search_form" action="" method="get">
<div class="input_sf">
<input class="input_sf_JS" type="search" placeholder="搜索" />
</div>
<button class="input_sm jsbtn" aria-label="搜索"><img src="images/search.svg" alt="图片" /></button>
</form>
</div>
<div class="right_class_tn">
<a class="search_move_tn search_mob_JS visible_movi_xs" href="javascript:;" title="搜索"><img src="images/search.svg" alt="图片" /></a>
<a class="connect_me_tn connectmeJS" href="javascript:;" title="联系我们"><img src="images/contactUs.svg" alt="图片" /></a>
</div>
</header>
<div class="app_layout_side">
<div class="menu_ls g_ls_menus">
<a class="this_set" href="/index.html" title="">
<img src="images/choice.svg" alt="图片" />
<span>推荐</span>
</a>
<a href="/addvideo.html" title="">
<img src="images/addvideos.svg" alt="图片" />
<span>添加</span>
</a>
<a href="/userCenter.html" title="">
<img src="images/PersonalCenter.svg" alt="图片" />
<span>我的</span>
</a>
</div>
<div class="g_ls_menus hide_movi_xs">
<div class="meuns_title">视频分类</div>
<a class="" href="javascript:;" title="">
<img src="images/other.svg" alt="图片" />
<span>经济</span>
</a><a class="" href="javascript:;" title="">
<img src="images/other.svg" alt="图片" />
<span>思考</span>
</a><a class="" href="javascript:;" title="">
<img src="images/other.svg" alt="图片" />
<span>哲学</span>
</a><a class="" href="javascript:;" title="">
<img src="images/other.svg" alt="图片" />
<span>影音</span>
</a><a class="" href="javascript:;" title="">
<img src="images/other.svg" alt="图片" />
<span>搞笑</span>
</a><a class="" href="javascript:;" title="">
<img src="images/other.svg" alt="图片" />
<span>运动</span>
</a>
</div>
</div>
<main class="g_main_lay">
<div class="videos_list clearfix">
<div class="vl_list_main advideo-item">
<div class="video_img_vl">
<a href="" target="_blank" title="" class="">
<img class="lazy" src="" data-original="https://tajian.tv/tajian/data/9629a649addd35d1c1c8904a763ced47.jpeg" alt=""
src="">
</a>
</div>
<div class="video_title_vl">
<a href="" target="_blank">有些陷阱就是对手设的局,有些理念就是资金种的,有些鸡汤就是收割你的</a>
</div>
</div>
<div class="vl_list_main advideo-item">
<div class="video_img_vl">
<a href="" target="_blank" title="" class="">
<img class="lazy" src="" data-original="https://tajian.tv/tajian/data/9629a649addd35d1c1c8904a763ced47.jpeg"
alt="" src="">
</a>
</div>
<div class="video_title_vl">
<a href="" target="_blank">有些陷阱就是对手设的局,有些理念就是资金种的,有些鸡汤就是收割你的</a>
</div>
</div>
<div class="vl_list_main advideo-item">
<div class="video_img_vl">
<a href="" target="_blank" title="" class="">
<img class="lazy" src="" data-original="https://tajian.tv/tajian/data/9629a649addd35d1c1c8904a763ced47.jpeg"
alt="" src="">
</a>
</div>
<div class="video_title_vl">
<a href="" target="_blank">有些陷阱就是对手设的局,有些理念就是资金种的,有些鸡汤就是收割你的</a>
</div>
</div>
<div class="vl_list_main advideo-item">
<div class="video_img_vl">
<a href="" target="_blank" title="" class="">
<img class="lazy" src="" data-original="https://tajian.tv/tajian/data/9629a649addd35d1c1c8904a763ced47.jpeg"
alt="" src="">
</a>
</div>
<div class="video_title_vl">
<a href="" target="_blank">有些陷阱就是对手设的局,有些理念就是资金种的,有些鸡汤就是收割你的</a>
</div>
</div>
<div class="vl_list_main advideo-item">
<div class="video_img_vl">
<a href="" target="_blank" title="" class="">
<img class="lazy" src="" data-original="https://tajian.tv/tajian/data/9629a649addd35d1c1c8904a763ced47.jpeg"
alt="" src="">
</a>
</div>
<div class="video_title_vl">
<a href="" target="_blank">有些陷阱就是对手设的局,有些理念就是资金种的,有些鸡汤就是收割你的</a>
</div>
</div>
<div class="vl_list_main advideo-item">
<div class="video_img_vl">
<a href="" target="_blank" title="" class="">
<img class="lazy" src="" data-original="https://tajian.tv/tajian/data/9629a649addd35d1c1c8904a763ced47.jpeg"
alt="" src="">
</a>
</div>
<div class="video_title_vl">
<a href="" target="_blank">有些陷阱就是对手设的局,有些理念就是资金种的,有些鸡汤就是收割你的</a>
</div>
</div>
</div>
</main>
<!-- 右侧弹出框 -->
<div class="blank_cover elementNone blank_coverJS rtcloseJS"></div>
<div class="right_sidebox right_sideboxJS elementNone">
<h5>
<span>联系我们</span>
<a class="rtcloseJS" href="javascript:;">
<img class="icon svgimg verMiddle" src="images/clos.svg" alt="关闭" title="关闭" />
</a>
</h5>
<p class="sort1">微信扫码加好友</p>
<div class="vercenter"><img class="codeimg" src="images/wx_jialuoma.jpeg" alt="微信二维码" /></div>
</div>
<!-- 移动端搜索框 -->
<div class="mobile_search elementNone mobile_search_JS" id="mobile_search">
<form id="mob_search_form" class="mob_search_form search_form" action="" method="get">
<a class="close ms_close_JS" href="javascript:;">
<img class="icon svgimg verMiddle" src="images/clos.svg" alt="关闭" title="关闭" />
</a>
<div class="input_sf">
<input class="ms_input_js" type="search" placeholder="搜索" />
</div>
<button class="input_sm jsbtn" aria-label="搜索"><img src="images/search.svg" alt="图片" /></button>
</form>
</div>
</div>
<script type="text/javascript" src="js/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="js/lazyload.js"></script>
<script type="text/javascript" src="js/index.js?a=668665566"></script>
</body>
</html>

218
tajian/js/index.js

@ -0,0 +1,218 @@ @@ -0,0 +1,218 @@
/*
******The author
******Tan
*/
// 图片异步加载
if ($("img.lazy").get(0)) {
$("img.lazy").lazyload({
effect: "fadeIn",
event: "scroll"
});
}
// 返回顶部
// var scrolltop = $('.scroll_topJS');
// $(window).scroll(function () {
// if ($(this).scrollTop() > 100) {
// scrolltop.fadeIn();
// } else {
// scrolltop.fadeOut();
// }
// });
if ($('.connectmeJS').get(0)) {
// 点击打开右侧弹出框
$('.connectmeJS').click(function () {
$('.blank_coverJS, .right_sideboxJS').removeClass('elementNone');
window.setTimeout(function () {
$('.blank_coverJS').addClass('opacityshow');
$('.right_sideboxJS').addClass('sideboxShow');
}, 0);
});
// 点击关闭右侧弹出框
$('.rtcloseJS').click(function () {
$('.blank_coverJS').removeClass('opacityshow');
$('.right_sideboxJS').removeClass('sideboxShow');
window.setTimeout(function () {
$('.blank_coverJS, .right_sideboxJS').addClass('elementNone');
}, 500);
});
}
// 打开移动端搜索框
if ($('.search_mob_JS').get(0)) {
$('.search_mob_JS').click(function () {
$('.blank_coverJS, .mobile_search_JS').removeClass('elementNone');
window.setTimeout(function () {
$('.blank_coverJS').addClass('opacityshow');
$('.mobile_search_JS').addClass('sideboxShow');
}, 0);
$('#mobile_search .ms_input_js').focus();
});
$('.ms_close_JS').click(function () {
$('.blank_coverJS').removeClass('opacityshow');
$('.mobile_search_JS').removeClass('sideboxShow');
window.setTimeout(function () {
$('.blank_coverJS, .mobile_search_JS').addClass('elementNone');
}, 500);
});
}
// 搜索相关
$('#search_form .jsbtn').click(function (e) {
e.preventDefault();
if (!$('#search_form .input_sf_JS').val()) {
return;
}
$('#search_form').submit();
});
// 添加视频
if ($('#app_add_video').get(0)) {
// 添加视频表单处理
$('#add_video_form .jsbtn').click(function (e) {
e.preventDefault();
let inputList = $('#add_video_form input');
// console.log(inputList[0].value);
if (!inputList[0].value) {
alert('请填写分享内容或网址!');
return false;
} else if (/https:\/\/[\w\.]+\/[\w]+/ig.test(inputList[0].value) == false) {
alert('目前只支持抖音、快手、西瓜视频和Bilibili的分享网址哦!');
return false;
}
let bt = $(this), btLoading = bt.children('.bt_class_JS'), btText = bt.children('.bt_text_JS');
btLoading.removeClass('elementNone');
bt.prop('disabled', true);
btText.text('提交中...');
let datas = {
'content': inputList[0].value,
'title': inputList[1].value
}
let apiUrl = taJian.debug ? taJian.domain + taJian.apis.addVideos : taJian.apis.addVideos;
// console.log(apiUrl);
publicAjax(apiUrl, 'POST', datas, function (data) {
bt.prop('disabled', false);
btLoading.addClass('elementNone');
if (data.code == 1) {
$(inputList[0]).val('');
alert(data.msg || data.err);
} else {
alert(data.err);
}
}, function (jqXHR, textStatus, errorThrown) {
bt.prop('disabled', false);
btLoading.removeClass('elementNone');
console.log(jqXHR);
});
// $.ajax({
// url: '/frontapi/addfav',
// method: 'POST',
// dataType: 'JSON',
// data: datas
// }).done(function (data, textStatus, jqXHR) {
// bt.prop('disabled', false);
// if (data.code == 1) {
// $(inputList[0]).val('');
// alert(data.msg || data.err);
// } else {
// alert(data.err);
// }
// }).fail(function (jqXHR, textStatus, errorThrown) {
// bt.prop('disabled', false);
// alert(errorThrown);
// });
});
}
// form表单
if ($('.g_form_js').get(0)) {
$('.g_form_js .jsbtn').click(function (e) {
e.preventDefault();
let inputList = $('.g_form_js input');
for (let i = 0; i < inputList.length; i++) {
if (!inputList[i].value) {
alert($(inputList[i]).attr('Warning'));
return false;
}
}
let bt = $(this), btLoading = bt.children('.bt_class_JS'), btText = bt.children('.bt_text_JS');
btLoading.removeClass('elementNone');
bt.prop('disabled', true);
btText.text('请求中...');
});
}
// 公用功能
var taJian = {
debug: false,
domain: 'https://tajian.tv',
apis: {
addVideos: '/frontapi/addfav', //添加视频
addVideos: '/frontapi/addfav', //注册
addVideos: '/frontapi/addfav' //登入
}
};
function publicAjax(apiUrl, method, datas, callback, fail) {
let self = this;
let Options = {
url: apiUrl,
method: method,
data: datas,
dataType: 'json'
};
if (self.debug) {
Options.crossDomain = true;
Options.xhrFields = {
withCredentials: true
};
}
$.ajax(Options).done(function (data) {
callback(data);
}).fail(function (jqXHR, textStatus, errorThrown) {
fail(jqXHR, textStatus, errorThrown);
});
};

4
tajian/js/jquery-3.1.1.min.js vendored

File diff suppressed because one or more lines are too long

2
tajian/js/jquery-3.7.1.min.js vendored

File diff suppressed because one or more lines are too long

15
tajian/js/lazyload.js

@ -0,0 +1,15 @@ @@ -0,0 +1,15 @@
(function($,window,document,undefined){var $window=$(window);$.fn.lazyload=function(options){var elements=this;var $container;var settings={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:window,data_attribute:"original",skip_invisible:true,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};function update(){var counter=0;elements.each(function(){var $this=$(this);if(settings.skip_invisible&&!$this.is(":visible")){return;}
if($.abovethetop(this,settings)||$.leftofbegin(this,settings)){}else if(!$.belowthefold(this,settings)&&!$.rightoffold(this,settings)){$this.trigger("appear");counter=0;}else{if(++counter>settings.failure_limit){return false;}}});}
if(options){if(undefined!==options.failurelimit){options.failure_limit=options.failurelimit;delete options.failurelimit;}
if(undefined!==options.effectspeed){options.effect_speed=options.effectspeed;delete options.effectspeed;}
$.extend(settings,options);}
$container=(settings.container===undefined||settings.container===window)?$window:$(settings.container);if(0===settings.event.indexOf("scroll")){$container.bind(settings.event,function(){return update();});}
this.each(function(){var self=this;var $self=$(self);self.loaded=false;if($self.attr("src")===undefined||$self.attr("src")===false){if($self.is("img")){$self.attr("src",settings.placeholder);}}
$self.one("appear",function(){if(!this.loaded){if(settings.appear){var elements_left=elements.length;settings.appear.call(self,elements_left,settings);}
$("<img />").bind("load",function(){var original=$self.attr("data-"+settings.data_attribute);$self.hide();if($self.is("img")){$self.attr("src",original);}else{$self.css("background-image","url('"+original+"')");}
$self[settings.effect](settings.effect_speed);self.loaded=true;var temp=$.grep(elements,function(element){return!element.loaded;});elements=$(temp);if(settings.load){var elements_left=elements.length;settings.load.call(self,elements_left,settings);}}).attr("src",$self.attr("data-"+settings.data_attribute));}});if(0!==settings.event.indexOf("scroll")){$self.bind(settings.event,function(){if(!self.loaded){$self.trigger("appear");}});}});$window.bind("resize",function(){update();});if((/(?:iphone|ipod|ipad).*os 5/gi).test(navigator.appVersion)){$window.bind("pageshow",function(event){if(event.originalEvent&&event.originalEvent.persisted){elements.each(function(){$(this).trigger("appear");});}});}
$(document).ready(function(){update();});return this;};$.belowthefold=function(element,settings){var fold;if(settings.container===undefined||settings.container===window){fold=(window.innerHeight?window.innerHeight:$window.height())+$window.scrollTop();}else{fold=$(settings.container).offset().top+$(settings.container).height();}
return fold<=$(element).offset().top-settings.threshold;};$.rightoffold=function(element,settings){var fold;if(settings.container===undefined||settings.container===window){fold=$window.width()+$window.scrollLeft();}else{fold=$(settings.container).offset().left+$(settings.container).width();}
return fold<=$(element).offset().left-settings.threshold;};$.abovethetop=function(element,settings){var fold;if(settings.container===undefined||settings.container===window){fold=$window.scrollTop();}else{fold=$(settings.container).offset().top;}
return fold>=$(element).offset().top+settings.threshold+$(element).height();};$.leftofbegin=function(element,settings){var fold;if(settings.container===undefined||settings.container===window){fold=$window.scrollLeft();}else{fold=$(settings.container).offset().left;}
return fold>=$(element).offset().left+settings.threshold+$(element).width();};$.inviewport=function(element,settings){return!$.rightoffold(element,settings)&&!$.leftofbegin(element,settings)&&!$.belowthefold(element,settings)&&!$.abovethetop(element,settings);};$.extend($.expr[":"],{"below-the-fold":function(a){return $.belowthefold(a,{threshold:0});},"above-the-top":function(a){return!$.belowthefold(a,{threshold:0});},"right-of-screen":function(a){return $.rightoffold(a,{threshold:0});},"left-of-screen":function(a){return!$.rightoffold(a,{threshold:0});},"in-viewport":function(a){return $.inviewport(a,{threshold:0});},"above-the-fold":function(a){return!$.belowthefold(a,{threshold:0});},"right-of-fold":function(a){return $.rightoffold(a,{threshold:0});},"left-of-fold":function(a){return!$.rightoffold(a,{threshold:0});}});})(jQuery,window,document);

118
tajian/login.html

@ -0,0 +1,118 @@ @@ -0,0 +1,118 @@
<!-- The author Tan -->
<!DocType html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="referrer" content="default">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
<meta name="renderer" content="webkit">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="icon" href="images/machete_icon.png">
<title>登入</title>
<link rel="stylesheet" type="text/css" href="css/index.css?a=4557">
</head>
<body>
<div class="app_login g_app_lay" id="app_login">
<header class="top_nav">
<a class="log_tn clearfix" href="">
<img class="verMiddle" src="images/machete_icon.png" alt="log图片" />
<span class="verMiddle">Ta荐</span>
</a>
<div class="search hide_movi_xs">
<form id="search_form" class="search_form" action="" method="get">
<div class="input_sf">
<input class="input_sf_JS" type="search" placeholder="搜索" />
</div>
<button class="input_sm jsbtn" aria-label="搜索"><img src="images/search.svg" alt="图片" /></button>
</form>
</div>
<div class="right_class_tn">
<a class="search_move_tn visible_movi_xs" href="javascript:;" title="搜索"><img src="images/search.svg" alt="图片" /></a>
<a class="connect_me_tn connectmeJS" href="javascript:;" title="联系我们"><img src="images/contactUs.svg" alt="图片" /></a>
</div>
</header>
<div class="app_layout_side">
<div class="menu_ls g_ls_menus">
<a class="this_set" href="/index.html" title="">
<img src="images/choice.svg" alt="图片" />
<span>推荐</span>
</a>
<a href="/addvideo.html" title="">
<img src="images/addvideos.svg" alt="图片" />
<span>添加</span>
</a>
<a href="/userCenter.html" title="">
<img src="images/PersonalCenter.svg" alt="图片" />
<span>我的</span>
</a>
</div>
<div class="g_ls_menus hide_movi_xs">
<div class="meuns_title">视频分类</div>
<a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>经济</span>
</a><a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>思考</span>
</a><a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>哲学</span>
</a><a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>影音</span>
</a><a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>搞笑</span>
</a><a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>运动</span>
</a>
</div>
</div>
<main class="g_main_lay g_main_border">
<form class="login_form g_form_js g_form_style" id="login_form" action="" method="get">
<div class="">
<label for="text_input_user" class="form-label">用户名</label>
<input type="text" Warning="用户名不能为空" id="text_input_user" placeholder="输入用户名">
</div>
<div class="">
<label for="text_input_pas" class="form-label">密码</label>
<input type="password" Warning="密码不能为空" id="text_input_pas" placeholder="输入密码">
</div>
<div class="avform_bt vercenter">
<button class="jsbtn" aria-label="提交">
<div class="loading_bt bt_class_JS elementNone verMiddle">
<svg viewBox="25 25 50 50">
<circle cx="50" cy="50" r="20"></circle>
</svg>
</div>
<span class="bt_text_JS">登入</span>
<div class="bt_loading_cover bt_class_JS elementNone"></div>
</button>
</div>
</form>
</main>
<!-- 右侧弹出框 -->
<div class="blank_cover elementNone blank_coverJS rtcloseJS"></div>
<div class="right_sidebox right_sideboxJS elementNone">
<h5>
<span>联系我们</span>
<a class="rtcloseJS" href="javascript:;">
<img class="icon svgimg verMiddle" src="images/clos.svg" alt="关闭" title="关闭" />
</a>
</h5>
<p class="sort1">微信扫码加好友</p>
<div class="vercenter"><img class="codeimg" src="images/wx_jialuoma.jpeg" alt="微信二维码" /></div>
</div>
</div>
<script type="text/javascript" src="js/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="js/index.js?a=4556"></script>
</body>
</html>

122
tajian/register.html

@ -0,0 +1,122 @@ @@ -0,0 +1,122 @@
<!-- The author Tan -->
<!DocType html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="referrer" content="default">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
<meta name="renderer" content="webkit">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="icon" href="images/machete_icon.png">
<title>注册</title>
<link rel="stylesheet" type="text/css" href="css/index.css?a=5676">
</head>
<body>
<div class="app_register g_app_lay" id="app_register">
<header class="top_nav">
<a class="log_tn clearfix" href="">
<img class="verMiddle" src="images/machete_icon.png" alt="log图片" />
<span class="verMiddle">Ta荐</span>
</a>
<div class="search hide_movi_xs">
<form id="search_form" class="search_form" action="" method="get">
<div class="input_sf">
<input class="input_sf_JS" type="search" placeholder="搜索" />
</div>
<button class="input_sm jsbtn" aria-label="搜索"><img src="images/search.svg" alt="图片" /></button>
</form>
</div>
<div class="right_class_tn">
<a class="search_move_tn visible_movi_xs" href="javascript:;" title="搜索"><img src="images/search.svg" alt="图片" /></a>
<a class="connect_me_tn connectmeJS" href="javascript:;" title="联系我们"><img src="images/contactUs.svg" alt="图片" /></a>
</div>
</header>
<div class="app_layout_side">
<div class="menu_ls g_ls_menus">
<a class="this_set" href="/index.html" title="">
<img src="images/choice.svg" alt="图片" />
<span>推荐</span>
</a>
<a href="/addvideo.html" title="">
<img src="images/addvideos.svg" alt="图片" />
<span>添加</span>
</a>
<a href="/userCenter.html" title="">
<img src="images/PersonalCenter.svg" alt="图片" />
<span>我的</span>
</a>
</div>
<div class="g_ls_menus hide_movi_xs">
<div class="meuns_title">视频分类</div>
<a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>经济</span>
</a><a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>思考</span>
</a><a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>哲学</span>
</a><a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>影音</span>
</a><a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>搞笑</span>
</a><a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>运动</span>
</a>
</div>
</div>
<main class="g_main_lay g_main_border">
<form class="register_form g_form_js g_form_style" id="register_form" action="" method="get">
<div class="">
<label for="text_input_user" class="form-label">用户名</label>
<input type="text" Warning="用户名不能为空" id="text_input_user" placeholder="输入用户名">
</div>
<div class="">
<label for="text_input_pas" class="form-label">密码</label>
<input type="password" Warning="密码不能为空" id="text_input_pas" placeholder="输入密码">
</div>
<div class="">
<label for="text_input_email" class="form-label">邮箱</label>
<input type="text" Warning="邮箱不能为空" id="text_input_email" placeholder="输入邮箱">
</div>
<div class="avform_bt vercenter">
<button class="jsbtn" aria-label="提交">
<div class="loading_bt bt_class_JS elementNone verMiddle">
<svg viewBox="25 25 50 50">
<circle cx="50" cy="50" r="20"></circle>
</svg>
</div>
<span class="bt_text_JS">注册</span>
<div class="bt_loading_cover bt_class_JS elementNone"></div>
</button>
</div>
</form>
</main>
<!-- 右侧弹出框 -->
<div class="blank_cover elementNone blank_coverJS rtcloseJS"></div>
<div class="right_sidebox right_sideboxJS elementNone">
<h5>
<span>联系我们</span>
<a class="rtcloseJS" href="javascript:;">
<img class="icon svgimg verMiddle" src="images/clos.svg" alt="关闭" title="关闭" />
</a>
</h5>
<p class="sort1">微信扫码加好友</p>
<div class="vercenter"><img class="codeimg" src="images/wx_jialuoma.jpeg" alt="微信二维码" /></div>
</div>
</div>
<script type="text/javascript" src="js/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="js/index.js?a=5667"></script>
</body>
</html>

165
tajian/userCenter.html

@ -0,0 +1,165 @@ @@ -0,0 +1,165 @@
<!-- The author Tan -->
<!DocType html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="referrer" content="default">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
<meta name="renderer" content="webkit">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="icon" href="images/machete_icon.png">
<title>我的</title>
<link rel="stylesheet" type="text/css" href="css/index.css?a=3434556">
</head>
<body>
<div class="app_user_center g_app_lay" id="app_user_center">
<header class="top_nav">
<a class="log_tn clearfix" href="">
<img class="verMiddle" src="images/machete_icon.png" alt="log图片" />
<span class="verMiddle">Ta荐</span>
</a>
<div class="search hide_movi_xs">
<form id="search_form" class="search_form" action="" method="get">
<div class="input_sf">
<input class="input_sf_JS" type="search" placeholder="搜索" />
</div>
<button class="input_sm jsbtn" aria-label="搜索"><img src="images/search.svg" alt="图片" /></button>
</form>
</div>
<div class="right_class_tn">
<a class="search_move_tn visible_movi_xs" href="javascript:;" title="搜索"><img src="images/search.svg" alt="图片" /></a>
<a class="connect_me_tn connectmeJS" href="javascript:;" title="联系我们"><img src="images/contactUs.svg" alt="图片" /></a>
</div>
</header>
<div class="app_layout_side">
<div class="menu_ls g_ls_menus">
<a href="/index.html" title="">
<img src="images/choice.svg" alt="图片" />
<span>推荐</span>
</a>
<a href="/addvideo.html" title="">
<img src="images/addvideos.svg" alt="图片" />
<span>添加</span>
</a>
<a class="this_set" href="/userCenter.html" title="">
<img src="images/PersonalCenter.svg" alt="图片" />
<span>我的</span>
</a>
</div>
<div class="g_ls_menus hide_movi_xs">
<div class="meuns_title">视频分类</div>
<a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>经济</span>
</a><a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>思考</span>
</a><a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>哲学</span>
</a><a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>影音</span>
</a><a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>搞笑</span>
</a><a class="" href="javascript:;" title="搜索">
<img src="images/other.svg" alt="图片" />
<span>运动</span>
</a>
</div>
</div>
<main class="g_main_lay g_main_border user_info_main">
<div class="ui_name">
<img src="images/machete_icon.png" alt="图片" />
<span>用户名</span>
</div>
<div class="ui_related">
<div class="ui_menu">
<a class="this_sel" href="javascript:;">视频</a>
</div>
<div class="videos_list clearfix">
<div class="vl_list_main advideo-item">
<div class="video_img_vl">
<a href="" target="_blank" title="" class="">
<img class="lazy" src="" data-original="https://tajian.tv/tajian/data/9629a649addd35d1c1c8904a763ced47.jpeg"
alt="" src="">
</a>
</div>
<div class="video_title_vl">
<a href="" target="_blank">有些陷阱就是对手设的局,有些理念就是资金种的,有些鸡汤就是收割你的</a>
</div>
</div>
<div class="vl_list_main advideo-item">
<div class="video_img_vl">
<a href="" target="_blank" title="" class="">
<img class="lazy" src="" data-original="https://tajian.tv/tajian/data/9629a649addd35d1c1c8904a763ced47.jpeg"
alt="" src="">
</a>
</div>
<div class="video_title_vl">
<a href="" target="_blank">有些陷阱就是对手设的局,有些理念就是资金种的,有些鸡汤就是收割你的</a>
</div>
</div>
<div class="vl_list_main advideo-item">
<div class="video_img_vl">
<a href="" target="_blank" title="" class="">
<img class="lazy" src="" data-original="https://tajian.tv/tajian/data/9629a649addd35d1c1c8904a763ced47.jpeg"
alt="" src="">
</a>
</div>
<div class="video_title_vl">
<a href="" target="_blank">有些陷阱就是对手设的局,有些理念就是资金种的,有些鸡汤就是收割你的</a>
</div>
</div>
<div class="vl_list_main advideo-item">
<div class="video_img_vl">
<a href="" target="_blank" title="" class="">
<img class="lazy" src="" data-original="https://tajian.tv/tajian/data/9629a649addd35d1c1c8904a763ced47.jpeg"
alt="" src="">
</a>
</div>
<div class="video_title_vl">
<a href="" target="_blank">有些陷阱就是对手设的局,有些理念就是资金种的,有些鸡汤就是收割你的</a>
</div>
</div>
<div class="vl_list_main advideo-item">
<div class="video_img_vl">
<a href="" target="_blank" title="" class="">
<img class="lazy" src="" data-original="https://tajian.tv/tajian/data/9629a649addd35d1c1c8904a763ced47.jpeg"
alt="" src="">
</a>
</div>
<div class="video_title_vl">
<a href="" target="_blank">有些陷阱就是对手设的局,有些理念就是资金种的,有些鸡汤就是收割你的</a>
</div>
</div>
</div>
<div class="ui_video_state vercenter">你还没有添加过任何视频</div>
</div>
</main>
<!-- 右侧弹出框 -->
<div class="blank_cover elementNone blank_coverJS rtcloseJS"></div>
<div class="right_sidebox right_sideboxJS elementNone">
<h5>
<span>联系我们</span>
<a class="rtcloseJS" href="javascript:;">
<img class="icon svgimg verMiddle" src="images/clos.svg" alt="关闭" title="关闭" />
</a>
</h5>
<p class="sort1">微信扫码加好友</p>
<div class="vercenter"><img class="codeimg" src="images/wx_jialuoma.jpeg" alt="微信二维码" /></div>
</div>
</div>
<script type="text/javascript" src="js/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="js/lazyload.js"></script>
<script type="text/javascript" src="js/index.js?a=86756"></script>
</body>
</html>
Loading…
Cancel
Save