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 ...
随机推荐
- 微信小程序基础知识
一.基本目录结构 app.js 定义app入口 app.json 定义页面配置 index.js 页面中的事件和监听 index.wxml 定义布局文件 1.app.json配置基本信息 { “pag ...
- HDU1863 畅通工程---(最小生成树)
畅通工程 Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submis ...
- HDU1596 find the safest road---(最短路径dijkstra,#变形#)
http://acm.hdu.edu.cn/showproblem.php?pid=1596 分析: 题目要找一条安全度最高的路,安全度计算方法 Safe(P) = s(e1)*s(e2)…*s ...
- 【HDU3853】LOOPS [期望DP]
LOOPS Time Limit: 5 Sec Memory Limit: 64 MB[Submit][Status][Discuss] Description Akemi Homura is a ...
- hdu3294 manacher算法
这道题哇 其实是裸的manacher 无论怎么变 是回文的就是回文 所以 特殊处理一下输出就好了 不过最后的左右端点l,r.l=(p-p[pos]+2)/2-1,r=(p+p[pos]-2)/2-1; ...
- [BZOJ1441&BZOJ2257&BZOJ2299]裴蜀定理
裴蜀定理 对于整系数方程ax+by=m,设d =(a,b) 方程有整数解当且仅当d|m 这个定理实际上在之前学习拓展欧几里得解不定方程的时候就已经运用到 拓展到多元的方程一样适用 BZOJ1441 给 ...
- ARM内核全解析,从ARM7,ARM9到Cortex-A7,A8,A9,A12,A15到Cortex-A53,A57【转】
转自:http://www.myir-tech.com/resource/448.asp 前不久ARM正式宣布推出新款ARMv8架构的Cortex-A50处理器系列产品,以此来扩大ARM在高性能与低功 ...
- 关于background
background目前有size; color; image; repeat;position;attachtment; 作用分别是一:调整背景大小. 语法:background-size:a ...
- Log4Net的WebApplication使用
一.Log4Net的WebApplication使用 1.首先使用nuget 添加log4Net 到WebApplication项目中 log4j每个符号的具体含义:%d %5p %c{1}:%L - ...
- django使用celery进行耗时任务的优化
# 原创,转载请留言联系 在用django做项目的时候,做到注册模块时,需要发送短信验证码.本来简简单单的做好了,后来优化的时候发现,发送短信验证码的时候需要一点时间,在这个时间之内程序是阻塞的,用户 ...