Commit 5ead76b4 authored by HuangJunbo's avatar HuangJunbo 💻

项目提成计算器

Signed-off-by: HuangJunbo's avataruuo00_n <uuo00_n@outlook.com>
parent 3b2caac1
Pipeline #29 failed with stages
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#bonus { #bonus {
height: 50px; height: 50px;
width: 280px; width: 280px;
background-color: #F3F3F3; background-color: aliceblue;
} }
#benefit { #benefit {
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
height: 25px; height: 25px;
width: 70px; width: 70px;
text-align: center; text-align: center;
background-color: #FFFFFF; background-color: mediumorchid;
cursor: pointer; cursor: pointer;
} }
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
} }
#benefit, #roles, #countBtn, #bonus { #benefit, #roles, #countBtn, #bonus {
border: 1px solid #D4D4D4; border: 1px solid slateblue;
} }
</style> </style>
</head> </head>
...@@ -77,6 +77,91 @@ ...@@ -77,6 +77,91 @@
<input type="button" id="countBtn" value="计算" onclick="countFun()"/> <input type="button" id="countBtn" value="计算" onclick="countFun()"/>
</div> </div>
</div> </div>
<div id="table">
<div align="center">
<table border="1px">
<tr>
<td>职位</td>
<td>金额</td>
<td>提成</td>
</tr>
<tr>
<td>程序员</td>
<td>20000</td>
<td>1000</td>
</tr>
<tr>
<td>程序员</td>
<td>10000</td>
<td>50</td>
</tr>
<tr>
<td>程序员</td>
<td>2000</td>
<td>50</td>
</tr>
<tr>
<td>程序员</td>
<td>1000</td>
<td>0</td>
</tr>
</table>
<table border="1">
<tr>
<td>职位</td>
<td>金额</td>
<td>提成</td>
</tr>
<tr>
<td>项目经理</td>
<td>30000</td>
<td>6000</td>
</tr>
<tr>
<td>项目经理</td>
<td>20000</td>
<td>2000</td>
</tr>
<tr>
<td>项目经理</td>
<td>10000</td>
<td>1000</td>
</tr>
</table>
<table border="1">
<tr>
<td>职位</td>
<td>金额</td>
<td>提成</td>
</tr>
<tr>
<td>销售人员</td>
<td>100000</td>
<td>20000</td>
</tr>
<tr>
<td>销售人员</td>
<td>200000</td>
<td>60000</td>
</tr>
<tr>
<td>销售人员</td>
<td>50000</td>
<td>10000</td>
</tr>
<tr>
<td>销售人员</td>
<td>80000</td>
<td>16000</td>
</tr>
<tr>
<td>销售人员</td>
<td>10000</td>
<td>500</td>
</tr>
</table>
</div>
</div>
</body> </body>
</html> </html>
<script> <script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment