鼠标左键拖动滚动

原作者:

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. 【EOJ3654】管理孩子(贪心,二分)

    题意:有一棵n个点的树,其中有k个是关键点,将树分割成若干部分,每部分至少包含一个关键点,求最大分割大小的最小值 思路: 最后特判一下f[1]的值 #include<cstdio> #in ...

  2. 1210笔记//关于导航实例-QQ空间//导航实例-storyboard实现//控制器的生命周期//控制器的生命周期方法

      一.利用storyboard完成导航1.storyboard中用来跳转的每一根线 都是 一个 UIStoryboardSegue对象1> 自动跳转 (从 某个按钮 拖线到 下一个目的控制器) ...

  3. 谈数据中心SDN与NFV

    看到一篇谈论SDN与NFV的文章,分析的还不错,贴过来方便自己后续查阅: http://network.chinabyte.com/175/13095675.shtml 论数据中心SDN与NFV技术关 ...

  4. 判断 js 的 Array 和 Object

    https://my.oschina.net/ohcoding/blog/470952?p=1 var a = ['hello','world']; console.log(typeof a); // ...

  5. js数组高效去重

    http://blog.csdn.net/chengxuyuan20100425/article/details/8497277 这个方法的思路是先把数组排序,然后比较相邻的两个值. 排序的时候用的J ...

  6. Win 32平台SDK中的文件操作

    读取文件: HANDLE hFile ; // 声明文件操作内核对象句柄 hFile = CreateFile(, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL ...

  7. hdu5081

    题意有点绕,不过读懂了之后并不难 以Si结尾容易想到ac自动机,建好ac自动机并将fail指针反向即可得到一棵树 那么操作1就是将若干个子树的并中的节点全部权值+1 操作2就是将求若干个节点到根的路径 ...

  8. [libgdx游戏开发教程]使用Libgdx进行游戏开发(2)-游戏框架搭建

    让我们抛开理论开始code吧. 入口类CanyonBunnyMain的代码: package com.packtpub.libgdx.canyonbunny; import com.badlogic. ...

  9. ubuntu下执行ulimit返回“不允许的操作”,问题解决思路

    在ubuntu下执行ulimit,希望修改允许的最大打开文件数,但返回“不允许的操作”. 使用ulimit -a查看当前配置 core file size (blocks, -c) 0 data se ...

  10. opencv对鼠标的响应

    #include <cv.h> #include <highgui.h> #include <stdio.h>   #pragma comment(lib,&quo ...