You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
xxdj1/unpackage/dist/build/h5/static/js/user-pages-chapingList-chap...

1 lines
15 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["user-pages-chapingList-chapingList~user-pages-complainList-complainList"],{1466:function(e,t,a){"use strict";var r=a("884f"),i=a.n(r);i.a},"31a2":function(e,t,a){"use strict";a.r(t);var r=a("51f2"),i=a("e309");for(var n in i)["default"].indexOf(n)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(n);a("a697");var s=a("f0c5"),u=Object(s["a"])(i["default"],r["b"],r["c"],!1,null,"7a78d4df",null,!1,r["a"],void 0);t["default"]=u.exports},"51f2":function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return n})),a.d(t,"a",(function(){return r}));var r={uBadge:a("7d4f").default},i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"u-tabs"},[a("v-uni-view",{staticClass:"u-tabs__wrapper"},[e._t("left"),a("v-uni-view",{staticClass:"u-tabs__wrapper__scroll-view-wrapper"},[a("v-uni-scroll-view",{ref:"u-tabs__wrapper__scroll-view",staticClass:"u-tabs__wrapper__scroll-view",attrs:{"scroll-x":e.scrollable,"scroll-left":e.scrollLeft,"scroll-with-animation":!0,"show-scrollbar":!1}},[a("v-uni-view",{ref:"u-tabs__wrapper__nav",staticClass:"u-tabs__wrapper__nav"},[e._l(e.list,(function(t,r){return a("v-uni-view",{key:r,ref:"u-tabs__wrapper__nav__item-"+r,refInFor:!0,staticClass:"u-tabs__wrapper__nav__item",class:["u-tabs__wrapper__nav__item-"+r,t.disabled&&"u-tabs__wrapper__nav__item--disabled"],style:[e.$u.addStyle(e.itemStyle),{flex:e.scrollable?"":1}],on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.clickHandler(t,r)}}},[a("v-uni-text",{staticClass:"u-tabs__wrapper__nav__item__text",class:[t.disabled&&"u-tabs__wrapper__nav__item__text--disabled"],style:[e.textStyle(r)]},[e._v(e._s(t[e.keyName]))]),a("u-badge",{attrs:{show:!(!t.badge||!(t.badge.show||t.badge.isDot||t.badge.value)),isDot:t.badge&&t.badge.isDot||e.propsBadge.isDot,value:t.badge&&t.badge.value||e.propsBadge.value,max:t.badge&&t.badge.max||e.propsBadge.max,type:t.badge&&t.badge.type||e.propsBadge.type,showZero:t.badge&&t.badge.showZero||e.propsBadge.showZero,bgColor:t.badge&&t.badge.bgColor||e.propsBadge.bgColor,color:t.badge&&t.badge.color||e.propsBadge.color,shape:t.badge&&t.badge.shape||e.propsBadge.shape,numberType:t.badge&&t.badge.numberType||e.propsBadge.numberType,inverted:t.badge&&t.badge.inverted||e.propsBadge.inverted,customStyle:"margin-left: 4px;"}})],1)})),a("v-uni-view",{ref:"u-tabs__wrapper__nav__line",staticClass:"u-tabs__wrapper__nav__line",style:[{width:e.$u.addUnit(e.lineWidth),transform:"translate("+e.lineOffsetLeft+"px)",transitionDuration:(e.firstTime?0:e.duration)+"ms",height:e.$u.addUnit(e.lineHeight),background:e.lineColor,backgroundSize:e.lineBgSize}]})],2)],1)],1),e._t("right")],2)],1)},n=[]},"5d66":function(e,t,a){var r=a("24fb");t=r(!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/* 文章场景相关 */uni-view[data-v-7a78d4df], uni-scroll-view[data-v-7a78d4df], uni-swiper-item[data-v-7a78d4df]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-tabs__wrapper[data-v-7a78d4df]{display:flex;flex-direction:row;align-items:center}.u-tabs__wrapper__scroll-view-wrapper[data-v-7a78d4df]{flex:1;overflow:auto hidden}.u-tabs__wrapper__scroll-view[data-v-7a78d4df]{display:flex;flex-direction:row;flex:1}.u-tabs__wrapper__nav[data-v-7a78d4df]{display:flex;flex-direction:row;position:relative}.u-tabs__wrapper__nav__item[data-v-7a78d4df]{padding:0 11px;display:flex;flex-direction:row;align-items:center;justify-content:center}.u-tabs__wrapper__nav__item--disabled[data-v-7a78d4df]{cursor:not-allowed}.u-tabs__wrapper__nav__item__text[data-v-7a78d4df]{font-size:15px;color:#606266}.u-tabs__wrapper__nav__item__text--disabled[data-v-7a78d4df]{color:#c8c9cc!important}.u-tabs__wrapper__nav__line[data-v-7a78d4df]{height:3px;background:#3c9cff;width:30px;position:absolute;bottom:2px;border-radius:100px;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;transition-duration:.3s}',""]),e.exports=t},"68af":function(e,t,a){var r=a("24fb");t=r(!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/* 文章场景相关 */uni-view[data-v-55cfca04], uni-scroll-view[data-v-55cfca04], uni-swiper-item[data-v-55cfca04]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-badge[data-v-55cfca04]{border-top-right-radius:100px;border-top-left-radius:100px;border-bottom-left-radius:100px;border-bottom-right-radius:100px;display:flex;flex-direction:row;line-height:11px;text-align:center;font-size:11px;color:#fff}.u-badge--dot[data-v-55cfca04]{height:8px;width:8px}.u-badge--inverted[data-v-55cfca04]{font-size:13px}.u-badge--not-dot[data-v-55cfca04]{padding:2px 5px}.u-badge--horn[data-v-55cfca04]{border-bottom-left-radius:0}.u-badge--primary[data-v-55cfca04]{background-color:#3c9cff}.u-badge--primary--inverted[data-v-55cfca04]{color:#3c9cff}.u-badge--error[data-v-55cfca04]{background-color:#f56c6c}.u-badge--error--inverted[data-v-55cfca04]{color:#f56c6c}.u-badge--success[data-v-55cfca04]{background-color:#5ac725}.u-badge--success--inverted[data-v-55cfca04]{color:#5ac725}.u-badge--info[data-v-55cfca04]{background-color:#909399}.u-badge--info--inverted[data-v-55cfca04]{color:#909399}.u-badge--warning[data-v-55cfca04]{background-color:#f9ae3d}.u-badge--warning--inverted[data-v-55cfca04]{color:#f9ae3d}',""]),e.exports=t},"7d4f":function(e,t,a){"use strict";a.r(t);var r=a("e999"),i=a("c778");for(var n in i)["default"].indexOf(n)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(n);a("1466");var s=a("f0c5"),u=Object(s["a"])(i["default"],r["b"],r["c"],!1,null,"55cfca04",null,!1,r["a"],void 0);t["default"]=u.exports},"7f24":function(e,t,a){"use strict";a("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("a9e3");var r={props:{isDot:{type:Boolean,default:uni.$u.props.badge.isDot},value:{type:[Number,String],default:uni.$u.props.badge.value},show:{type:Boolean,default:uni.$u.props.badge.show},max:{type:[Number,String],default:uni.$u.props.badge.max},type:{type:String,default:uni.$u.props.badge.type},showZero:{type:Boolean,default:uni.$u.props.badge.showZero},bgColor:{type:[String,null],default:uni.$u.props.badge.bgColor},color:{type:[String,null],default:uni.$u.props.badge.color},shape:{type:String,default:uni.$u.props.badge.shape},numberType:{type:String,default:uni.$u.props.badge.numberType},offset:{type:Array,default:uni.$u.props.badge.offset},inverted:{type:Boolean,default:uni.$u.props.badge.inverted},absolute:{type:Boolean,default:uni.$u.props.badge.absolute}}};t.default=r},"884f":function(e,t,a){var r=a("68af");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=a("4f06").default;i("0d24bf4e",r,!0,{sourceMap:!1,shadowMode:!1})},9948:function(e,t,a){var r=a("5d66");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=a("4f06").default;i("ec3c6a64",r,!0,{sourceMap:!1,shadowMode:!1})},a448:function(e,t,a){"use strict";a("7a82");var r=a("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("a9e3");var i=r(a("7f24")),n={name:"u-badge",mixins:[uni.$u.mpMixin,i.default,uni.$u.mixin],computed:{boxStyle:function(){return{}},badgeStyle:function(){var e={};if(this.color&&(e.color=this.color),this.bgColor&&!this.inverted&&(e.backgroundColor=this.bgColor),this.absolute&&(e.position="absolute",this.offset.length)){var t=this.offset[0],a=this.offset[1]||t;e.top=uni.$u.addUnit(t),e.right=uni.$u.addUnit(a)}return e},showValue:function(){switch(this.numberType){case"overflow":return Number(this.value)>Number(this.max)?this.max+"+":this.value;case"ellipsis":return Number(this.value)>Number(this.max)?"...":this.value;case"limit":return Number(this.value)>999?Number(this.value)>=9999?Math.floor(this.value/1e4*100)/100+"w":Math.floor(this.value/1e3*100)/100+"k":this.value;default:return Number(this.value)}}}};t.default=n},a697:function(e,t,a){"use strict";var r=a("9948"),i=a.n(r);i.a},b200:function(e,t,a){"use strict";a("7a82");var r=a("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("13d5"),a("d3b7"),a("fb6a"),a("3ca3"),a("ddb0"),a("d81d");var i=r(a("3835")),n=r(a("5530")),s=r(a("c7eb")),u=r(a("1da1")),o=r(a("c16d")),d={name:"u-tabs",mixins:[uni.$u.mpMixin,uni.$u.mixin,o.default],data:function(){return{firstTime:!0,scrollLeft:0,scrollViewWidth:0,lineOffsetLeft:0,tabsRect:{left:0},innerCurrent:0,moving:!1}},watch:{current:{immediate:!0,handler:function(e,t){var a=this;e!==this.innerCurrent&&(this.innerCurrent=e,this.$nextTick((function(){a.resize()})))}},list:function(){var e=this;this.$nextTick((function(){e.resize()}))}},computed:{textStyle:function(){var e=this;return function(t){var a={},r=t===e.innerCurrent?uni.$u.addStyle(e.activeStyle):uni.$u.addStyle(e.inactiveStyle);return e.list[t].disabled&&(a.color="#c8c9cc"),uni.$u.deepMerge(r,a)}},propsBadge:function(){return uni.$u.props.badge}},mounted:function(){var e=this;return(0,u.default)((0,s.default)().mark((function t(){return(0,s.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.init();case 1:case"end":return t.stop()}}),t)})))()},methods:{setLineLeft:function(){var e=this,t=this.list[this.innerCurrent];if(t){var a=this.list.slice(0,this.innerCurrent).reduce((function(e,t){return e+t.rect.width}),0),r=uni.$u.getPx(this.lineWidth);this.lineOffsetLeft=a+(t.rect.width-r)/2,this.firstTime&&setTimeout((function(){e.firstTime=!1}),10)}},animation:function(e){},clickHandler:function(e,t){this.$emit("click",(0,n.default)((0,n.default)({},e),{},{index:t})),e.disabled||(this.innerCurrent=t,this.resize(),this.$emit("change",(0,n.default)((0,n.default)({},e),{},{index:t})))},init:function(){var e=this;uni.$u.sleep().then((function(){e.resize()}))},setScrollLeft:function(){var e=this.list[this.innerCurrent],t=this.list.slice(0,this.innerCurrent).reduce((function(e,t){return e+t.rect.width}),0),a=uni.$u.sys().windowWidth,r=t-(this.tabsRect.width-e.rect.width)/2-(a-this.tabsRect.right)/2+this.tabsRect.left/2;r=Math.min(r,this.scrollViewWidth-this.tabsRect.width),this.scrollLeft=Math.max(0,r)},resize:function(){var e=this;0!==this.list.length&&Promise.all([this.getTabsRect(),this.getAllItemRect()]).then((function(t){var a=(0,i.default)(t,2),r=a[0],n=a[1],s=void 0===n?[]:n;e.tabsRect=r,e.scrollViewWidth=0,s.map((function(t,a){e.scrollViewWidth+=t.width,e.list[a].rect=t})),e.setLineLeft(),e.setScrollLeft()}))},getTabsRect:function(){var e=this;return new Promise((function(t){e.queryRect("u-tabs__wrapper__scroll-view").then((function(e){return t(e)}))}))},getAllItemRect:function(){var e=this;return new Promise((function(t){var a=e.list.map((function(t,a){return e.queryRect("u-tabs__wrapper__nav__item-".concat(a),!0)}));Promise.all(a).then((function(e){return t(e)}))}))},queryRect:function(e,t){var a=this;return new Promise((function(t){a.$uGetRect(".".concat(e)).then((function(e){t(e)}))}))}}};t.default=d},c16d:function(e,t,a){"use strict";a("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("a9e3");var r={props:{duration:{type:Number,default:uni.$u.props.tabs.duration},list:{type:Array,default:uni.$u.props.tabs.list},lineColor:{type:String,default:uni.$u.props.tabs.lineColor},activeStyle:{type:[String,Object],default:uni.$u.props.tabs.activeStyle},inactiveStyle:{type:[String,Object],default:uni.$u.props.tabs.inactiveStyle},lineWidth:{type:[String,Number],default:uni.$u.props.tabs.lineWidth},lineHeight:{type:[String,Number],default:uni.$u.props.tabs.lineHeight},lineBgSize:{type:String,default:uni.$u.props.tabs.lineBgSize},itemStyle:{type:[String,Object],default:uni.$u.props.tabs.itemStyle},scrollable:{type:Boolean,default:uni.$u.props.tabs.scrollable},current:{type:[Number,String],default:uni.$u.props.tabs.current},keyName:{type:String,default:uni.$u.props.tabs.keyName}}};t.default=r},c778:function(e,t,a){"use strict";a.r(t);var r=a("a448"),i=a.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){a.d(t,e,(function(){return r[e]}))}(n);t["default"]=i.a},e309:function(e,t,a){"use strict";a.r(t);var r=a("b200"),i=a.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){a.d(t,e,(function(){return r[e]}))}(n);t["default"]=i.a},e999:function(e,t,a){"use strict";a.d(t,"b",(function(){return r})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){}));var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.show&&(0!==Number(e.value)||e.showZero||e.isDot)?a("v-uni-text",{staticClass:"u-badge",class:[e.isDot?"u-badge--dot":"u-badge--not-dot",e.inverted&&"u-badge--inverted","horn"===e.shape&&"u-badge--horn","u-badge--"+e.type+(e.inverted?"--inverted":"")],style:[e.$u.addStyle(e.customStyle),e.badgeStyle]},[e._v(e._s(e.isDot?"":e.showValue))]):e._e()},i=[]}}]);