!function(t){var e={};function i(o){if(e[o])return e[o].exports;var n=e[o]={i:o,l:!1,exports:{}};return t[o].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=t,i.c=e,i.d=function(t,e,o){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(o,n,function(e){return t[e]}.bind(null,n));return o},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/",i(i.s=987)}({0:function(t,e,i){"use strict";function o(t,e,i,o,n,r,u,c,l,a){var s,d="function"==typeof t?t.options:t;if(l){d.components||(d.components={});var f=Object.prototype.hasOwnProperty;for(var p in l)f.call(l,p)&&!f.call(d.components,p)&&(d.components[p]=l[p])}if(a&&("function"==typeof a.beforeCreate&&(a.beforeCreate=[a.beforeCreate]),(a.beforeCreate||(a.beforeCreate=[])).unshift((function(){this[a.__module]=this})),(d.mixins||(d.mixins=[])).push(a)),e&&(d.render=e,d.staticRenderFns=i,d._compiled=!0),o&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),u?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(u)},d._ssrRegister=s):n&&(s=c?function(){n.call(this,this.$root.$options.shadowRoot)}:n),s)if(d.functional){d._injectStyles=s;var h=d.render;d.render=function(t,e){return s.call(e),h(t,e)}}else{var m=d.beforeCreate;d.beforeCreate=m?[].concat(m,s):[s]}return{exports:t,options:d}}i.d(e,"a",(function(){return o}))},1:function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},10:function(t,e,i){Vue.prototype.__$appStyle__={},Vue.prototype.__merge_style&&Vue.prototype.__merge_style(i(11).default,Vue.prototype.__$appStyle__)},11:function(t,e,i){"use strict";i.r(e);var o=i(2),n=i.n(o);for(var r in o)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(r);e.default=n.a},12:function(t,e){if("undefined"==typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(t){var e=this.constructor;return this.then((function(i){return e.resolve(t()).then((function(){return i}))}),(function(i){return e.resolve(t()).then((function(){throw i}))}))}),"undefined"!=typeof uni&&uni&&uni.requireGlobal){var i=uni.requireGlobal();ArrayBuffer=i.ArrayBuffer,Int8Array=i.Int8Array,Uint8Array=i.Uint8Array,Uint8ClampedArray=i.Uint8ClampedArray,Int16Array=i.Int16Array,Uint16Array=i.Uint16Array,Int32Array=i.Int32Array,Uint32Array=i.Uint32Array,Float32Array=i.Float32Array,Float64Array=i.Float64Array,BigInt64Array=i.BigInt64Array,BigUint64Array=i.BigUint64Array}},2:function(t,e){t.exports={"u-line-1":{lines:1,textOverflow:"ellipsis",overflow:"hidden",flex:1},"u-line-2":{lines:2,textOverflow:"ellipsis",overflow:"hidden",flex:1},"u-line-3":{lines:3,textOverflow:"ellipsis",overflow:"hidden",flex:1},"u-line-4":{lines:4,textOverflow:"ellipsis",overflow:"hidden",flex:1},"u-line-5":{lines:5,textOverflow:"ellipsis",overflow:"hidden",flex:1},"u-border":{borderWidth:"0.5",borderColor:"#dadbde",borderStyle:"solid"},"u-border-top":{borderTopWidth:"0.5",borderColor:"#dadbde",borderTopStyle:"solid"},"u-border-left":{borderLeftWidth:"0.5",borderColor:"#dadbde",borderLeftStyle:"solid"},"u-border-right":{borderRightWidth:"0.5",borderColor:"#dadbde",borderRightStyle:"solid"},"u-border-bottom":{borderBottomWidth:"0.5",borderColor:"#dadbde",borderBottomStyle:"solid"},"u-border-top-bottom":{borderTopWidth:"0.5",borderBottomWidth:"0.5",borderColor:"#dadbde",borderTopStyle:"solid",borderBottomStyle:"solid"},"u-reset-button":{paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0},"u-hover-class":{opacity:.7},"u-primary-light":{color:"#ecf5ff"},"u-warning-light":{color:"#fdf6ec"},"u-success-light":{color:"#f5fff0"},"u-error-light":{color:"#fef0f0"},"u-info-light":{color:"#f4f4f5"},"u-primary-light-bg":{backgroundColor:"#ecf5ff"},"u-warning-light-bg":{backgroundColor:"#fdf6ec"},"u-success-light-bg":{backgroundColor:"#f5fff0"},"u-error-light-bg":{backgroundColor:"#fef0f0"},"u-info-light-bg":{backgroundColor:"#f4f4f5"},"u-primary-dark":{color:"#398ade"},"u-warning-dark":{color:"#f1a532"},"u-success-dark":{color:"#53c21d"},"u-error-dark":{color:"#e45656"},"u-info-dark":{color:"#767a82"},"u-primary-dark-bg":{backgroundColor:"#398ade"},"u-warning-dark-bg":{backgroundColor:"#f1a532"},"u-success-dark-bg":{backgroundColor:"#53c21d"},"u-error-dark-bg":{backgroundColor:"#e45656"},"u-info-dark-bg":{backgroundColor:"#767a82"},"u-primary-disabled":{color:"#9acafc"},"u-warning-disabled":{color:"#f9d39b"},"u-success-disabled":{color:"#a9e08f"},"u-error-disabled":{color:"#f7b2b2"},"u-info-disabled":{color:"#c4c6c9"},"u-primary":{color:"#3c9cff"},"u-warning":{color:"#f9ae3d"},"u-success":{color:"#5ac725"},"u-error":{color:"#f56c6c"},"u-info":{color:"#909399"},"u-primary-bg":{backgroundColor:"#3c9cff"},"u-warning-bg":{backgroundColor:"#f9ae3d"},"u-success-bg":{backgroundColor:"#5ac725"},"u-error-bg":{backgroundColor:"#f56c6c"},"u-info-bg":{backgroundColor:"#909399"},"u-main-color":{color:"#303133"},"u-content-color":{color:"#606266"},"u-tips-color":{color:"#909193"},"u-light-color":{color:"#c0c4cc"},"u-block":{paddingTop:"14",paddingRight:"14",paddingBottom:"14",paddingLeft:"14"},"u-block__section":{marginBottom:"10"},"u-block__title":{marginTop:"10",fontSize:"15",color:"#606266",marginBottom:"10"},"u-cell-icon":{width:"36rpx",height:"36rpx",marginRight:"8rpx"},"u-page":{paddingTop:"15",paddingRight:"15",paddingBottom:"40",paddingLeft:"15"},"u-demo-block":{flex:1,marginBottom:"23"},"u-demo-block__content":{flexDirection:"column"},"u-demo-block__title":{fontSize:"14",color:"#8f9ca2",marginBottom:"8",flexDirection:"row"},"@VERSION":2}},29:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={"uicon-level":"\ue693","uicon-column-line":"\ue68e","uicon-checkbox-mark":"\ue807","uicon-folder":"\ue7f5","uicon-movie":"\ue7f6","uicon-star-fill":"\ue669","uicon-star":"\ue65f","uicon-phone-fill":"\ue64f","uicon-phone":"\ue622","uicon-apple-fill":"\ue881","uicon-chrome-circle-fill":"\ue885","uicon-backspace":"\ue67b","uicon-attach":"\ue632","uicon-cut":"\ue948","uicon-empty-car":"\ue602","uicon-empty-coupon":"\ue682","uicon-empty-address":"\ue646","uicon-empty-favor":"\ue67c","uicon-empty-permission":"\ue686","uicon-empty-news":"\ue687","uicon-empty-search":"\ue664","uicon-github-circle-fill":"\ue887","uicon-rmb":"\ue608","uicon-person-delete-fill":"\ue66a","uicon-reload":"\ue788","uicon-order":"\ue68f","uicon-server-man":"\ue6bc","uicon-search":"\ue62a","uicon-fingerprint":"\ue955","uicon-more-dot-fill":"\ue630","uicon-scan":"\ue662","uicon-share-square":"\ue60b","uicon-map":"\ue61d","uicon-map-fill":"\ue64e","uicon-tags":"\ue629","uicon-tags-fill":"\ue651","uicon-bookmark-fill":"\ue63b","uicon-bookmark":"\ue60a","uicon-eye":"\ue613","uicon-eye-fill":"\ue641","uicon-mic":"\ue64a","uicon-mic-off":"\ue649","uicon-calendar":"\ue66e","uicon-calendar-fill":"\ue634","uicon-trash":"\ue623","uicon-trash-fill":"\ue658","uicon-play-left":"\ue66d","uicon-play-right":"\ue610","uicon-minus":"\ue618","uicon-plus":"\ue62d","uicon-info":"\ue653","uicon-info-circle":"\ue7d2","uicon-info-circle-fill":"\ue64b","uicon-question":"\ue715","uicon-error":"\ue6d3","uicon-close":"\ue685","uicon-checkmark":"\ue6a8","uicon-android-circle-fill":"\ue67e","uicon-android-fill":"\ue67d","uicon-ie":"\ue87b","uicon-IE-circle-fill":"\ue889","uicon-google":"\ue87a","uicon-google-circle-fill":"\ue88a","uicon-setting-fill":"\ue872","uicon-setting":"\ue61f","uicon-minus-square-fill":"\ue855","uicon-plus-square-fill":"\ue856","uicon-heart":"\ue7df","uicon-heart-fill":"\ue851","uicon-camera":"\ue7d7","uicon-camera-fill":"\ue870","uicon-more-circle":"\ue63e","uicon-more-circle-fill":"\ue645","uicon-chat":"\ue620","uicon-chat-fill":"\ue61e","uicon-bag-fill":"\ue617","uicon-bag":"\ue619","uicon-error-circle-fill":"\ue62c","uicon-error-circle":"\ue624","uicon-close-circle":"\ue63f","uicon-close-circle-fill":"\ue637","uicon-checkmark-circle":"\ue63d","uicon-checkmark-circle-fill":"\ue635","uicon-question-circle-fill":"\ue666","uicon-question-circle":"\ue625","uicon-share":"\ue631","uicon-share-fill":"\ue65e","uicon-shopping-cart":"\ue621","uicon-shopping-cart-fill":"\ue65d","uicon-bell":"\ue609","uicon-bell-fill":"\ue640","uicon-list":"\ue650","uicon-list-dot":"\ue616","uicon-zhihu":"\ue6ba","uicon-zhihu-circle-fill":"\ue709","uicon-zhifubao":"\ue6b9","uicon-zhifubao-circle-fill":"\ue6b8","uicon-weixin-circle-fill":"\ue6b1","uicon-weixin-fill":"\ue6b2","uicon-twitter-circle-fill":"\ue6ab","uicon-twitter":"\ue6aa","uicon-taobao-circle-fill":"\ue6a7","uicon-taobao":"\ue6a6","uicon-weibo-circle-fill":"\ue6a5","uicon-weibo":"\ue6a4","uicon-qq-fill":"\ue6a1","uicon-qq-circle-fill":"\ue6a0","uicon-moments-circel-fill":"\ue69a","uicon-moments":"\ue69b","uicon-qzone":"\ue695","uicon-qzone-circle-fill":"\ue696","uicon-baidu-circle-fill":"\ue680","uicon-baidu":"\ue681","uicon-facebook-circle-fill":"\ue68a","uicon-facebook":"\ue689","uicon-car":"\ue60c","uicon-car-fill":"\ue636","uicon-warning-fill":"\ue64d","uicon-warning":"\ue694","uicon-clock-fill":"\ue638","uicon-clock":"\ue60f","uicon-edit-pen":"\ue612","uicon-edit-pen-fill":"\ue66b","uicon-email":"\ue611","uicon-email-fill":"\ue642","uicon-minus-circle":"\ue61b","uicon-minus-circle-fill":"\ue652","uicon-plus-circle":"\ue62e","uicon-plus-circle-fill":"\ue661","uicon-file-text":"\ue663","uicon-file-text-fill":"\ue665","uicon-pushpin":"\ue7e3","uicon-pushpin-fill":"\ue86e","uicon-grid":"\ue673","uicon-grid-fill":"\ue678","uicon-play-circle":"\ue647","uicon-play-circle-fill":"\ue655","uicon-pause-circle-fill":"\ue654","uicon-pause":"\ue8fa","uicon-pause-circle":"\ue643","uicon-eye-off":"\ue648","uicon-eye-off-outline":"\ue62b","uicon-gift-fill":"\ue65c","uicon-gift":"\ue65b","uicon-rmb-circle-fill":"\ue657","uicon-rmb-circle":"\ue677","uicon-kefu-ermai":"\ue656","uicon-server-fill":"\ue751","uicon-coupon-fill":"\ue8c4","uicon-coupon":"\ue8ae","uicon-integral":"\ue704","uicon-integral-fill":"\ue703","uicon-home-fill":"\ue964","uicon-home":"\ue965","uicon-hourglass-half-fill":"\ue966","uicon-hourglass":"\ue967","uicon-account":"\ue628","uicon-plus-people-fill":"\ue626","uicon-minus-people-fill":"\ue615","uicon-account-fill":"\ue614","uicon-thumb-down-fill":"\ue726","uicon-thumb-down":"\ue727","uicon-thumb-up":"\ue733","uicon-thumb-up-fill":"\ue72f","uicon-lock-fill":"\ue979","uicon-lock-open":"\ue973","uicon-lock-opened-fill":"\ue974","uicon-lock":"\ue97a","uicon-red-packet-fill":"\ue690","uicon-photo-fill":"\ue98b","uicon-photo":"\ue98d","uicon-volume-off-fill":"\ue659","uicon-volume-off":"\ue644","uicon-volume-fill":"\ue670","uicon-volume":"\ue633","uicon-red-packet":"\ue691","uicon-download":"\ue63c","uicon-arrow-up-fill":"\ue6b0","uicon-arrow-down-fill":"\ue600","uicon-play-left-fill":"\ue675","uicon-play-right-fill":"\ue676","uicon-rewind-left-fill":"\ue679","uicon-rewind-right-fill":"\ue67a","uicon-arrow-downward":"\ue604","uicon-arrow-leftward":"\ue601","uicon-arrow-rightward":"\ue603","uicon-arrow-upward":"\ue607","uicon-arrow-down":"\ue60d","uicon-arrow-right":"\ue605","uicon-arrow-left":"\ue60e","uicon-arrow-up":"\ue606","uicon-skip-back-left":"\ue674","uicon-skip-forward-right":"\ue672","uicon-rewind-right":"\ue66f","uicon-rewind-left":"\ue671","uicon-arrow-right-double":"\ue68d","uicon-arrow-left-double":"\ue68c","uicon-wifi-off":"\ue668","uicon-wifi":"\ue667","uicon-empty-data":"\ue62f","uicon-empty-history":"\ue684","uicon-empty-list":"\ue68b","uicon-empty-page":"\ue627","uicon-empty-order":"\ue639","uicon-man":"\ue697","uicon-woman":"\ue69c","uicon-man-add":"\ue61c","uicon-man-add-fill":"\ue64c","uicon-man-delete":"\ue61a","uicon-man-delete-fill":"\ue66a","uicon-zh":"\ue70a","uicon-en":"\ue692"}},3:function(t,e,i){"use strict";i.r(e);var o=i(4),n=i.n(o);for(var r in o)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(r);e.default=n.a},30:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={props:{name:{type:String,default:uni.$u.props.icon.name},color:{type:String,default:uni.$u.props.icon.color},size:{type:[String,Number],default:uni.$u.props.icon.size},bold:{type:Boolean,default:uni.$u.props.icon.bold},index:{type:[String,Number],default:uni.$u.props.icon.index},hoverClass:{type:String,default:uni.$u.props.icon.hoverClass},customPrefix:{type:String,default:uni.$u.props.icon.customPrefix},label:{type:[String,Number],default:uni.$u.props.icon.label},labelPos:{type:String,default:uni.$u.props.icon.labelPos},labelSize:{type:[String,Number],default:uni.$u.props.icon.labelSize},labelColor:{type:String,default:uni.$u.props.icon.labelColor},space:{type:[String,Number],default:uni.$u.props.icon.space},imgMode:{type:String,default:uni.$u.props.icon.imgMode},width:{type:[String,Number],default:uni.$u.props.icon.width},height:{type:[String,Number],default:uni.$u.props.icon.height},top:{type:[String,Number],default:uni.$u.props.icon.top},stop:{type:Boolean,default:uni.$u.props.icon.stop}}};e.default=o},318:function(t,e,i){"use strict";var o=i(721),n=i(422),r=i(0);var u=Object(r.a)(n.default,o.b,o.c,!1,null,null,"4963eb94",!1,o.a,void 0);(function(t){this.options.style||(this.options.style={}),Vue.prototype.__merge_style&&Vue.prototype.__$appStyle__&&Vue.prototype.__merge_style(Vue.prototype.__$appStyle__,this.options.style),Vue.prototype.__merge_style?Vue.prototype.__merge_style(i(878).default,this.options.style):Object.assign(this.options.style,i(878).default)}).call(u),e.default=u.exports},35:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return weex.requireModule(t)}},4:function(t,e,i){"use strict";var o=i(1);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(i(29)),r=o(i(30));weex.requireModule("dom").addRule("fontFace",{fontFamily:"uicon-iconfont",src:"url('".concat("https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf","')")});var u={name:"u-icon",data:function(){return{}},mixins:[uni.$u.mpMixin,uni.$u.mixin,r.default],computed:{uClasses:function(){var t=[];return t.push(this.customPrefix+"-"+this.name),this.color&&uni.$u.config.type.includes(this.color)&&t.push("u-icon__icon--"+this.color),t},iconStyle:function(){var t={};return t={fontSize:uni.$u.addUnit(this.size),lineHeight:uni.$u.addUnit(this.size),fontWeight:this.bold?"bold":"normal",top:uni.$u.addUnit(this.top)},this.color&&!uni.$u.config.type.includes(this.color)&&(t.color=this.color),t},isImg:function(){return-1!==this.name.indexOf("/")},imgStyle:function(){var t={};return t.width=this.width?uni.$u.addUnit(this.width):uni.$u.addUnit(this.size),t.height=this.height?uni.$u.addUnit(this.height):uni.$u.addUnit(this.size),t},icon:function(){return n.default["uicon-"+this.name]||this.name}},methods:{clickHandler:function(t){this.$emit("click",this.index),this.stop&&this.preventEvent(t)}}};e.default=u},417:function(t,e,i){"use strict";i.r(e);var o=i(418),n=i.n(o);for(var r in o)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(r);e.default=n.a},418:function(t,e,i){"use strict";var o=i(1);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(i(989)),r={name:"u-swipe-action",mixins:[uni.$u.mpMixin,uni.$u.mixin,n.default],data:function(){return{}},provide:function(){return{swipeAction:this}},computed:{parentData:function(){return[this.autoClose]}},watch:{parentData:function(){this.children.length&&this.children.map((function(t){"function"==typeof t.updateParentData&&t.updateParentData()}))}},created:function(){this.children=[]},methods:{closeOther:function(t){this.autoClose&&this.children.map((function(e,i){t!==e&&e.closeHandler()}))}}};e.default=r},419:function(t,e,i){"use strict";i.r(e);var o=i(420),n=i.n(o);for(var r in o)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(r);e.default=n.a},42:function(t,e,i){var o=i(54);t.exports=function(t,e,i){return(e=o(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},t.exports.__esModule=!0,t.exports.default=t.exports},420:function(t,e,i){"use strict";var o=i(1);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,r=o(i(42)),u=o(i(991)),c=o(i(992)),l=o(i(993)),a=(n={name:"u-swipe-action-item",mixins:[uni.$u.mpMixin,uni.$u.mixin,c.default,u.default]},(0,r.default)(n,"mixins",[uni.$u.mpMixin,uni.$u.mixin,c.default,l.default,u.default]),(0,r.default)(n,"data",(function(){return{size:{},parentData:{autoClose:!0},status:"close"}})),(0,r.default)(n,"watch",{wxsInit:function(t,e){this.queryRect()}}),(0,r.default)(n,"computed",{wxsInit:function(){return[this.disabled,this.autoClose,this.threshold,this.options,this.duration]}}),(0,r.default)(n,"mounted",(function(){this.init()})),(0,r.default)(n,"methods",{init:function(){this.updateParentData()},updateParentData:function(){this.getParentData("u-swipe-action")},buttonClickHandler:function(t,e){this.$emit("click",{index:e,name:this.name})}}),n);e.default=a},421:function(t,e){t.exports={"u-swipe-action-item":{position:"relative",overflow:"hidden"},"u-swipe-action-item__content":{backgroundColor:"#FFFFFF",zIndex:10},"u-swipe-action-item__right":{position:"absolute",top:0,bottom:0,right:0,flexDirection:"row"},"u-swipe-action-item__right__button":{flexDirection:"row",justifyContent:"center",overflow:"hidden",alignItems:"center"},"u-swipe-action-item__right__button__wrapper":{flexDirection:"row",alignItems:"center",justifyContent:"center",paddingTop:0,paddingRight:"15",paddingBottom:0,paddingLeft:"15"},"u-swipe-action-item__right__button__wrapper__text":{flexDirection:"row",alignItems:"center",color:"#FFFFFF",fontSize:"15",textAlign:"center",justifyContent:"center"},"@VERSION":2}},422:function(t,e,i){"use strict";var o=i(423),n=i.n(o);e.default=n.a},423:function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{show1:!0,moveX:0,showText:"\u5f53\u524d\u72b6\u6001\uff1a\u5173",showStatus:!1,options1:[{text:"\u5220\u9664",style:{backgroundColor:"#f56c6c"}}],options2:[{text:"\u6536\u85cf",style:{backgroundColor:"#3c9cff"}},{text:"\u5220\u9664",style:{backgroundColor:"#f56c6c"}}],options3:[{text:"\u6536\u85cf",icon:"star-fill",iconSize:"20",style:{backgroundColor:"#f9ae3d"}}],options4:[{text:"\u7981\u7528\u72b6\u6001",disabled:!0,options:[{text:"\u7f6e\u9876",style:{backgroundColor:"#3c9cff"}},{text:"\u53d6\u6d88",style:{backgroundColor:"#f9ae3d"}}]},{text:"\u6b63\u5e38\u72b6\u6001",disabled:!1,options:[{text:"\u7f6e\u9876",style:{backgroundColor:"#3c9cff"}},{text:"\u53d6\u6d88",style:{backgroundColor:"#f9ae3d"}}]},{text:"\u81ea\u52a8\u5173\u95ed",disabled:!1,options:[{text:"\u7f6e\u9876",style:{backgroundColor:"#3c9cff"}},{text:"\u53d6\u6d88",style:{backgroundColor:"#f9ae3d"}}]}],options5:[{icon:"trash-fill",style:{backgroundColor:"#f56c6c",width:"40px",height:"40px",borderRadius:"100px",margin:"0 6px"}},{icon:"heart-fill",style:{backgroundColor:"#5ac725",width:"40px",height:"40px",borderRadius:"100px",margin:"0 6px"}}]}},methods:{click:function(e){var i=this;t("log","click",e," at pages/componentsA/swipeAction/swipeAction.nvue:193"),uni.showModal({title:"\u6e29\u99a8\u63d0\u793a",content:"\u786e\u5b9a\u8981\u5220\u9664\u5417\uff1f",success:function(t){t.confirm&&(i.show1=!1)}})}}};e.default=i}).call(this,i(56).default)},424:function(t,e){t.exports={"u-page":{paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},"u-demo-block__title":{paddingTop:"10",paddingRight:0,paddingBottom:"2",paddingLeft:"15"},"swipe-action__content":{paddingTop:"25rpx",paddingRight:0,paddingBottom:"25rpx",paddingLeft:0},"swipe-action__content__text":{fontSize:"15",color:"#303133",paddingLeft:"30rpx"},"@VERSION":2}},5:function(t,e){t.exports={"u-icon":{alignItems:"center"},"u-icon--left":{flexDirection:"row-reverse",alignItems:"center"},"u-icon--right":{flexDirection:"row",alignItems:"center"},"u-icon--top":{flexDirection:"column-reverse",justifyContent:"center"},"u-icon--bottom":{flexDirection:"column",justifyContent:"center"},"u-icon__icon":{fontFamily:"uicon-iconfont",position:"relative",flexDirection:"row",alignItems:"center"},"u-icon__icon--primary":{color:"#3c9cff"},"u-icon__icon--success":{color:"#5ac725"},"u-icon__icon--error":{color:"#f56c6c"},"u-icon__icon--warning":{color:"#f9ae3d"},"u-icon__icon--info":{color:"#909399"},"@VERSION":2}},54:function(t,e,i){var o=i(9).default,n=i(55);t.exports=function(t){var e=n(t,"string");return"symbol"==o(e)?e:e+""},t.exports.__esModule=!0,t.exports.default=t.exports},55:function(t,e,i){var o=i(9).default;t.exports=function(t,e){if("object"!=o(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},56:function(t,e,i){"use strict";function o(t){var e=Object.prototype.toString.call(t);return e.substring(8,e.length-1)}function n(){return"string"==typeof __channelId__&&__channelId__}function r(t,e){switch(o(e)){case"Function":return"function() { [native code] }";default:return e}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var u=e.shift();if(n())return e.push(e.pop().replace("at ","uni-app:///")),console[u].apply(console,e);var c=e.map((function(t){var e=Object.prototype.toString.call(t).toLowerCase();if("[object object]"===e||"[object array]"===e)try{t="---BEGIN:JSON---"+JSON.stringify(t,r)+"---END:JSON---"}catch(i){t=e}else if(null===t)t="---NULL---";else if(void 0===t)t="---UNDEFINED---";else{var i=o(t).toUpperCase();t="NUMBER"===i||"BOOLEAN"===i?"---BEGIN:"+i+"---"+t+"---END:"+i+"---":String(t)}return t})),l="";if(c.length>1){var a=c.pop();l=c.join("---COMMA---"),0===a.indexOf(" at ")?l+=a:l+="---COMMA---"+a}else l=c[0];console[u](l)},e.log=function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),o=1;o<e;o++)i[o-1]=arguments[o];console[t].apply(console,i)}},6:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:["u-icon"],class:["u-icon--"+t.labelPos],on:{click:t.clickHandler}},[t.isImg?i("u-image",{staticClass:["u-icon__img"],style:[t.imgStyle,t.$u.addStyle(t.customStyle)],attrs:{src:t.name,mode:t.imgMode}}):i("u-text",{staticClass:["u-icon__icon"],class:t.uClasses,style:[t.iconStyle,t.$u.addStyle(t.customStyle)],appendAsTree:!0,attrs:{hoverClass:t.hoverClass,append:"tree"}},[t._v(t._s(t.icon))]),""!==t.label?i("u-text",{staticClass:["u-icon__label"],style:{color:t.labelColor,fontSize:t.$u.addUnit(t.labelSize),marginLeft:"right"==t.labelPos?t.$u.addUnit(t.space):0,marginTop:"bottom"==t.labelPos?t.$u.addUnit(t.space):0,marginRight:"left"==t.labelPos?t.$u.addUnit(t.space):0,marginBottom:"top"==t.labelPos?t.$u.addUnit(t.space):0},appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.label))]):t._e()],1)},n=[]},7:function(t,e,i){"use strict";i.r(e);var o=i(6),n=i(3);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);var u=i(0);var c=Object(u.a)(n.default,o.b,o.c,!1,null,"53601e10","563fc546",!1,o.a,void 0);(function(t){this.options.style||(this.options.style={}),Vue.prototype.__merge_style&&Vue.prototype.__$appStyle__&&Vue.prototype.__merge_style(Vue.prototype.__$appStyle__,this.options.style),Vue.prototype.__merge_style?Vue.prototype.__merge_style(i(8).default,this.options.style):Object.assign(this.options.style,i(8).default)}).call(c),e.default=c.exports},721:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return o}));var o={uSwipeAction:i(988).default,uSwipeActionItem:i(990).default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("scroll-view",{staticStyle:{flexDirection:"column"},attrs:{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:"true"}},[i("view",{staticClass:["u-page"]},[i("view",{staticClass:["u-demo-block"]},[i("u-text",{staticClass:["u-demo-block__title"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u6f14\u793a\u6848\u4f8b")]),i("view",{staticClass:["u-page__swipe-action-item"]},[i("u-swipe-action",[t.show1?i("u-swipe-action-item",{attrs:{options:t.options1},on:{click:t.click}},[i("view",{staticClass:["swipe-action","u-border-top","u-border-bottom"]},[i("view",{staticClass:["swipe-action__content"]},[i("u-text",{staticClass:["swipe-action__content__text"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u57fa\u7840\u4f7f\u7528")])])])]):t._e()],1)],1)]),i("view",{staticClass:["u-demo-block"]},[i("u-text",{staticClass:["u-demo-block__title"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u6309\u94ae\u7ec4")]),i("view",{staticClass:["u-page__swipe-action-item"]},[i("u-swipe-action",[i("u-swipe-action-item",{attrs:{options:t.options2}},[i("view",{staticClass:["swipe-action","u-border-top","u-border-bottom"]},[i("view",{staticClass:["swipe-action__content"]},[i("u-text",{staticClass:["swipe-action__content__text"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u4e24\u4e2a\u6309\u94ae\u5e76\u5217")])])])])],1)],1)]),i("view",{staticClass:["u-demo-block"]},[i("u-text",{staticClass:["u-demo-block__title"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u5e26\u56fe\u6807")]),i("view",{staticClass:["u-page__swipe-action-item"]},[i("u-swipe-action",[i("u-swipe-action-item",{attrs:{options:t.options3}},[i("view",{staticClass:["swipe-action","u-border-top","u-border-bottom"]},[i("view",{staticClass:["swipe-action__content"]},[i("u-text",{staticClass:["swipe-action__content__text"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u81ea\u5b9a\u4e49\u56fe\u6807")])])])])],1)],1)]),i("view",{staticClass:["u-demo-block"]},[i("u-text",{staticClass:["u-demo-block__title"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u7ec4\u5408\u4f7f\u7528")]),i("view",{staticClass:["u-page__swipe-action-item"]},[i("u-swipe-action",t._l(t.options4,(function(e,o){return i("u-swipe-action-item",{key:o,attrs:{options:e.options,disabled:e.disabled}},[i("view",{staticClass:["swipe-action","u-border-top"],class:[o===t.options4.length-1&&"u-border-bottom"]},[i("view",{staticClass:["swipe-action__content"]},[i("u-text",{staticClass:["swipe-action__content__text"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(e.text))])])])])})),1)],1)]),i("view",{staticClass:["u-demo-block"]},[i("u-text",{staticClass:["u-demo-block__title"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u81ea\u5b9a\u4e49\u6309\u94ae\u5f62\u72b6")]),i("view",{staticClass:["u-page__swipe-action-item"]},[i("u-swipe-action",[i("u-swipe-action-item",{attrs:{options:t.options5}},[i("view",{staticClass:["swipe-action","u-border-top","u-border-bottom"]},[i("view",{staticClass:["swipe-action__content"]},[i("u-text",{staticClass:["swipe-action__content__text"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u5706\u5f62\u6309\u94ae")])])])])],1)],1)])])])},r=[]},782:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var o=function(){var t=this.$createElement;return(this._self._c||t)("view",{staticClass:["u-swipe-action"]},[this._t("default")],2)},n=[]},783:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return o}));var o={uIcon:i(7).default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{ref:"u-swipe-action-item",staticClass:["u-swipe-action-item"]},[i("view",{staticClass:["u-swipe-action-item__right"]},[t._t("button",t._l(t.options,(function(e,o){return i("view",{key:o,ref:"u-swipe-action-item__right__button-"+o,refInFor:!0,staticClass:["u-swipe-action-item__right__button"],style:[{alignItems:e.style&&e.style.borderRadius?"center":"stretch"}],on:{click:function(i){t.buttonClickHandler(e,o)}}},[i("view",{staticClass:["u-swipe-action-item__right__button__wrapper"],style:[{backgroundColor:e.style&&e.style.backgroundColor?e.style.backgroundColor:"#C7C6CD",borderRadius:e.style&&e.style.borderRadius?e.style.borderRadius:"0",padding:e.style&&e.style.borderRadius?"0":"0 15px"},e.style]},[e.icon?i("u-icon",{attrs:{name:e.icon,color:e.style&&e.style.color?e.style.color:"#ffffff",size:e.iconSize?t.$u.addUnit(e.iconSize):e.style&&e.style.fontSize?1.2*t.$u.getPx(e.style.fontSize):17,customStyle:{marginRight:e.text?"2px":0}}}):t._e(),e.text?i("u-text",{staticClass:["u-swipe-action-item__right__button__wrapper__text","u-line-1"],style:[{color:e.style&&e.style.color?e.style.color:"#ffffff",fontSize:e.style&&e.style.fontSize?e.style.fontSize:"16px",lineHeight:e.style&&e.style.fontSize?e.style.fontSize:"16px"}],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(e.text))]):t._e()],1)])})))],2),i("view",{ref:"u-swipe-action-item__content",staticClass:["u-swipe-action-item__content"],on:{panstart:t.onTouchstart,click:t.clickHandler}},[t._t("default")],2)])},r=[]},8:function(t,e,i){"use strict";i.r(e);var o=i(5),n=i.n(o);for(var r in o)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(r);e.default=n.a},877:function(t,e,i){"use strict";i.r(e);var o=i(421),n=i.n(o);for(var r in o)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(r);e.default=n.a},878:function(t,e,i){"use strict";i.r(e);var o=i(424),n=i.n(o);for(var r in o)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(r);e.default=n.a},9:function(t,e){function i(e){return t.exports=i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,i(e)}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},987:function(t,e,i){"use strict";i.r(e);i(10),i(12);var o=i(318);o.default.mpType="page",o.default.route="pages/componentsA/swipeAction/swipeAction",o.default.el="#root",new Vue(o.default)},988:function(t,e,i){"use strict";i.r(e);var o=i(782),n=i(417);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);var u=i(0);var c=Object(u.a)(n.default,o.b,o.c,!1,null,"1354af88","36e99f74",!1,o.a,void 0);(function(t){this.options.style||(this.options.style={}),Vue.prototype.__merge_style&&Vue.prototype.__$appStyle__&&Vue.prototype.__merge_style(Vue.prototype.__$appStyle__,this.options.style)}).call(c),e.default=c.exports},989:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={props:{autoClose:{type:Boolean,default:uni.$u.props.swipeAction.autoClose}}};e.default=o},990:function(t,e,i){"use strict";i.r(e);var o=i(783),n=i(419);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);var u=i(0);var c=Object(u.a)(n.default,o.b,o.c,!1,null,"2277a0f5","4df97bec",!1,o.a,void 0);(function(t){this.options.style||(this.options.style={}),Vue.prototype.__merge_style&&Vue.prototype.__$appStyle__&&Vue.prototype.__merge_style(Vue.prototype.__$appStyle__,this.options.style),Vue.prototype.__merge_style?Vue.prototype.__merge_style(i(877).default,this.options.style):Object.assign(this.options.style,i(877).default)}).call(c),e.default=c.exports},991:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={methods:{getTouchPoint:function(t){return t?t.touches&&t.touches[0]?{x:t.touches[0].pageX,y:t.touches[0].pageY}:t.changedTouches&&t.changedTouches[0]?{x:t.changedTouches[0].pageX,y:t.changedTouches[0].pageY}:{x:t.clientX||0,y:t.clientY||0}:{x:0,y:0}},resetTouchStatus:function(){this.direction="",this.deltaX=0,this.deltaY=0,this.offsetX=0,this.offsetY=0},touchStart:function(t){this.resetTouchStatus();var e=this.getTouchPoint(t);this.startX=e.x,this.startY=e.y},touchMove:function(t){var e,i,o=this.getTouchPoint(t);this.deltaX=o.x-this.startX,this.deltaY=o.y-this.startY,this.offsetX=Math.abs(this.deltaX),this.offsetY=Math.abs(this.deltaY),this.direction=this.direction||(e=this.offsetX,i=this.offsetY,e>i&&e>10?"horizontal":i>e&&i>10?"vertical":"")}}};e.default=o},992:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={props:{show:{type:Boolean,default:uni.$u.props.swipeActionItem.show},name:{type:[String,Number],default:uni.$u.props.swipeActionItem.name},disabled:{type:Boolean,default:uni.$u.props.swipeActionItem.disabled},autoClose:{type:Boolean,default:uni.$u.props.swipeActionItem.autoClose},threshold:{type:Number,default:uni.$u.props.swipeActionItem.threshold},options:{type:Array,default:function(){return uni.$u.props.swipeActionItem.rightOptions}},duration:{type:[String,Number],default:uni.$u.props.swipeActionItem.duration}}};e.default=o},993:function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=t("dom"),o=t("bindingx"),n=t("animation"),r={data:function(){return{buttonsWidth:0,moving:!1}},computed:{getDuratin:function(){var t=String(this.duration);return t.indexOf("ms")>=0?parseInt(t):t.indexOf("s")>=0?1e3*parseInt(t):(t=Number(t))<30?1e3*t:t}},watch:{show:function(t){t?this.moveCellByAnimation("open"):this.moveCellByAnimation("close")}},mounted:function(){this.initialize()},methods:{initialize:function(){this.queryRect()},closeHandler:function(){if("open"===this.status)return this.moveCellByAnimation("close")&&this.unbindBindingX()},clickHandler:function(){if(!this.moving)return this.parent&&this.parent.closeOther(this),"open"===this.status?this.moveCellByAnimation("close")&&this.unbindBindingX():void 0},onTouchstart:function(t){var e=this;if(this.moving||this.disabled)return this.unbindBindingX();if("open"===this.status)return this.moveCellByAnimation("close")&&this.unbindBindingX();(null==t?void 0:t.stopPropagation)&&t.stopPropagation(),(null==t?void 0:t.preventDefault)&&t.preventDefault(),this.moving=!0;var i=this.getContentRef(),n="min(max(".concat(-this.buttonsWidth,", x), 0)");this.parent&&this.parent.closeOther(this),this.panEvent=o.bind({anchor:i,eventType:"pan",props:[{element:i,property:"transform.translateX",expression:n}]},(function(t){if(e.moving=!1,"end"===t.state||"exit"===t.state){var i=t.deltaX;i<=-e.buttonsWidth||i>=0?e.$nextTick((function(){e.status=i<=-e.buttonsWidth?"open":"close"})):Math.abs(i)>uni.$u.getPx(e.threshold)?Math.abs(i)<e.buttonsWidth&&e.moveCellByAnimation(i>0?"close":"open"):e.moveCellByAnimation("close")}}))},unbindBindingX:function(){var t,e;0!=(null==this||null===(t=this.panEvent)||void 0===t?void 0:t.token)&&o.unbind({token:null===(e=this.panEvent)||void 0===e?void 0:e.token,eventType:"pan"})},queryRect:function(){var t=this,e=this.options.map((function(e,i){return t.getRectByDom(t.$refs["u-swipe-action-item__right__button-".concat(i)][0])}));Promise.all(e).then((function(e){t.buttons=e,t.buttonsWidth=e.reduce((function(t,e){return t+e.width}),0)}))},getRectByDom:function(t){return new Promise((function(e){i.getComponentRect(t,(function(t){e(t.size)}))}))},moveCellByAnimation:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"open";if(!this.moving){this.moveing=!0;var i=this.getContentRef(),o="open"===e?-this.buttonsWidth:0;n.transition(i,{styles:{transform:"translateX(".concat(o,"px)")},duration:uni.$u.getDuration(this.duration,!1),timingFunction:"ease-in-out"},(function(){t.moving=!1,t.status=e,t.unbindBindingX()}))}},getContentRef:function(){return this.$refs["u-swipe-action-item__content"].ref},beforeDestroy:function(){this.unbindBindingX()}}};e.default=r}).call(this,i(35).default)}});