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.
1 line
19 KiB
1 line
19 KiB
1 year ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-ConfirmOrder-ConfirmOrder"],{"00f3":function(t,a,i){"use strict";i.r(a);var e=i("499e"),n=i("e560");for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(a,t,(function(){return n[t]}))}(s);i("c294");var o=i("f0c5"),r=Object(o["a"])(n["default"],e["b"],e["c"],!1,null,"bbe9cf06",null,!1,e["a"],void 0);a["default"]=r.exports},"0ba7":function(t,a,i){"use strict";var e=i("5328"),n=i.n(e);n.a},"12b4":function(t,a,i){"use strict";i.r(a);var e=i("a575"),n=i("330f");for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(a,t,(function(){return n[t]}))}(s);i("0ba7");var o=i("f0c5"),r=Object(o["a"])(n["default"],e["b"],e["c"],!1,null,"a032a3fa",null,!1,e["a"],void 0);a["default"]=r.exports},"330f":function(t,a,i){"use strict";i.r(a);var e=i("5a24"),n=i.n(e);for(var s in e)["default"].indexOf(s)<0&&function(t){i.d(a,t,(function(){return e[t]}))}(s);a["default"]=n.a},"460f":function(t,a,i){"use strict";i("7a82"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var e={data:function(){return{statusBarHeight:20,navBareight:45,windowWidth:375}},props:{title:{type:String,default:"#fff"},toIndex:{type:Boolean,default:!0},color:{type:String,default:"#222"},paddingTop:{type:String},background:{type:String,default:"transparent"},back:{type:Boolean,default:!1},isCenter:{type:Boolean,default:!0}},created:function(){var t=uni.getSystemInfoSync(),a=t.statusBarHeight,i=t.windowWidth;this.statusBarHeight=a,this.windowWidth=i},methods:{onBack:function(){this.$emit("onBack")},onBackIndex:function(){uni.switchTab({url:"/pages/index/index"})}}};a.default=e},"499e":function(t,a,i){"use strict";i.d(a,"b",(function(){return n})),i.d(a,"c",(function(){return s})),i.d(a,"a",(function(){return e}));var e={uIcon:i("5577").default},n=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("v-uni-view",{staticClass:"navbar"},[i("v-uni-view",{staticClass:"narbar-flexd"},[i("v-uni-view",{style:{height:t.statusBarHeight+"px",background:"#ffffff"}}),i("v-uni-view",{class:t.isCenter?"narbar-content":"isCenter",style:{height:t.navBareight+"px"}},[t.back&&t.toIndex?i("v-uni-view",{staticClass:"left",style:[{color:t.color},{paddingTop:t.paddingTop}],on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.onBack.apply(void 0,arguments)}}},[i("u-icon",{attrs:{name:"arrow-left",size:"20"}})],1):t._e(),t.back&&!t.toIndex?i("v-uni-view",{staticClass:"left",style:[{color:t.color},{paddingTop:t.paddingTop}],on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.onBackIndex.apply(void 0,arguments)}}},[i("u-icon",{attrs:{name:"arrow-left",size:"20"}})],1):t._e(),i("v-uni-view",{staticClass:"title"},[t._v(t._s(t.title))])],1)],1)],1)},s=[]},5328:function(t,a,i){var e=i("95ad");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var n=i("4f06").default;n("e7353620",e,!0,{sourceMap:!1,shadowMode:!1})},"5a24":function(t,a,i){"use strict";i("7a82");var e=i("4ea4").default;Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0,i("4de4"),i("d3b7");var n=i("afca"),s=e(i("00f3")),o={components:{navbar:s.default},data:function(){return{scrollTop:0,hasAddr:!1,addressObj:{id:null,consignee:"",mobile:"",is_default:!1,province_name:"",city_name:"",district_name:"",address:""},productObj:{id:null,image:"",name:"",price:""},show:!1,qgSuccess:!0}},onPageScroll:function(t){this.scrollTop=t.scrollTop},methods:{close:function(){this.show=!1},onSubmit:function(){var t=this;if(this.hasAddr){var a={address_id:this.addressObj.id,goods_id:this.productObj.id};console.log(a),(0,n.createOrder)(a).then((function(a){console.log(a,"=="),1==a.code?t.show=!0:t.qgSuccess=!1}))}else this.$refs.uToast.show({message:"请选择收货地址"})},backHandle:function(){uni.redirectTo({url:"/pages/qianggou/productList"})},onSkip:function(t){switch(t){case"address":uni.navigateTo({url:"/pages/AddressList/AddressList"});break;case"cangku":uni.navigateTo({url:"/pages/qianggou/productList"});break}},getList:function(){var t=this;(0,n.getAddrList)().then((function(a){var
|