导游中台-游客端
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.

2 lines
8.0 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["subPackages/line/orders"],{218:function(e,t,n){"use strict";(function(e,t){var i=n(4);n(26);i(n(25));var o=i(n(219));e.__webpack_require_UNI_MP_PLUGIN__=n,t(o.default)}).call(this,n(1)["default"],n(2)["createPage"])},219:function(e,t,n){"use strict";n.r(t);var i=n(220),o=n(222);for(var s in o)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(s);n(224);var r,u=n(32),c=Object(u["default"])(o["default"],i["render"],i["staticRenderFns"],!1,null,"89c64100",null,!1,i["components"],r);c.options.__file="subPackages/line/orders.vue",t["default"]=c.exports},220:function(e,t,n){"use strict";n.r(t);var i=n(221);n.d(t,"render",(function(){return i["render"]})),n.d(t,"staticRenderFns",(function(){return i["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return i["recyclableRender"]})),n.d(t,"components",(function(){return i["components"]}))},221:function(e,t,n){"use strict";var i;n.r(t),n.d(t,"render",(function(){return o})),n.d(t,"staticRenderFns",(function(){return r})),n.d(t,"recyclableRender",(function(){return s})),n.d(t,"components",(function(){return i}));try{i={uniIcons:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(n.bind(null,313))},uniPopup:function(){return n.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(n.bind(null,292))}}}catch(u){if(-1===u.message.indexOf("Cannot find module")||-1===u.message.indexOf(".vue"))throw u;console.error(u.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var o=function(){var e=this,t=e.$createElement,n=(e._self._c,e.priceTotal()),i=e.peopleList.length,o=e.formateRichText(e.xieyi.content);e._isMounted||(e.e0=function(t){e.reserve_phone=""},e.e1=function(t){return e.$refs.contactPopup.close()},e.e2=function(t){return e.$refs.contactPopup.close()},e.e3=function(t){return e.$refs.contactAddPopup.open()},e.e4=function(t){return e.$refs.agreementPopup.close()}),e.$mp.data=Object.assign({},{$root:{m0:n,g0:i,m1:o}})},s=!1,r=[];o._withStripped=!0},222:function(e,t,n){"use strict";n.r(t);var i=n(223),o=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(s);t["default"]=o.a},223:function(e,t,n){"use strict";(function(e){var i=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(92)),s=i(n(94)),r=function(){n.e("components/contactAdd").then(function(){return resolve(n(306))}.bind(null,n)).catch(n.oe)},u={components:{contactAddVue:r},data:function(){return{product:this.$store.state.user.lineInfo.product,sku:this.$store.state.user.lineInfo.sku,selectDate:this.$store.state.user.lineInfo.selectDate,linkmans:[],sku_ids:"",price:this.$store.state.user.lineInfo.price,skuIndex:null,coupon:"",reserve_name:"",reserve_phone:"",remark:"",peopleList:[],linkmanList:[],xySeld:!1,isAgreement:!1,isBottom:!1,xieyi:""}},onReady:function(){var e=this;this.$store.commit("choseCoupon",""),this.Post({goods_id:this.sku[0].goods_id},"/api/goods/getGoodDetail").then((function(t){e.product=t.data}));var t=[],n=[];this.sku.map((function(e){var i=Number(e.num);t.push(new Array(i)),n.push(e.id)})),this.linkmans=t,this.sku_ids=n,this.getPeople(),this.Post({id:6},"/api/Article/getArticleById").then((function(t){e.xieyi=t.data}))},onShow:function(){this.coupon=this.$store.state.user.coupon,console.log("传过来的优惠券",this.coupon)},methods:{clickXy:function(){this.xySeld=!this.xySeld},openXz:function(){this.$refs.popup.open("bottom")},closePopup:function(){this.$refs.popup.close()},order:function(){var t=this,n=!0,i=[];if(this.sku.map((function(o,s){if(o.num>0){var r=t.linkmans[s].filter((function(e){return e}));if(r.length<o.num)return n=!1,void e.showToast({title:"请选择对应的出行人",icon:"none"});var u=[];r.map((func
10 months ago
//# sourceMappingURL=../../../.sourcemap/mp-weixin/subPackages/line/orders.js.map