1 line
29 KiB
JavaScript
1 line
29 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-my-register"],{"0618":function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("64aa");var a={props:{bgColor:{type:String,default:uni.$u.props.gap.bgColor},height:{type:[String,Number],default:uni.$u.props.gap.height},marginTop:{type:[String,Number],default:uni.$u.props.gap.marginTop},marginBottom:{type:[String,Number],default:uni.$u.props.gap.marginBottom}}};t.default=a},"07af":function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("64aa");var a={props:{name:{type:String,default:uni.$u.props.checkboxGroup.name},value:{type:Array,default:uni.$u.props.checkboxGroup.value},shape:{type:String,default:uni.$u.props.checkboxGroup.shape},disabled:{type:Boolean,default:uni.$u.props.checkboxGroup.disabled},activeColor:{type:String,default:uni.$u.props.checkboxGroup.activeColor},inactiveColor:{type:String,default:uni.$u.props.checkboxGroup.inactiveColor},size:{type:[String,Number],default:uni.$u.props.checkboxGroup.size},placement:{type:String,default:uni.$u.props.checkboxGroup.placement},labelSize:{type:[String,Number],default:uni.$u.props.checkboxGroup.labelSize},labelColor:{type:[String],default:uni.$u.props.checkboxGroup.labelColor},labelDisabled:{type:Boolean,default:uni.$u.props.checkboxGroup.labelDisabled},iconColor:{type:String,default:uni.$u.props.checkboxGroup.iconColor},iconSize:{type:[String,Number],default:uni.$u.props.checkboxGroup.iconSize},iconPlacement:{type:String,default:uni.$u.props.checkboxGroup.iconPlacement},borderBottom:{type:Boolean,default:uni.$u.props.checkboxGroup.borderBottom}}};t.default=a},"1ae3b":function(e,t,n){var a=n("c86c");t=a(!1),t.push([e.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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-view[data-v-a54a97e0], uni-scroll-view[data-v-a54a97e0], uni-swiper-item[data-v-a54a97e0]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}',""]),e.exports=t},"29f1":function(e,t,n){var a=n("9e56");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("967d").default;i("35f276d2",a,!0,{sourceMap:!1,shadowMode:!1})},"31d4":function(e,t,n){var a=n("9452");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("967d").default;i("96e30466",a,!0,{sourceMap:!1,shadowMode:!1})},3669:function(e,t,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n("2634")),o=a(n("9b1b")),c=a(n("2fdc")),r=n("75a0"),u=(n("ff67"),{data:function(){return{showSex:!1,showType:!1,userInfo:{account:"",sex:"男",phone:"",email:"",type:"个人",enterprise:"",position:"",shipping_address:"",receiving_address:""},actions:[{name:"男"},{name:"女"}],typeActions:[{name:"个人"},{name:"企业"}],rules:{},agreement1:[]}},methods:{sexSelect:function(e){this.userInfo.sex=e.name,this.$refs.uForm.validateField("userInfo.sex")},typeSelect:function(e){this.userInfo.type=e.name,this.$refs.uForm.validateField("userInfo.type")},agreement:function(e){uni.navigateTo({url:"/pages/index/details?id="+e})},register:function(){var e=this;return(0,c.default)((0,i.default)().mark((function t(){return(0,i.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(console.log(),1===e.agreement1.length){t.next=4;break}return uni.showToast({title:"请阅读并勾选相关协议!",icon:"none"}),t.abrupt("return",!1);case 4:uni.showLoading({title:"注册中"}),(0,r.post)("/myapi/api/yq_driver/register",(0,o.default)({},e.userInfo)).then((function(e){setTimeout((function(){uni.hideLoading(),uni.showToast({title:"恭喜你,注册成功!",icon:"none"}),uni.setStorageSync("token",e.data.token),setTimeout((function(){uni.showToast({title:"正在登录",icon:"none"}),setTimeout((function(){uni.switchTab({url:"/pages/my/index"})}),500)}),1500)}),1500)}));case 6:case"end":return t.stop()}}),t)})))()}}});t.default=u},"3f2e":function(e,t,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n("3593")),o=a(n("20eb")),c=a(n("4298")),r={name:"u-action-sheet",mixins:[i.default,o.default,uni.$u.mixin,c.default],data:function(){return{}},computed:{itemStyle:function(){var e=this;return function(t){var n={};return e.actions[t].color&&(n.color=e.actions[t].color),e.actions[t].fontSize&&(n.fontSize=uni.$u.addUnit(e.actions[t].fontSize)),e.actions[t].disabled&&(n.color="#c0c4cc"),n}}},methods:{closeHandler:function(){this.closeOnClickOverlay&&this.$emit("close")},cancel:function(){this.$emit("close")},selectHandler:function(e){var t=this.actions[e];!t||t.disabled||t.loading||(this.$emit("select",t),this.closeOnClickAction&&this.$emit("close"))}}};t.default=r},4298:function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("01a2"),n("e39c"),n("64aa");var a={props:{show:{type:Boolean,default:uni.$u.props.actionSheet.show},title:{type:String,default:uni.$u.props.actionSheet.title},description:{type:String,default:uni.$u.props.actionSheet.description},actions:{type:Array,default:uni.$u.props.actionSheet.actions},cancelText:{type:String,default:uni.$u.props.actionSheet.cancelText},closeOnClickAction:{type:Boolean,default:uni.$u.props.actionSheet.closeOnClickAction},safeAreaInsetBottom:{type:Boolean,default:uni.$u.props.actionSheet.safeAreaInsetBottom},openType:{type:String,default:uni.$u.props.actionSheet.openType},closeOnClickOverlay:{type:Boolean,default:uni.$u.props.actionSheet.closeOnClickOverlay},round:{type:[String,Number],default:uni.$u.props.actionSheet.round}}};t.default=a},"4fba":function(e,t,n){"use strict";n.r(t);var a=n("5a8a"),i=n("b052");for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);n("ffcb");var c=n("828b"),r=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,"5aa6df3c",null,!1,a["a"],void 0);t["default"]=r.exports},"5a8a":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a}));var a={"u-Form":n("051a").default,uFormItem:n("f521").default,"u-Input":n("eaa2").default,uActionSheet:n("89a9").default,uCheckboxGroup:n("b302").default,uCheckbox:n("beed").default,"u-Text":n("5654").default,uButton:n("14ce").default},i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"container"},[n("u--form",{ref:"uForm",attrs:{labelPosition:"top",model:e.userInfo,rules:e.rules,labelWidth:"120"}},[n("u-form-item",{ref:"item1",attrs:{label:"真实姓名",prop:"userInfo.account",borderBottom:!0,required:!0}},[n("u--input",{attrs:{border:"none",maxlength:"5",placeholder:"请输入真实姓名"},model:{value:e.userInfo.account,callback:function(t){e.$set(e.userInfo,"account",t)},expression:"userInfo.account"}})],1),n("u-form-item",{ref:"item1",attrs:{label:"手机号码",prop:"userInfo.phone",borderBottom:!0,required:!0}},[n("u--input",{attrs:{border:"none",maxlength:"11",placeholder:"请输入手机号码"},model:{value:e.userInfo.phone,callback:function(t){e.$set(e.userInfo,"phone",t)},expression:"userInfo.phone"}})],1)],1),n("u-action-sheet",{attrs:{show:e.showSex,actions:e.actions,title:"请选择性别",description:""},on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.showSex=!1},select:function(t){arguments[0]=t=e.$handleEvent(t),e.sexSelect.apply(void 0,arguments)}}}),n("u-action-sheet",{attrs:{show:e.showType,actions:e.typeActions,title:"请选择类型",description:""},on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.showType=!1},select:function(t){arguments[0]=t=e.$handleEvent(t),e.typeSelect.apply(void 0,arguments)}}}),n("v-uni-view",{staticClass:"agreement"},[n("v-uni-view",{staticClass:"content"},[n("u-checkbox-group",{attrs:{placement:"row"},model:{value:e.agreement1,callback:function(t){e.agreement1=t},expression:"agreement1"}},[n("u-checkbox",{attrs:{label:""}}),e._v("请阅读和勾选"),n("u--text",{attrs:{type:"primary",text:"用户协议"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.agreement(1)}}}),e._v("、"),n("u--text",{attrs:{type:"primary",text:"隐私政策"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.agreement(2)}}}),e._v("协议")],1)],1)],1),n("u-button",{staticClass:"btn",attrs:{type:"primary",text:"注册",shape:"circle"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.register.apply(void 0,arguments)}}})],1)},o=[]},7081:function(e,t,n){var a=n("1ae3b");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("967d").default;i("4f7cd610",a,!0,{sourceMap:!1,shadowMode:!1})},"733d":function(e,t,n){"use strict";n.r(t);var a=n("934d"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);t["default"]=i.a},8937:function(e,t,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("fd3c"),n("aa9c");var i=a(n("07af")),o={name:"u-checkbox-group",mixins:[uni.$u.mpMixin,uni.$u.mixin,i.default],computed:{parentData:function(){return[this.value,this.disabled,this.inactiveColor,this.activeColor,this.size,this.labelDisabled,this.shape,this.iconSize,this.borderBottom,this.placement]},bemClass:function(){return this.bem("checkbox-group",["placement"])}},watch:{parentData:function(){this.children.length&&this.children.map((function(e){"function"===typeof e.init&&e.init()}))}},data:function(){return{}},created:function(){this.children=[]},methods:{unCheckedOther:function(e){var t=[];this.children.map((function(e){e.isChecked&&t.push(e.name)})),this.$emit("change",t),this.$emit("input",t)}}};t.default=o},"89a9":function(e,t,n){"use strict";n.r(t);var a=n("bb10"),i=n("9020");for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);n("c117");var c=n("828b"),r=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,"5a6c3da4",null,!1,a["a"],void 0);t["default"]=r.exports},9020:function(e,t,n){"use strict";n.r(t);var a=n("3f2e"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);t["default"]=i.a},"934d":function(e,t,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("aa9c"),n("5c47"),n("0506"),n("bf0f");var i=a(n("ae07")),o={name:"u-checkbox",mixins:[uni.$u.mpMixin,uni.$u.mixin,i.default],data:function(){return{isChecked:!1,parentData:{iconSize:12,labelDisabled:null,disabled:null,shape:"square",activeColor:null,inactiveColor:null,size:18,value:null,iconColor:null,placement:"row",borderBottom:!1,iconPlacement:"left"}}},computed:{elDisabled:function(){return""!==this.disabled?this.disabled:null!==this.parentData.disabled&&this.parentData.disabled},elLabelDisabled:function(){return""!==this.labelDisabled?this.labelDisabled:null!==this.parentData.labelDisabled&&this.parentData.labelDisabled},elSize:function(){return this.size?this.size:this.parentData.size?this.parentData.size:21},elIconSize:function(){return this.iconSize?this.iconSize:this.parentData.iconSize?this.parentData.iconSize:12},elActiveColor:function(){return this.activeColor?this.activeColor:this.parentData.activeColor?this.parentData.activeColor:"#2979ff"},elInactiveColor:function(){return this.inactiveColor?this.inactiveColor:this.parentData.inactiveColor?this.parentData.inactiveColor:"#c8c9cc"},elLabelColor:function(){return this.labelColor?this.labelColor:this.parentData.labelColor?this.parentData.labelColor:"#606266"},elShape:function(){return this.shape?this.shape:this.parentData.shape?this.parentData.shape:"circle"},elLabelSize:function(){return uni.$u.addUnit(this.labelSize?this.labelSize:this.parentData.labelSize?this.parentData.labelSize:"15")},elIconColor:function(){var e=this.iconColor?this.iconColor:this.parentData.iconColor?this.parentData.iconColor:"#ffffff";return this.elDisabled?this.isChecked?this.elInactiveColor:"transparent":this.isChecked?e:"transparent"},iconClasses:function(){var e=[];return e.push("u-checkbox__icon-wrap--"+this.elShape),this.elDisabled&&e.push("u-checkbox__icon-wrap--disabled"),this.isChecked&&this.elDisabled&&e.push("u-checkbox__icon-wrap--disabled--checked"),e},iconWrapStyle:function(){var e={};return e.backgroundColor=this.isChecked&&!this.elDisabled?this.elActiveColor:"#ffffff",e.borderColor=this.isChecked&&!this.elDisabled?this.elActiveColor:this.elInactiveColor,e.width=uni.$u.addUnit(this.elSize),e.height=uni.$u.addUnit(this.elSize),"right"===this.parentData.iconPlacement&&(e.marginRight=0),e},checkboxStyle:function(){var e={};return this.parentData.borderBottom&&"row"===this.parentData.placement&&uni.$u.error("检测到您将borderBottom设置为true,需要同时将u-checkbox-group的placement设置为column才有效"),this.parentData.borderBottom&&"column"===this.parentData.placement&&(e.paddingBottom="8px"),uni.$u.deepMerge(e,uni.$u.addStyle(this.customStyle))}},mounted:function(){this.init()},methods:{init:function(){var e=this;this.updateParentData(),this.parent||uni.$u.error("u-checkbox必须搭配u-checkbox-group组件使用"),this.checked?this.isChecked=!0:uni.$u.test.array(this.parentData.value)&&(this.isChecked=this.parentData.value.some((function(t){return t===e.name})))},updateParentData:function(){this.getParentData("u-checkbox-group")},wrapperClickHandler:function(e){"right"===this.parentData.iconPlacement&&this.iconClickHandler(e)},iconClickHandler:function(e){this.preventEvent(e),this.elDisabled||this.setRadioCheckedStatus()},labelClickHandler:function(e){this.preventEvent(e),this.elLabelDisabled||this.elDisabled||this.setRadioCheckedStatus()},emitEvent:function(){var e=this;this.$emit("change",this.isChecked),this.$nextTick((function(){uni.$u.formValidate(e,"change")}))},setRadioCheckedStatus:function(){this.isChecked=!this.isChecked,this.emitEvent(),"function"===typeof this.parent.unCheckedOther&&this.parent.unCheckedOther(this)}},watch:{checked:function(){this.isChecked=this.checked}}};t.default=o},9452:function(e,t,n){var a=n("c86c");t=a(!1),t.push([e.i,".container[data-v-5aa6df3c]{padding:10px 20px}.container .btn[data-v-5aa6df3c]{margin-top:10px;font-size:24px}.container .agreement[data-v-5aa6df3c]{display:flex;flex-direction:column;margin:10px 0 20px}.container .agreement .content[data-v-5aa6df3c]{display:flex;margin-top:10px}[data-v-5aa6df3c] .u-checkbox__icon-wrap--square{border-radius:15px!important}",""]),e.exports=t},"9e56":function(e,t,n){var a=n("c86c");t=a(!1),t.push([e.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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-view[data-v-25f39ece], uni-scroll-view[data-v-25f39ece], uni-swiper-item[data-v-25f39ece]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-checkbox-group--row[data-v-25f39ece]{\ndisplay:flex;\nflex-direction:row}.u-checkbox-group--column[data-v-25f39ece]{\ndisplay:flex;\nflex-direction:column}',""]),e.exports=t},a532:function(e,t,n){"use strict";var a=n("e83e"),i=n.n(a);i.a},a68d:function(e,t,n){"use strict";n.r(t);var a=n("8937"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);t["default"]=i.a},a6f9:function(e,t,n){"use strict";var a=n("29f1"),i=n.n(a);i.a},a873:function(e,t,n){var a=n("c86c");t=a(!1),t.push([e.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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-view[data-v-45c84c98], uni-scroll-view[data-v-45c84c98], uni-swiper-item[data-v-45c84c98]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-checkbox[data-v-45c84c98]{\ndisplay:flex;\nflex-direction:row;overflow:hidden;flex-direction:row;align-items:center}.u-checkbox-label--left[data-v-45c84c98]{flex-direction:row}.u-checkbox-label--right[data-v-45c84c98]{flex-direction:row-reverse;justify-content:space-between}.u-checkbox__icon-wrap[data-v-45c84c98]{box-sizing:border-box;transition-property:border-color,background-color,color;transition-duration:.2s;color:#606266;\ndisplay:flex;\nflex-direction:row;align-items:center;justify-content:center;color:transparent;text-align:center;margin-right:6px;font-size:6px;border-width:1px;border-color:#c8c9cc;border-style:solid}.u-checkbox__icon-wrap--circle[data-v-45c84c98]{border-radius:100%}.u-checkbox__icon-wrap--square[data-v-45c84c98]{border-radius:3px}.u-checkbox__icon-wrap--checked[data-v-45c84c98]{color:#fff;background-color:red;border-color:#2979ff}.u-checkbox__icon-wrap--disabled[data-v-45c84c98]{background-color:#ebedf0!important}.u-checkbox__icon-wrap--disabled--checked[data-v-45c84c98]{color:#c8c9cc!important}.u-checkbox__label[data-v-45c84c98]{word-wrap:break-word;margin-left:5px;margin-right:12px;color:#606266;font-size:15px}.u-checkbox__label--disabled[data-v-45c84c98]{color:#c8c9cc}',""]),e.exports=t},a905:function(e,t,n){var a=n("c86c");t=a(!1),t.push([e.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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-view[data-v-5a6c3da4], uni-scroll-view[data-v-5a6c3da4], uni-swiper-item[data-v-5a6c3da4]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-reset-button[data-v-5a6c3da4]{width:100%}.u-action-sheet[data-v-5a6c3da4]{text-align:center}.u-action-sheet__header[data-v-5a6c3da4]{position:relative;padding:12px 30px}.u-action-sheet__header__title[data-v-5a6c3da4]{font-size:16px;color:#303133;font-weight:700;text-align:center}.u-action-sheet__header__icon-wrap[data-v-5a6c3da4]{position:absolute;right:15px;top:15px}.u-action-sheet__description[data-v-5a6c3da4]{font-size:13px;color:#909193;margin:18px 15px;text-align:center}.u-action-sheet__item-wrap__item[data-v-5a6c3da4]{padding:15px;\ndisplay:flex;\nflex-direction:row;align-items:center;justify-content:center;flex-direction:column}.u-action-sheet__item-wrap__item__name[data-v-5a6c3da4]{font-size:16px;color:#303133;text-align:center}.u-action-sheet__item-wrap__item__subname[data-v-5a6c3da4]{font-size:13px;color:#c0c4cc;margin-top:10px;text-align:center}.u-action-sheet__cancel-text[data-v-5a6c3da4]{font-size:16px;color:#606266;text-align:center;padding:16px}.u-action-sheet--hover[data-v-5a6c3da4]{background-color:#f2f3f5}',""]),e.exports=t},ae07:function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("64aa");var a={props:{name:{type:[String,Number,Boolean],default:uni.$u.props.checkbox.name},shape:{type:String,default:uni.$u.props.checkbox.shape},size:{type:[String,Number],default:uni.$u.props.checkbox.size},checked:{type:Boolean,default:uni.$u.props.checkbox.checked},disabled:{type:[String,Boolean],default:uni.$u.props.checkbox.disabled},activeColor:{type:String,default:uni.$u.props.checkbox.activeColor},inactiveColor:{type:String,default:uni.$u.props.checkbox.inactiveColor},iconSize:{type:[String,Number],default:uni.$u.props.checkbox.iconSize},iconColor:{type:String,default:uni.$u.props.checkbox.iconColor},label:{type:[String,Number],default:uni.$u.props.checkbox.label},labelSize:{type:[String,Number],default:uni.$u.props.checkbox.labelSize},labelColor:{type:String,default:uni.$u.props.checkbox.labelColor},labelDisabled:{type:[String,Boolean],default:uni.$u.props.checkbox.labelDisabled}}};t.default=a},b052:function(e,t,n){"use strict";n.r(t);var a=n("3669"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);t["default"]=i.a},b302:function(e,t,n){"use strict";n.r(t);var a=n("d810"),i=n("a68d");for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);n("a6f9");var c=n("828b"),r=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,"25f39ece",null,!1,a["a"],void 0);t["default"]=r.exports},b69d:function(e,t,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n("0618")),o={name:"u-gap",mixins:[uni.$u.mpMixin,uni.$u.mixin,i.default],computed:{gapStyle:function(){var e={backgroundColor:this.bgColor,height:uni.$u.addUnit(this.height),marginTop:uni.$u.addUnit(this.marginTop),marginBottom:uni.$u.addUnit(this.marginBottom)};return uni.$u.deepMerge(e,uni.$u.addStyle(this.customStyle))}}};t.default=o},bb10:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a}));var a={uPopup:n("8477").default,uIcon:n("8e6f").default,uLine:n("5dd5").default,uLoadingIcon:n("d113").default,uGap:n("e112").default},i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("u-popup",{attrs:{show:e.show,mode:"bottom",safeAreaInsetBottom:e.safeAreaInsetBottom,round:e.round},on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.closeHandler.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"u-action-sheet"},[e.title?n("v-uni-view",{staticClass:"u-action-sheet__header"},[n("v-uni-text",{staticClass:"u-action-sheet__header__title u-line-1"},[e._v(e._s(e.title))]),n("v-uni-view",{staticClass:"u-action-sheet__header__icon-wrap",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.cancel.apply(void 0,arguments)}}},[n("u-icon",{attrs:{name:"close",size:"17",color:"#c8c9cc",bold:!0}})],1)],1):e._e(),e.description?n("v-uni-text",{staticClass:"u-action-sheet__description",style:[{marginTop:""+(e.title&&e.description?0:"18px")}]},[e._v(e._s(e.description))]):e._e(),e._t("default",[e.description?n("u-line"):e._e(),n("v-uni-view",{staticClass:"u-action-sheet__item-wrap"},[e._l(e.actions,(function(t,a){return[n("v-uni-view",{staticClass:"u-action-sheet__item-wrap__item",attrs:{"hover-class":t.disabled||t.loading?"":"u-action-sheet--hover","hover-stay-time":150},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.selectHandler(a)}}},[t.loading?n("u-loading-icon",{attrs:{"custom-class":"van-action-sheet__loading",size:"18",mode:"circle"}}):[n("v-uni-text",{staticClass:"u-action-sheet__item-wrap__item__name",style:[e.itemStyle(a)]},[e._v(e._s(t.name))]),t.subname?n("v-uni-text",{staticClass:"u-action-sheet__item-wrap__item__subname"},[e._v(e._s(t.subname))]):e._e()]],2),a!==e.actions.length-1?n("u-line"):e._e()]}))],2)]),e.cancelText?n("u-gap",{attrs:{bgColor:"#eaeaec",height:"6"}}):e._e(),n("v-uni-view",{attrs:{"hover-class":"u-action-sheet--hover"}},[e.cancelText?n("v-uni-text",{staticClass:"u-action-sheet__cancel-text",attrs:{"hover-stay-time":150},on:{touchmove:function(t){t.stopPropagation(),t.preventDefault(),arguments[0]=t=e.$handleEvent(t)},click:function(t){arguments[0]=t=e.$handleEvent(t),e.cancel.apply(void 0,arguments)}}},[e._v(e._s(e.cancelText))]):e._e()],1)],2)],1)},o=[]},beed:function(e,t,n){"use strict";n.r(t);var a=n("c922"),i=n("733d");for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);n("a532");var c=n("828b"),r=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,"45c84c98",null,!1,a["a"],void 0);t["default"]=r.exports},c117:function(e,t,n){"use strict";var a=n("fe17"),i=n.n(a);i.a},c88d:function(e,t,n){"use strict";n.r(t);var a=n("b69d"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);t["default"]=i.a},c922:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a}));var a={uIcon:n("8e6f").default},i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"u-checkbox",class:["u-checkbox-label--"+e.parentData.iconPlacement,e.parentData.borderBottom&&"column"===e.parentData.placement&&"u-border-bottom"],style:[e.checkboxStyle],on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.wrapperClickHandler.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"u-checkbox__icon-wrap",class:e.iconClasses,style:[e.iconWrapStyle],on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.iconClickHandler.apply(void 0,arguments)}}},[e._t("icon",[n("u-icon",{staticClass:"u-checkbox__icon-wrap__icon",attrs:{name:"checkbox-mark",size:e.elIconSize,color:e.elIconColor}})])],2),n("v-uni-text",{style:{color:e.elDisabled?e.elInactiveColor:e.elLabelColor,fontSize:e.elLabelSize,lineHeight:e.elLabelSize},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.labelClickHandler.apply(void 0,arguments)}}},[e._v(e._s(e.label))])],1)},o=[]},d810:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){}));var a=function(){var e=this.$createElement,t=this._self._c||e;return t("v-uni-view",{staticClass:"u-checkbox-group",class:this.bemClass},[this._t("default")],2)},i=[]},dfea:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){}));var a=function(){var e=this.$createElement,t=this._self._c||e;return t("v-uni-view",{staticClass:"u-gap",style:[this.gapStyle]})},i=[]},e112:function(e,t,n){"use strict";n.r(t);var a=n("dfea"),i=n("c88d");for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);n("f709");var c=n("828b"),r=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,"a54a97e0",null,!1,a["a"],void 0);t["default"]=r.exports},e83e:function(e,t,n){var a=n("a873");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("967d").default;i("43582842",a,!0,{sourceMap:!1,shadowMode:!1})},f709:function(e,t,n){"use strict";var a=n("7081"),i=n.n(a);i.a},fe17:function(e,t,n){var a=n("a905");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("967d").default;i("4b8e19aa",a,!0,{sourceMap:!1,shadowMode:!1})},ffcb:function(e,t,n){"use strict";var a=n("31d4"),i=n.n(a);i.a}}]); |