|
|
|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GoodsDetails-GoodsDetails"],{"12e1":function(t,i,e){"use strict";e.d(i,"b",(function(){return a})),e.d(i,"c",(function(){return n})),e.d(i,"a",(function(){}));var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"cu-modal bottom-modal",class:{show:t.isShow},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.hide.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"cu-dialog"},[e("v-uni-view",{staticClass:"goods-data"},[e("v-uni-view",{staticClass:"thumb"},[e("v-uni-image",{attrs:{src:"/static/image/x.png",mode:""}})],1),e("v-uni-view",{staticClass:"item"},[e("v-uni-view",{staticClass:"title"},[e("v-uni-text")],1),e("v-uni-view",{staticClass:"price"},[e("v-uni-text",{staticClass:"min"},[t._v("¥")]),e("v-uni-text",{staticClass:"max"},[t._v("99")]),e("v-uni-text",{staticClass:"min"},[t._v(".00")])],1),e("v-uni-view",{staticClass:"inventory"},[e("v-uni-text",[t._v("库存:1")])],1)],1)],1),e("v-uni-view",{staticClass:"attr-size"},[e("v-uni-view",{staticClass:"attr-number",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.onStop.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"tit"},[t._v("数量")]),e("v-uni-view",{staticClass:"number"},[e("v-uni-text",{staticClass:"iconfont icon-jian"}),e("v-uni-input",{attrs:{type:"tel",value:"1",maxlength:"8"}}),e("v-uni-text",{staticClass:"iconfont icon-jia"})],1)],1)],1),e("v-uni-view",{staticClass:"attr-btn"},[1===t.BuyType?e("v-uni-view",{staticClass:"add-cart",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.onConfirm(t.BuyType)}}},[t._v("加入购物车")]):t._e(),1===t.BuyType?e("v-uni-view",{staticClass:"add-buy",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.onConfirm(t.BuyType)}}},[t._v("立即购买")]):t._e(),2===t.BuyType||3===t.BuyType?e("v-uni-view",{staticClass:"confirm",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.onConfirm(t.BuyType)}}},[t._v("确定")]):t._e()],1)],1)],1)},n=[]},"13aa":function(t,i,e){"use strict";e("7a82"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;i.default={data:function(){return{isShow:!1,AttrIndex:0,SizeIndex:0,AttrSizeList:[{index:0,attr:"颜色",SizeList:[{index:0,size:"白色"},{index:1,size:"黑色"},{index:2,size:"粉丝"},{index:3,size:"灰色"}]},{index:0,attr:"尺码",SizeList:[{index:0,size:"M尺码"},{index:1,size:"L尺码"},{index:2,size:"XL尺码"},{index:3,size:"XXL尺码"}]}],BuyType:0}},methods:{show:function(t){this.BuyType=t,this.isShow=!0},hide:function(){this.isShow=!1},onStop:function(){},onAttrSize:function(t,i,e,a){this.AttrSizeList[e].index=a,this.AttrIndex=t.index,this.SizeIndex=i.index},onConfirm:function(t){}}}},"14dd":function(t,i,e){var a=e("b632");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=e("4f06").default;n("ee6ab9b8",a,!0,{sourceMap:!1,shadowMode:!1})},"27d4":function(t,i,e){"use strict";e.r(i);var a=e("e66f"),n=e.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(o);i["default"]=n.a},2916:function(t,i,e){"use strict";e.r(i);var a=e("13aa"),n=e.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(o);i["default"]=n.a},3786:function(t,i,e){"use strict";e("7a82"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a={data:function(){return{isShow:!1,isPage:!1}},methods:{show:function(){var t=this;this.isPage=!0,setTimeout((function(){t.isShow=!0}),300)},hide:function(){var t=this;this.isShow=!1,setTimeout((function(){t.isPage=!1}),300)}}};i.default=a},"3a15":function(t,i,e){var a=e("24fb");i=a(!1),i.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个<EFBFBD>
|