1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pageA-customized-customized"],{"0c16":function(e,t,n){var o=n("24fb");t=o(!1),t.push([e.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/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.u-input[data-v-54ca0272]{position:relative;flex:1;display:flex;flex-direction:row}.u-input__input[data-v-54ca0272]{font-size:%?28?%;color:#303133;flex:1}.u-input__textarea[data-v-54ca0272]{width:auto;font-size:%?28?%;color:#303133;padding:%?10?% 0;line-height:normal;flex:1}.u-input--border[data-v-54ca0272]{border-radius:%?6?%;border-radius:4px;border:1px solid #dcdfe6}.u-input--error[data-v-54ca0272]{border-color:#fa3534!important}.u-input__right-icon__item[data-v-54ca0272]{margin-left:%?10?%}.u-input__right-icon--select[data-v-54ca0272]{transition:-webkit-transform .4s;transition:transform .4s;transition:transform .4s,-webkit-transform .4s}.u-input__right-icon--select--reverse[data-v-54ca0272]{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}',""]),e.exports=t},"18e4":function(e,t,n){"use strict";n("7a82");var o=n("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("a9e3"),n("498a");var r=o(n("50eb")),a={name:"u-input",mixins:[r.default],props:{value:{type:[String,Number],default:""},type:{type:String,default:"text"},inputAlign:{type:String,default:"left"},placeholder:{type:String,default:"请输入内容"},disabled:{type:Boolean,default:!1},maxlength:{type:[Number,String],default:140},placeholderStyle:{type:String,default:"color: #c0c4cc;"},confirmType:{type:String,default:"done"},customStyle:{type:Object,default:function(){return{}}},fixed:{type:Boolean,default:!1},focus:{type:Boolean,default:!1},passwordIcon:{type:Boolean,default:!0},border:{type:Boolean,default:!1},borderColor:{type:String,default:"#dcdfe6"},autoHeight:{type:Boolean,default:!0},selectOpen:{type:Boolean,default:!1},height:{type:[Number,String],default:""},clearable:{type:Boolean,default:!0},cursorSpacing:{type:[Number,String],default:0},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},trim:{type:Boolean,default:!0},showConfirmbar:{type:Boolean,default:!0}},data:function(){return{defaultValue:this.value,inputHeight:70,textareaHeight:100,validateState:!1,focused:!1,showPassword:!1,lastValue:""}},watch:{value:function(e,t){this.defaultValue=e,e!=t&&"select"==this.type&&this.handleInput({detail:{value:e}})}},computed:{inputMaxlength:function(){return Number(this.maxlength)},getStyle:function(){var e={};return e.minHeight=this.height?this.height+"rpx":"textarea"==this.type?this.textareaHeight+"rpx":this.inputHeight+"rpx",e=Object.assign(e,this.customStyle),e},getCursorSpacing:function(){return Number(this.cursorSpacing)},uSelectionStart:function(){return String(this.selectionStart)},uSelectionEnd:function(){return String(this.selectionEnd)}},created:function(){this.$on("on-form-item-error",this.onFormItemError)},methods:{handleInput:function(e){var t=this,n=e.detail.value;this.trim&&(n=this.$u.trim(n)),this.$emit("input",n),this.defaultValue=n,setTimeout((function(){t.dispatch("u-form-item","on-form-change",n)}),40)},handleBlur:function(e){var t=this;setTimeout((function(){t.focused=!1}),100),this.$emit("blur",e.detail.value),setTimeout((function(){t.dispatch("u-form-item","on-form-blur",e.detail.value)}),40)},onFormItemError:function(e){this.validateState=e},onFocus:function(e){this.focused=!0,this.$emit("focus")},onConfirm:function(e){this.$emit("confirm",e.detail.value)},onClear:function(e){this.$emit("input","")},inputClick:function(){this.$emit("click")}}};t.default=a},"18f6":function(e,t,n){"use strict";n("7a82");var o=n("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("ac1f"),n("5319"),n("d3b7"),n("159b"),n("fb6a");var r=o(n("45ed")),a={data:function(){return{countyName:"城市名称",countyHide:!1,countyIndex:[1],selector:[],form:{no:"",price_min:"",price_max:"",remark:"",name:"",phone:"",county:"",address:""}}},components:{wPicker:r.default},onLoad:function(){this.area_tree()},filters:{areaName:function(e){return e.replace("省","").replace("特别行政区","").replace("壮族自治区","").replace("回族自治区","").replace("维吾尔自治区","").replace("自治区","")}},methods:{onConfirm:function(e){console.log(e),this.form.county=e.value[2],this.countyName=e.result,this.countyIndex=e.value},onCancel:function(){},order_no:function(){var e=this;""!=this.form.no?""!=this.form.name?this.$check.checkName(this.form.name)?""!=this.form.phone?this.$check.checkMobile(this.form.phone)?""!=this.form.address?this.$http.order_no(this.form).then((function(t){console.log(t),1==t.data.code?(e.$refs.uToast.show({title:"预定完成",type:"success"}),uni.reLaunch({url:"/pages/index/index"})):e.$refs.uToast.show({title:t.data.msg,type:"error "})})):this.$refs.uToast.show({title:"请输入地址",type:"error "}):this.$refs.uToast.show({title:"请输入正确手机号的格式",type:"error "}):this.$refs.uToast.show({title:"请输入手机号",type:"error "}):this.$refs.uToast.show({title:"请输入正确的格式",type:"error "}):this.$refs.uToast.show({title:"请输入姓名",type:"error "}):this.$refs.uToast.show({title:"请输入预定手机号",type:"error "})},area_tree:function(){var e=this;this.$http.area_tree().then((function(t){1===t.data.code&&(e.selector=t.data.data,console.log(e.selector),e.loca())}))},loca:function(){var e=this;"TOUTIAO"!=e.mixin_type&&"H5"!=e.mixin_type?ks.getSetting({success:function(t){t.authSetting["scope.userLocation"]||uni.getLocation({type:"wgs84",success:function(t){console.log("当前位置的经度:"+t.longitude),console.log("当前位置的纬度:"+t.latitude),e.loAcquire(t.longitude,t.latitude)}})}}):"H5"==e.mixin_type?e.jsonp("https://apis.map.qq.com/ws/location/v1/ip",{key:"O7NBZ-PTTCG-OEPQF-I6MTS-YEKCJ-OCFVO",output:"jsonp"}).then((function(t){console.log(t.result.ad_info);var n=t.result.ad_info;e.cityId(n.province,n.city,n.district)})):uni.getLocation({type:"wgs84",highAccuracyExpireTime:100,success:function(t){console.log("当前位置的经度:"+t.longitude),console.log("当前位置的纬度:"+t.latitude),e.loAcquire(t.longitude,t.latitude)}})},loAcquire:function(e,t){var n=this;this.myAmapFun.reverseGeocoder({location:{latitude:t,longitude:e},success:function(e){console.log("解析地址成功"),console.log(e),n.cityId(e.result.address_component.province,e.result.address_component.city,e.result.address_component.district)},fail:function(e){uni.showToast({title:"定位失败",duration:2e3,icon:"none"}),console.log(e)},complete:function(e){console.log(e)}})},confirm:function(e){console.log(e),this.form.county=e[2].value,this.countyName=e[0].label+e[1].label+e[2].label},cityId:function(e,t,n){var o=this;this.selector.forEach((function(r,a){r.label.slice(0,2)!=e.slice(0,2)&&r.label!=e||(console.log(r.label),console.log(r.value),r.children.forEach((function(e,i){e.label.slice(0,2)!=t.slice(0,2)&&e.label!=t||(console.log(e.label),console.log(e.value),e.children.forEach((function(t,l){t.label.slice(0,2)!=n.slice(0,2)&&t.label!=n||(console.log(t.label),console.log(t.value),o.countyIndex=[a,i,l],o.countyName=r.label+e.label+t.label,o.form.county=t.value)})))})))}))}}};t.default=a},"6db6":function(e,t,n){"use strict";n.r(t);var o=n("18e4"),r=n.n(o);for(var a in o)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(a);t["default"]=r.a},"771e2":function(e,t,n){var o=n("0c16");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var r=n("4f06").default;r("8a566be8",o,!0,{sourceMap:!1,shadowMode:!1})},"7a6c":function(e,t,n){var o=n("f53f");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var r=n("4f06").default;r("0802529a",o,!0,{sourceMap:!1,shadowMode:!1})},"82d7":function(e,t,n){"use strict";n.r(t);var o=n("86c5"),r=n("c9c7");for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);n("fd98");var i=n("f0c5"),l=Object(i["a"])(r["default"],o["b"],o["c"],!1,null,"65b7940e",null,!1,o["a"],void 0);t["default"]=l.exports},"86c5":function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return o}));var o={uToast:n("5e25").default,uForm:n("771e").default,uFormItem:n("d2e9").default,uInput:n("d342").default,wPicker:n("45ed").default},r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"cooperation"},[n("u-toast",{ref:"uToast"}),n("v-uni-view",{staticClass:"formBgc"},[n("v-uni-view",{staticClass:"msg"},[e._v("因政策原因"),e._l(e.configAll.disable_send_province,(function(t,o){return n("v-uni-text",{key:o},[e._v(e._s(e._f("areaName")(t.name)))])})),e._v("不发货")],2),n("v-uni-view",{staticClass:"form"},[n("v-uni-view",{staticClass:"formInput"},[n("u-form",{attrs:{model:e.form,"label-width":"280"}},[n("u-form-item",{attrs:{label:"预定号码"}},[n("u-input",{attrs:{"placeholder-style":"font-size:26rpx;",clearable:!1,placeholder:"请输入预定号码"},model:{value:e.form.no,callback:function(t){e.$set(e.form,"no",t)},expression:"form.no"}})],1),n("u-form-item",{staticClass:"remark",attrs:{label:"可接受最低价格"}},[n("u-input",{attrs:{"placeholder-style":"font-size:26rpx;",clearable:!1,placeholder:"请输入最低价格"},model:{value:e.form.price_min,callback:function(t){e.$set(e.form,"price_min",t)},expression:"form.price_min"}})],1),n("u-form-item",{staticClass:"remark",attrs:{label:"可接受最高价格"}},[n("u-input",{attrs:{"placeholder-style":"font-size:26rpx;",clearable:!1,placeholder:"请输入最高价格"},model:{value:e.form.price_max,callback:function(t){e.$set(e.form,"price_max",t)},expression:"form.price_max"}})],1),n("u-form-item",{staticClass:"remark",attrs:{label:"备注信息"}},[n("u-input",{attrs:{"placeholder-style":"font-size:26rpx;",clearable:!1,placeholder:"请输入备注信息"},model:{value:e.form.remark,callback:function(t){e.$set(e.form,"remark",t)},expression:"form.remark"}})],1),n("u-form-item",{attrs:{label:"姓名"}},[n("u-input",{attrs:{"placeholder-style":"font-size:26rpx;",clearable:!1,placeholder:"请输入真实姓名"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1),n("u-form-item",{attrs:{label:"联系电话"}},[n("u-input",{attrs:{"placeholder-style":"font-size:26rpx;",clearable:!1,placeholder:"请输入手机号"},model:{value:e.form.phone,callback:function(t){e.$set(e.form,"phone",t)},expression:"form.phone"}})],1),n("u-form-item",{attrs:{label:"城市"}},[n("v-uni-view",{staticClass:"county",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.countyHide=!e.countyHide}}},[e._v(e._s(e.countyName))]),n("w-picker",{ref:"region",attrs:{visible:e.countyHide,mode:"region",value:e.countyIndex,"default-type":"value","hide-area":!1},on:{"update:visible":function(t){arguments[0]=t=e.$handleEvent(t),e.countyHide=t},confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.onConfirm(t,"region")},cancel:function(t){arguments[0]=t=e.$handleEvent(t),e.onCancel.apply(void 0,arguments)}}})],1),n("u-form-item",{attrs:{label:"详细地址"}},[n("u-input",{attrs:{"placeholder-style":"font-size:26rpx;",clearable:!1,placeholder:"请输入详细地址"},model:{value:e.form.address,callback:function(t){e.$set(e.form,"address",t)},expression:"form.address"}})],1)],1),n("v-uni-view",{staticClass:"btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.order_no()}}},[e._v("立即预定")])],1)],1)],1)],1)},a=[]},c9c7:function(e,t,n){"use strict";n.r(t);var o=n("18f6"),r=n.n(o);for(var a in o)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(a);t["default"]=r.a},d206:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return o}));var o={uIcon:n("bf5b").default},r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"u-input",class:{"u-input--border":e.border,"u-input--error":e.validateState},style:{padding:"0 "+(e.border?20:0)+"rpx",borderColor:e.borderColor,textAlign:e.inputAlign},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.inputClick.apply(void 0,arguments)}}},["textarea"==e.type?n("v-uni-textarea",{staticClass:"u-input__input u-input__textarea",style:[e.getStyle],attrs:{value:e.defaultValue,placeholder:e.placeholder,placeholderStyle:e.placeholderStyle,disabled:e.disabled,maxlength:e.inputMaxlength,fixed:e.fixed,focus:e.focus,autoHeight:e.autoHeight,"selection-end":e.uSelectionEnd,"selection-start":e.uSelectionStart,"cursor-spacing":e.getCursorSpacing,"show-confirm-bar":e.showConfirmbar},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.handleInput.apply(void 0,arguments)},blur:function(t){arguments[0]=t=e.$handleEvent(t),e.handleBlur.apply(void 0,arguments)},focus:function(t){arguments[0]=t=e.$handleEvent(t),e.onFocus.apply(void 0,arguments)},confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.onConfirm.apply(void 0,arguments)}}}):n("v-uni-input",{staticClass:"u-input__input",style:[e.getStyle],attrs:{type:"password"==e.type?"text":e.type,value:e.defaultValue,password:"password"==e.type&&!e.showPassword,placeholder:e.placeholder,placeholderStyle:e.placeholderStyle,disabled:e.disabled||"select"===e.type,maxlength:e.inputMaxlength,focus:e.focus,confirmType:e.confirmType,"cursor-spacing":e.getCursorSpacing,"selection-end":e.uSelectionEnd,"selection-start":e.uSelectionStart,"show-confirm-bar":e.showConfirmbar},on:{focus:function(t){arguments[0]=t=e.$handleEvent(t),e.onFocus.apply(void 0,arguments)},blur:function(t){arguments[0]=t=e.$handleEvent(t),e.handleBlur.apply(void 0,arguments)},input:function(t){arguments[0]=t=e.$handleEvent(t),e.handleInput.apply(void 0,arguments)},confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.onConfirm.apply(void 0,arguments)}}}),n("v-uni-view",{staticClass:"u-input__right-icon u-flex"},[e.clearable&&""!=e.value&&e.focused?n("v-uni-view",{staticClass:"u-input__right-icon__clear u-input__right-icon__item",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onClear.apply(void 0,arguments)}}},[n("u-icon",{attrs:{size:"32",name:"close-circle-fill",color:"#c0c4cc"}})],1):e._e(),e.passwordIcon&&"password"==e.type?n("v-uni-view",{staticClass:"u-input__right-icon__clear u-input__right-icon__item"},[n("u-icon",{attrs:{size:"32",name:e.showPassword?"eye-fill":"eye",color:"#c0c4cc"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showPassword=!e.showPassword}}})],1):e._e(),"select"==e.type?n("v-uni-view",{staticClass:"u-input__right-icon--select u-input__right-icon__item",class:{"u-input__right-icon--select--reverse":e.selectOpen}},[n("u-icon",{attrs:{name:"arrow-down-fill",size:"26",color:"#c0c4cc"}})],1):e._e()],1)],1)},a=[]},d342:function(e,t,n){"use strict";n.r(t);var o=n("d206"),r=n("6db6");for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);n("f0d2");var i=n("f0c5"),l=Object(i["a"])(r["default"],o["b"],o["c"],!1,null,"54ca0272",null,!1,o["a"],void 0);t["default"]=l.exports},f0d2:function(e,t,n){"use strict";var o=n("771e2"),r=n.n(o);r.a},f53f:function(e,t,n){var o=n("24fb");t=o(!1),t.push([e.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/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.cooperation[data-v-65b7940e]{width:100%}.cooperation .formBgc[data-v-65b7940e]{width:100%;height:%?725?%;background:linear-gradient(#d52e4c,#fff);padding-top:%?60?%}.cooperation .formBgc .msg[data-v-65b7940e]{font-size:%?24?%;color:#fff;text-align:center;margin-bottom:%?30?%}.cooperation .formBgc .form[data-v-65b7940e]{width:%?703?%;box-sizing:border-box;padding:%?30?%;position:relative;margin:%?20?% auto %?10?%;background-color:#fff;border-radius:%?20?%}.cooperation .formBgc .form .btn[data-v-65b7940e]{width:%?569?%;height:%?77?%;line-height:%?77?%;background:#d52e4c;border-radius:%?39?%;margin:%?20?% auto;text-align:center;color:#fff;font-size:%?32?%}.cooperation .formBgc .form .orderTit uni-text[data-v-65b7940e]{margin-left:%?30?%;color:#696969}.cooperation .formBgc .form .formInput .u-form-item[data-v-65b7940e] .u-form-item--left__content__label{position:relative;padding-left:%?30?%}.cooperation .formBgc .form .formInput .u-form-item[data-v-65b7940e] .u-form-item--left__content__label::after{content:"*";position:absolute;left:%?18?%;top:0;color:red}.cooperation .formBgc .form .formInput .remark[data-v-65b7940e] .u-form-item--left__content__label::after{display:none}',""]),e.exports=t},fd98:function(e,t,n){"use strict";var o=n("7a6c"),r=n.n(o);r.a}}]);
|