js 鼠标左键拖动滚动
鼠标左键拖动滚动
原作者:
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 鼠标左键拖动滚动的更多相关文章
- C# GDI绘制矩形框,鼠标左键拖动可移动矩形框,滚轮放大缩小矩形框
最近工作需要,要做一个矩形框,并且 用鼠标左键拖动矩形框移动其位置.网上查了一些感觉他们做的挺复杂的.我自己研究一天,做了一个比较简单的,发表出来供大家参考一下.如觉得简单,可路过,谢谢.哈哈. 先大 ...
- 在Window工作区按下鼠标左键拖动窗体
Window.DragMove(): 允许使用在窗口工作区的暴露区域上方按下其鼠标左键的鼠标来拖动窗口.(窗口工作区:除去窗体的title.bottom后的剩余部分空间) 使用该方法时注意:一定要在鼠 ...
- Qt 圆角矩形+鼠标左键拖动窗口
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> namespace Ui { class MainWind ...
- js进阶 12-17 jquery实现鼠标左键按下拖拽功能
js进阶 12-17 jquery实现鼠标左键按下拖拽功能 一.总结 一句话总结:监听的对象必须是文档,鼠标按下运行mousemove事件,鼠标松开取消mousemove事件的绑定,div的偏移的话是 ...
- 【转】 js怎么区分出点击的是鼠标左键还是右键?
IE 下 onMouseDown 事件有个 events.button 可以返回一个数值,根据数值判断取得用户按了那个鼠标键 events.button==0 默认.没有按任何按钮. events. ...
- Winform 基础二 最小化 最大化 关闭 点击任务栏隐藏显示 点击鼠标左键移动窗体
一 最大化 二 最小化 三 关闭 四 点击任务栏隐藏显示 五 点击鼠标左键移动窗体 六 阴影效果鼠标左键移动窗口 #region UI设置 最大化.最小化.关闭.鼠标移动窗口.点击任务栏切换窗口 th ...
- Vue 监听鼠标左键 鼠标右键以及鼠标中键修饰符click.left&contextmenu&click.middle
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8&quo ...
- ctrl+鼠标左键监听
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8&quo ...
- zend studio中ctrl+鼠标左键无法转到类或函数定义文件的解决方法
转载自:http://blog.csdn.net/wide288/article/details/21622183 zend studio中ctrl+鼠标左键无法转到类或函数定义文件的解决方法: ze ...
随机推荐
- Spring学习-- IOC 容器中 bean 的生命周期
Spring IOC 容器可以管理 bean 的生命周期 , Spring 允许在 bean 声明周期的特定点执行定制的任务. Spring IOC 容器对 bean 的生命周期进行管理的过程: 通过 ...
- unet中可视性检查的一些笔记
最近在尝试用unet做一个局域网游戏,游戏的核心概念在于玩家之间的发现和隐蔽,有个类似于战争迷雾的机制. 实现该机制最关键的是实现可视性检查.首先是unet中默认的一个可视性检查,由组件Network ...
- 【洛谷 P1070】道路游戏 (DP)
题目链接 这题还是很好想的,看到\(90%\)的数据点时,我就知道要用\(n^3\)的算法(最后10分就算了吧) 然后,数据水,直接暴力\(n^3\)卡过了. 显然是道DP. 设\(f[i]\)表示第 ...
- HDU 1162 Eddy's picture (最小生成树 普里姆 )
题目链接 Problem Description Eddy begins to like painting pictures recently ,he is sure of himself to be ...
- Windows+Git+TortoiseGit+COPSSH安装图文教程【转】
转自:http://blog.csdn.net/aaron_luchen/article/details/10498181/ Windows+Git+TortoiseGit+COPSSH 安装图文教程 ...
- win 7 浏览器被篡改小插曲
今天下班回家,打开台式机发现IE,火狐都被篡改了.作为运维都会有点强迫症.这是个桌面系统,实在是没兴趣捣鼓.但是还是没办法,经常要用.等我下次有空了,直接换linux好了. 于是开始排查问题吧: 1. ...
- ajax邮箱、用户名唯一性验证
<script type="text/javascript"> $(function () { $("#txtEmail").blur(functi ...
- 解决 Android Studio 错误:需要常量表达式
1. 2.Android Studio快捷键
- 使用base64对图片的二进制进行编码,使其可以利用ajax进行显示
有时候我们需要动态的将图片的二进制在页面上进行显示,如我们需要弄一个验证码的功能,那么如果我们的验证码的图片在后台得到的是该图片的二进制,那么当我们需要在页面上点击一个按钮利用ajax进行切换的时候, ...
- notepad++ quicktext插件安装与代码片段配置[quicktext v0.2.1]
1 下载quicktext插件0.2.1版本 http://sourceforge.net/projects/quicktext/ 2 解压 3 把QuickText.ANSI.dll和QuickTe ...