鼠标左键拖动滚动

原作者:

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代码:

 /* 可滚动卷轴对象
 * @description : 容器里拖动鼠标可实现内容滚动,兼容各类浏览器(ie6/7/8/firefox/safari/opera/chrome/)。
 *      using: new Scroller(@id|{id:@id,drag:false|true,scroll:true|false,scrollBase:@number}) 即可  id为你的容器对象或容器ID
 * @date  : 2011-07-12
 * @author  : <a href="mailto:limanzu753@163.com">limanzu753@163.com</a>
 * history  : 
 *    2011-07-13  修改鼠标在容器外里还可以继续滚动 0.11 <a href="mailto:limanzu753@163.com">limanzu753@163.com</a> 
 *    2011-07-20  增加鼠标滚动,动态配置滚动像素,动态配置是否支持鼠标滚动以及鼠标拽动滚动功能
 */
function Scroller(args) {
if (this instanceof Scroller == false) { return new Scroller(args); } if (typeof args === "string") {
this.container = this.$(args); //容器对象 
this.drag = true;
this.scroll = true;
this.scrollBase = 1;
} else {
this.container = this.$(args.id || args.container || args.obj); //容器对象 
this.drag = args.drag == undefined ? true : args.drag;
this.scroll = args.scroll == undefined ? true : args.scroll;
this.scrollBase = args.scrollBase || 1;
}
this.y = 0;//mousedown时记录鼠标的纵坐标
this.init();
}
Scroller.prototype = {
$: function (id) {
if (typeof id === "object") { return id; }
return document.getElementById(id);
},
init: function () {//Scroller初始化
if (!this.container) { return; }//如果容器不存在,需要提示用户或其它操作者,请在这里跑出异常
var _this = this;
var _mousemove = function (e) {//鼠标移动事件
var e = e || event, mousePoint = _this.getMousePoint(e);
_this.container.scrollTop += _this.y - mousePoint.y;//鼠标移动多少像素,容器就滚动多少像素,不管上下
_this.container.scrollLeft += _this.x - mousePoint.x;//鼠标移动多少像素,容器就滚动多少像素,不管左右 //支持水平滚动
_this.y = mousePoint.y; //光标的每次移动都要记录下当前的纵坐标
};
var _mouseup = function (e) {//鼠标弹起事件
_this.unbind('mousemove', _this.container, _mousemove);
};
var _mousedown = function (e) { //鼠标按下事件
var e = e || event;
var mousePoint = _this.getMousePoint(e);
_this.y = mousePoint.y;
_this.x = mousePoint.x; //支持水平滚动
_this.bind('mousemove', _this.container, _mousemove);
};
var _mouseout = function (e) {//鼠标离开事件
/* 判断光标是否在容器内部,不然会出来鼠标还没弹起而光标在容器外部还可以滚动的问题。
    当然这个问题影响不大。也可以不判断*/
var e = e || event;
if (_this.isMouseOut(e, _this.container) === true) {
_this.unbind('mousemove', _this.container, _mousemove);
}
};
var _mousescroll = function (e) {
var e = e || event, scrollBase = _this.scrollBase;
if (e.type === "mousewheel") {
_this.container.scrollTop += (e.wheelDelta < 0 ? scrollBase : scrollBase * (-1));
} else {
_this.container.scrollTop += (e.detail > 0 ? scrollBase : scrollBase * (-1));
}
}
if (this.drag === true) {
this.bind('mousedown', this.container, _mousedown);
this.bind('mouseup', this.container, _mouseup);
this.bind('mouseout', this.container, _mouseout);
}
if (this.scroll === true) {
this.bind('mousewheel', this.container, _mousescroll);//IE系列
this.bind('DOMMouseScroll', this.container, _mousescroll);//ff系列
}
this.bind('selectstart', this.container, function () { return false; });
},
getAbsPoint: function (el) {//取得容器的绝对坐标
var x = el.offsetLeft, y = el.offsetTop;
while (el = el.offsetParent) {
x += el.offsetLeft;
y += el.offsetTop;
}
return { "x": x, "y": y };
},
isMouseOut: function (e, el) {//判断鼠标是否在容器外面。不能直接使用onmouseout
var point = this.getAbsPoint(el), mousePoint = this.getMousePoint(e);
if (mousePoint.x < point.x || mousePoint.y < point.y
|| mousePoint.x > point.x + this.container.offsetWidth || mousePoint.y > point.y + this.container.offsetHeight) {
return true;
}
return false;
},
getMousePoint: function (ev) {//取得鼠标的位置
if (!ev) { return; }
if (ev.pageX || ev.pageY) { return { x: ev.pageX, y: ev.pageY }; }
var doc = document;
return {
x: ev.clientX + doc.body.scrollLeft - doc.body.clientLeft,
y: ev.clientY + doc.body.scrollTop - doc.body.clientTop
};
},
setScrollBase: function (scrollBase) {
this.scrollBase = scrollBase;
},
bind: function (type, obj, func) {//添加事件监听 
if (!document.all) {
obj.addEventListener(type, func, false);
} else {//IE  
obj.attachEvent('on' + type, func);
}
},
unbind: function (type, obj, func) {
if (!document.all) {
obj.removeEventListener(type, func, false);
} else {//IE
obj.detachEvent('on' + type, func);
}
}
}

代码行38和48是源代码的基础上增加的代码,使其支持水平滚动 的功能

js 鼠标左键拖动滚动的更多相关文章

  1. C# GDI绘制矩形框,鼠标左键拖动可移动矩形框,滚轮放大缩小矩形框

    最近工作需要,要做一个矩形框,并且 用鼠标左键拖动矩形框移动其位置.网上查了一些感觉他们做的挺复杂的.我自己研究一天,做了一个比较简单的,发表出来供大家参考一下.如觉得简单,可路过,谢谢.哈哈. 先大 ...

  2. 在Window工作区按下鼠标左键拖动窗体

    Window.DragMove(): 允许使用在窗口工作区的暴露区域上方按下其鼠标左键的鼠标来拖动窗口.(窗口工作区:除去窗体的title.bottom后的剩余部分空间) 使用该方法时注意:一定要在鼠 ...

  3. Qt 圆角矩形+鼠标左键拖动窗口

    #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> namespace Ui { class MainWind ...

  4. js进阶 12-17 jquery实现鼠标左键按下拖拽功能

    js进阶 12-17 jquery实现鼠标左键按下拖拽功能 一.总结 一句话总结:监听的对象必须是文档,鼠标按下运行mousemove事件,鼠标松开取消mousemove事件的绑定,div的偏移的话是 ...

  5. 【转】 js怎么区分出点击的是鼠标左键还是右键?

    IE 下 onMouseDown 事件有个 events.button 可以返回一个数值,根据数值判断取得用户按了那个鼠标键 events.button==0  默认.没有按任何按钮. events. ...

  6. Winform 基础二 最小化 最大化 关闭 点击任务栏隐藏显示 点击鼠标左键移动窗体

    一 最大化 二 最小化 三 关闭 四 点击任务栏隐藏显示 五 点击鼠标左键移动窗体 六 阴影效果鼠标左键移动窗口 #region UI设置 最大化.最小化.关闭.鼠标移动窗口.点击任务栏切换窗口 th ...

  7. Vue 监听鼠标左键 鼠标右键以及鼠标中键修饰符click.left&contextmenu&click.middle

    <!doctype html> <html lang="en"> <head> <meta charset="UTF-8&quo ...

  8. ctrl+鼠标左键监听

    <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8&quo ...

  9. zend studio中ctrl+鼠标左键无法转到类或函数定义文件的解决方法

    转载自:http://blog.csdn.net/wide288/article/details/21622183 zend studio中ctrl+鼠标左键无法转到类或函数定义文件的解决方法: ze ...

随机推荐

  1. 取消eslint对指定代码进行代码检测

    eslint配置了不允许使用alert,但是有个需求需要用到. //eslint-disable-next-line alert('测试'); 如上,即可跳过当前行代码检查了

  2. 关于javascript中的this 一段小实例深有体会啊

    先声明鄙人正在努力的把脚抬进门来,说的都是比较粗浅的知识,但都是我实践中得出的体会,很深刻.  正在自学中挣扎的DOG. 先看段代码: function highlightRows() { if(!d ...

  3. 【数据结构】bzoj1455罗马游戏

    Description 罗马皇帝很喜欢玩杀人游戏. 他的军队里面有n个人,每个人都是一个独立的团.最近举行了一次平面几何测试,每个人都得到了一个分数. 皇帝很喜欢平面几何,他对那些得分很低的人嗤之以鼻 ...

  4. bzoj2442&&codevs4654 单调队列优化dp

    这道题也是一道单调队列 很明显满足各种性质 f[i]表示i不选前面k-1个都选的最小损失 维护的是个单增队列 q[head]是队列最小值 代码十分简介 注意longlong就okay #include ...

  5. bzoj 1192 二进制

    原题传送门http://www.lydsy.com/JudgeOnline/problem.php?id=1192 继续刷水题,二进制思想 //By BLADEVIL var x :longint; ...

  6. 填坑webpack

    1.Concepts: webpack is a module bundler for modern JS applications. Since there are lots of complex ...

  7. Django-urls路由分发

      例如:127.0.0.0:8000/blog/lucaq.html,当有多个应用时,需要在blog应用下进行路由,我们在blog应用下做一个urls路由分发,就需要include模块实现.   导 ...

  8. 在linux下搭建wiki环境【转】

    转自:http://blog.csdn.net/chy800/article/details/6906090 由于公司需要一个知识共享的系统,选择wiki来实现.经过准备决定使用Linux+xampp ...

  9. python面向对象之__new__方法

    众所周知,python中定义的类在创建实例对象的时候,会自动执行__init__()方法,但是在执行__init__()方法之前,会执行__new__()方法. __new__()的作用主要有两个. ...

  10. kafka consumer 代码示例

    使用者小组 使得许多进程的多台机器 在逻辑上作为一个单个的使用者 出现. 我们使用中,一种常见的情况是,我们按照逻辑划分出多个使用者小组,每个小组都是有作为一个逻辑整体的多台使用者计算机组成的集群. ...