鼠标左键拖动滚动
原作者:
http://blog.csdn.net/lisatisfy/article/details/6606026
本文在源代码的基础上
增加支持水平滚动 的功能
html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <html> <head> <title>鼠标拖动</title> <script type="text/javascript" src="scroll.js"></script> </head> <body> <div id="divMainTable" style="overflow:auto; height:500px; width:100%;"> <table id="mainTable" class="table table-hover table-big" data-page-index="1" data-page-size="10" cellpadding="6" cellspacing="0"> <thead> <tr class="tr-bg"> <th class="text-center table-right table-bottom" height="40"><div style="width:50px;">序号</div></th> <th class="text-center table-right table-bottom"><div style="width:150px">项目</div></th> <th class="text-center table-right table-bottom"><div style="min-width:150px">合计</div></th> <th class="text-center table-right table-bottom" style="min-width:120px">2015-12</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-01</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-02</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-03</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-04</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-05</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-06</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-07</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-08</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-09</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-10</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-11</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-12</th> <th class="text-center table-right table-bottom" style="min-width:120px">2017-01</th> <th class="text-center table-right table-bottom" style="min-width:120px">2017-02</th> <th class="text-center table-right table-bottom" style="min-width:120px">2017-03</th> <th class="text-center table-right table-bottom" style="min-width:120px">2017-04</th> <th class="text-center table-right table-bottom" style="min-width:120px">2017-05</th> <th class="text-center table-right table-bottom" style="min-width:120px">2017-06</th> <th class="text-center table-right table-bottom" style="min-width:120px">2017-07</th> <th class="text-center table-right table-bottom" style="min-width:120px">2017-08</th> <th class="text-center table-right table-bottom" style="min-width:120px">2017-09</th> <th class="text-center table-right table-bottom" style="min-width:120px">2017-10</th> <th class="text-center table-right table-bottom" style="min-width:120px">2017-11</th> </tr> </thead> <tbody> <tr class="bianse"> <td class="text-center table-right table-bottom">一</td> <td class="text-left table-right table-bottom">经营性现金流</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">(一)</td> <td class="text-left table-right table-bottom">经营收入</td> <td class="text-right table-right table-bottom table-top">4,500.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">1,750.00</td> <td class="text-right table-right table-bottom table-top">1,750.00</td> <td class="text-right table-right table-bottom table-top">1,000.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom"></td> <td class="text-left table-right table-bottom">产品ad</td> <td class="text-right table-right table-bottom">1,000.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">500.00</td> <td class="text-right table-right table-bottom">500.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom"></td> <td class="text-left table-right table-bottom">产品ab</td> <td class="text-right table-right table-bottom">1,500.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">500.00</td> <td class="text-right table-right table-bottom">500.00</td> <td class="text-right table-right table-bottom">500.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom"></td> <td class="text-left table-right table-bottom">地下车位</td> <td class="text-right table-right table-bottom">500.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">250.00</td> <td class="text-right table-right table-bottom">250.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom"></td> <td class="text-left table-right table-bottom">产品ac</td> <td class="text-right table-right table-bottom">1,500.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">500.00</td> <td class="text-right table-right table-bottom">500.00</td> <td class="text-right table-right table-bottom">500.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">(二)</td> <td class="text-left table-right table-bottom">经营支出</td> <td class="text-right table-right table-bottom">2,795.25</td> <td class="text-right table-right table-bottom">2,795.25</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">1</td> <td class="text-left table-right table-bottom">土地成本</td> <td class="text-right table-right table-bottom">34,721.88</td> <td class="text-right table-right table-bottom">2,777.75</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">1</td> <td class="text-left table-right table-bottom">土地款</td> <td class="text-right table-right table-bottom">2.50</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">2.2</td> <td class="text-left table-right table-bottom">报批报建费</td> <td class="text-right table-right table-bottom">2.50</td> <td class="text-right table-right table-bottom">2.50</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">2.3</td> <td class="text-left table-right table-bottom">前期临时工程费</td> <td class="text-right table-right table-bottom">2.50</td> <td class="text-right table-right table-bottom">2.50</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">3</td> <td class="text-left table-right table-bottom">主体建安工程费</td> <td class="text-right table-right table-bottom">2.50</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">3.1</td> <td class="text-left table-right table-bottom">地下室工程费</td> <td class="text-right table-right table-bottom">1.25</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">3.1.1</td> <td class="text-left table-right table-bottom">土石方工程费</td> <td class="text-right table-right table-bottom">0.75</td> <td class="text-right table-right table-bottom">0.75</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">1.1</td> <td class="text-left table-right table-bottom">土地取得费</td> <td class="text-right table-right table-bottom">1.25</td> <td class="text-right table-right table-bottom">1.25</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">3.1.2</td> <td class="text-left table-right table-bottom">桩基工程费</td> <td class="text-right table-right table-bottom">0.25</td> <td class="text-right table-right table-bottom">0.25</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">3.1.3</td> <td class="text-left table-right table-bottom">基坑支护及降水工程费</td> <td class="text-right table-right table-bottom">0.25</td> <td class="text-right table-right table-bottom">0.25</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">3.2</td> <td class="text-left table-right table-bottom">主体建筑工程费</td> <td class="text-right table-right table-bottom">1.25</td> <td class="text-right table-right table-bottom">1.25</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">1.3</td> <td class="text-left table-right table-bottom">土地相关税费</td> <td class="text-right table-right table-bottom">1.25</td> <td class="text-right table-right table-bottom">1.25</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">4</td> <td class="text-left table-right table-bottom">基础设施费</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">2</td> <td class="text-left table-right table-bottom">前期费用</td> <td class="text-right table-right table-bottom">12.50</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">5</td> <td class="text-left table-right table-bottom">公共配套设施费</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">2.1</td> <td class="text-left table-right table-bottom">勘察设计费</td> <td class="text-right table-right table-bottom">7.50</td> <td class="text-right table-right table-bottom">7.50</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">6</td> <td class="text-left table-right table-bottom">开发间接费</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">7</td> <td class="text-left table-right table-bottom">不可预见费</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">8</td> <td class="text-left table-right table-bottom">营销费用</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">9</td> <td class="text-left table-right table-bottom">管理费用</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">10</td> <td class="text-left table-right table-bottom">财务费用</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">6</td> <td class="text-left table-right table-bottom">开发间接费</td> <td class="text-right table-right table-bottom">0.50</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">7</td> <td class="text-left table-right table-bottom">不可预见费</td> <td class="text-right table-right table-bottom">0.50</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">5</td> <td class="text-left table-right table-bottom">公共配套设施费</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">4.1.1</td> <td class="text-left table-right table-bottom">供电工程费</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">4.2</td> <td class="text-left table-right table-bottom">园林景观工程费</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">4.1</td> <td class="text-left table-right table-bottom">室外管网工程费</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">4.1.4</td> <td class="text-left table-right table-bottom">排水工程费</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">4.1.3</td> <td class="text-left table-right table-bottom">天然气工程费</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">4</td> <td class="text-left table-right table-bottom">基础设施费</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">(三)</td> <td class="text-left table-right table-bottom">经营性净现金流量</td> <td class="text-right table-right table-bottom">1,704.75</td> <td class="text-right table-right table-bottom">-2,795.25</td> <td class="text-right table-right table-bottom">1,750.00</td> <td class="text-right table-right table-bottom">1,750.00</td> <td class="text-right table-right table-bottom">1,000.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">(四)</td> <td class="text-left table-right table-bottom">累计经营性现金流量</td> <td class="text-right table-right table-bottom">3,409.50</td> <td class="text-right table-right table-bottom">-2,795.25</td> <td class="text-right table-right table-bottom">-1,045.25</td> <td class="text-right table-right table-bottom">3,500.00</td> <td class="text-right table-right table-bottom">2,750.00</td> <td class="text-right table-right table-bottom">1,000.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">二</td> <td class="text-left table-right table-bottom">投资现金流</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">(一)</td> <td class="text-left table-right table-bottom">销售产品自有资金余额</td> <td class="text-right table-right table-bottom table-top">666.00</td> <td class="text-right table-right table-bottom table-top">333.00</td> <td class="text-right table-right table-bottom table-top">333.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">(二)</td> <td class="text-left table-right table-bottom">销售产品自有资金利息</td> <td class="text-right table-right table-bottom">166.50</td> <td class="text-right table-right table-bottom">83.25</td> <td class="text-right table-right table-bottom">83.25</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">三</td> <td class="text-left table-right table-bottom">融资现金流</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">(一)</td> <td class="text-left table-right table-bottom">融资余额</td> <td class="text-right table-right table-bottom table-top">-7,250.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">-3,500.00</td> <td class="text-right table-right table-bottom table-top">-2,750.00</td> <td class="text-right table-right table-bottom table-top">-1,000.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">(二)</td> <td class="text-left table-right table-bottom">融资利息</td> <td class="text-right table-right table-bottom">-1,812.50</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">-875.00</td> <td class="text-right table-right table-bottom">-687.50</td> <td class="text-right table-right table-bottom">-250.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">四</td> <td class="text-left table-right table-bottom">累计财务成本</td> <td class="text-right table-right table-bottom">7,825.50</td> <td class="text-right table-right table-bottom">166.50</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">五</td> <td class="text-left table-right table-bottom">销售产品现金流贡献余额</td> <td class="text-right table-right table-bottom">7,326.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> </tr> </tbody> </table> </div> </body> </html> <script> new Scroller("divMainTable");// </script> </html>
html引用的js文件:scroll.js代码:
1 /* 可滚动卷轴对象 2 * @description : 容器里拖动鼠标可实现内容滚动,兼容各类浏览器(ie6/7/8/firefox/safari/opera/chrome/)。 3 * using: new Scroller(@id|{id:@id,drag:false|true,scroll:true|false,scrollBase:@number}) 即可 id为你的容器对象或容器ID 4 * @date : 2011-07-12 5 * @author : <a href="mailto:[email protected]">[email protected]</a> 6 * history : 7 * 2011-07-13 修改鼠标在容器外里还可以继续滚动 0.11 <a href="mailto:[email protected]">[email protected]</a> 8 * 2011-07-20 增加鼠标滚动,动态配置滚动像素,动态配置是否支持鼠标滚动以及鼠标拽动滚动功能 9 */ 10 function Scroller(args) { 11 if (this instanceof Scroller == false) { return new Scroller(args); } 12 13 if (typeof args === "string") { 14 this.container = this.$(args); //容器对象 15 this.drag = true; 16 this.scroll = true; 17 this.scrollBase = 1; 18 } else { 19 this.container = this.$(args.id || args.container || args.obj); //容器对象 20 this.drag = args.drag == undefined ? true : args.drag; 21 this.scroll = args.scroll == undefined ? true : args.scroll; 22 this.scrollBase = args.scrollBase || 1; 23 } 24 this.y = 0;//mousedown时记录鼠标的纵坐标 25 this.init(); 26 } 27 Scroller.prototype = { 28 $: function (id) { 29 if (typeof id === "object") { return id; } 30 return document.getElementById(id); 31 }, 32 init: function () {//Scroller初始化 33 if (!this.container) { return; }//如果容器不存在,需要提示用户或其它操作者,请在这里跑出异常 34 var _this = this; 35 var _mousemove = function (e) {//鼠标移动事件 36 var e = e || event, mousePoint = _this.getMousePoint(e); 37 _this.container.scrollTop += _this.y - mousePoint.y;//鼠标移动多少像素,容器就滚动多少像素,不管上下 38 _this.container.scrollLeft += _this.x - mousePoint.x;//鼠标移动多少像素,容器就滚动多少像素,不管左右 //支持水平滚动 39 _this.y = mousePoint.y; //光标的每次移动都要记录下当前的纵坐标 40 }; 41 var _mouseup = function (e) {//鼠标弹起事件 42 _this.unbind(‘mousemove‘, _this.container, _mousemove); 43 }; 44 var _mousedown = function (e) { //鼠标按下事件 45 var e = e || event; 46 var mousePoint = _this.getMousePoint(e); 47 _this.y = mousePoint.y; 48 _this.x = mousePoint.x; //支持水平滚动 49 _this.bind(‘mousemove‘, _this.container, _mousemove); 50 }; 51 var _mouseout = function (e) {//鼠标离开事件 52 /* 判断光标是否在容器内部,不然会出来鼠标还没弹起而光标在容器外部还可以滚动的问题。 53 当然这个问题影响不大。也可以不判断*/ 54 var e = e || event; 55 if (_this.isMouseOut(e, _this.container) === true) { 56 _this.unbind(‘mousemove‘, _this.container, _mousemove); 57 } 58 }; 59 var _mousescroll = function (e) { 60 var e = e || event, scrollBase = _this.scrollBase; 61 if (e.type === "mousewheel") { 62 _this.container.scrollTop += (e.wheelDelta < 0 ? scrollBase : scrollBase * (-1)); 63 } else { 64 _this.container.scrollTop += (e.detail > 0 ? scrollBase : scrollBase * (-1)); 65 } 66 } 67 if (this.drag === true) { 68 this.bind(‘mousedown‘, this.container, _mousedown); 69 this.bind(‘mouseup‘, this.container, _mouseup); 70 this.bind(‘mouseout‘, this.container, _mouseout); 71 } 72 if (this.scroll === true) { 73 this.bind(‘mousewheel‘, this.container, _mousescroll);//IE系列 74 this.bind(‘DOMMouseScroll‘, this.container, _mousescroll);//ff系列 75 } 76 this.bind(‘selectstart‘, this.container, function () { return false; }); 77 }, 78 getAbsPoint: function (el) {//取得容器的绝对坐标 79 var x = el.offsetLeft, y = el.offsetTop; 80 while (el = el.offsetParent) { 81 x += el.offsetLeft; 82 y += el.offsetTop; 83 } 84 return { "x": x, "y": y }; 85 }, 86 isMouseOut: function (e, el) {//判断鼠标是否在容器外面。不能直接使用onmouseout 87 var point = this.getAbsPoint(el), mousePoint = this.getMousePoint(e); 88 if (mousePoint.x < point.x || mousePoint.y < point.y 89 || mousePoint.x > point.x + this.container.offsetWidth || mousePoint.y > point.y + this.container.offsetHeight) { 90 return true; 91 } 92 return false; 93 }, 94 getMousePoint: function (ev) {//取得鼠标的位置 95 if (!ev) { return; } 96 if (ev.pageX || ev.pageY) { return { x: ev.pageX, y: ev.pageY }; } 97 var doc = document; 98 return { 99 x: ev.clientX + doc.body.scrollLeft - doc.body.clientLeft, 100 y: ev.clientY + doc.body.scrollTop - doc.body.clientTop 101 }; 102 }, 103 setScrollBase: function (scrollBase) { 104 this.scrollBase = scrollBase; 105 }, 106 bind: function (type, obj, func) {//添加事件监听 107 if (!document.all) { 108 obj.addEventListener(type, func, false); 109 } else {//IE 110 obj.attachEvent(‘on‘ + type, func); 111 } 112 }, 113 unbind: function (type, obj, func) { 114 if (!document.all) { 115 obj.removeEventListener(type, func, false); 116 } else {//IE 117 obj.detachEvent(‘on‘ + type, func); 118 } 119 } 120 }
代码行38和48是源代码的基础上增加的代码,使其支持水平滚动 的功能
时间: 2024-10-13 18:13:49