三木
成舟
动态日历
统计近10个月的博主文章和评论数目
Loading...
分类雷达图
Loading...
发布统计图
Loading...
分类统计图
Loading...
标签统计图
Loading...
闲言碎语
闲言碎语
本来想把typecho和主题的版本都更新了,但是好麻烦一直都没搞,db结构稍微有点不一样
November 14th, 2022 at 11:27 am
换了个工作忙成狗了,新项目特别急,干了一个月,今天终于要上线了
August 20th, 2022 at 10:53 am
换了个工作
June 29th, 2022 at 05:20 pm
用户名
密码
登录
登录中...
文章
时光机
热搜
首页
热搜
赞
0
如果觉得我的文章对你有用,请随意赞赏
此处评论已关闭
热搜
moozik
•
2021 年 07 月 21 日
<style> #post-content { background-color: #f1f3f4; padding: 0px; } .bili { float:left; } .bili .bili_div { position: relative; width: 430px; margin: 0px 0px 5px 0px; margin-left: 20px; } .bili .bili_col { width: 100%; height: 100%; overflow: hidden; border-radius: 20px; background-color: currentcolor; box-shadow: -10px 3px 9px #00000050; } .bili .bili_top { font-size: 12px; padding: 10px; } .bili .bili_title { overflow: hidden; color: #fff; line-height: 20px; font-size: 15px; } .bili .bili_title a { text-decoration: none; color: #f35; } .bili .bili_title span{ background-color: cornflowerblue; color: white; padding: 0px; border-radius: 50%; display: inline-block; width: 20px; /* height: 20px; */ text-align: center; margin-right: 5px; } </style> <script> function build_html(fe, obj){ fe.html(''); $.each(obj.data,function(k,i){ fe.append( '<div class="bili_div"><a target="_blank" href="'+i.url+'"><div class="bili_col">' +'<div class="bili_top">' +'<div class="bili_title"><span>'+k+'</span>' + i.title +'</div>' +'</div>' +'</div></a></div>'); }); } $(document).ready(function(){ $.ajax({ url: '/code/hot_news.php', data: { "a": 'douyin_main' }, dataType: "json", }).success(function(ret_obj){ build_html($('#douyin_main'),ret_obj); }); }); </script> <div style="overflow: hidden;"> <div class="bili" id="douyin_main"></div> </div>
文章目录
此处评论已关闭