pages-reservation-reservation_info-index.85d36087.js 30 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-reservation-reservation_info-index"],{"0152":function(t,e,a){"use strict";a.r(e);var i=a("57e1"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"0bf3":function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("aa9c");for(var i=[],n=0;n<=59;n++)n<10&&(n="0"+n),i.push(n);for(var o=[],s=0;s<=23;s++)s<10&&(s="0"+s),o.push(s);var r={props:{isShow:{type:Boolean,default:!1},time:{type:Array,default:function(){return[]}}},watch:{time:function(){this.value=this.time}},created:function(){},data:function(){return{value:this.time,hoursList:o,minutes:i}},methods:{confirm:function(){var t=this.value[0]+":"+this.value[1]+" - "+this.value[3]+":"+this.value[4];if(!(this.value[3]>this.value[0]||this.value[3]==this.value[0]&&this.value[4]>=this.value[1]))return this.$util.Tips({title:"开始时间必须小于结束时间"});this.$emit("confrim",{time:t,val:this.value})},cancel:function(){var t=this.value[0]+":"+this.value[1]+" - "+this.value[3]+":"+this.value[4];this.$emit("cancel",{time:t})},getime:function(t){var e=t.detail.value;this.value[0]=this.hoursList[e[0]]||"0",this.value[1]=this.minutes[e[1]]||"00",this.value[2]=e[2]||"-",this.value[3]=this.hoursList[e[3]]||"0",this.value[4]=this.minutes[e[4]]||"00"}}};e.default=r},"35d8":function(t,e,a){"use strict";var i=a("3804"),n=a.n(i);n.a},3804:function(t,e,a){var i=a("4896");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("967d").default;n("38107680",i,!0,{sourceMap:!1,shadowMode:!1})},4896:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.time1[data-v-0c83ca23]{width:100%;margin:0 auto;background-color:#fff;color:#000;height:%?568?%;position:fixed;bottom:0;left:0;z-index:99;-webkit-transform:translate3d(0,200%,0);transform:translate3d(0,200%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9)}.time1.on[data-v-0c83ca23]{-webkit-transform:translateZ(0);transform:translateZ(0)}.time1 .top[data-v-0c83ca23]{height:%?90?%;border-bottom:1px solid #eee;padding:0 %?30?%}.time1 .top uni-text[data-v-0c83ca23]{font-size:%?32?%}.time1 .top uni-text[data-v-0c83ca23]:nth-child(1){color:#888}.time1 .top uni-text[data-v-0c83ca23]:nth-child(2){color:#007aff}.time1 .tip12[data-v-0c83ca23]{width:100%;height:%?100?%}.time1 .tip12 uni-view[data-v-0c83ca23]{width:50%;text-align:center;line-height:%?100?%;font-size:%?40?%;color:#000}.time1 .hours[data-v-0c83ca23]{font-size:%?32?%;color:#000;line-height:34px;text-align:center}.time1 .minutes[data-v-0c83ca23]{font-size:%?32?%;color:#000;line-height:34px;text-align:center}.time1 .center[data-v-0c83ca23]{line-height:34px;text-align:center}.picker[data-v-0c83ca23]{width:100%;height:%?476?%}',""]),t.exports=e},4963:function(t,e,a){"use strict";a.r(e);var i=a("e7bf"),n=a("524c");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("35d8");var s=a("828b"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"0c83ca23",null,!1,i["a"],void 0);e["default"]=r.exports},"524c":function(t,e,a){"use strict";a.r(e);var i=a("0bf3"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"57e1":function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("5ef2"),a("0c26"),a("c223"),a("5c47"),a("0506"),a("aa9c");var n=i(a("9b1b")),o=a("8f59"),s=a("aa10"),r=a("5676"),c=i(a("ec61")),l=uni.getSystemInfoSync().statusBarHeight+"px",u={name:"reservationInfo",components:{associationForm:c.default},data:function(){return{marTop:0,domain:s.HTTP_REQUEST_URL,sysHeight:l,formList:{},formValue:[],storeInfo:{},totalPrice:"",address_id:0,cart_id:"",service_type:"",cartInfo:{},extend:{},post:{},payType:"weixin",order_form:[],mer_id:"",formType:2}},computed:(0,n.default)({},(0,o.mapGetters)(["viewColor","isLogin","hide_mer_status"])),onLoad:function(t){this.address_id=t.address_id,this.cart_id=t.cart_id,this.service_type=t.service_type,this.mer_id=t.mer_id,this.formType=t.formType},mounted:function(){uni.setStorageSync("extendInfo",[]),this.getConfirm()},methods:{goBack:function(){uni.navigateBack()},goStore:function(t){1!=this.hide_mer_status&&uni.navigateTo({url:"/pages/store/home/index?id=".concat(t)})},getConfirm:function(){var t=this,e=this;uni.showLoading({title:"",mask:!0});var a={cart_id:e.cart_id.split(",")};1==e.service_type?a.takes=[e.mer_id]:a.address_id=e.address_id,(0,r.getOrderConfirm)(a).then((function(t){e.$set(e,"cartInfo",t.data.order);var a=1==e.formType?t.data.order[0]["list"][0]["cart_num"]:1;e.$set(e,"totalPrice",t.data.order_price),e.$set(e,"formList",t.data.mer_form_info),t.data.mer_form_info&&t.data.mer_form_info.name&&e.$refs.associationForm.getFormList(t.data.mer_form_info,a),uni.hideLoading()})).catch((function(e){return t.$util.Tips({title:e},{tab:3,url:1})}))},getDatas:function(){var t=this.$refs.associationForm.getFormValue();return t},SubOrder:function(t){this.formList&&this.formList.name&&(this.order_form=this.getDatas());for(var e=[],a=0;a<this.order_form.length;a++){for(var i={},n=0;n<this.order_form[a].length;n++){var o=this.order_form[a][n];if(-1==["radios"].indexOf(o.name)&&(o.titleShow.val||-1==["uploadPicture","dateranges"].indexOf(o.name)&&o.value&&o.value.trim())){if(("texts"===o.name&&0==o.valConfig.tabVal||-1!=["dates","times","selects","citys","checkboxs"].indexOf(o.name))&&(!o.value||o.value&&!o.value.trim()))return this.$util.Tips({title:"请填写第".concat(a+1,"个表单的").concat(o.titleConfig.value)});if("timeranges"===o.name&&!o.value)return this.$util.Tips({title:"请选择第".concat(a+1,"个表单的").concat(o.titleConfig.value)});if("dateranges"===o.name&&!o.value.length)return this.$util.Tips({title:"请选择第".concat(a+1,"个表单的").concat(o.titleConfig.value)});if("texts"===o.name&&4==o.valConfig.tabVal&&o.value<=0)return this.$util.Tips({title:"第".concat(a+1,"个表单请填写大于0的").concat(o.titleConfig.value)});if("texts"===o.name&&3==o.valConfig.tabVal&&!/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(o.value))return this.$util.Tips({title:"第".concat(a+1,"个表单请填写正确的").concat(o.titleConfig.value)});if("texts"===o.name&&1==o.valConfig.tabVal&&!/^1(3|4|5|7|8|9|6)\d{9}$/i.test(o.value))return this.$util.Tips({title:"第".concat(a+1,"个表单请填写正确的").concat(o.titleConfig.value)});if("texts"===o.name&&2==o.valConfig.tabVal&&!/^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$|^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/i.test(o.value))return this.$util.Tips({title:"第".concat(a+1,"个表单请填写正确的").concat(o.titleConfig.value)});if("uploadPicture"===o.name&&!o.value.length)return this.$util.Tips({title:"请上传第".concat(a+1,"个表单的").concat(o.titleConfig.value)})}i[o.key]=o.value}e.push(i)}var s=e.length>0?1:0;uni.setStorageSync("extendInfo",e),uni.navigateTo({url:"/pages/users/order_confirm/index?cartId=".concat(this.cart_id,"&serviceType=").concat(this.service_type,"&addressId=").concat(this.address_id,"&formId=").concat(s,"&merId=").concat(this.mer_id)})}}};e.default=u},"638d":function(t,e,a){var i=a("96b6");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("967d").default;n("41b4f637",i,!0,{sourceMap:!1,shadowMode:!1})},"6d35":function(t,e,a){"use strict";a.r(e);var i=a("7e1f"),n=a("0152");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("f8c4");var s=a("828b"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"60a99ac0",null,!1,i["a"],void 0);e["default"]=r.exports},"761f":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var i={uniDatetimePicker:a("7d2b").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.formsValue&&t.formValue.length>0?a("v-uni-view",t._l(t.formValue,(function(e,i){return a("v-uni-view",{key:i,staticClass:"wrapper virtual_form bg-f boder-24"},[t._l(e,(function(e,n){return[a("v-uni-view",{key:n+"_0",staticClass:"item acea-row row-between-wrapper"},[a("v-uni-view",{staticClass:"name"},[e.titleShow.val?a("v-uni-text",{staticClass:"item-require"},[t._v("*")]):t._e(),t._v(t._s(e.titleConfig.value))],1),"radios"==e.name?a("v-uni-view",{staticClass:"discount"},[a("v-uni-radio-group",{staticClass:"acea-row row-middle row-right",on:{change:function(a){arguments[0]=a=t.$handleEvent(a),t.radioChange(a,i,n,e)}}},t._l(e.wordsConfig.list,(function(e,i){return a("v-uni-label",{key:i,staticClass:"radio"},[a("v-uni-view",{staticClass:"acea-row row-middle"},[a("v-uni-radio",{attrs:{value:i.toString(),checked:e.show}}),a("v-uni-view",[t._v(t._s(e.val))])],1)],1)})),1)],1):t._e(),"checkboxs"==e.name?a("v-uni-view",{staticClass:"discount acea-row"},[a("v-uni-checkbox-group",{staticClass:"acea-row row-middle row-right",on:{change:function(a){arguments[0]=a=t.$handleEvent(a),t.checkboxChange(a,i,n,e)}}},t._l(e.wordsConfig.list,(function(e,i){return a("v-uni-label",{key:i,staticClass:"radio"},[a("v-uni-view",{staticClass:"acea-row row-middle"},[a("v-uni-checkbox",{staticStyle:{transform:"scale(0.9)"},attrs:{value:i.toString(),checked:e.show}}),a("v-uni-view",[t._v(t._s(e.val))])],1)],1)})),1)],1):t._e(),"texts"==e.name&&0==e.valConfig.tabVal?a("v-uni-view",{staticClass:"discount"},[a("v-uni-input",{attrs:{type:"text",placeholder:e.tipConfig.value,"placeholder-class":"placeholderc"},model:{value:e.value,callback:function(a){t.$set(e,"value",a)},expression:"item.value"}})],1):t._e(),"texts"==e.name&&4==e.valConfig.tabVal?a("v-uni-view",{staticClass:"discount"},[a("v-uni-input",{attrs:{type:"number",placeholder:e.tipConfig.value,"placeholder-class":"placeholderc"},model:{value:e.value,callback:function(a){t.$set(e,"value",a)},expression:"item.value"}})],1):t._e(),"texts"==e.name&&3==e.valConfig.tabVal?a("v-uni-view",{staticClass:"discount"},[a("v-uni-input",{attrs:{type:"text",placeholder:e.tipConfig.value,"placeholder-class":"placeholderc"},model:{value:e.value,callback:function(a){t.$set(e,"value",a)},expression:"item.value"}})],1):t._e(),"dates"==e.name?a("v-uni-view",{staticClass:"discount"},[a("v-uni-picker",{attrs:{mode:"date",value:e.value},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.bindDateChange(e,i,n)}}},[a("v-uni-view",{staticClass:"acea-row row-between-wrapper"},[""==e.value?a("v-uni-view",[t._v(t._s(e.tipConfig.value))]):a("v-uni-view",[t._v(t._s(e.value))]),a("v-uni-text",{staticClass:"iconfont icon-ic_rightarrow"})],1)],1)],1):t._e(),"dateranges"==e.name?a("v-uni-view",{staticClass:"discount"},[a("uni-datetime-picker",{attrs:{type:"daterange"},on:{maskClick:function(e){arguments[0]=e=t.$handleEvent(e),t.maskClick.apply(void 0,arguments)}},model:{value:e.value,callback:function(a){t.$set(e,"value",a)},expression:"item.value"}},[t._v(t._s(e.value.length?e.value[0]+" - "+e.value[1]:e.tipConfig.value)),a("v-uni-text",{staticClass:"iconfont icon-ic_rightarrow"})],1)],1):t._e(),"times"==e.name?a("v-uni-view",{staticClass:"discount"},[a("v-uni-picker",{attrs:{mode:"time",value:e.value,placeholder:e.tipConfig.value},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.bindTimeChange(e,i,n)}}},[a("v-uni-view",{staticClass:"acea-row row-between-wrapper"},[""==e.value?a("v-uni-view",[t._v(t._s(e.tipConfig.value))]):a("v-uni-view",[t._v(t._s(e.value))]),a("v-uni-text",{staticClass:"iconfont icon-ic_rightarrow"})],1)],1)],1):t._e(),"timeranges"==e.name?a("v-uni-view",{staticClass:"discount acea-row row-between-wrapper",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getTimeranges(i,n)}}},[e.value?a("v-uni-view",[t._v(t._s(e.value))]):a("v-uni-view",[t._v(t._s(e.tipConfig.value))]),a("v-uni-text",{staticClass:"iconfont icon-ic_rightarrow"})],1):t._e(),"selects"==e.name?a("v-uni-view",{staticClass:"discount"},[a("v-uni-picker",{attrs:{value:e.value,range:e.wordsConfig.list,"range-key":"val"},on:{change:function(a){arguments[0]=a=t.$handleEvent(a),t.bindSelectChange(a,i,n,e)}}},[a("v-uni-view",{staticClass:"acea-row row-between-wrapper"},[e.value?a("v-uni-view",[t._v(t._s(e.value))]):a("v-uni-view",[t._v("请选择")]),a("v-uni-text",{staticClass:"iconfont icon-ic_rightarrow"})],1)],1)],1):t._e(),"citys"==e.name?a("v-uni-view",{staticClass:"discount",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeRegion(i,n)}}},[a("v-uni-view",{staticClass:"acea-row row-middle row-right"},[""==e.value?a("v-uni-view",{staticClass:"city"},[t._v(t._s(e.tipConfig.value))]):a("v-uni-view",{staticClass:"city"},[t._v(t._s(e.value))]),a("v-uni-text",{staticClass:"iconfont icon-ic_rightarrow"})],1)],1):t._e(),"texts"==e.name&&2==e.valConfig.tabVal?a("v-uni-view",{staticClass:"discount"},[a("v-uni-input",{attrs:{type:"idcard",placeholder:e.tipConfig.value,"placeholder-class":"placeholderc"},model:{value:e.value,callback:function(a){t.$set(e,"value",a)},expression:"item.value"}})],1):t._e(),"texts"==e.name&&1==e.valConfig.tabVal?a("v-uni-view",{staticClass:"discount"},[a("v-uni-input",{attrs:{type:"number",placeholder:e.tipConfig.value,"placeholder-class":"placeholderc"},model:{value:e.value,callback:function(a){t.$set(e,"value",a)},expression:"item.value"}})],1):t._e(),"uploadPicture"==e.name?a("v-uni-scroll-view",{staticClass:"item-scroll",style:"width:"+e.scrollWidth,attrs:{"scroll-x":"true","show-scrollbar":"false"}},[a("v-uni-view",{staticClass:"upload",style:"width:"+e.scrollWidth},[e.value.length<e.numConfig.val?a("v-uni-view",{staticClass:"pictrue acea-row row-center-wrapper row-column",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadpic(i,n)}}},[a("v-uni-image",{staticClass:"camera-icon",attrs:{src:t.domain+"/static/images/ic_camera.png"}}),a("v-uni-view",[t._v("上传图片")])],1):t._e(),t._l(e.value,(function(e,o){return a("v-uni-view",{key:o,staticClass:"pictrue"},[a("v-uni-image",{attrs:{src:e,mode:"aspectFill"}}),a("v-uni-view",{staticClass:"close acea-row row-center-wrapper",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.DelPic(i,n,o)}}},[a("v-uni-view",{staticClass:"iconfont icon-ic_close"})],1)],1)}))],2)],1):t._e()],1)]})),a("timeranges",{attrs:{isShow:t.isShow,time:t.timeranges},on:{confrim:function(e){arguments[0]=e=t.$handleEvent(e),t.confrim.apply(void 0,arguments)},cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.cancels.apply(void 0,arguments)}}}),a("areaWindow",{ref:"areaWindow",refInFor:!0,attrs:{display:t.display,address:t.addressInfoArea,cityShow:t.cityShow},on:{submit:function(e){arguments[0]=e=t.$handleEvent(e),t.OnAreaAddress.apply(void 0,arguments)},changeClose:function(e){arguments[0]=e=t.$handleEvent(e),t.changeAddressClose.apply(void 0,arguments)}}})],2)})),1):t._e()},o=[]},"7e1f":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"reservation",style:t.viewColor},[a("v-uni-view",{staticClass:"top"}),a("v-uni-view",{staticClass:"header",style:{marginTop:t.marTop}}),a("v-uni-view",{staticClass:"pad20 reservation-main"},[a("v-uni-view",[t._l(t.cartInfo,(function(e,i){return a("v-uni-view",{key:i,staticClass:"store-info bg-f boder-24"},[a("v-uni-view",{staticClass:"store-title acea-row row-middle",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.goStore(e.mer_id)}}},[a("v-uni-text",{staticClass:"iconfont icon-ic_mall"}),a("v-uni-view",{staticClass:"txt font-500"},[t._v(t._s(e.mer_name))]),a("v-uni-text",{staticClass:"iconfont icon-ic_rightarrow"})],1),t._l(e.list,(function(e,i){return a("v-uni-view",{key:i,staticClass:"product-item"},[a("v-uni-view",{staticClass:"img-box"},[a("v-uni-image",{attrs:{src:e.productAttr&&e.productAttr.image||e.product.image}})],1),a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"name line1"},[t._v(t._s(e.product.store_name))]),e.productAttr.sku?a("v-uni-view",{staticClass:"label",staticStyle:{width:"70%"}},[t._v(t._s(e.productAttr.sku))]):t._e(),a("v-uni-view",{staticClass:"acea-row row-middle"},[a("v-uni-view",{staticClass:"price acea-row row-bottom"},[a("priceFormat",{attrs:{price:e.productAttr.price,weight:!0,intSize:"28",floatSize:"20",labelSize:"20"}}),e.productAttr.show_svip_price?a("v-uni-view",{staticClass:"acea-row row-middle vip-price"},[a("v-uni-text",{staticClass:"vip-money regular"},[t._v("¥"+t._s(e.productAttr.product.svip_price))]),a("v-uni-image",{staticClass:"vip-image",attrs:{src:t.domain+"/static/images/svip.png"}})],1):t._e()],1)],1)],1),a("v-uni-view",{staticClass:"item-count"},[t._v("x"+t._s(e.cart_num))])],1)}))],2)})),a("associationForm",{ref:"associationForm",attrs:{formsValue:t.formList},on:{getDatas:function(e){arguments[0]=e=t.$handleEvent(e),t.getDatas.apply(void 0,arguments)}}})],2)],1),a("v-uni-view",{staticClass:"heights"}),a("v-uni-view",{staticClass:"reservation-bottom"},[a("v-uni-view",{staticClass:"footer acea-row row-between-wrapper"},[a("v-uni-view",{staticClass:"footer_count"},[a("v-uni-view",{staticClass:"acea-row"},[a("v-uni-view",[t._v("合计:")]),a("v-uni-view",{staticClass:"pColor"},[a("priceFormat",{attrs:{price:t.totalPrice,weight:!0,intSize:"48",floatSize:"32",labelSize:"32"}})],1)],1)],1),a("v-uni-view",{staticClass:"settlement",staticStyle:{"z-index":"100"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.SubOrder.apply(void 0,arguments)}}},[t._v("确认下单")])],1)],1)],1)},n=[]},"96b6":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.discount[data-v-3f6669f2]{text-align:right}',""]),t.exports=e},"9d8f":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.sys-head .bg[data-v-60a99ac0]{background-image:linear-gradient(90deg,var(--view-bntColor22),var(--view-bntColor21))}.reservation-main[data-v-60a99ac0]{position:relative;margin-top:%?-100?%}.reservation-header[data-v-60a99ac0]{background:hsla(0,0%,100%,.9)}.store-info .store-title[data-v-60a99ac0]{display:flex;align-items:center;padding:%?28?% %?30?%}.store-info .store-title .icon-ic_mall[data-v-60a99ac0]{font-size:%?32?%}.store-info .store-title .icon-ic_rightarrow[data-v-60a99ac0]{font-size:%?26?%}.store-info .store-title .txt[data-v-60a99ac0]{margin:0 %?8?%}.store-info .product-item[data-v-60a99ac0]{display:flex;padding:0 %?30?% %?26?%}.store-info .product-item .img-box[data-v-60a99ac0]{width:%?130?%;height:%?130?%}.store-info .product-item .img-box uni-image[data-v-60a99ac0]{width:%?130?%;height:%?130?%;border-radius:%?16?%}.store-info .product-item .content[data-v-60a99ac0]{position:relative;width:%?550?%;margin-left:%?20?%;font-size:%?28?%;color:#282828;overflow:hidden}.store-info .product-item .content .line1[data-v-60a99ac0]{width:%?480?%}.store-info .product-item .content .label[data-v-60a99ac0]{margin-top:%?8?%;color:#999;font-size:%?20?%}.store-info .product-item .content .price[data-v-60a99ac0]{margin-top:%?10?%;position:relative;color:var(--view-theme)}.store-info .product-item .content .price .vip-price[data-v-60a99ac0]{position:relative;top:%?-2?%}.store-info .product-item .content .vip-money[data-v-60a99ac0]{margin-left:%?13?%;color:#282828;font-size:%?22?%;font-weight:700;margin-left:%?12?%}.store-info .product-item .content .vip-image[data-v-60a99ac0]{width:%?60?%;height:%?25?%;margin-left:%?6?%}.store-info .product-item .item-count[data-v-60a99ac0]{color:#999;font-size:%?26?%}.reservation-bottom[data-v-60a99ac0]{width:100%;position:fixed;bottom:0;left:0;background-color:#fff}.reservation-bottom .area-tip[data-v-60a99ac0]{padding:0 %?32?%;height:%?80?%;background:var(--view-bgColor);color:var(--view-theme)}.reservation-bottom .area-tip .iconfont[data-v-60a99ac0]{margin-right:%?10?%}.reservation .footer[data-v-60a99ac0]{width:100%;height:%?100?%;height:calc(120rpx+ constant(safe-area-inset-bottom));height:calc(%?120?% + env(safe-area-inset-bottom));padding:0 %?30?%;font-size:%?28?%;color:#333;box-sizing:border-box;z-index:30}.reservation .footer .footer_count[data-v-60a99ac0]{font-size:%?28?%}.reservation .footer .footer_count > uni-view[data-v-60a99ac0]{align-items:baseline}.reservation .footer .footer_count .pColor[data-v-60a99ac0]{margin-left:%?12?%}.reservation .footer .coupon_price[data-v-60a99ac0]{color:#999;font-size:%?22?%;margin-top:%?10?%}.reservation .footer .coupon_price .detail[data-v-60a99ac0]{color:#666;background:#f5f5f5;border-radius:%?26?%;margin-left:%?20?%;height:%?34?%;line-height:%?34?%;display:inline-block;width:%?104?%;text-align:center;font-size:%?18?%}.pColor[data-v-60a99ac0]{color:var(--view-priceColor)}.reservation .footer .settlement[data-v-60a99ac0]{font-size:%?30?%;color:#fff;width:%?200?%;height:%?72?%;background-color:var(--view-theme);border-radius:%?60?%;text-align:center;line-height:%?72?%;font-size:%?26?%}.reservation .footer .settlement.disabled[data-v-60a99ac0]{background-color:#ccc}.heights[data-v-60a99ac0]{height:calc(140rpx+ constant(safe-area-inset-bottom));height:calc(%?140?% + env(safe-area-inset-bottom))}.header[data-v-60a99ac0]{height:%?160?%;background:linear-gradient(1turn,#f5f5f5,hsla(0,0%,96.1%,0));background-image:linear-gradient(90deg,var(--view-bntColor22),var(--view-bntColor21));position:relative}.header[data-v-60a99ac0]::after{content:"";position:absolute;left:0;bottom:0;width:100%;height:%?86?%;background:linear-gradient(0deg,#f5f5f5,hsla(0,0%,96.1%,0))}',""]),t.exports=e},"9dee":function(t,e,a){"use strict";a.r(e);var i=a("cb5b"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},b083:function(t,e,a){"use strict";var i=a("638d"),n=a.n(i);n.a},caf8:function(t,e,a){var i=a("9d8f");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("967d").default;n("d42312cc",i,!0,{sourceMap:!1,shadowMode:!1})},cb5b:function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("aa9c"),a("d4b5"),a("bf0f"),a("2797"),a("64aa"),a("5ef2"),a("4100"),a("dc8a"),a("fd3c"),a("dd2b");var n=i(a("f1d3")),o=i(a("4963")),s=i(a("ea2b")),r=a("aa10"),c={},l={components:{areaWindow:n.default,timeranges:o.default},props:{formsValue:{type:Object,default:function(){return{}}}},data:function(){return{formValue:[],isShow:!1,display:!1,cityShow:2,addressInfoArea:[],timeranges:[],timerangesIndex:0,formIndex:0,newImg:[],domain:r.HTTP_REQUEST_URL}},mounted:function(){},methods:{getFormList:function(t,e){for(var a=[],i=this.getFormData(t),n=0;n<e;n++)a.push(JSON.parse(JSON.stringify(i)));this.formValue=a},getFormData:function(t){var e=this,a=e.objToArr(t.value);return a.forEach((function(t,a,i){if(e.$set(t,"value",""),c[a]="","texts"==t.name)t.defaultValConfig.value?t.value=t.defaultValConfig.value:t.value="";else if("radios"==t.name)t.value=t.wordsConfig.list[0].val;else if("uploadPicture"==t.name)t.value=[],t.scrollWidth="106rpx";else if("dateranges"==t.name)if(0==t.valConfig.tabVal)if(0==t.valConfig.tabData){var n=(0,s.default)(new Date(Number((new Date).getTime()))).format("YYYY-MM-DD");t.value=[n,n]}else{var o=(0,s.default)(new Date(Number(new Date(t.valConfig.specifyDate[0]).getTime()))).format("YYYY-MM-DD"),r=(0,s.default)(new Date(Number(new Date(t.valConfig.specifyDate[1]).getTime()))).format("YYYY-MM-DD");t.value=[o,r]}else t.value=[];else if(-1!=["times","dates","timeranges"].indexOf(t.name))if(0==t.valConfig.tabVal)if(0==t.valConfig.tabData)if("times"==t.name)t.value=(0,s.default)(new Date(Number((new Date).getTime()))).format("HH:mm");else if("dates"==t.name)t.value=(0,s.default)(new Date(Number((new Date).getTime()))).format("YYYY-MM-DD");else{var l=(0,s.default)(new Date(Number((new Date).getTime()))).format("HH:mm");t.value=l+" - "+l}else"times"==t.name||"dates"==t.name?t.value=t.valConfig.specifyDate:t.value=t.valConfig.specifyDate[0]+" - "+t.valConfig.specifyDate[1];else t.value="";else t.value=""})),a.sort((function(t,e){return t.timestamp-e.timestamp})),a},objToArr:function(t){var e=Object.keys(t),a=e.map((function(e){return t[e]}));return a},radioChange:function(t,e,a,i){this.formValue[e][a].value=i.wordsConfig.list[t.detail.value].val},checkboxChange:function(t,e,a,i){var n=t.detail.value,o="";i.wordsConfig.list.forEach((function(t,e){n.forEach((function(a){e==a&&(o=o+(o?",":"")+t.val)}))})),this.formValue[e][a].value=o},bindDateChange:function(t,e,a){this.formValue[e][a].value=t.target.value,this.$forceUpdate()},bindTimeChange:function(t,e,a){this.formValue[e][a].value=t.target.value},getTimeranges:function(t,e){this.isShow=!0,this.formIndex=t,this.timerangesIndex=e},bindSelectChange:function(t,e,a,i){this.$set(this.formValue[e][a],"value",i.wordsConfig.list[t.detail.value].val)},changeRegion:function(t,e){this.formValue[t][e].value||(this.addressInfoArea=[]),this.timerangesIndex=e,this.cityShow=Number(this.formValue[t][e].valConfig.tabVal)+1,this.formIndex=t,this.display=!0,c[t]&&(this.addressInfoArea=c[t])},uploadpic:function(t,e){var a=this;this.$util.uploadImageOne("upload/image",(function(i){var n=a.formValue[t][e]["value"];n.push(i.data.path),a.$set(a.formValue[t][e],"value",n),a.$set(a.formValue[t][e],"scrollWidth",118*(n.length+1)+"rpx")}))},DelPic:function(t,e,a){this.formValue[t][e].value;this.formValue[t][e].value.splice(a,1),this.$set(this.formValue[t][e],"value",this.formValue[e].value)},OnAreaAddress:function(t){var e;e=t.map((function(t){return t.name})).join("/"),this.formValue[this.formIndex][this.timerangesIndex].value=e,c[this.timerangesIndex]=t},changeAddressClose:function(){this.display=!1},confrim:function(t){this.isShow=!1,this.$set(this.formValue[this.formIndex][this.timerangesIndex],"value",t.time);var e=[];t.val.forEach((function(t){e.push(Number(t))})),this.timeranges=e},cancels:function(){this.isShow=!1},getFormValue:function(){return this.formValue}}};e.default=l},e7bf:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("v-uni-view",{staticClass:"time1",class:1==t.isShow?"on":""},[a("v-uni-view",{staticClass:"top acea-row row-between-wrapper"},[a("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.cancel.apply(void 0,arguments)}}},[t._v("取消")]),a("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)}}},[t._v("确定")])],1),a("v-uni-picker-view",{staticClass:"picker",attrs:{value:t.value,"indicator-style":"height:34px;"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.getime.apply(void 0,arguments)}}},[a("v-uni-picker-view-column",t._l(t.hoursList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"hours"},[t._v(t._s(e))])})),1),a("v-uni-picker-view-column",t._l(t.minutes,(function(e,i){return a("v-uni-view",{key:i,staticClass:"minutes"},[t._v(t._s(e))])})),1),a("v-uni-picker-view-column",[a("v-uni-view",{staticClass:"center"},[t._v("-")])],1),a("v-uni-picker-view-column",t._l(t.hoursList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"hours"},[t._v(t._s(e))])})),1),a("v-uni-picker-view-column",t._l(t.minutes,(function(e,i){return a("v-uni-view",{key:i,staticClass:"minutes"},[t._v(t._s(e))])})),1)],1)],1),a("v-uni-view",{staticClass:"mask",attrs:{catchtouchmove:"true",hidden:0==t.isShow},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.cancel.apply(void 0,arguments)}}})],1)},n=[]},ec61:function(t,e,a){"use strict";a.r(e);var i=a("761f"),n=a("9dee");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("b083");var s=a("828b"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"3f6669f2",null,!1,i["a"],void 0);e["default"]=r.exports},f8c4:function(t,e,a){"use strict";var i=a("caf8"),n=a.n(i);n.a}}]);