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"],{"0b9a":function(t,e,i){var a=i("24fb");e=a(!1),e.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 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 主要颜色 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.navbar[data-v-bbe9cf06]{background-color:#fff}.navbar .narbar-flexd[data-v-bbe9cf06]{background-size:100% 100%!important;position:fixed;top:0;left:0;z-index:99;width:100%}.navbar .narbar-flexd .narbar-content[data-v-bbe9cf06]{padding:0 %?24?%;display:flex;box-sizing:border-box;justify-content:center;align-items:center;background-color:#fff}.navbar .narbar-flexd .narbar-content .left[data-v-bbe9cf06]{position:absolute;left:5%;font-weight:600}.navbar .narbar-flexd .narbar-content .title[data-v-bbe9cf06]{font-size:%?36?%;font-family:PingFang SC;font-weight:500;color:#222}.navbar .narbar-flexd .isCenter[data-v-bbe9cf06]{padding:0 %?24?%;display:flex;box-sizing:border-box;justify-content:flex-start;align-items:center}.navbar .narbar-flexd .isCenter .left[data-v-bbe9cf06]{position:absolute;left:5%;font-weight:600}.navbar .narbar-flexd .isCenter .title[data-v-bbe9cf06]{font-size:%?36?%;font-family:PingFang SC;font-weight:500;color:#222}.navbar .navHeight[data-v-bbe9cf06]{height:60px}',""]),t.exports=e},"2ab3":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){return a}));var a={uIcon:i("eb93").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;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(e){arguments[0]=e=t.$handleEvent(e),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(e){arguments[0]=e=t.$handleEvent(e),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=[]},"2d03":function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("4de4"),i("d3b7");var n=i("78d1"),s=a(i("90ed")),d={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 e={address_id:this.addressObj.id,goods_id:this.productObj.id};console.log(e),(0,n.createOrder)(e).then((function(e){console.log(e,"=="),1==e.code?t.show=!0:t.qg
|