本文实例为大家分享了vue购物车插件的具体代码,供大家参考,具体内容如下
先上效果图
下面相关代码:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Hello MUI</title> <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <link rel="stylesheet" href="../../css/mui.min.css"> <link rel="stylesheet" href="../../css/app.css"> <style> .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; } </style> </head> <body id="app" v-cloak> <header class="mui-bar mui-bar-nav"> <a class="mui-action-back mui-pull-left mui_return_back"></a> <h1 class="mui-title">购物车</h1> </header> <div class="mui-content"> <div class="mui_shopcar_list_box" v-for="data in items"> <div class="mui_order_item_title"> <div class="mui_adress_radio"> <input type="checkbox" v-model="data.shopselected" v-on:click="checkShop($index)"> </div> <a href="javascript:;" class="look_shop" v-on:click="LookShop(data.id)"> {{data.shopname}} <img class="order_link" src="/UploadFiles/2021-04-02/order_link.png">vue.js组件学习教程、Vue.js前端组件学习教程进行学习。以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持。
华山资源网 Design By www.eoogi.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
华山资源网 Design By www.eoogi.com
暂无评论...
更新日志
2024年09月23日
2024年09月23日
- 国风大师纯音系列《古筝仙子 常静演奏 十指弹一》1CD[FLAC][919MB]
- DasKapital-OneMustHaveChaosInsidetoGiveBirthtoaDancingStar(2024)[24-44.1]WAV
- 王菲.1999-《只爱陌生人》日本东芝版[低速原抓WAV+CUE]
- 张小英1987-金奖金曲第一集[新加坡版][WAV+CUE]
- 鹿晗.2015-重启【海蝶】【FLAC分轨】
- 张芸京.2012-小女孩【金牌大风】【WAV+CUE】
- 余天.2002-雄狮魅力金曲2CD(南方金点系列)【南方】【WAV+CUE】
- 银霞.1982-《结·SAYYESMYBOY》台湾复刻版[WAV+CUE]
- 梁汉文1993-火热动感[引进版][WAV+CUE]
- 梁汉文2008-EDMONDHITS48[香港]3CD[WAV+CUE]
- 国风大师纯音系列《童丽-[渭城曲]》1CD[WAV分轨][593.5MB]
- 国风大师纯音系列《许菱子《烧筝2》古筝曲集》1CD[WAV分轨][1.3GB]
- 王子异《1996 Part.2》[320K/MP3][18.29MB]
- 群星.1994-宝丽金最倾情3CD【宝丽金】【WAV+CUE】
- 乐俊亨.2024-同泪【CharioticMusic】【FLAC分轨】