You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
huazhiyu/unpackage/dist/build/h5/static/js/pages-cart-cart.e345650e.js

1 line
20 KiB

1 year ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-cart-cart"],{"0510":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3"),i("ac1f"),i("841c");var a={data:function(){return{TabBarList:[{index:0,name:"首页",img:"/static/tabBar/tab_01.png",acImg:"/static/tabBar/tab_02.png"},{index:1,name:"抢购",img:"/static/tabBar/tab_03.png",acImg:"/static/tabBar/tab_04.png"},{index:2,name:"购物车",img:"/static/tabBar/tab_07.png",acImg:"/static/tabBar/tab_08.png"},{index:3,name:"我的",img:"/static/tabBar/tab_09.png",acImg:"/static/tabBar/tab_10.png"}],codeheight:0,isOverall:0,phoneModel:""}},props:{tabBarShow:{type:Number,default:0}},mounted:function(){try{uni.getSystemInfoSync();var t=this;uni.getSystemInfo({success:function(e){console.log(e.brand),console.log(e.model),console.log(e.screenWidth),console.log(e.screenHeight),t.codeheight=Math.round(e.screenHeight),t.phoneModel=e.model,e.model.search("iPhone")?t.isOverall=0:Math.round(e.screenHeight)>740&&(t.isOverall=1),console.log(t.isOverall)}})}catch(e){}},methods:{onTabBar:function(t,e){switch(e){case 0:uni.switchTab({url:"/pages/home/home"});break;case 1:uni.switchTab({url:"/pages/qianggou/qianggou"});break;case 2:uni.switchTab({url:"/pages/cart/cart"});break;case 3:uni.switchTab({url:"/pages/my/my"});break}}}};e.default=a},"1dad":function(t,e,i){var a=i("9239");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("638915e6",a,!0,{sourceMap:!1,shadowMode:!1})},2459:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 主要颜色 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.head[data-v-026d1270]{position:fixed;left:0;top:0;z-index:1;display:flex;justify-content:center;align-items:center;width:100%;height:%?80?%;background-color:#fff}.head .title[data-v-026d1270]{display:flex;justify-content:center;align-items:center;height:100%;font-size:%?30?%;color:#212121}.head .edit[data-v-026d1270]{position:absolute;right:%?20?%;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.head .edit uni-text[data-v-026d1270]{color:#212121;font-size:%?26?%}\n/* 购物车列表 */.cart-list[data-v-026d1270]{width:100%;background-color:#fff;padding:%?20?% 0;margin-top:%?100?%}.cart-list .list[data-v-026d1270]{display:flex;padding:0 3%;height:%?240?%;margin-bottom:%?20?%}.cart-list .list .check[data-v-026d1270]{display:flex;align-items:center;width:10%;height:100%}.cart-list .list .check uni-text[data-v-026d1270]{font-size:%?36?%;color:#333}.cart-list .list .check .icon-checked[data-v-026d1270]{color:#236030}.cart-list .list .goods[data-v-026d1270]{display:flex;align-items:center;width:90%;height:100%;background-color:#fff;box-shadow:0 0 %?20?% #f6f6f6;border-radius:%?10?%}.cart-list .list .goods .thumb[data-v-026d1270]{display:flex;justify-content:center;width:30%;height:100%;margin-top:%?20?%}.cart-list .list .goods .thumb uni-image[data-v-026d1270]{width:%?160?%;height:%?160?%;border-radius:%?10?%}.cart-list .list .goods .item[data-v-026d1270]{padding:%?10?% 0;width:70%;height:100