Skip to content

Instantly share code, notes, and snippets.

@tesths
Created July 30, 2017 13:48
Show Gist options
  • Save tesths/3c8203c91e734e511cc7586e52c77cb1 to your computer and use it in GitHub Desktop.
Save tesths/3c8203c91e734e511cc7586e52c77cb1 to your computer and use it in GitHub Desktop.
warriors
<html>
<head>
<meta charset="utf-8">
<script src="http://cdn.bootcss.com/jquery/1.11.2/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('p').each(function(){
$(this).replaceWith('<p style="margin: 1.5em 15px !important;color: #898989;">'+$(this).html()+'</p>');
});
$('h1').each(function(){
$(this).replaceWith('<section data-role="outer"style="font-family: PingFangSC-Regular, sans-serif; font-size: 16px;"><section class="" data-id="131" style="border-width: 0px; border-style: none; -moz-border-top-colors: none; -moz-border-right-colors: none; -moz-border-bottom-colors: none; -moz-border-left-colors: none; padding: 0px; box-sizing: border-box;" data-color="#FF9999" data-custom="#99CCCC"><section style="text-align: center;"><section style="display: inline-block; text-align: right;margin-top:20px;"><img data-src="" style="border-radius: 50%; display: inline-block; margin: 0px; width: 60px !important; height: auto !important; visibility: visible !important;" title="头像.png" class=" " data-type="png" data-ratio="1" data-w="400" width="110" border="0" height="110" _width="110px" src="http://mmbiz.qpic.cn/mmbiz_png/UQtMxnPibs3mygXYTJrIG3BF47x3icQzHapm9QlYCQAIIqTzlGp5N8YMYqUT4XJibf1wLqbbykpjL2OrHRVWHVdLA/640?wx_fmt=png&quot" data-fail="0"><section style="margin-top: 8px;"><span style="font-size: 16px;color: rgb(0, 107, 182);padding-right:7px;font-weight: bold;">金州记</section></span></section><section style="border-left: 4px solid rgb(74, 144, 226);; padding-left: 40px; text-align: left; display: inline-block; height: 120px; vertical-align: top; color: rgb(0, 107, 182); margin-top: 0.5em; margin-left: 40px; padding-top: 5px; box-sizing: border-box;"><section style="width: 100%; height: 38px; font-size: 1.4em; border-color: rgb(0, 107, 182); color: inherit; margin-bottom: 1px; box-sizing: border-box;margin-top:6px;" data-width="100%"><span style="font-size: 16px;margin-top: 5px;color: rgb(0, 107, 182);padding-right:7px;font-weight: bold;text-align:center;">阅读时间</span></section><section class="" data-brushtype="text" style="font-size: 16px; border-color: rgb(0, 107, 182); color: inherit; box-sizing: border-box;height:33px;text-align:center;"><span style="font-size: 16px;margin-top: 15px;color: rgb(0, 107, 182);padding-right:7px;font-weight: bold;color:#000000;">'+parseInt(parseInt($(this).text()))+'</span><br></section><section style="text-align:center;"><span style="font-size: 16px;margin-top: 5px;color: rgb(0, 107, 182);padding-right:7px;font-weight: bold;">分钟</span></section></section></section></section></section>');
});
$('h2').each(function(){
$(this).replaceWith('<h2 style="font-family: sans-serif; letter-spacing: 1px; white-space: normal; font-size: 22px; margin-top: 5px; margin-bottom: 5px;margin-left:3px;color: rgb(74, 144, 226);font-style:oblique;">'+$(this).html()+'</h2><h2 style="font-family: sans-serif; letter-spacing: 1px; white-space: normal; font-size: 10px; margin-bottom: 10px; max-width: 100%; border-left: 35px solid rgb(253, 185, 39); background: rgb(74, 144, 226); font-weight: bold; padding-top: 0.5em; padding-bottom: 0.5em; color: rgb(62, 62, 62) !important;"></h2>');
});
$('h3').each(function(){
$(this).replaceWith('<h3 style="font-family: sans-serif; letter-spacing: 1px; white-space: normal; font-size: 20px; margin-top: 5px; margin-bottom: 5px;color: rgb(74, 144, 226);font-style:oblique;">'+$(this).html()+'</h3><h3 style="font-size: 8px; margin-top: 0px; margin-bottom: 10px;margin-left: 5px;white-space: normal; max-width: 100%; color: white; border-left-width: 35px; border-left-style: solid; border-left-color: rgb(253, 185, 39); background: rgb(74, 144, 226);padding: 4;font-weight: bold;font-style: bold !important;color: #3E3E3E !important;text-align: left !important;padding: 0.5em 0;color: #424242;"></h3>');
});
$('h4').each(function(){
$(this).replaceWith('<h4 style="font-size: 16px;margin: 5px 10px;padding-bottom: 0px;position: relative;">'+$(this).html()+'</h4><h4 style="font-size: 6px; margin-top: 0px; margin-bottom: 10px;margin-left: 10px;white-space: normal; max-width: 100%; color: white; border-left-width: 35px; border-left-style: solid; border-left-color: #42A5F5; background: #90CAF9;padding: 4;font-weight: bold;font-style: bold !important;color: #3E3E3E !important;text-align: left !important;padding: 0.5em 0;color: #424242;"></h4>');
});
$('h5').each(function(){
$(this).replaceWith('<div style="font-family: sans-serif; font-size: 15px; letter-spacing: 1px; white-space: normal; margin: 20px 15px; border-left-width: 8px; border-left-color: rgb(100, 181, 246); padding-top: 1px; padding-bottom: 1px; "><section style="float:left;font-size: 20px;">🏀</section><section style="margin-left: 25px;color: rgb(85, 85, 85);;margin-left:30px;margin-top:3px;">'+$(this).html()+'</section></div>');
});
$('h6').each(function(){
$(this).replaceWith('<h6 style="margin: 20px 0 10px;padding: 4;font-weight: bold;font-style: bold !important;color: #3E3E3E !important;text-align: left !important;margin:1em auto;padding: 0.5em 0;color: #424242;">'+$(this).html()+'</h6>');
});
$('strong').each(function(){
$(this).replaceWith('<strong style="color: #4D4D4B;font-weight: bold;font-style: bold !important;">'+$(this).html()+'</strong>');
});
// b 加粗标签
$('b').each(function(){
$(this).replaceWith('<b style="color: #898989;font-weight: bold;font-style: bold !important;">'+$(this).html()+'</b>');
});
// em 强调
$('em').each(function(){
$(this).replaceWith('<em style="color: #424242;">'+$(this).html()+'</em>');
});
// i 斜体
$('i').each(function(){
$(this).replaceWith('<i style="color: #424242;">'+$(this).html()+'</i>');
});
// hr 横线
$('hr').each(function(){
$(this).replaceWith('<hr style="border: 1px solid #C5E1A5;margin: 1.5em auto;">'+$(this).html()+'</hr>');
});
// ol 列表 数字
$('ol').each(function(){
$(this).replaceWith('<ol style="color:#2196F3;margin:0px 0px 20px 10px;">'+$(this).html()+'</lo>');
});
// li 表格里的每一个
$('li').each(function(){
$(this).replaceWith('<li style="margin: 10px;"><p style="color:#898989;margin:0px 0px 0 5px;">'+$(this).html()+'</p></li>');
});
// ul 列表 圆圈 ul 里也有 li
$('ul').each(function(){
$(this).replaceWith('<ul style="list-style-type: circle;margin: 10px 5px;">'+$(this).html()+'</ul>');
});
// dl dt dd 说明
$('dl').each(function(){
$(this).replaceWith('<dl style="padding: 0;margin: 10px 5px;font-size: 1em;font-weight: bold;font-style: italic;margin: 0 0 10px;padding: 0 10px;">'+$(this).html()+'</dl>');
});
$('dt').each(function(){
$(this).replaceWith('<dt style="font-size: 1em;font-weight: bold;font-style: italic;margin: 0 0 10px;padding: 0 10px;">'+$(this).html()+'</dt>');
});
$('dd').each(function(){
$(this).replaceWith('<dd style="font-size: 1em;font-weight: bold;font-style: italic;margin: 0 0 10px;padding: 0 10px;">'+$(this).html()+'</dd>');
});
// 引用
$('blockquote').each(function(){
$(this).replaceWith('<blockquote style="margin: 20px 15px 20px 25px;border-left: 5px solid #64B5F6;padding-top: 1px;padding-bottom: 1px;color: #777777;quotes: none;">'+$(this).html()+'</blockquote>');
});
// q ""
$('q').each(function(){
$(this).replaceWith('<q style="margin: 10px 5px;border-left: 8px solid #64B5F6;padding-top: 1px;padding-bottom: 1px;color: #777777;quotes: none;margin-left: 15px;background-color: #9AC1EF;">'+$(this).html()+'</q>');
});
$('blockquote p').each(function(){
$(this).replaceWith('<p style="margin: 3px 10px 3px 10px;">'+$(this).html()+'</p>');
});
// $('li p').each(function(){
// $(this).replaceWith('<p style="color:#898989;margin:0px 0px 0 5px;">'+$(this).html()+'</p>');
// });
// $('ul ul').each(function(){
// $(this).css({"margin":"0", "padding-left":"10px"});
// });
// $('ul ol').each(function(){
// $(this).css({"margin":"0", "padding-left":"10px"});
// });
// $('ol ul').each(function(){
// $(this).css({"margin":"0", "padding-left":"10px"});
// });
// $('ol ol').each(function(){
// $(this).css({"margin":"0", "padding-left":"10px"});
// });
});
</script>
</head>
<body style="font-family: sans-serif;font-size: 15px;line-height: 28px;letter-spacing: 1px;word-wrap: break-word !important;">
<h1 id="toc_0">5</h1>
<h2 id="toc_1">1</h2>
<p>2006-07赛季前夕,勇士队已经连续13年无缘季后赛。彼时,勇士队的支持者们将失望的哀叹汇聚成连绵不断的悲鸣。是啊,一支连续13赛季都没有打进季后赛的鱼腩球队在球迷眼中自然是一种无法提及的羞耻。当地的篮球粉丝们期待着勇士队的早日崛起,只是在当时看来,这个距离自然是遥遥无期的。</p>
<p>时任球队总经理的克里斯-穆林聘请了唐-尼尔森作为勇士队新任的总教练,而从后世人的角度,尼尔森确实也取得了一定的成功,他令勇士队收获了一个反复回忆的经典时刻,也令球迷们重新点燃了甲骨文球馆的欢呼浪潮。可是,正是聘任尼尔森这个决策,令穆林葬送了他的总经理职位,也让勇士队再次陷入沼泽,当然这都是后话了。至少在2006-07赛季,在尼尔森的带领下勇士队还是终结了乐透区的命运,以一抹亮光闪耀了联盟,更惊奇了世界。</p>
<p>那一年,小牛队以彼时历史第六好的67胜15负的战绩为常规赛收尾,他们信心十足,以通往伟大而名誓。然后,勇士队则相对寒酸,他们许久未经季后赛的历练,而从1991年以后,他们未曾突破过首轮。即使他们晋级季后赛,也是靠赛季末端十场九胜的冲击波才勉强符合西部第八条件,比第九的快船队多两个胜场。最为主要的是,勇士队磨合程度也远不如小牛队,他们的两位首发斯蒂芬-杰克逊和艾尔-哈灵顿是在赛季中才从印第安纳步行者交易到勇士。</p>
<p>不过,在一切不利局面的重重围困下,顽强的金州战士们还是突破了自己的极限,以快节奏的进攻奏响胜利的乐章。主教练唐-尼尔森无疑是酝酿逆袭大剧的策划者,在此起彼伏的欢呼声中,勇士队淘汰了小牛,以黑马的身份挺进了下一轮,然后止步西部半决赛,为2006—07赛季划上了休止符。</p>
<p>在这期间,比勇士队球员更疯狂的是见证黑八奇迹的球迷,他们用无数次响彻天际的纵情呼喊震颤着骄傲的小牛,没有经历过那个历程的人,无法体会勇士队以下克上的咄咄逼人,更无法领悟关乎于球迷的狂热——那些宣誓着<strong>「We believe」</strong>的勇士球迷曾是那个时间段里最热血的人类。</p>
<p>不过,球迷的这种热情,即将被勇士队的失利所冷却。</p>
<h2 id="toc_2">2</h2>
<p>2007-08赛季以后,勇士队取得了48胜34负的战绩,竞争激烈的西部群雄没让勇士队获得季后赛的名额,勇士队只能望着第八名掘金50胜32负战绩扼腕叹息。而随后的2008-09赛季勇士队以29胜把失落写满了每一个和勇士队相关的事物中,然后勇士队的旧时代随着2009-10赛季结束而落下帷幕。勇士队的老板科汉终于把球队卖了出去,在他的管理的16个赛季中,勇士队15个赛季都需要对着乐透区的新秀们慧眼识珠,可谓是联盟经营最差的队伍。</p>
<p>在糟糕的2008-09赛季,勇士队不仅面临主力球员伤病的困扰,管理层的内部矛盾也深化了球队与球员之间的冲突,令本来建立的化学反应分崩离析。那个时候,一个联盟官员谈到勇士队是透露:<strong>「这里没有任何长远的计划可言!他们就像皇帝的新装那样,本来没有的事,他们却能装得跟真的有的一样。」</strong></p>
<p>管理层的矛盾即是总经理穆林与总裁罗威尔、主教练唐-尼尔森之间的冲突。尼尔森不满足与主教练的职务,他想以更高层次的权力执掌球队,所以他为了赶走穆林自己享有总经理的实权便开始对穆林看好的球员施以打压,让他们得到不到充足的上场时间,在板凳席埋没着他们的青春。</p>
<p>勇士队管理层的导火索便是续约他们的黑八时代的领袖戴维斯,从那以后内部矛盾越演越烈,直到穆林被彻底架空。</p>
<p>当时的情况是这样的,在戴维斯在经纪人和穆林的努力下,戴维斯已经准备好和勇士签下一份3年的合约。但最终总裁罗威尔因为最后一年合约的问题否决了这个合约。并且罗威尔只给了戴维斯两个选择:<strong>「要么顺着他的意思签下合同,要么立刻走人。」</strong>这种回应令戴维斯难以接受,他立马告别了勇士和快船签下了一份5年长约。 对于罗威尔的操作有消息称罗威尔背后还有老尼尔森在使坏,但也有人说这只是罗威尔想维护自己的领导权威。 </p>
<p>这件事情令穆林陷入了信任危机。罗威尔此后绕过穆林和尼尔森续约一份合同,斯蒂芬-杰克逊也绕过穆林,直接和罗威尔进行他的合同谈判。穆林彻底失去了实权,随后而来的是唐-尼尔森和前锋哈林顿的口水战,然后将其交易走(穆林对哈林顿有大爱),尼尔森彻底冻结穆林交易来的后卫马库斯-威廉姆斯,以及偶尔让年轻的菜鸟前锋兰多夫(穆林选秀得来的)坐冷板凳。 </p>
<p>穆林的沉默让一切变得复杂,尼尔森又掌握住球队官方的话筒。 勇士队从两年前那支团结向上、为胜利享受欢呼的球队变成了一支死气沉沉的鱼腩队伍。</p>
<h2 id="toc_3">3</h2>
<p>穆林于2002年加入勇士管理层时,他曾定下球队的发展目标:<strong>「让球队更团结,为球队带来更好的球员。」</strong></p>
<p>穆林接手前的勇士队可能是整个联盟最需要拯救的一支队伍,穆林身背勇士名宿的光荣头衔,回到当初令自己声名远扬的地方企图令这支球队注入新鲜的血液,焕发活力。</p>
<p>在穆林的带领下,他所期望的情况维持了一段时间。便是2007年创造了黑八奇迹前后的一段日子。围绕那支勇士队而建立起的兴奋的情绪团结着球队、感染了球迷、更吸引着球员,穆林精准地达到了他的目标。一年以后,勇士虽未进入季后赛,却也是收获了48胜34负,胜率58.5%,是有史以来未能进入季后赛享有最好战绩的球队,他们良好的氛围并没有被消减。</p>
<p>穆林任职时为球队做过最重要的三件事情分别是:把拜伦-戴维斯从新奥尔良带到了金州;请已经半退休了的唐-尼尔森出山;在07年把杰克逊和哈林顿从步行者带到了勇士。这三件事帮助勇士队从鱼腩杀进季后赛,而也正是这些动作给了穆林很大的信心,使他在与总裁罗威尔和老板科汉之间的分歧越来越大。 </p>
<p>最后,球队并没有向着穆林接手时定下的目标发展,甚至直接堕入谷底不可救药。</p>
<p>戴维斯在回忆那段日子时称:<strong>「在我们取得黑八奇迹以后,我的很多NBA的朋友都和我说想过来打球。每个人都想来,那时的我们就像太阳那样受人欢迎,但我们比他们更年轻。那时的我们很强大,士气也都很高。但,我不知道为什么,这一切忽然间就崩溃了。」</strong></p>
<p>随着穆林的离开,尼尔森的离开,老板科汉的离开,以及黑八主力成员的离开,勇士队正式告别了旧时代的阴暗与黑八的闪耀。在2009年的夏天,勇士队选中了对于他们日后辉煌时刻的奠基人斯蒂芬-库里。库里的到来为勇士队带来了人气与希望,他新秀赛的出色表演为勇士队招揽了众多忠诚的粉丝。</p>
<p>那个长着娃娃脸的杀手即将进入大家的视线。</p>
</body>
</html>
<html>
<body>
<!-- <section style="box-sizing: border-box; background-color: rgb(255, 255, 255);"><section style=" box-sizing: border-box; "><section style=" margin-top: 10px; margin-bottom: 10px; box-sizing: border-box; "><section style="box-sizing: border-box; text-align: center;"><section style="display: inline-block;vertical-align: top;padding: 8px 5px 5px 3px;width: 50%;box-sizing: border-box;border-right: 4px solid #4990E2;"><section style="box-sizing: border-box;"><section style="margin-top: 0.5em; margin-bottom: 0.5em; box-sizing: border-box;"><section style="box-sizing: border-box;width: 4em;height: 4em;display: inline-block;vertical-align: bottom;border-radius: 100%;background-image: url(&quot;http://mmbiz.qpic.cn/mmbiz_png/UQtMxnPibs3mygXYTJrIG3BF47x3icQzHapm9QlYCQAIIqTzlGp5N8YMYqUT4XJibf1wLqbbykpjL2OrHRVWHVdLA/640?wx_fmt=png&quot;);background-size: cover;background-position: 50% 50%;background-repeat: no-repeat;" class=""><br></section><p><span style="font-size: 16px;color: rgb(0, 107, 182);line-height: 1.6;font-family: PingFangSC-Regular, sans-serif;font-weight: bold;">金州记</span></p></section></section></section><section style="display: inline-block;vertical-align: top;padding: 6px;width: 50%;box-sizing: border-box;"><section style="box-sizing: border-box; padding: 8px 5px; width: 120px; color: rgb(0, 107, 182); border-radius: 2px; margin: auto; line-height: 20px; font-size: 14px;font-family: PingFangSC-Regular, sans-serif;"><p style="margin-bottom: 5;font-weight: bold;font-size: 16px;">阅读本文约</p><section style="font-size: 25px;color:#666;line-height: 38px;font-weight: bold;">6</section><p style="font-weight: bold;margin-top: 4px;font-size: 16px;">分钟</p></section></section></section></section></section></section> -->
<section data-role="outer"style="font-family: PingFangSC-Regular, sans-serif; font-size: 16px;"><section class="" data-id="131" style="border-width: 0px; border-style: none; -moz-border-top-colors: none; -moz-border-right-colors: none; -moz-border-bottom-colors: none; -moz-border-left-colors: none; padding: 0px; box-sizing: border-box;" data-color="#FF9999" data-custom="#99CCCC"><section style="text-align: center;"><section style="display: inline-block; text-align: right;margin-top:20px;"><img data-src="" style="border-radius: 50%; display: inline-block; margin: 0px; width: 60px !important; height: auto !important; visibility: visible !important;" title="头像.png" class=" " data-type="png" data-ratio="1" data-w="400" width="110" border="0" height="110" _width="110px" src="http://mmbiz.qpic.cn/mmbiz_png/UQtMxnPibs3mygXYTJrIG3BF47x3icQzHapm9QlYCQAIIqTzlGp5N8YMYqUT4XJibf1wLqbbykpjL2OrHRVWHVdLA/640?wx_fmt=png&quot" data-fail="0"><section style="margin-top: 8px;"><span style="font-size: 16px;color: rgb(0, 107, 182);padding-right:7px;font-weight: bold;">金州记</section></span></section><section style="border-left: 4px solid rgb(74, 144, 226);; padding-left: 40px; text-align: left; display: inline-block; height: 120px; vertical-align: top; color: rgb(0, 107, 182); margin-top: 0.5em; margin-left: 40px; padding-top: 5px; box-sizing: border-box;"><section style="width: 100%; height: 38px; font-size: 1.4em; border-color: rgb(0, 107, 182); color: inherit; margin-bottom: 1px; box-sizing: border-box;margin-top:6px;" data-width="100%"><span style="font-size: 16px;margin-top: 5px;color: rgb(0, 107, 182);padding-right:7px;font-weight: bold;text-align:center;">阅读时间<br></span></section><section class="" data-brushtype="text" style="font-size: 16px; border-color: rgb(0, 107, 182); color: inherit; box-sizing: border-box;height:33px;text-align:center;"><span style="font-size: 16px;margin-top: 15px;color: rgb(0, 107, 182);padding-right:7px;font-weight: bold;color:#000000;">4</span><br></section><section style="text-align:center;"><span style="font-size: 16px;margin-top: 5px;color: rgb(0, 107, 182);padding-right:7px;font-weight: bold;">分钟</span></section></section></section></section></section>
<div style="font-family: sans-serif; font-size: 15px; letter-spacing: 1px; white-space: normal; margin: 20px 15px; border-left-width: 8px; border-left-color: rgb(100, 181, 246); padding-top: 1px; padding-bottom: 1px; color: rgb(119, 119, 119); quotes: none;;"><section style="float:left;font-size: 20px;"><p>🏀</p></section><section style="margin-left: 25px;"><p>这就是个记录,顺便展示一下新的公众号排版。这就是个记录,顺便展示一下新的公众号排版。这就是个记录,顺便展示一下新的公众号排版。这就是个记录,顺便展示一下新的公众号排版。这就是个记录,顺便展示一下新的公众号排版。</p></section></div>
<h2 style=" font-family: sans-serif; letter-spacing: 1px; white-space: normal; font-size: 20px; margin-top: 5px; margin-bottom: 5px;color: rgb(74, 144, 226);font-style:oblique">1</h2>
<h2 style="font-family: sans-serif; letter-spacing: 1px; white-space: normal; font-size: 10px; margin-bottom: 10px; max-width: 100%; border-left: 35px solid rgb(253, 185, 39); background: rgb(74, 144, 226);; font-weight: bold; padding-top: 0.5em; padding-bottom: 0.5em; color: rgb(62, 62, 62) !important;"></h2>
<blockquote style="font-family: sans-serif; font-size: 15px; letter-spacing: 1px; white-space: normal; margin: 20px 15px; border-left-width: 8px; border-left-color: rgb(100, 181, 246); padding-top: 1px; padding-bottom: 1px; color: rgb(119, 119, 119); quotes: none;">
<p style="margin-top:22px;font-size: 18px">🏀</p>
<p style="margin-left: 10px;">这就是个记录,顺便展示一下新的公众号排版。这就是个记录,顺便展示一下新的公众号排版。这就是个记录,顺便展示一下新的公众号排版。这就是个记录,顺便展示一下新的公众号排版。这就是个记录,顺便展示一下新的公众号排版。</p>
</div>
</blockquote>
</body>
</html>
<html>
<head>
<meta charset="utf-8">
<script src="http://cdn.bootcss.com/jquery/1.11.2/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('p').each(function(){
$(this).replaceWith('<p style="margin: 1.5em 15px !important;color: #898989;">'+$(this).html()+'</p>');
});
$('h1').each(function(){
$(this).replaceWith('<section data-role="outer" style="font-size:16px;"><section style="height: 40px;z-index:0;margin: 10px 10px 30px 10px; color: rgb(102, 102, 102); text-align: center; font-size: 16px; border-style: solid; -webkit-border-image: url(&quot;http://mmbiz.qpic.cn/mmbiz_png/fgnkxfGnnkS3q7kcqWSIgKyScCBibjiasG37kbbicr3XQdqQjKoOJH1MVZDPaSQIQaGjEWSXwQTia7TqkszDg3ItRw/0?wx_fmt=png&quot;) 130 fill; border-width: 20px; box-sizing: border-box;"><p data-brushtype="text" style="white-space: normal;margin-top: -13px;">读完本文大约需要<strong> '+parseInt(parseInt($(this).text(), 10)/600)+' </strong>分钟<span style=""></span></p></section></section></section></section>');
});
$('h2').each(function(){
$(this).replaceWith('<h2 style="font-size: 20px;margin: 5px 0px;padding-bottom: 0px;position: relative;">'+$(this).html()+'</h2><h2 style="font-size: 10px; margin-top: 0px; margin-bottom: 10px;white-space: normal; max-width: 100%; color: white; border-left-width: 35px; border-left-style: solid; border-left-color: #2196F3; background: #64B5F6;padding: 4;font-weight: bold;font-style: bold !important;color: #3E3E3E !important;text-align: left !important;padding: 0.5em 0;color: #424242;"></h2>');
});
$('h3').each(function(){
$(this).replaceWith('<h3 style="font-size: 18px;margin: 5px 5px;padding-bottom: 0px;position: relative;">'+$(this).html()+'</h3><h3 style="font-size: 8px; margin-top: 0px; margin-bottom: 10px;margin-left: 5px;white-space: normal; max-width: 100%; color: white; border-left-width: 35px; border-left-style: solid; border-left-color: #42A5F5; background: #90CAF9;padding: 4;font-weight: bold;font-style: bold !important;color: #3E3E3E !important;text-align: left !important;padding: 0.5em 0;color: #424242;"></h3>');
});
$('h4').each(function(){
$(this).replaceWith('<h4 style="font-size: 16px;margin: 5px 10px;padding-bottom: 0px;position: relative;">'+$(this).html()+'</h4><h4 style="font-size: 6px; margin-top: 0px; margin-bottom: 10px;margin-left: 10px;white-space: normal; max-width: 100%; color: white; border-left-width: 35px; border-left-style: solid; border-left-color: #42A5F5; background: #90CAF9;padding: 4;font-weight: bold;font-style: bold !important;color: #3E3E3E !important;text-align: left !important;padding: 0.5em 0;color: #424242;"></h4>');
});
$('h5').each(function(){
$(this).replaceWith('<h5 style="margin: 20px 0 10px;padding: 4;font-weight: bold;font-style: bold !important;color: #3E3E3E !important;text-align: left !important;margin:1em auto;padding: 0.5em 0;color: #424242;">'+$(this).html()+'</h5>');
});
$('h6').each(function(){
$(this).replaceWith('<h6 style="margin: 20px 0 10px;padding: 4;font-weight: bold;font-style: bold !important;color: #3E3E3E !important;text-align: left !important;margin:1em auto;padding: 0.5em 0;color: #424242;">'+$(this).html()+'</h6>');
});
$('strong').each(function(){
$(this).replaceWith('<strong style="color: #4D4D4B;font-weight: bold;font-style: bold !important;">'+$(this).html()+'</strong>');
});
// b 加粗标签
$('b').each(function(){
$(this).replaceWith('<b style="color: #898989;font-weight: bold;font-style: bold !important;">'+$(this).html()+'</b>');
});
// em 强调
$('em').each(function(){
$(this).replaceWith('<em style="color: #424242;">'+$(this).html()+'</em>');
});
// i 斜体
$('i').each(function(){
$(this).replaceWith('<i style="color: #424242;">'+$(this).html()+'</i>');
});
// hr 横线
$('hr').each(function(){
$(this).replaceWith('<hr style="border: 1px solid #C5E1A5;margin: 1.5em auto;">'+$(this).html()+'</hr>');
});
// ol 列表 数字
$('ol').each(function(){
$(this).replaceWith('<ol style="color:#2196F3;margin:0px 0px 20px 10px;">'+$(this).html()+'</lo>');
});
// li 表格里的每一个
$('li').each(function(){
$(this).replaceWith('<li style="margin: 10px;"><p style="color:#898989;margin:0px 0px 0 5px;">'+$(this).html()+'</p></li>');
});
// ul 列表 圆圈 ul 里也有 li
$('ul').each(function(){
$(this).replaceWith('<ul style="list-style-type: circle;margin: 10px 5px;">'+$(this).html()+'</ul>');
});
// dl dt dd 说明
$('dl').each(function(){
$(this).replaceWith('<dl style="padding: 0;margin: 10px 5px;font-size: 1em;font-weight: bold;font-style: italic;margin: 0 0 10px;padding: 0 10px;">'+$(this).html()+'</dl>');
});
$('dt').each(function(){
$(this).replaceWith('<dt style="font-size: 1em;font-weight: bold;font-style: italic;margin: 0 0 10px;padding: 0 10px;">'+$(this).html()+'</dt>');
});
$('dd').each(function(){
$(this).replaceWith('<dd style="font-size: 1em;font-weight: bold;font-style: italic;margin: 0 0 10px;padding: 0 10px;">'+$(this).html()+'</dd>');
});
// 引用
$('blockquote').each(function(){
$(this).replaceWith('<blockquote style="margin: 20px 15px 20px 15px;border-left: 8px solid #64B5F6;padding-top: 1px;padding-bottom: 1px;color: #777777;quotes: none;background-color: #E3F2FD;">'+$(this).html()+'</blockquote>');
});
// q ""
$('q').each(function(){
$(this).replaceWith('<q style="margin: 10px 5px;border-left: 8px solid #64B5F6;padding-top: 1px;padding-bottom: 1px;color: #777777;quotes: none;margin-left: 15px;background-color: #E3F2FD;">'+$(this).html()+'</q>');
});
$('blockquote p').each(function(){
$(this).replaceWith('<p style="margin: 10px 10px 10px 10px;">'+$(this).html()+'</p>');
});
});
</script>
</head>
<body style="font-family: sans-serif;font-size: 15px;line-height: 28px;letter-spacing: 1px;word-wrap: break-word !important;">
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment