item-legacy.a2ffab61.js 4.1 KB

1
  1. ;(function(){var __vite_style__=document.createElement('style');__vite_style__.innerHTML="._shopOrder_1n7p9_1{--van-nav-bar-text-color: #666666}._shopOrder_1n7p9_1 .van-tab__panel{min-height:calc(100vh - var(--van-tabs-line-height) - var(--van-nav-bar-height) - 1.2rem)}._goodsList_1n7p9_7{margin-top:.32rem}._payTime_1n7p9_10{font-size:.34667rem;color:#666}._payStatus_1n7p9_14{color:#ff4e19}._paySuccess_1n7p9_17{color:var(--van-primary)}._cellGroup_1n7p9_20{margin:.32rem .37333rem;border-radius:.26667rem;overflow:hidden}._goodsImg_1n7p9_25{width:2.66667rem;height:2.66667rem;border-radius:.21333rem;overflow:hidden}._goodsContainer_1n7p9_31{margin-left:.26667rem}._goodsTitle_1n7p9_34{font-size:.42667rem;color:#333;line-height:.58667rem}._model_1n7p9_39{font-size:.37333rem;color:#999;line-height:.53333rem;padding:.16rem 0 .26667rem}._goodsPrice_1n7p9_45{display:flex;justify-content:space-between}._goodsPrice_1n7p9_45 ._num_1n7p9_49{font-size:.32rem;font-weight:500;color:#666;line-height:.45333rem}._btnList_1n7p9_55{display:flex;align-items:center;justify-content:flex-end}._btnList_1n7p9_55 .van-button+.van-button{margin-left:.26667rem}._price_1n7p9_63{color:#ff4e19;font-size:.42667rem}._price_1n7p9_63 i{font-size:.32rem;font-style:normal}._coupon_1n7p9_71{font-size:.32rem;color:#ff4e19}._sureGoods_1n7p9_75{padding-right:.32rem;font-size:.32rem;color:#999;line-height:.45333rem}._field_1n7p9_81{margin:0 .69333rem .34667rem;border:.02667rem solid #dedede;width:auto;border-radius:.26667rem;overflow:hidden}._btn-group_1n7p9_88{padding:0 15% .32rem}._returnDes_1n7p9_91{color:#666;font-size:.37333rem;margin-right:auto}._confirmReceipt_1n7p9_96{font-size:.32rem;color:#999;margin-right:.50667rem}\n";document.head.appendChild(__vite_style__);System.register(['./index-legacy.890d473e.js','./vendor-legacy.73abbe39.js','./index-legacy.f25f109a2.js','./index-legacy.f25f109a4.js','./cart-legacy.e8d257f5.js'],function(exports){'use strict';var moneyFormat,defineComponent,createVNode,Image,createTextVNode,Cell,formateAttr;return{setters:[function(module){moneyFormat=module.m;},function(module){defineComponent=module.d;createVNode=module.b;Image=module.I;createTextVNode=module.j;Cell=module.p;},function(){},function(){},function(module){formateAttr=module.f;}],execute:function execute(){var shopOrder="_shopOrder_1n7p9_1";var goodsList="_goodsList_1n7p9_7";var payTime="_payTime_1n7p9_10";var payStatus="_payStatus_1n7p9_14";var paySuccess="_paySuccess_1n7p9_17";var cellGroup="_cellGroup_1n7p9_20";var goodsImg="_goodsImg_1n7p9_25";var goodsContainer="_goodsContainer_1n7p9_31";var goodsTitle="_goodsTitle_1n7p9_34";var model="_model_1n7p9_39";var goodsPrice="_goodsPrice_1n7p9_45";var num="_num_1n7p9_49";var btnList="_btnList_1n7p9_55";var price="_price_1n7p9_63";var coupon="_coupon_1n7p9_71";var sureGoods="_sureGoods_1n7p9_75";var field="_field_1n7p9_81";var returnDes="_returnDes_1n7p9_91";var confirmReceipt="_confirmReceipt_1n7p9_96";var styles=exports('s',{shopOrder:shopOrder,goodsList:goodsList,payTime:payTime,payStatus:payStatus,paySuccess:paySuccess,cellGroup:cellGroup,goodsImg:goodsImg,goodsContainer:goodsContainer,goodsTitle:goodsTitle,model:model,goodsPrice:goodsPrice,num:num,btnList:btnList,price:price,coupon:coupon,sureGoods:sureGoods,field:field,"btn-group":"_btn-group_1n7p9_88",returnDes:returnDes,confirmReceipt:confirmReceipt});var Item=exports('I',defineComponent({name:'GoodItem',props:{item:{type:Object,default:{}}},setup:function setup(_ref){var item=_ref.item;return function(){return createVNode(Cell,{"center":true},{icon:function icon(){return createVNode(Image,{"class":styles.goodsImg,"src":item.productPic,"fit":"cover"},null);},default:function _default(){return createVNode("div",{"class":styles.goodsContainer},[createVNode("div",{"class":[styles.goodsTitle,'van-ellipsis']},[item.productName]),createVNode("div",{"class":styles.model},[formateAttr(item.productAttr)]),createVNode("div",{"class":styles.goodsPrice},[createVNode("span",{"class":styles.price},[createVNode("i",null,[createTextVNode("\xA5")]),moneyFormat(item.productPrice)]),createVNode("span",{"class":styles.num},[createTextVNode("x"),item.productQuantity||item.productCount])])]);}});};}}));}};});})();