(self["webpackChunkuview2_0_cli"]=self["webpackChunkuview2_0_cli"]||[]).push([[1999],{84349:function(t,e,i){var n=i(65133);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var a=i(56).Z;a("14281204",n,!0,{sourceMap:!1,shadowMode:!1})},70337:function(t,e,i){var n=i(93695);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var a=i(56).Z;a("9a90571a",n,!0,{sourceMap:!1,shadowMode:!1})},45523:function(t,e,i){var n=i(4273);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var a=i(56).Z;a("00afc3e2",n,!0,{sourceMap:!1,shadowMode:!1})},81886:function(t,e,i){var n=i(13527);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var a=i(56).Z;a("2edd9824",n,!0,{sourceMap:!1,shadowMode:!1})},92863:function(t,e,i){var n=i(54422);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var a=i(56).Z;a("04301087",n,!0,{sourceMap:!1,shadowMode:!1})},64560:function(t,e,i){var n=i(25209);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var a=i(56).Z;a("75bb98b2",n,!0,{sourceMap:!1,shadowMode:!1})},76137:function(t,e,i){"use strict";i.d(e,{Z:function(){return f}});var n,a={uIcon:i(38275).Z,"u-Text":i(88488).Z},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"u-avatar",class:["u-avatar--"+t.shape],style:[{backgroundColor:t.text||t.icon?t.randomBgColor?t.colors[""!==t.colorIndex?t.colorIndex:t.$u.random(0,19)]:t.bgColor:"transparent",width:t.$u.addUnit(t.size),height:t.$u.addUnit(t.size)},t.$u.addStyle(t.customStyle)],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickHandler.apply(void 0,arguments)}}},[t._t("default",[t.mpAvatar&&t.allowMp?void 0:t.icon?i("u-icon",{attrs:{name:t.icon,size:t.fontSize,color:t.color}}):t.text?i("u--text",{attrs:{text:t.text,size:t.fontSize,color:t.color,align:"center",customStyle:"justify-content: center"}}):i("v-uni-image",{staticClass:"u-avatar__image",class:["u-avatar__image--"+t.shape],style:[{width:t.$u.addUnit(t.size),height:t.$u.addUnit(t.size)}],attrs:{src:t.avatarUrl||t.defaultUrl,mode:t.mode},on:{error:function(e){arguments[0]=e=t.$handleEvent(e),t.errorHandler.apply(void 0,arguments)}}})])],2)},A=[],s=(i(82772),i(9653),i(74916),i(77601),{props:{src:{type:String,default:uni.$u.props.avatar.src},shape:{type:String,default:uni.$u.props.avatar.shape},size:{type:[String,Number],default:uni.$u.props.avatar.size},mode:{type:String,default:uni.$u.props.avatar.mode},text:{type:String,default:uni.$u.props.avatar.text},bgColor:{type:String,default:uni.$u.props.avatar.bgColor},color:{type:String,default:uni.$u.props.avatar.color},fontSize:{type:[String,Number],default:uni.$u.props.avatar.fontSize},icon:{type:String,default:uni.$u.props.avatar.icon},mpAvatar:{type:Boolean,default:uni.$u.props.avatar.mpAvatar},randomBgColor:{type:Boolean,default:uni.$u.props.avatar.randomBgColor},defaultUrl:{type:String,default:uni.$u.props.avatar.defaultUrl},colorIndex:{type:[String,Number],validator:function(t){return uni.$u.test.range(t,[0,19])||""===t},default:uni.$u.props.avatar.colorIndex},name:{type:String,default:uni.$u.props.avatar.name}}}),u="data:image/jpg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAA8AAD/4QMraHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2J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AAAAAAAAAAAOU2nVOj5gdsc3LiqRvTpyqwOxbnnrhdfpSfrQB7pnv/AGvuS9gHXPMy5/Fem1yq0v0A6W29XqwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAf//Z",o={name:"u-avatar",mixins:[uni.$u.mpMixin,uni.$u.mixin,s],data:function(){return{colors:["#ffb34b","#f2bba9","#f7a196","#f18080","#88a867","#bfbf39","#89c152","#94d554","#f19ec2","#afaae4","#e1b0df","#c38cc1","#72dcdc","#9acdcb","#77b1cc","#448aca","#86cefa","#98d1ee","#73d1f1","#80a7dc"],avatarUrl:this.src,allowMp:!1}},watch:{src:{immediate:!0,handler:function(t){this.avatarUrl=t,t||this.errorHandler()}}},computed:{imageStyle:function(){var t={};return t}},created:function(){this.init()},methods:{init:function(){},isImg:function(){return-1!==this.src.indexOf("/")},errorHandler:function(){this.avatarUrl=this.defaultUrl||u},clickHandler:function(){this.$emit("click",this.name)}}},l=o,c=(i(84349),i(69453)),d=(0,c.Z)(l,r,A,!1,null,"39c5df65",null,!1,a,n),f=d.exports},11282:function(t,e,i){"use strict";var n;i.d(e,{Z:function(){return d}});var a,r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{ref:"u-index-anchor-"+t.text,staticClass:"u-index-anchor u-border-bottom",style:{height:t.$u.addUnit(t.height),backgroundColor:t.bgColor}},[i("v-uni-text",{staticClass:"u-index-anchor__text",style:{fontSize:t.$u.addUnit(t.size),color:t.color}},[t._v(t._s(t.text))])],1)},A=[],s=(i(57658),i(9653),{props:{text:{type:[String,Number],default:uni.$u.props.indexAnchor.text},color:{type:String,default:uni.$u.props.indexAnchor.color},size:{type:[String,Number],default:uni.$u.props.indexAnchor.size},bgColor:{type:String,default:uni.$u.props.indexAnchor.bgColor},height:{type:[String,Number],default:uni.$u.props.indexAnchor.height}}}),u={name:"u-index-anchor",mixins:[uni.$u.mpMixin,uni.$u.mixin,s],data:function(){return{}},mounted:function(){this.init()},methods:{init:function(){var t=uni.$u.$parent.call(this,"u-index-list");if(!t)return uni.$u.error("u-index-anchor必须要搭配u-index-list组件使用");t.anchors.push(this);var e=uni.$u.$parent.call(this,"u-index-item");if(!e)return uni.$u.error("u-index-anchor必须要搭配u-index-item组件使用");e.id=this.text.charCodeAt(0)}}},o=u,l=(i(70337),i(69453)),c=(0,l.Z)(o,r,A,!1,null,"2c1e58b5",null,!1,n,a),d=c.exports},13687:function(t,e,i){"use strict";var n;i.d(e,{Z:function(){return d}});var a,r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"u-index-item",class:["u-index-item-"+t.id],attrs:{id:"u-index-item-"+t.id}},[t._t("default")],2)},A=[],s=(i(41539),{props:{}}),u={name:"u-index-item",mixins:[uni.$u.mpMixin,uni.$u.mixin,s],data:function(){return{top:0,height:0,id:""}},created:function(){this.anchor={}},mounted:function(){this.init()},methods:{init:function(){var t=this;if(this.getParentData("u-index-list"),!this.parent)return uni.$u.error("u-index-item必须要搭配u-index-list组件使用");uni.$u.sleep().then((function(){t.getIndexItemRect().then((function(e){t.top=Math.ceil(e.top),t.height=Math.ceil(e.height)}))}))},getIndexItemRect:function(){var t=this;return new Promise((function(e){t.$uGetRect(".u-index-item").then((function(t){e(t)}))}))}}},o=u,l=(i(45523),i(69453)),c=(0,l.Z)(o,r,A,!1,null,"05a8dfd0",null,!1,n,a),d=c.exports},23428:function(t,e,i){"use strict";i.d(e,{Z:function(){return h}});var n,a={uTransition:i(46800).Z},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"u-index-list"},[i("v-uni-scroll-view",{ref:"uList",style:{maxHeight:t.$u.addUnit(t.scrollViewHeight)},attrs:{scrollTop:t.scrollTop,scrollIntoView:t.scrollIntoView,"offset-accuracy":1,"scroll-y":!0},on:{scroll:function(e){arguments[0]=e=t.$handleEvent(e),t.scrollHandler.apply(void 0,arguments)}}},[t.$slots.header?i("v-uni-view",[t._t("header")],2):t._e(),t._t("default"),t.$slots.footer?i("v-uni-view",[t._t("footer")],2):t._e()],2),i("v-uni-view",{ref:"u-index-list__letter",staticClass:"u-index-list__letter",style:{top:t.$u.addUnit(t.letterInfo.top||100)},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.touchStart.apply(void 0,arguments)},touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.touchMove.apply(void 0,arguments)},touchend:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.touchEnd.apply(void 0,arguments)},touchcancel:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.touchEnd.apply(void 0,arguments)}}},t._l(t.uIndexList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"u-index-list__letter__item",style:{backgroundColor:t.activeIndex===n?t.activeColor:"transparent"}},[i("v-uni-text",{staticClass:"u-index-list__letter__item__index",style:{color:t.activeIndex===n?"#fff":t.inactiveColor}},[t._v(t._s(e))])],1)})),1),i("u-transition",{attrs:{mode:"fade",show:t.touching,customStyle:{position:"fixed",right:"50px",top:t.$u.addUnit(t.indicatorTop),zIndex:2}}},[i("v-uni-view",{staticClass:"u-index-list__indicator",class:["u-index-list__indicator--show"],style:{height:t.$u.addUnit(t.indicatorHeight),width:t.$u.addUnit(t.indicatorHeight)}},[i("v-uni-text",{staticClass:"u-index-list__indicator__text"},[t._v(t._s(t.uIndexList[t.activeIndex]))])],1)],1)],1)},A=[],s=i(66407),u=i(4587),o=(i(57658),i(41539),i(88386),i(9653),{props:{inactiveColor:{type:String,default:uni.$u.props.indexList.inactiveColor},activeColor:{type:String,default:uni.$u.props.indexList.activeColor},indexList:{type:Array,default:uni.$u.props.indexList.indexList},sticky:{type:Boolean,default:uni.$u.props.indexList.sticky},customNavHeight:{type:[String,Number],default:uni.$u.props.indexList.customNavHeight}}}),l=function(){for(var t=[],e="A".charCodeAt(0),i=0;i<26;i++)t.push(String.fromCharCode(e+i));return t},c={name:"u-index-list",mixins:[uni.$u.mpMixin,uni.$u.mixin,o],data:function(){return{activeIndex:-1,touchmoveIndex:1,letterInfo:{height:0,itemHeight:0,top:0},indicatorHeight:50,touching:!1,scrollTop:0,scrollViewHeight:0,sys:uni.$u.sys(),scrolling:!1,scrollIntoView:""}},computed:{uIndexList:function(){return this.indexList.length?this.indexList:l()},indicatorTop:function(){var t=this.letterInfo,e=t.top,i=t.itemHeight;return Math.floor(e+i*this.activeIndex+i/2-this.indicatorHeight/2)}},watch:{uIndexList:{immediate:!0,handler:function(){var t=this;uni.$u.sleep().then((function(){t.setIndexListLetterInfo()}))}}},created:function(){this.children=[],this.anchors=[],this.init()},mounted:function(){this.setIndexListLetterInfo()},methods:{init:function(){this.scrollViewHeight=this.sys.windowHeight-this.customNavHeight},touchStart:function(t){var e=t.changedTouches[0];if(e){this.touching=!0;var i=e.pageY,n=this.getIndexListLetter(i);this.setValueForTouch(n)}},touchMove:function(t){var e=t.changedTouches[0];if(e){this.touching||(this.touching=!0);var i=e.pageY,n=this.getIndexListLetter(i);this.setValueForTouch(n)}},touchEnd:function(t){var e=this;uni.$u.sleep(300).then((function(){e.touching=!1}))},getIndexListLetterRect:function(){var t=this;return new Promise((function(e){t.$uGetRect(".u-index-list__letter").then((function(t){e(t)}))}))},setIndexListLetterInfo:function(){var t=this;this.getIndexListLetterRect().then((function(e){var i=e.height,n=uni.$u.sys(),a=n.windowHeight,r=0;r=0==t.customNavHeight?n.windowTop:uni.$u.getPx(t.customNavHeight),t.letterInfo={height:i,top:(a-i)/2+r/2,itemHeight:Math.floor(i/t.uIndexList.length)}}))},getIndexListLetter:function(t){var e=this.letterInfo,i=e.top,n=e.height,a=e.itemHeight;return t+=uni.$u.sys().windowTop,t=i+n?this.uIndexList.length-1:Math.floor((t-i)/a)},setValueForTouch:function(t){t!==this.activeIndex&&(this.activeIndex=t,this.scrollIntoView="u-index-item-".concat(this.uIndexList[t].charCodeAt(0)))},getHeaderRect:function(){var t=this;return new Promise((function(e){dom.getComponentRect(t.$refs.header,(function(t){e(t.size)}))}))},scrollHandler:function(t){var e=this;return(0,u.Z)((0,s.Z)().mark((function i(){var n,a,r,A,u,o;return(0,s.Z)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(!e.touching&&!e.scrolling){i.next=2;break}return i.abrupt("return");case 2:e.scrolling=!0,uni.$u.sleep(10).then((function(){e.scrolling=!1})),n=0,a=e.children.length,r=e.children,e.anchors,n=t.detail.scrollTop,A=0;case 10:if(!(A=r[a-1].top+r[a-1].height)){i.next=17;break}return e.activeIndex=-1,i.abrupt("break",28);case 17:if(o){i.next=22;break}return e.activeIndex=a-1,i.abrupt("break",28);case 22:if(!(n>u.top&&n