本文实例为大家分享了vue购物车插件的具体代码,供大家参考,具体内容如下
先上效果图
下面相关代码:
Hello MUI .mui-content>.mui-table-view:first-child{ margin-top: 0.133333rem; } .mui-bar-nav~.mui-content{ padding-top: 1.173333rem; } .mui-content{ padding-bottom: 1.173333rem; } input[type=checkbox] { width: 0.426666rem; height: 0.426666rem; border: 0; outline: 0!important; background-color: transparent; -webkit-appearance: none; } input[type=checkbox]:before { content: 'e411'; } input[type=checkbox]:checked:before { content: 'e441'; } input[type=checkbox]:before { font-family: Muiicons; font-size: 0.426666rem; font-weight: 400; line-height: 1; text-decoration: none; color: #81d8d0; border-radius: 0; background: 0 0; -webkit-font-smoothing: antialiased; } input[type=checkbox]:checked:before { color: #81d8d0; } .allinput[type=checkbox] { width: 0.426666rem; height: 0.426666rem; border: 0; outline: 0!important; background-color: transparent; -webkit-appearance: none; } .allinput[type=checkbox]:before { content: 'e411'; } .allinput[type=checkbox]:checked:before { content: 'e441'; } .allinput[type=checkbox]:before { font-family: Muiicons; font-size: 0.426666rem; font-weight: 400; line-height: 1; text-decoration: none; color: #fff; border-radius: 0; background: 0 0; -webkit-font-smoothing: antialiased; } .allinput[type=checkbox]:checked:before { color: #fff; } .popover_detail_numbtn .mui-numbox{ float: right; border-radius: 0; padding: 0 0.56rem; height: 0.586666rem; width:2rem; } .mui-numbox [class*=btn-numbox], .mui-numbox [class*=numbox-btn] { font-size: 0.4rem; line-height: 0.56rem; width: 0.56rem; height: 0.56rem; color: #707070; background-color: #fff; } .shop_input_num[type=number]{ font-size: 0.266666rem; line-height: 0.56rem; top: 0; } {{data.shopname}} 购物车
全选
{{ item.name }}
单位:升
{{item.price|currency '¥' 2}}
合计:{{ total|currency '¥' 2}}
关于vue.js的学习教程,请大家点击专题vue.js组件学习教程、Vue.js前端组件学习教程进行学习。
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持考高分网。



