(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["subPackages-daoyou-order"],{"1b5f":function(t,e,i){var o=i("a81d");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var a=i("967d").default;a("254ae066",o,!0,{sourceMap:!1,shadowMode:!1})},"4c5f":function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=o(i("2634")),n=o(i("2fdc"));i("aa9c"),i("d4b5"),i("dd2b"),i("bf0f"),i("2797");var s=o(i("2847")),p={components:{contactAddVue:s.default},data:function(){return{buyNum:1,sku:this.$store.state.user.touristInfo.sku,skuInfo:this.$store.state.user.touristInfo.sku.sku_info,selectDay:this.$store.state.user.touristInfo.selectDay,phone:"",seldPeople:[],contactList:[],isAgreement:!1,isBottom:!1,content:""}},onLoad:function(){var t=this;console.log(this.sku),this.getContactList(),this.Post({id:3},"/api/Article/getArticleById").then((function(e){t.content=e.data.content}))},methods:{order:function(){var t=[];if(this.skuInfo.is_card){for(var e=0;e uni-view[data-v-c6f28bfa]:first-child{font-weight:700;font-size:%?31?%;color:#000}.num-box > uni-view:first-child span[data-v-c6f28bfa]{font-weight:500;font-size:%?24?%;color:#666;margin-left:%?18?%}.num-box > uni-view[data-v-c6f28bfa]:last-child{font-weight:500;font-size:%?24?%;color:#dc2525}.num-box uni-image[data-v-c6f28bfa]{width:%?46.67?%;height:%?46.67?%}.num-box .num[data-v-c6f28bfa]{width:%?67?%;text-align:center;font-weight:700;font-size:%?29?%;color:#000}.people-box[data-v-c6f28bfa]{margin-top:%?27.33?%;background:#fff;border-radius:%?13?%;font-weight:700;font-size:%?31?%;color:#000}.people-box > uni-view[data-v-c6f28bfa]{padding:%?40?% %?20?%}.people-box > uni-view[data-v-c6f28bfa]:nth-child(n+2){border-top:%?1?% solid hsla(0,0%,80%,.5)}.people-box > uni-view:last-child uni-input[data-v-c6f28bfa]{font-weight:500;font-size:%?31?%;color:#999;flex:1;margin:0 %?40?%}.people-box > uni-view:last-child uni-image[data-v-c6f28bfa]{width:%?20?%;height:%?20?%}.people-box .people-seld[data-v-c6f28bfa]{display:flex;flex-wrap:wrap}.people-box .people-seld .people-seldItem[data-v-c6f28bfa]{padding:0 %?50?%;line-height:%?70?%;background:#f9f5f0;border-radius:%?11?%;border:%?2?% solid #96684f;position:relative;font-weight:400;font-size:%?29?%;color:#000;margin:0 %?15?% %?10?% 0}.people-box .people-seld .people-seldItem uni-image[data-v-c6f28bfa]{width:%?28?%;height:%?28?%;position:absolute;bottom:0;right:0}.people-box .people-seld .people-more[data-v-c6f28bfa]{width:%?110?%;line-height:%?73?%;background:#f6f1ea;border-radius:%?11?%;text-align:center;font-weight:500;font-size:%?29?%;color:#96684f}.people-box .people-list .people-item[data-v-c6f28bfa]{padding:0 %?20?%;margin-top:%?20?%}.people-box .people-list .people-item .del-img[data-v-c6f28bfa]{width:%?45.33?%;height:%?45.33?%}.people-box .people-list .people-item .item-peopleNum[data-v-c6f28bfa]{font-weight:400;font-size:%?27?%;color:#000}.people-box .people-list .people-item .item-text .name[data-v-c6f28bfa]{font-weight:400;font-size:%?31?%;color:#000}.people-box .people-list .people-item .item-text .subtitle[data-v-c6f28bfa]{font-weight:400;font-size:%?24?%;color:#666}.people-box .people-list .people-item .edit-img[data-v-c6f28bfa]{width:%?32.67?%;height:%?32.67?%}.people-box .people-add[data-v-c6f28bfa]{height:%?80?%;background:#f9f5f0;border-radius:%?13?%;display:flex;align-items:center;font-weight:500;font-size:%?27?%;color:#96684f;padding:0 %?20?%}.people-box .people-add .add-img[data-v-c6f28bfa]{width:%?45.33?%;height:%?45.33?%;margin-right:%?28?%}.people-box .people-add .right-img[data-v-c6f28bfa]{width:%?20?%;height:%?20?%;margin-left:auto}.people-box .people-add[data-v-c6f28bfa]:not(:first-child){margin-top:%?26?%}.people-popup[data-v-c6f28bfa]{padding:%?26?%;height:%?800?%;background:#f7f7f7}.people-popup .ptop-box[data-v-c6f28bfa]{height:%?120?%;display:flex;align-items:center}.people-popup .ptop-box .top[data-v-c6f28bfa]{position:fixed;left:0;right:0;color:#000;height:%?80?%;font-size:0;overflow:hidden;padding:0 %?26?%}.people-popup .ptop-box .top uni-text[data-v-c6f28bfa]{text-align:left;font-size:%?35?%;font-weight:400;color:#000}.people-popup .ptop-box .top .confirm[data-v-c6f28bfa]{font-weight:400;color:#000}.people-popup .popup-list[data-v-c6f28bfa]{height:%?666?%;overflow:scroll}.people-popup .popup-list .popup-item[data-v-c6f28bfa]{border-radius:%?12?%;padding:%?2?%;margin-top:%?24?%;font-size:%?24?%;color:#333;font-weight:400;background-color:#fff}.people-popup .popup-list .popup-item .item-top[data-v-c6f28bfa]{border-radius:%?12?%;padding:%?30?% %?40?%;background-color:#fff}.people-popup .popup-list .popup-item .item-top uni-image[data-v-c6f28bfa]{color:#666;width:%?40?%;height:%?40?%}.people-popup .popup-list .popup-item .item-top .name[data-v-c6f28bfa]{overflow:hidden;font-family:PingFang SC;font-weight:400;font-size:%?32?%}.people-popup .popup-list .popup-item .item-top .name uni-text[data-v-c6f28bfa]{color:#666;font-size:%?25?%}.people-popup .popup-list .popup-item .item-top .name .tag[data-v-c6f28bfa]{padding:0 %?8?%;height:%?32?%;border-radius:%?7?%;line-height:%?30?%;text-align:center;font-size:%?23?%;font-family:PingFang SC;font-weight:500;color:#fff;background:#96684f;margin-left:%?10?%}.people-popup .popup-list .popup-item .item-top .com-flex-start[data-v-c6f28bfa]{margin:0 0 %?30?%}.people-popup .popup-list .popup-item .item-top .subtitle[data-v-c6f28bfa]{font-weight:400;flex:1;text-align:left;margin-top:%?33?%;color:#666;font-size:%?25?%}.people-popup .popup-list .popup-item .item-top .subtitle .mobile[data-v-c6f28bfa]{margin-bottom:%?36?%}.people-popup .popup-list .popup-item .item-top .status[data-v-c6f28bfa]{width:%?40?%;height:%?40?%;line-height:%?40?%;border-radius:50%;text-align:center;box-sizing:border-box}.people-popup .popup-list .popup-item .item-top .status img[data-v-c6f28bfa]{width:%?27?%;height:%?21?%}.people-popup .popup-list .popup-item .item-top .statuss[data-v-c6f28bfa]{background:linear-gradient(90deg,#fa2b66,#ff9834);border:none}.people-popup .popup-list .popup-item .item-top .noSelect[data-v-c6f28bfa]{border:%?1?% solid #999}.people-popup .popup-list .popup-item .item-site[data-v-c6f28bfa]{color:#666;display:flex;align-items:center;padding:%?36?% 0}.people-popup .popup-list .popup-item .item-site uni-view[data-v-c6f28bfa]{width:%?23?%;height:%?23?%;margin-right:%?10?%;border:%?1?% solid #999;border-radius:50%}.people-popup .popup-list .popup-item .item-site uni-view uni-view[data-v-c6f28bfa]{width:%?8?%;height:%?8?%;background:#000;border-radius:50%;margin:auto}.people-popup .popup-list .popup-item.active[data-v-c6f28bfa]{border:%?2?% solid #96684f}.people-popup .popup-list .popup-item.disabled .item-top[data-v-c6f28bfa]{background-color:#ccc}.people-popup .button[data-v-c6f28bfa]{text-align:center;width:100%;height:%?80?%;line-height:%?80?%;background-color:#fff;border-radius:%?40?%;font-family:PingFang SC;font-weight:400;font-size:%?33?%;color:#000}.people-popup .add-edit-content[data-v-c6f28bfa]{border-radius:%?13?%;min-height:%?800?%;margin:0 %?22?%}footer[data-v-c6f28bfa]{width:%?750?%;height:%?153?%;background:#fff;box-shadow:%?0?% %?0?% %?13?% %?0?% rgba(82,82,82,.25);position:fixed;bottom:0;left:0}footer .footer-left[data-v-c6f28bfa]{margin-left:%?26?%}footer .footer-left > uni-view[data-v-c6f28bfa]:first-child{font-weight:700;font-size:%?32?%;color:#000}footer .footer-left > uni-view:first-child span[data-v-c6f28bfa]{font-size:%?40?%;color:#dc2525}footer .footer-left > uni-view:first-child span[data-v-c6f28bfa]::before{font-size:%?24?%;content:"¥"}footer .footer-left > uni-view[data-v-c6f28bfa]:last-child{display:flex;align-items:center;font-weight:500;font-size:%?24?%;color:#666}footer .footer-left > uni-view:last-child span[data-v-c6f28bfa]{width:%?31?%;height:%?31?%;border-radius:50%;border:%?1?% solid #666;margin-right:%?11?%}footer .footer-left > uni-view:last-child span uni-image[data-v-c6f28bfa]{width:100%;height:100%}footer .order-btn[data-v-c6f28bfa]{width:%?233?%;line-height:%?73?%;border-radius:%?11?%;background:#dc2525;text-align:center;font-weight:700;font-size:%?32?%;color:#fff;margin-right:%?26?%}footer .order-disable[data-v-c6f28bfa]{background:#ccc}.agreement-box[data-v-c6f28bfa]{width:100vw;height:60vh;padding:%?80?% %?26?% %?200?% %?26?%;position:relative}.agreement-box .agreement-cha[data-v-c6f28bfa]{width:%?31.33?%;height:%?31.33?%;position:absolute;right:%?26?%;top:%?26?%}.agreement-box .agreement-content[data-v-c6f28bfa]{font-weight:500;font-size:%?29?%;color:#666;padding-bottom:%?50?%;height:45vh}.agreement-box .agreement-content .agreement-title[data-v-c6f28bfa]{font-weight:700;font-size:%?32?%;color:#000;text-align:center;margin-bottom:%?36?%}.agreement-box .agreement-btn[data-v-c6f28bfa]{width:%?750?%;height:%?153?%;background:#fff;box-shadow:%?0?% %?0?% %?13?% %?0?% rgba(82,82,82,.25);position:absolute;bottom:0;left:0}.agreement-box .agreement-btn uni-view[data-v-c6f28bfa]{width:%?697?%;height:%?73?%;background:#dc2525;border-radius:%?11?%;font-weight:700;font-size:%?32?%;color:#fff}.agreement-box .agreement-btn .agreement-disable[data-v-c6f28bfa]{background:#ccc}',""]),t.exports=e},bffc:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){return o}));var o={uniPopup:i("03b6").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"bg"},[i("v-uni-view",{staticClass:"top-box"},[i("v-uni-view",{staticClass:"top-title"},[t._v(t._s(t.skuInfo.title))]),i("v-uni-view",{staticClass:"top-subtitle"},[t._v("出行日期:"+t._s(t.selectDay))]),i("v-uni-view",{staticClass:"top-subtitle"},[t._v("已选:"+t._s(t.skuInfo.title))])],1),i("v-uni-view",{staticClass:"num-box flex-column"},[i("v-uni-view",{staticClass:"flex-between"},[i("v-uni-view",[t._v("出行人数"),i("span",[t._v("请如实填写,必填")])]),i("v-uni-view",{staticStyle:{display:"flex","align-items":"center"}},[i("v-uni-image",{attrs:{src:"https://static.ticket.sz-trip.com/tourist/daoyou/numDel.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeNum(0)}}}),i("v-uni-view",{staticClass:"num"},[t._v(t._s(t.buyNum))]),i("v-uni-image",{attrs:{src:"https://static.ticket.sz-trip.com/tourist/daoyou/numAdd.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeNum(1)}}})],1)],1),i("v-uni-view",[t._v("注:若超过最大出行人数,请预约多名导游")])],1),i("v-uni-view",{staticClass:"people-box"},[i("v-uni-view",[t._v(t._s(t.skuInfo.is_card?t.skuInfo.is_real_name?"需填"+t.buyNum+"位出行人":"需填1位出行人":"无需填写出行人"))]),t.skuInfo.is_card?i("v-uni-view",[t.seldPeople.length>0?i("v-uni-view",[i("v-uni-view",{staticClass:"people-seld"},[t._l(t.seldPeople,(function(e,o){return i("v-uni-view",{key:o,staticClass:"people-seldItem"},[t._v(t._s(e.name)),i("v-uni-image",{attrs:{src:"https://static.ticket.sz-trip.com/tourist/daoyou/dui.png"}})],1)})),i("v-uni-view",{staticClass:"people-more",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeContactAddPopup("open",{})}}},[t._v("更多>")])],2)],1):t._e(),i("v-uni-view",{staticClass:"people-list"},t._l(t.seldPeople,(function(e,o){return i("v-uni-view",{key:e.id,staticClass:"people-item flex-between"},[i("v-uni-image",{staticClass:"del-img",attrs:{src:"https://static.ticket.sz-trip.com/tourist/daoyou/del.png"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.removeSeldPeople(e,o)}}}),i("v-uni-view",{staticClass:"item-peopleNum"},[t._v("出行人"+t._s(o+1))]),i("v-uni-view",{staticClass:"item-text"},[i("v-uni-view",{staticClass:"name text-overflow"},[t._v(t._s(e.name))]),i("v-uni-view",{staticClass:"subtitle"},[t._v("手机号 "+t._s(e.tel))]),i("v-uni-view",{staticClass:"subtitle"},[t._v(t._s(e.title)+" "+t._s(e.id_number))])],1),i("v-uni-image",{staticClass:"edit-img",attrs:{src:"https://static.ticket.sz-trip.com/tourist/daoyou/edit.png"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.changeContactAddPopup("open",e)}}})],1)})),1),t._l(t.skuInfo.is_real_name?t.buyNum:1,(function(e,o){return t.seldPeople[o]?t._e():i("v-uni-view",{key:o,staticClass:"people-add",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeContactAddPopup("open",{})}}},[i("v-uni-image",{staticClass:"add-img",attrs:{src:"https://static.ticket.sz-trip.com/tourist/daoyou/add.png"}}),i("v-uni-view",[t._v("出行人"+t._s(o+1)+" 点击填写1位出行人信息")]),i("v-uni-image",{staticClass:"right-img",attrs:{src:"https://static.ticket.sz-trip.com/tourist/daoyou/peopleRight.png"}})],1)}))],2):t._e(),i("v-uni-view",{staticClass:"flex-between"},[t._v("联系电话"),i("v-uni-input",{attrs:{type:"number",maxlength:"11",placeholder:"请填写联系手机号"},model:{value:t.phone,callback:function(e){t.phone=e},expression:"phone"}}),t.phone.length>0?i("v-uni-image",{attrs:{src:"https://static.ticket.sz-trip.com/tourist/daoyou/phoneClear.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.phone=""}}}):t._e()],1)],1),i("footer",{staticClass:"flex-between"},[i("v-uni-view",{staticClass:"footer-left"},[i("v-uni-view",[t._v("合计:"),i("span",[t._v(t._s(t.sku.money*t.buyNum/100))])]),i("v-uni-view",{staticStyle:{"margin-top":"10rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickAgreement(0)}}},[i("span",[i("v-uni-image",{directives:[{name:"show",rawName:"v-show",value:t.isAgreement,expression:"isAgreement"}],attrs:{src:"https://static.ticket.sz-trip.com/tongli/images/user/dui.png"}})],1),t._v("阅读并同意《xxx协议》")])],1),i("v-uni-view",{class:["order-btn",{"order-disable":!t.isAgreement}],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.order.apply(void 0,arguments)}}},[t._v("去支付")])],1),i("uni-popup",{ref:"contactPopup",attrs:{type:"bottom",backgroundColor:"#F4F4F4"}},[i("v-uni-view",{staticClass:"people-popup"},[i("v-uni-view",{staticClass:"ptop-box"},[i("v-uni-view",{staticClass:"top flex-between",staticStyle:{"padding-bottom":"14rpx"}},[i("v-uni-text",{staticClass:"text-overflow",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$refs.contactPopup.close()}}},[t._v("取消")]),i("v-uni-text",{staticClass:"confirm",staticStyle:{color:"#96684F"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$refs.contactPopup.close()}}},[t._v("确定")])],1)],1),i("v-uni-view",{staticClass:"button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$refs.contactAddPopup.open()}}},[t._v("添加出行人")]),t.contactList.length>0?i("v-uni-view",{staticClass:"popup-list"},t._l(t.contactList,(function(e,o){return i("v-uni-view",{key:o,class:["popup-item",e.isSeld?"active":""],on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.seldThisContact(e,o)}}},[i("v-uni-view",{staticClass:"item-top flex flex-items-center"},[i("v-uni-image",{staticClass:"edit-img",attrs:{src:"https://static.ticket.sz-trip.com/tourist/daoyou/edit.png"},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.changeContactAddPopup("open",e)}}}),i("v-uni-view",{staticClass:"name flex-shrink-0",staticStyle:{"padding-left":"32rpx",width:"180rpx"}},[t._v(t._s(e.name))]),i("v-uni-view",{staticClass:"flex-1 w-1rpx",staticStyle:{"padding-left":"20rpx"}},[i("v-uni-view",{staticClass:"name"},[i("v-uni-text",[t._v("手机号 "+t._s(e.tel))]),1==e.is_default?i("v-uni-text",{staticClass:"tag"},[t._v("默认")]):t._e()],1),i("v-uni-view",{staticClass:"subtitle text-overflowRows"},[t._v("身份证 "+t._s(e.id_number))])],1)],1)],1)})),1):t._e()],1)],1),i("uni-popup",{ref:"contactAddPopup",staticStyle:{"border-radius":"13rpx 13rpx 0 0"},attrs:{type:"bottom",backgroundColor:"#F4F4F4"}},[i("v-uni-view",{staticClass:"people-popup",staticStyle:{padding:"0"}},[i("v-uni-view",{staticClass:"ptop-box"},[i("v-uni-view",{staticClass:"top flex-between",staticStyle:{height:"fit-content"}},[i("v-uni-text",{staticClass:"text-overflow",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeContactAddPopup("close")}}},[t._v("取消")]),i("v-uni-text",{staticClass:"confirm",staticStyle:{color:"#96684F"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.saveContact.apply(void 0,arguments)}}},[t._v("保存")])],1)],1),i("v-uni-view",{staticClass:"add-edit-content"},[i("contactAddVue",{ref:"contactAddVueRef"})],1)],1)],1),i("uni-popup",{ref:"agreementPopup",attrs:{type:"bottom",backgroundColor:"#FFFFFF"}},[i("v-uni-view",{staticClass:"agreement-box"},[i("v-uni-image",{staticClass:"agreement-cha",attrs:{src:"https://static.ticket.sz-trip.com/tourist/daoyou/cha.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$refs.agreementPopup.close()}}}),i("v-uni-scroll-view",{staticClass:"agreement-content",attrs:{"scroll-y":"true","lower-threshold":"20"},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.lower.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"agreement-title"},[t._v("xxxx协议")]),i("v-uni-view",{domProps:{innerHTML:t._s(t.formateRichText(t.content))}})],1),i("v-uni-view",{staticClass:"agreement-btn flex-center"},[i("v-uni-view",{class:["flex-center",{"agreement-disable":!t.isBottom}],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickAgreement(1)}}},[t._v(t._s(t.isBottom?"同意本条款":"请上滑看完本条款后同意"))])],1)],1)],1)],1)},n=[]},d6aa:function(t,e,i){"use strict";i.r(e);var o=i("bffc"),a=i("758c");for(var n in a)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(n);i("97e9");var s=i("828b"),p=Object(s["a"])(a["default"],o["b"],o["c"],!1,null,"c6f28bfa",null,!1,o["a"],void 0);e["default"]=p.exports}}]);