原创文章:使用Vuejs实现个人所得税功能兼容移动端
栏目: JavaScript · 发布时间: 6年前
使用vuejs实现个人所得税的功能,包含5000起点和3500起点之间个税的变化,并且兼容移动端。 css部分如下:
#saper-container { width:86%; margin:0 auto; } #saper-container>.header { margin:10px 2%; } #saper-bd>.subfiled,#gsqd>.gswq>h3,.gssqw>h3 { background:#66CDAA; } #saper-bd>.subfiled>h3 { height:30px; line-height:30px; margin-left:20px; } #saper-bd>.subfiled-content { width:100%; height:140px; } #saper-bd>.subfiled-content>.kv-item{ margin-left:20px; height:70px; } / 个税5000和个税3500对比 / #gsqd { width:100%; } #gsqd>.gswq { width:50%; float:left; border: 1px solid #C1D3DE; height:240px; } #gsqd>.gswq>h3 { padding-left:20px; height:30px; line-height:30px; } #gsqd>.gswq>div { margin-left:20px; } .gssqw { width:49%; float:left; margin-left:3px; height:240px; border: 1px solid #C1D3DE; } .gssqw>.subfiled>h3 { background:#66CDAA; height:30px; line-height:30px; padding-left:20px; } .gssqw>.subfiled-content { margin-left:20px; } .jieguo { text-align:center; margin-top:20px; }
@media screen and (max-width: 480px) { #gsqd>.gswq,#gsqd>.gssqw { width:100%; } #gsqd>.gssqw { margin-top:20px; } }
HTML和vuejs部分如下所示:
以上所述就是小编给大家介绍的《原创文章:使用Vuejs实现个人所得税功能兼容移动端》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
HTTP Essentials
Stephen A. Thomas、Stephen Thomas / Wiley / 2001-03-08 / USD 34.99
The first complete reference guide to the essential Web protocol As applications and services converge and Web technologies not only assume HTTP but require developers to manipulate it, it is be......一起来看看 《HTTP Essentials》 这本书的介绍吧!