@nutui/nutui 2.3.13 → 2.3.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/.DS_Store +0 -0
- package/dist/nutui.css +1 -1
- package/dist/nutui.js +2380 -518
- package/dist/nutui.js.map +1 -1
- package/dist/nutui.min.css +1 -1
- package/dist/nutui.min.js +3 -3
- package/dist/nutui.min.js.map +1 -1
- package/dist/packages/.DS_Store +0 -0
- package/dist/packages/actionsheet/actionsheet.css +1 -1
- package/dist/packages/actionsheet/actionsheet.js +2 -2
- package/dist/packages/actionsheet/actionsheet.js.map +1 -1
- package/dist/packages/address/address.css +1 -1
- package/dist/packages/address/address.js +2 -2
- package/dist/packages/address/address.js.map +1 -1
- package/dist/packages/avatar/avatar.css +1 -1
- package/dist/packages/avatar/avatar.js +2 -2
- package/dist/packages/avatar/avatar.js.map +1 -1
- package/dist/packages/backtop/backtop.css +1 -1
- package/dist/packages/backtop/backtop.js +2 -2
- package/dist/packages/backtop/backtop.js.map +1 -1
- package/dist/packages/badge/badge.css +1 -1
- package/dist/packages/badge/badge.js +2 -2
- package/dist/packages/badge/badge.js.map +1 -1
- package/dist/packages/button/button.css +1 -1
- package/dist/packages/button/button.js +2 -2
- package/dist/packages/button/button.js.map +1 -1
- package/dist/packages/buttongroup/buttongroup.css +1 -1
- package/dist/packages/buttongroup/buttongroup.js +2 -2
- package/dist/packages/buttongroup/buttongroup.js.map +1 -1
- package/dist/packages/calendar/calendar.css +1 -1
- package/dist/packages/calendar/calendar.js +2 -2
- package/dist/packages/calendar/calendar.js.map +1 -1
- package/dist/packages/cell/cell.css +1 -1
- package/dist/packages/cell/cell.js +2 -2
- package/dist/packages/cell/cell.js.map +1 -1
- package/dist/packages/checkbox/checkbox.css +1 -1
- package/dist/packages/checkbox/checkbox.js +2 -2
- package/dist/packages/checkbox/checkbox.js.map +1 -1
- package/dist/packages/checkboxgroup/checkboxgroup.css +1 -1
- package/dist/packages/checkboxgroup/checkboxgroup.js +2 -2
- package/dist/packages/checkboxgroup/checkboxgroup.js.map +1 -1
- package/dist/packages/checkboxgroup/checkboxgroup.vue +6 -1
- package/dist/packages/circleprogress/circleprogress.css +1 -1
- package/dist/packages/circleprogress/circleprogress.js +2 -2
- package/dist/packages/circleprogress/circleprogress.js.map +1 -1
- package/dist/packages/col/col.css +1 -1
- package/dist/packages/col/col.js +2 -2
- package/dist/packages/col/col.js.map +1 -1
- package/dist/packages/collapse/collapse.css +1 -1
- package/dist/packages/collapse/collapse.js +2 -2
- package/dist/packages/collapse/collapse.js.map +1 -1
- package/dist/packages/collapseitem/collapseitem.css +1 -1
- package/dist/packages/collapseitem/collapseitem.js +2 -2
- package/dist/packages/collapseitem/collapseitem.js.map +1 -1
- package/dist/packages/collapseitem/collapseitem.vue +14 -2
- package/dist/packages/countdown/countdown.css +1 -1
- package/dist/packages/countdown/countdown.js +2 -2
- package/dist/packages/countdown/countdown.js.map +1 -1
- package/dist/packages/countup/countup.css +1 -1
- package/dist/packages/countup/countup.js +2 -2
- package/dist/packages/countup/countup.js.map +1 -1
- package/dist/packages/coupon/coupon.css +1 -1
- package/dist/packages/coupon/coupon.js +2 -2
- package/dist/packages/coupon/coupon.js.map +1 -1
- package/dist/packages/datepicker/datepicker.css +1 -1
- package/dist/packages/datepicker/datepicker.js +2 -2
- package/dist/packages/datepicker/datepicker.js.map +1 -1
- package/dist/packages/dialog/dialog.css +1 -1
- package/dist/packages/dialog/dialog.js +2 -2
- package/dist/packages/dialog/dialog.js.map +1 -1
- package/dist/packages/drag/drag.css +1 -1
- package/dist/packages/drag/drag.js +2 -2
- package/dist/packages/drag/drag.js.map +1 -1
- package/dist/packages/elevator/elevator.css +1 -1
- package/dist/packages/elevator/elevator.js +2 -2
- package/dist/packages/elevator/elevator.js.map +1 -1
- package/dist/packages/fixednav/fixednav.css +1 -1
- package/dist/packages/fixednav/fixednav.js +2 -2
- package/dist/packages/fixednav/fixednav.js.map +1 -1
- package/dist/packages/flex/flex.css +1 -1
- package/dist/packages/flex/flex.js +2 -2
- package/dist/packages/flex/flex.js.map +1 -1
- package/dist/packages/icon/icon.css +1 -1
- package/dist/packages/icon/icon.js +2 -2
- package/dist/packages/icon/icon.js.map +1 -1
- package/dist/packages/imagepicker/imagepicker.css +1 -1
- package/dist/packages/imagepicker/imagepicker.js +2 -2
- package/dist/packages/imagepicker/imagepicker.js.map +1 -1
- package/dist/packages/infiniteloading/infiniteloading.css +1 -1
- package/dist/packages/infiniteloading/infiniteloading.js +2 -2
- package/dist/packages/infiniteloading/infiniteloading.js.map +1 -1
- package/dist/packages/lazyload/lazyload.css +1 -1
- package/dist/packages/lazyload/lazyload.js +3 -3
- package/dist/packages/lazyload/lazyload.js.map +1 -1
- package/dist/packages/leftslip/leftslip.css +1 -1
- package/dist/packages/leftslip/leftslip.js +2 -2
- package/dist/packages/leftslip/leftslip.js.map +1 -1
- package/dist/packages/luckdraw/luckdraw.css +1 -1
- package/dist/packages/luckdraw/luckdraw.js +2 -2
- package/dist/packages/luckdraw/luckdraw.js.map +1 -1
- package/dist/packages/luckycard/luckycard.css +1 -1
- package/dist/packages/luckycard/luckycard.js +2 -2
- package/dist/packages/luckycard/luckycard.js.map +1 -1
- package/dist/packages/magic/magic.css +1 -1
- package/dist/packages/magic/magic.js +2 -2
- package/dist/packages/magic/magic.js.map +1 -1
- package/dist/packages/menu/menu.css +1 -1
- package/dist/packages/menu/menu.js +2 -2
- package/dist/packages/menu/menu.js.map +1 -1
- package/dist/packages/navbar/navbar.css +1 -1
- package/dist/packages/navbar/navbar.js +2 -2
- package/dist/packages/navbar/navbar.js.map +1 -1
- package/dist/packages/ninegrid/ninegrid.css +1 -1
- package/dist/packages/ninegrid/ninegrid.js +2 -2
- package/dist/packages/ninegrid/ninegrid.js.map +1 -1
- package/dist/packages/noticebar/noticebar.css +1 -1
- package/dist/packages/noticebar/noticebar.js +2 -2
- package/dist/packages/noticebar/noticebar.js.map +1 -1
- package/dist/packages/notify/notify.css +1 -1
- package/dist/packages/notify/notify.js +2 -2
- package/dist/packages/notify/notify.js.map +1 -1
- package/dist/packages/numberkeyboard/numberkeyboard.css +1 -1
- package/dist/packages/numberkeyboard/numberkeyboard.js +2 -2
- package/dist/packages/numberkeyboard/numberkeyboard.js.map +1 -1
- package/dist/packages/picker/picker.css +1 -1
- package/dist/packages/picker/picker.js +2 -2
- package/dist/packages/picker/picker.js.map +1 -1
- package/dist/packages/popup/popup.css +1 -1
- package/dist/packages/popup/popup.js +2 -2
- package/dist/packages/popup/popup.js.map +1 -1
- package/dist/packages/price/price.css +1 -1
- package/dist/packages/price/price.js +2 -2
- package/dist/packages/price/price.js.map +1 -1
- package/dist/packages/progress/progress.css +1 -1
- package/dist/packages/progress/progress.js +2 -2
- package/dist/packages/progress/progress.js.map +1 -1
- package/dist/packages/radio/radio.css +1 -1
- package/dist/packages/radio/radio.js +2 -2
- package/dist/packages/radio/radio.js.map +1 -1
- package/dist/packages/radiogroup/radiogroup.css +1 -1
- package/dist/packages/radiogroup/radiogroup.js +2 -2
- package/dist/packages/radiogroup/radiogroup.js.map +1 -1
- package/dist/packages/range/range.css +1 -1
- package/dist/packages/range/range.js +2 -2
- package/dist/packages/range/range.js.map +1 -1
- package/dist/packages/rate/rate.css +1 -1
- package/dist/packages/rate/rate.js +2 -2
- package/dist/packages/rate/rate.js.map +1 -1
- package/dist/packages/row/row.css +1 -1
- package/dist/packages/row/row.js +2 -2
- package/dist/packages/row/row.js.map +1 -1
- package/dist/packages/scroller/scroller.css +1 -1
- package/dist/packages/scroller/scroller.js +2 -2
- package/dist/packages/scroller/scroller.js.map +1 -1
- package/dist/packages/searchbar/searchbar.css +1 -1
- package/dist/packages/searchbar/searchbar.js +2 -2
- package/dist/packages/searchbar/searchbar.js.map +1 -1
- package/dist/packages/shortpassword/shortpassword.css +1 -1
- package/dist/packages/shortpassword/shortpassword.js +2 -2
- package/dist/packages/shortpassword/shortpassword.js.map +1 -1
- package/dist/packages/sidenavbar/sidenavbar.css +1 -1
- package/dist/packages/sidenavbar/sidenavbar.js +2 -2
- package/dist/packages/sidenavbar/sidenavbar.js.map +1 -1
- package/dist/packages/sidenavbaritem/sidenavbaritem.css +1 -1
- package/dist/packages/sidenavbaritem/sidenavbaritem.js +2 -2
- package/dist/packages/sidenavbaritem/sidenavbaritem.js.map +1 -1
- package/dist/packages/signature/signature.css +1 -1
- package/dist/packages/signature/signature.js +2 -2
- package/dist/packages/signature/signature.js.map +1 -1
- package/dist/packages/skeleton/skeleton.css +1 -1
- package/dist/packages/skeleton/skeleton.js +2 -2
- package/dist/packages/skeleton/skeleton.js.map +1 -1
- package/dist/packages/slider/slider.css +1 -1
- package/dist/packages/slider/slider.js +2 -2
- package/dist/packages/slider/slider.js.map +1 -1
- package/dist/packages/stepper/stepper.css +1 -1
- package/dist/packages/stepper/stepper.js +2 -2
- package/dist/packages/stepper/stepper.js.map +1 -1
- package/dist/packages/steps/steps.css +1 -1
- package/dist/packages/steps/steps.js +2 -2
- package/dist/packages/steps/steps.js.map +1 -1
- package/dist/packages/subsidenavbar/subsidenavbar.css +1 -1
- package/dist/packages/subsidenavbar/subsidenavbar.js +2 -2
- package/dist/packages/subsidenavbar/subsidenavbar.js.map +1 -1
- package/dist/packages/swiper/swiper.css +1 -1
- package/dist/packages/swiper/swiper.js +2 -2
- package/dist/packages/swiper/swiper.js.map +1 -1
- package/dist/packages/switch/switch.css +1 -1
- package/dist/packages/switch/switch.js +2 -2
- package/dist/packages/switch/switch.js.map +1 -1
- package/dist/packages/tab/tab.css +1 -1
- package/dist/packages/tab/tab.js +2 -2
- package/dist/packages/tab/tab.js.map +1 -1
- package/dist/packages/tabbar/tabbar.css +1 -1
- package/dist/packages/tabbar/tabbar.js +2 -2
- package/dist/packages/tabbar/tabbar.js.map +1 -1
- package/dist/packages/tabpanel/tabpanel.css +1 -1
- package/dist/packages/tabpanel/tabpanel.js +2 -2
- package/dist/packages/tabpanel/tabpanel.js.map +1 -1
- package/dist/packages/tabselect/tabselect.css +1 -1
- package/dist/packages/tabselect/tabselect.js +2 -2
- package/dist/packages/tabselect/tabselect.js.map +1 -1
- package/dist/packages/textbox/textbox.css +1 -1
- package/dist/packages/textbox/textbox.js +2 -2
- package/dist/packages/textbox/textbox.js.map +1 -1
- package/dist/packages/textinput/textinput.css +1 -1
- package/dist/packages/textinput/textinput.js +2 -2
- package/dist/packages/textinput/textinput.js.map +1 -1
- package/dist/packages/timeline/timeline.css +1 -1
- package/dist/packages/timeline/timeline.js +2 -2
- package/dist/packages/timeline/timeline.js.map +1 -1
- package/dist/packages/timelineitem/timelineitem.css +1 -1
- package/dist/packages/timelineitem/timelineitem.js +2 -2
- package/dist/packages/timelineitem/timelineitem.js.map +1 -1
- package/dist/packages/toast/toast.css +1 -1
- package/dist/packages/toast/toast.js +2 -2
- package/dist/packages/toast/toast.js.map +1 -1
- package/dist/packages/uploader/uploader.css +1 -1
- package/dist/packages/uploader/uploader.js +2 -2
- package/dist/packages/uploader/uploader.js.map +1 -1
- package/dist/packages/video/video.css +1 -1
- package/dist/packages/video/video.js +2 -2
- package/dist/packages/video/video.js.map +1 -1
- package/package.json +5 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.14 - scroller.js, ea1cfeedc4af744045aa, Thu Jul 27 2023 18:33:12 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("scroller",[],e):"object"==typeof exports?exports.scroller=e():t.scroller=e()}("undefined"!=typeof self?self:this,(function(){return function(t){var e={};function s(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,s),i.l=!0,i.exports}return s.m=t,s.c=e,s.d=function(t,e,o){s.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(s.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)s.d(o,i,function(e){return t[e]}.bind(null,i));return o},s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="./",s(s.s=157)}({0:function(t,e,s){"use strict";function o(t,e,s,o,i,r,n,a){var l,h="function"==typeof t?t.options:t;if(e&&(h.render=e,h.staticRenderFns=s,h._compiled=!0),o&&(h.functional=!0),r&&(h._scopeId="data-v-"+r),n?(l=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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(n)},h._ssrRegister=l):i&&(l=a?function(){i.call(this,(h.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(h.functional){h._injectStyles=l;var u=h.render;h.render=function(t,e){return l.call(e),u(t,e)}}else{var c=h.beforeCreate;h.beforeCreate=c?[].concat(c,l):[l]}return{exports:t,options:h}}s.d(e,"a",(function(){return o}))},119:function(t,e,s){},157:function(t,e,s){"use strict";s.r(e);var o,i=s(3),r=s.n(i),n={name:"nut-vert-scroll",props:{stretch:{type:Number,default:100},isUnMore:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},pulldownTxt:{type:String,default:"下拉刷新"},loadMoreTxt:{type:String,default:"上拉加载"},loadingTxt:{type:String,default:"加载中..."},unloadMoreTxt:{type:String,default:"没有更多了"},threshold:{type:Number,default:100},propsTime:{type:Number,default:0},scrollTo:{type:Number,default:1}},watch:{isLoading:function(t){var e=this;t||0!==this.realMove||(clearTimeout(this.timer),this.timer=setTimeout((function(){e.setTransform(e.realMove,"end",null)}),this.propsTime))},isUnMore:function(){this.isShow()},scrollTo:function(t){"number"==typeof t&&!isNaN(t)&&t<=0&&(this.setTransform(t,null,500),this.$emit("scrollToCbk"))}},data:function(){return{touchParams:{startY:0,endY:0,startTime:0,endTime:0},translateY:0,scrollDistance:0,timer:null,timerEmit:null,realMove:0,isShowLoadMore:!1,listMinHeightStyle:"auto",isFirstPull:!0}},methods:{isShow:function(){var t=this.$refs.wrapper.offsetHeight;t<this.$refs.list.offsetHeight?(this.isShowLoadMore=!0,this.listMinHeightStyle="auto"):(this.isShowLoadMore=!1,this.isFirstPull=!0,this.listMinHeightStyle="".concat(t,"px"))},setTransform:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500;this.$refs.list.style.webkitTransition="end"===e?"transform ".concat(s,"ms cubic-bezier(0.19, 1, 0.22, 1)"):"",this.$refs.list.style.webkitTransform="translate3d(0, ".concat(t,"px, 0)"),this.scrollDistance=t,this.$emit("scrollChange",t)},setMove:function(t,e,s){var o=this,i=t+this.translateY,r=this.$refs.wrapper.offsetHeight,n=-this.$refs.list.offsetHeight+r;"end"===e?(i>0?(this.realMove=0,(!this.isShowLoadMore||this.isFirstPull)&&!this.isLoading&&i>this.stretch?(i=50,clearTimeout(this.timerEmit),this.timerEmit=setTimeout((function(){o.$emit("pulldown")}),s/2)):(this.isFirstPull=!0,i=0)):i<0&&i<n+this.threshold&&(i<n&&(i=n),this.realMove=n,this.isLoading||this.isUnMore||this.$emit("loadMore")),this.setTransform(i,e,s)):(i>0&&i>this.stretch?i=this.stretch:i<n-this.stretch&&(i=n-this.stretch),this.setTransform(i,null,null))},touchStart:function(t){var e=t.changedTouches[0];this.touchParams.startY=e.pageY,this.touchParams.startTime=t.timestamp||Date.now(),this.translateY=this.scrollDistance},touchMove:function(t){t.preventDefault();var e=t.changedTouches[0];this.touchParams.lastY=e.pageY,this.touchParams.lastTime=t.timestamp||Date.now();var s=this.touchParams.lastY-this.touchParams.startY;s<0&&this.isShowLoadMore&&this.isFirstPull&&(this.isFirstPull=!1),this.setMove(s)},touchEnd:function(t){var e=t.changedTouches[0];this.touchParams.lastY=e.pageY,this.touchParams.lastTime=t.timestamp||Date.now();var s=this.touchParams.lastY-this.touchParams.startY,o=this.touchParams.lastTime-this.touchParams.startTime,i=this.$refs.wrapper.offsetHeight,r=-this.$refs.list.offsetHeight+i;o<=300?((s*=2)<0&&s<r&&(s=r),o+=500,this.setMove(s,"end",o)):this.setMove(s,"end")}},mounted:function(){var t=this;this.$nextTick((function(){t.isShow(),t.$el.addEventListener("touchstart",t.touchStart),t.$el.addEventListener("touchmove",t.touchMove),t.$el.addEventListener("touchend",t.touchEnd)}))},beforeDestroy:function(){this.$el.removeEventListener("touchstart",this.touchStart),this.$el.removeEventListener("touchmove",this.touchMove),this.$el.removeEventListener("touchend",this.touchEnd),clearTimeout(this.timer),clearTimeout(this.timerEmit)}},a=s(0),l=Object(a.a)(n,(function(){var t=this,e=t._self._c;return e("div",{ref:"wrapper",staticClass:"nut-vert-scroll"},[e("div",{ref:"list",staticClass:"nut-vert-list",style:{"min-height":t.listMinHeightStyle}},[t.isFirstPull?e("div",{staticClass:"nut-vert-pulldown"},[t.isLoading?e("div",{staticClass:"nut-vert-pulldown-status"},[e("span",{staticClass:"nut-vert-loading"}),t._v(" "),e("span",{staticClass:"nut-vert-loading-txt"},[t._v(t._s(t.loadingTxt))])]):e("div",{staticClass:"nut-vert-pulldown-txt"},[t._v(t._s(t.pulldownTxt))])]):t._e(),t._v(" "),t._t("list"),t._v(" "),e("div",{staticClass:"nut-vert-loadmore"},[!t.isUnMore&&t.isShowLoadMore?[t.isLoading?e("div",{staticClass:"nut-vert-load-status"},[e("span",{staticClass:"nut-vert-loading"}),t._v(" "),e("span",{staticClass:"nut-vert-loading-txt"},[t._v(t._s(t.loadingTxt))])]):t._e()]:t.isUnMore?[e("div",{staticClass:"nut-vert-unloadmore-txt"},[t._v(t._s(t.unloadMoreTxt))])]:t._e()],2)],2)])}),[],!1,null,null,null).exports,h={name:"nut-hor-scroll",props:{stretch:{type:Number,default:40},scrollTo:{type:Number,default:1},listWidth:{type:Number,default:0}},watch:{scrollTo:function(t){"number"==typeof t&&!isNaN(t)&&t<=0&&(this.setTransform(t,null,500),this.$emit("scrollToCbk"))}},data:function(){return{touchParams:{startX:0,endX:0,startY:0,endY:0,startTime:0,endTime:0},transformX:0,scrollDistance:0,timer:null,isShowLoadMore:!1,isFirstShow:!1}},methods:{isShow:function(){var t=this.listWidth?this.listWidth:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,e=this.$refs.list.offsetWidth;this.isShowLoadMore=t<=e},setTransform:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"px";this.scrollDistance=t,t+=o,this.$refs.list.style.webkitTransition="end"===e?"transform ".concat(s,"ms cubic-bezier(0.19, 1, 0.22, 1)"):"",this.$refs.list.style.webkitTransform="translate3d(".concat(t,", 0, 0)")},setMove:function(t,e,s){var o=t+this.transformX,i=this.listWidth?this.listWidth:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,r=this.$refs.list.offsetWidth;if("end"===e)o>0?o=0:o<-r+i&&(o=-r+i<=0?-r+i:0),this.setTransform(o,e,s);else{var n=-r+i;o>0&&o>this.stretch?o=this.stretch:o<n-this.stretch&&(o=n<=0?n-this.stretch:o<-this.stretch?-this.stretch:o),this.setTransform(o,null,null)}},touchStart:function(t){var e=t.changedTouches[0];this.touchParams.startX=e.pageX,this.touchParams.startY=e.pageY,this.touchParams.startTime=t.timestamp||Date.now(),this.transformX=this.scrollDistance},touchEvent:function(t,e){this.touchParams.lastX=t.pageX,this.touchParams.lastY=t.pageY;var s=this.touchParams.lastY-this.touchParams.startY,o=this.touchParams.lastX-this.touchParams.startX;if(!(Math.abs(o)>20&&Math.abs(o)>Math.abs(s)))return!1;var i=this.listWidth?this.listWidth:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,r=-this.$refs.list.offsetWidth+i;e&&e(o,r,s)},touchMove:function(t){var e=this,s=t.changedTouches[0];this.touchParams.lastTime=t.timestamp||Date.now();this.touchParams.lastTime,this.touchParams.startTime;this.touchEvent(s,(function(s,o,i){t.preventDefault(),t.cancelable&&t.preventDefault(),s>0&&e.isFirstShow&&(e.isFirstShow=!1),e.setMove(s)}))},touchEnd:function(t){var e=this;t.stopPropagation();var s=t.changedTouches[0];this.touchParams.lastTime=t.timestamp||Date.now();var o=this.touchParams.lastTime-this.touchParams.startTime;this.touchEvent(s,(function(t,s){Math.abs(t)>100&&(t*=1.5),t<0&&t+e.transformX<s-20&&e.isFirstShow&&e.$emit("jump"),!e.isFirstShow&&t<0&&t+e.transformX<s&&e.$slots.more&&(e.isFirstShow=!0),o<=300?(o+=500,e.setMove(t,"end",o)):e.setMove(t,"end")}))}},mounted:function(){var t=this;this.$nextTick((function(){t.isShow(),t.$el.addEventListener("touchstart",t.touchStart),t.$el.addEventListener("touchmove",t.touchMove),t.$el.addEventListener("touchend",t.touchEnd)}))},beforeDestroy:function(){this.$el.removeEventListener("touchstart",this.touchStart),this.$el.removeEventListener("touchmove",this.touchMove),this.$el.removeEventListener("touchend",this.touchEnd),clearTimeout(this.timer)}},u=Object(a.a)(h,(function(){var t=this,e=t._self._c;return e("div",{ref:"wrapper",staticClass:"nut-hor-scroll"},[e("div",{ref:"list",staticClass:"nut-hor-list"},[t._t("list"),t._v(" "),t.$slots.more&&t.isShowLoadMore?e("div",{staticClass:"nut-hor-control"},[t._t("more")],2):t._e(),t._v(" "),t.$slots.arrow?t._t("arrow"):t._e()],2)])}),[],!1,null,null,null).exports,c={name:"nut-scroller",props:{type:{type:String,default:"horizontal"},stretch:{type:Number,default:100},isUnMore:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},threshold:{type:Number,default:100},pulldownTxt:{type:String,default:"下拉刷新"},loadMoreTxt:{type:String,default:"上拉加载"},loadingTxt:{type:String,default:"加载中..."},unloadMoreTxt:{type:String,default:"没有更多了"},propsTime:{type:Number,default:0},scrollTo:{type:Number,default:1}},data:function(){return{}},components:(o={},r()(o,l.name,l),r()(o,u.name,u),o),methods:{loadMore:function(){this.$emit("loadMore")},jump:function(){this.$emit("jump")},pulldown:function(){this.$emit("pulldown")},scrollToCbk:function(){this.$emit("scrollToCbk")},scrollChange:function(t){this.$emit("scrollChange",t)}}},d=Object(a.a)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"nut-scroller"},["vertical"===t.type?[e("nut-vert-scroll",{attrs:{stretch:t.stretch,"is-un-more":t.isUnMore,"is-loading":t.isLoading,threshold:t.threshold,"pulldown-txt":t.pulldownTxt,"load-more-txt":t.loadMoreTxt,"loading-txt":t.loadingTxt,"unload-more-txt":t.unloadMoreTxt,"props-time":t.propsTime,"scroll-to":t.scrollTo},on:{loadMore:t.loadMore,pulldown:t.pulldown,scrollToCbk:t.scrollToCbk,scrollChange:t.scrollChange}},[t._t("list",null,{slot:"list"})],2)]:"horizontal"===t.type?[e("nut-hor-scroll",{attrs:{stretch:t.stretch,"scroll-to":t.scrollTo},on:{jump:t.jump,scrollToCbk:t.scrollToCbk}},[t._t("list",null,{slot:"list"}),t._v(" "),t._t("more",null,{slot:"more"}),t._v(" "),t._t("arrow",null,{slot:"arrow"})],2)]:t._e()],2)}),[],!1,null,null,null).exports;s(119);d.install=function(t){t.component(d.name,d)};e.default=d},3:function(t,e){t.exports=function(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t},t.exports.__esModule=!0,t.exports.default=t.exports}})}));
|
|
6
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("scroller",[],e):"object"==typeof exports?exports.scroller=e():t.scroller=e()}("undefined"!=typeof self?self:this,(function(){return function(t){var e={};function s(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,s),i.l=!0,i.exports}return s.m=t,s.c=e,s.d=function(t,e,o){s.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(s.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)s.d(o,i,function(e){return t[e]}.bind(null,i));return o},s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="./",s(s.s=159)}({0:function(t,e,s){"use strict";function o(t,e,s,o,i,r,n,a){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=s,u._compiled=!0),o&&(u.functional=!0),r&&(u._scopeId="data-v-"+r),n?(l=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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(n)},u._ssrRegister=l):i&&(l=a?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var h=u.render;u.render=function(t,e){return l.call(e),h(t,e)}}else{var c=u.beforeCreate;u.beforeCreate=c?[].concat(c,l):[l]}return{exports:t,options:u}}s.d(e,"a",(function(){return o}))},10:function(t,e,s){var o=s(2).default,i=s(11);t.exports=function(t){var e=i(t,"string");return"symbol"===o(e)?e:String(e)},t.exports.__esModule=!0,t.exports.default=t.exports},11:function(t,e,s){var o=s(2).default;t.exports=function(t,e){if("object"!==o(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!==o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},121:function(t,e,s){},159:function(t,e,s){"use strict";s.r(e);var o,i=s(4),r=s.n(i),n={name:"nut-vert-scroll",props:{stretch:{type:Number,default:100},isUnMore:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},pulldownTxt:{type:String,default:"下拉刷新"},loadMoreTxt:{type:String,default:"上拉加载"},loadingTxt:{type:String,default:"加载中..."},unloadMoreTxt:{type:String,default:"没有更多了"},threshold:{type:Number,default:100},propsTime:{type:Number,default:0},scrollTo:{type:Number,default:1}},watch:{isLoading:function(t){var e=this;t||0!==this.realMove||(clearTimeout(this.timer),this.timer=setTimeout((function(){e.setTransform(e.realMove,"end",null)}),this.propsTime))},isUnMore:function(){this.isShow()},scrollTo:function(t){"number"==typeof t&&!isNaN(t)&&t<=0&&(this.setTransform(t,null,500),this.$emit("scrollToCbk"))}},data:function(){return{touchParams:{startY:0,endY:0,startTime:0,endTime:0},translateY:0,scrollDistance:0,timer:null,timerEmit:null,realMove:0,isShowLoadMore:!1,listMinHeightStyle:"auto",isFirstPull:!0}},methods:{isShow:function(){var t=this.$refs.wrapper.offsetHeight;t<this.$refs.list.offsetHeight?(this.isShowLoadMore=!0,this.listMinHeightStyle="auto"):(this.isShowLoadMore=!1,this.isFirstPull=!0,this.listMinHeightStyle="".concat(t,"px"))},setTransform:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500;this.$refs.list.style.webkitTransition="end"===e?"transform ".concat(s,"ms cubic-bezier(0.19, 1, 0.22, 1)"):"",this.$refs.list.style.webkitTransform="translate3d(0, ".concat(t,"px, 0)"),this.scrollDistance=t,this.$emit("scrollChange",t)},setMove:function(t,e,s){var o=this,i=t+this.translateY,r=this.$refs.wrapper.offsetHeight,n=-this.$refs.list.offsetHeight+r;"end"===e?(i>0?(this.realMove=0,(!this.isShowLoadMore||this.isFirstPull)&&!this.isLoading&&i>this.stretch?(i=50,clearTimeout(this.timerEmit),this.timerEmit=setTimeout((function(){o.$emit("pulldown")}),s/2)):(this.isFirstPull=!0,i=0)):i<0&&i<n+this.threshold&&(i<n&&(i=n),this.realMove=n,this.isLoading||this.isUnMore||this.$emit("loadMore")),this.setTransform(i,e,s)):(i>0&&i>this.stretch?i=this.stretch:i<n-this.stretch&&(i=n-this.stretch),this.setTransform(i,null,null))},touchStart:function(t){var e=t.changedTouches[0];this.touchParams.startY=e.pageY,this.touchParams.startTime=t.timestamp||Date.now(),this.translateY=this.scrollDistance},touchMove:function(t){t.preventDefault();var e=t.changedTouches[0];this.touchParams.lastY=e.pageY,this.touchParams.lastTime=t.timestamp||Date.now();var s=this.touchParams.lastY-this.touchParams.startY;s<0&&this.isShowLoadMore&&this.isFirstPull&&(this.isFirstPull=!1),this.setMove(s)},touchEnd:function(t){var e=t.changedTouches[0];this.touchParams.lastY=e.pageY,this.touchParams.lastTime=t.timestamp||Date.now();var s=this.touchParams.lastY-this.touchParams.startY,o=this.touchParams.lastTime-this.touchParams.startTime,i=this.$refs.wrapper.offsetHeight,r=-this.$refs.list.offsetHeight+i;o<=300?((s*=2)<0&&s<r&&(s=r),o+=500,this.setMove(s,"end",o)):this.setMove(s,"end")}},mounted:function(){var t=this;this.$nextTick((function(){t.isShow(),t.$el.addEventListener("touchstart",t.touchStart),t.$el.addEventListener("touchmove",t.touchMove),t.$el.addEventListener("touchend",t.touchEnd)}))},beforeDestroy:function(){this.$el.removeEventListener("touchstart",this.touchStart),this.$el.removeEventListener("touchmove",this.touchMove),this.$el.removeEventListener("touchend",this.touchEnd),clearTimeout(this.timer),clearTimeout(this.timerEmit)}},a=s(0),l=Object(a.a)(n,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{ref:"wrapper",staticClass:"nut-vert-scroll"},[s("div",{ref:"list",staticClass:"nut-vert-list",style:{"min-height":t.listMinHeightStyle}},[t.isFirstPull?s("div",{staticClass:"nut-vert-pulldown"},[t.isLoading?s("div",{staticClass:"nut-vert-pulldown-status"},[s("span",{staticClass:"nut-vert-loading"}),t._v(" "),s("span",{staticClass:"nut-vert-loading-txt"},[t._v(t._s(t.loadingTxt))])]):s("div",{staticClass:"nut-vert-pulldown-txt"},[t._v(t._s(t.pulldownTxt))])]):t._e(),t._v(" "),t._t("list"),t._v(" "),s("div",{staticClass:"nut-vert-loadmore"},[!t.isUnMore&&t.isShowLoadMore?[t.isLoading?s("div",{staticClass:"nut-vert-load-status"},[s("span",{staticClass:"nut-vert-loading"}),t._v(" "),s("span",{staticClass:"nut-vert-loading-txt"},[t._v(t._s(t.loadingTxt))])]):t._e()]:t.isUnMore?[s("div",{staticClass:"nut-vert-unloadmore-txt"},[t._v(t._s(t.unloadMoreTxt))])]:t._e()],2)],2)])}),[],!1,null,null,null).exports,u={name:"nut-hor-scroll",props:{stretch:{type:Number,default:40},scrollTo:{type:Number,default:1},listWidth:{type:Number,default:0}},watch:{scrollTo:function(t){"number"==typeof t&&!isNaN(t)&&t<=0&&(this.setTransform(t,null,500),this.$emit("scrollToCbk"))}},data:function(){return{touchParams:{startX:0,endX:0,startY:0,endY:0,startTime:0,endTime:0},transformX:0,scrollDistance:0,timer:null,isShowLoadMore:!1,isFirstShow:!1}},methods:{isShow:function(){var t=this.listWidth?this.listWidth:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,e=this.$refs.list.offsetWidth;this.isShowLoadMore=t<=e},setTransform:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"px";this.scrollDistance=t,t+=o,this.$refs.list.style.webkitTransition="end"===e?"transform ".concat(s,"ms cubic-bezier(0.19, 1, 0.22, 1)"):"",this.$refs.list.style.webkitTransform="translate3d(".concat(t,", 0, 0)")},setMove:function(t,e,s){var o=t+this.transformX,i=this.listWidth?this.listWidth:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,r=this.$refs.list.offsetWidth;if("end"===e)o>0?o=0:o<-r+i&&(o=-r+i<=0?-r+i:0),this.setTransform(o,e,s);else{var n=-r+i;o>0&&o>this.stretch?o=this.stretch:o<n-this.stretch&&(o=n<=0?n-this.stretch:o<-this.stretch?-this.stretch:o),this.setTransform(o,null,null)}},touchStart:function(t){var e=t.changedTouches[0];this.touchParams.startX=e.pageX,this.touchParams.startY=e.pageY,this.touchParams.startTime=t.timestamp||Date.now(),this.transformX=this.scrollDistance},touchEvent:function(t,e){this.touchParams.lastX=t.pageX,this.touchParams.lastY=t.pageY;var s=this.touchParams.lastY-this.touchParams.startY,o=this.touchParams.lastX-this.touchParams.startX;if(!(Math.abs(o)>20&&Math.abs(o)>Math.abs(s)))return!1;var i=this.listWidth?this.listWidth:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,r=-this.$refs.list.offsetWidth+i;e&&e(o,r,s)},touchMove:function(t){var e=this,s=t.changedTouches[0];this.touchParams.lastTime=t.timestamp||Date.now();this.touchParams.lastTime,this.touchParams.startTime;this.touchEvent(s,(function(s,o,i){t.preventDefault(),t.cancelable&&t.preventDefault(),s>0&&e.isFirstShow&&(e.isFirstShow=!1),e.setMove(s)}))},touchEnd:function(t){var e=this;t.stopPropagation();var s=t.changedTouches[0];this.touchParams.lastTime=t.timestamp||Date.now();var o=this.touchParams.lastTime-this.touchParams.startTime;this.touchEvent(s,(function(t,s){Math.abs(t)>100&&(t*=1.5),t<0&&t+e.transformX<s-20&&e.isFirstShow&&e.$emit("jump"),!e.isFirstShow&&t<0&&t+e.transformX<s&&e.$slots.more&&(e.isFirstShow=!0),o<=300?(o+=500,e.setMove(t,"end",o)):e.setMove(t,"end")}))}},mounted:function(){var t=this;this.$nextTick((function(){t.isShow(),t.$el.addEventListener("touchstart",t.touchStart),t.$el.addEventListener("touchmove",t.touchMove),t.$el.addEventListener("touchend",t.touchEnd)}))},beforeDestroy:function(){this.$el.removeEventListener("touchstart",this.touchStart),this.$el.removeEventListener("touchmove",this.touchMove),this.$el.removeEventListener("touchend",this.touchEnd),clearTimeout(this.timer)}},h=Object(a.a)(u,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{ref:"wrapper",staticClass:"nut-hor-scroll"},[s("div",{ref:"list",staticClass:"nut-hor-list"},[t._t("list"),t._v(" "),t.$slots.more&&t.isShowLoadMore?s("div",{staticClass:"nut-hor-control"},[t._t("more")],2):t._e(),t._v(" "),t.$slots.arrow?t._t("arrow"):t._e()],2)])}),[],!1,null,null,null).exports,c={name:"nut-scroller",props:{type:{type:String,default:"horizontal"},stretch:{type:Number,default:100},isUnMore:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},threshold:{type:Number,default:100},pulldownTxt:{type:String,default:"下拉刷新"},loadMoreTxt:{type:String,default:"上拉加载"},loadingTxt:{type:String,default:"加载中..."},unloadMoreTxt:{type:String,default:"没有更多了"},propsTime:{type:Number,default:0},scrollTo:{type:Number,default:1}},data:function(){return{}},components:(o={},r()(o,l.name,l),r()(o,h.name,h),o),methods:{loadMore:function(){this.$emit("loadMore")},jump:function(){this.$emit("jump")},pulldown:function(){this.$emit("pulldown")},scrollToCbk:function(){this.$emit("scrollToCbk")},scrollChange:function(t){this.$emit("scrollChange",t)}}},d=Object(a.a)(c,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"nut-scroller"},["vertical"===t.type?[s("nut-vert-scroll",{attrs:{stretch:t.stretch,"is-un-more":t.isUnMore,"is-loading":t.isLoading,threshold:t.threshold,"pulldown-txt":t.pulldownTxt,"load-more-txt":t.loadMoreTxt,"loading-txt":t.loadingTxt,"unload-more-txt":t.unloadMoreTxt,"props-time":t.propsTime,"scroll-to":t.scrollTo},on:{loadMore:t.loadMore,pulldown:t.pulldown,scrollToCbk:t.scrollToCbk,scrollChange:t.scrollChange}},[t._t("list",null,{slot:"list"})],2)]:"horizontal"===t.type?[s("nut-hor-scroll",{attrs:{stretch:t.stretch,"scroll-to":t.scrollTo},on:{jump:t.jump,scrollToCbk:t.scrollToCbk}},[t._t("list",null,{slot:"list"}),t._v(" "),t._t("more",null,{slot:"more"}),t._v(" "),t._t("arrow",null,{slot:"arrow"})],2)]:t._e()],2)}),[],!1,null,null,null).exports;s(121);d.install=function(t){t.component(d.name,d)};e.default=d},2:function(t,e){function s(e){return t.exports=s="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,s(e)}t.exports=s,t.exports.__esModule=!0,t.exports.default=t.exports},4:function(t,e,s){var o=s(10);t.exports=function(t,e,s){return(e=o(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t},t.exports.__esModule=!0,t.exports.default=t.exports}})}));
|
|
7
7
|
//# sourceMappingURL=scroller.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack://[name]/webpack/universalModuleDefinition","webpack://[name]/webpack/bootstrap","webpack://[name]/./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack://[name]/./src/packages/scroller/scroller.vue?19ba","webpack://[name]/./src/packages/scroller/vertical-scroll.vue?0cac","webpack://[name]/src/packages/scroller/vertical-scroll.vue","webpack://[name]/./src/packages/scroller/vertical-scroll.vue","webpack://[name]/./src/packages/scroller/vertical-scroll.vue?b6be","webpack://[name]/./src/packages/scroller/horizontal-scroll.vue?9fae","webpack://[name]/src/packages/scroller/horizontal-scroll.vue","webpack://[name]/./src/packages/scroller/horizontal-scroll.vue","webpack://[name]/./src/packages/scroller/horizontal-scroll.vue?3a73","webpack://[name]/./src/packages/scroller/scroller.vue?399c","webpack://[name]/src/packages/scroller/scroller.vue","webpack://[name]/./src/packages/scroller/scroller.vue","webpack://[name]/./src/packages/scroller/index.js","webpack://[name]/./node_modules/@babel/runtime/helpers/defineProperty.js"],"names":["root","factory","exports","module","define","amd","self","this","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","normalizeComponent","scriptExports","render","staticRenderFns","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","options","_compiled","functional","_scopeId","context","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","add","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","concat","props","stretch","type","default","isUnMore","isLoading","pulldownTxt","loadMoreTxt","loadingTxt","unloadMoreTxt","threshold","propsTime","scrollTo","watch","clearTimeout","data","touchParams","startY","endY","startTime","endTime","translateY","scrollDistance","timer","timerEmit","realMove","isShowLoadMore","listMinHeightStyle","isFirstPull","methods","isShow","setTransform","setMove","updateMove","touchStart","touchMove","event","touchEnd","move","moveTime","mounted","beforeDestroy","_vm","_c","_self","ref","staticClass","style","_v","_s","_e","_t","listWidth","startX","endX","transformX","isFirstShow","translateX","touchEvent","callback","$slots","more","components","nutVertScroll","nutHorScroll","loadMore","jump","pulldown","scrollToCbk","scrollChange","attrs","on","Scroller","install","Vue","component","obj","configurable","writable"],"mappings":";;;;;CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,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QAEtB,CAEL,IAAIc,EAAWlB,EAAQmB,aACvBnB,EAAQmB,aAAeD,EAAW,GAAGE,OAAOF,EAAUnB,GAAQ,CAACA,GAInE,MAAO,CACLlD,QAAS0C,EACTS,QAASA,GA7Fb,mC,8DCAA,I,kBCAoP,EC4BrO,CACfnC,uBACAwD,OACAC,SACAC,YACAC,aAEAC,UACAF,aACAC,YAEAE,WACAH,aACAC,YAEAG,aACAJ,YACAC,gBAEAI,aACAL,YACAC,gBAEAK,YACAN,YACAC,kBAEAM,eACAP,YACAC,iBAEAO,WACAR,YACAC,aAEAQ,WACAT,YACAC,WAEAS,UACAV,YACAC,YAGAU,OACAR,sBAAA,WACA,uBACAS,yBACA,kCACA,wCACA,kBAGAV,oBACA,eAEAQ,qBACA,sCACA,8BACA,6BAIAG,gBACA,OACAC,aACAC,SACAC,OACAC,YACAC,WAEAC,aACAC,iBACAC,WACAC,eACAC,WACAC,kBACAC,0BACAC,iBAIAC,SACAC,kBACA,sCAEA,EADA,8BAEA,uBACA,iCAEA,uBACA,oBACA,4CAIAC,wBAAA,qKAEA,uCADA,UACA,2DAEA,GAEA,2EACA,sBACA,8BAGAC,wBAAA,WACA,oBACA,kCACA,kCACA,WACA,KACA,kBACA,yEACAC,KACAnB,6BACA,sCACA,sBACA,OAEA,oBACAmB,MAEA,0BACA,MACAA,KAEA,gBACA,+BAGA,wBAUA,2BAEA,oBACAA,eACA,mBACAA,kBAEA,iCAIAC,uBAGA,0BACA,gCACA,mDACA,qCAGAC,sBACAC,mBAEA,0BACA,+BACA,kDACA,qDACA,6CACA,qBAEA,iBAGAC,qBAGA,0BACA,+BACA,kDACA,qDAEA,uDACA,kCACA,kCAEA,SACAC,MACA,SACAA,KAEAC,OACA,yBAEA,wBAKAC,mBAAA,WACA,2BACA,WAEA,kDACA,gDACA,kDAGAC,yBAEA,2DACA,yDACA,uDACA3B,yBACAA,+B,OCjOe,EAXC,YACd,GCRW,WAAkB,IAAI4B,EAAI7G,KAAK8G,EAAGD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KACA,M,eCXFsB,EAASC,QAAU,SAASC,GAC1BA,EAAIC,UAAUH,EAAShI,KAAMgI,IAGhBA,a,gBCMf/I,EAAOD,QAbP,SAAyBoJ,EAAKpH,EAAKN,GAWjC,OAVIM,KAAOoH,EACTjI,OAAOC,eAAegI,EAAKpH,EAAK,CAC9BN,MAAOA,EACPL,YAAY,EACZgI,cAAc,EACdC,UAAU,IAGZF,EAAIpH,GAAON,EAEN0H,GAEyBnJ,EAAOD,QAAQ6B,YAAa,EAAM5B,EAAOD,QAAiB,QAAIC,EAAOD","file":"scroller/scroller.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"scroller\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"scroller\"] = factory();\n\telse\n\t\troot[\"scroller\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 157);\n","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"nut-scroller\"},[(_vm.type === 'vertical')?[_c('nut-vert-scroll',{attrs:{\"stretch\":_vm.stretch,\"is-un-more\":_vm.isUnMore,\"is-loading\":_vm.isLoading,\"threshold\":_vm.threshold,\"pulldown-txt\":_vm.pulldownTxt,\"load-more-txt\":_vm.loadMoreTxt,\"loading-txt\":_vm.loadingTxt,\"unload-more-txt\":_vm.unloadMoreTxt,\"props-time\":_vm.propsTime,\"scroll-to\":_vm.scrollTo},on:{\"loadMore\":_vm.loadMore,\"pulldown\":_vm.pulldown,\"scrollToCbk\":_vm.scrollToCbk,\"scrollChange\":_vm.scrollChange}},[_vm._t(\"list\",null,{\"slot\":\"list\"})],2)]:(_vm.type === 'horizontal')?[_c('nut-hor-scroll',{attrs:{\"stretch\":_vm.stretch,\"scroll-to\":_vm.scrollTo},on:{\"jump\":_vm.jump,\"scrollToCbk\":_vm.scrollToCbk}},[_vm._t(\"list\",null,{\"slot\":\"list\"}),_vm._v(\" \"),_vm._t(\"more\",null,{\"slot\":\"more\"}),_vm._v(\" \"),_vm._t(\"arrow\",null,{\"slot\":\"arrow\"})],2)]:_vm._e()],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vertical-scroll.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vertical-scroll.vue?vue&type=script&lang=js&\"","<template>\n <div class=\"nut-vert-scroll\" ref=\"wrapper\">\n <div class=\"nut-vert-list\" ref=\"list\" :style=\"{ 'min-height': listMinHeightStyle }\">\n <div class=\"nut-vert-pulldown\" v-if=\"isFirstPull\">\n <div class=\"nut-vert-pulldown-txt\" v-if=\"!isLoading\">{{ pulldownTxt }}</div>\n <div class=\"nut-vert-pulldown-status\" v-else>\n <span class=\"nut-vert-loading\"></span>\n <!-- <span class=\"nut-vert-loading-txt\">加载中...</span> -->\n <span class=\"nut-vert-loading-txt\">{{loadingTxt}}</span>\n </div>\n </div>\n <slot name=\"list\"></slot>\n <div class=\"nut-vert-loadmore\">\n <template v-if=\"!isUnMore && isShowLoadMore\">\n <!-- <div class=\"nut-vert-load-txt\" >{{loadMoreTxt}}</div> -->\n <div class=\"nut-vert-load-status\" v-if=\"isLoading\">\n <span class=\"nut-vert-loading\"></span>\n <span class=\"nut-vert-loading-txt\">{{loadingTxt}}</span>\n </div>\n </template>\n <template v-else-if=\"isUnMore\">\n <div class=\"nut-vert-unloadmore-txt\">{{ unloadMoreTxt }}</div>\n </template>\n </div>\n </div>\n </div>\n</template>\n<script>\nexport default {\n name: 'nut-vert-scroll',\n props: {\n stretch: {\n type: Number,\n default: 100\n },\n isUnMore: {\n type: Boolean,\n default: false\n },\n isLoading: {\n type: Boolean,\n default: false\n },\n pulldownTxt: {\n type: String,\n default: '下拉刷新'\n },\n loadMoreTxt: {\n type: String,\n default: '上拉加载'\n },\n loadingTxt: {\n type: String,\n default: '加载中...'\n },\n unloadMoreTxt: {\n type: String,\n default: '没有更多了'\n },\n threshold: {\n type: Number,\n default: 100\n },\n propsTime: {\n type: Number,\n default: 0\n },\n scrollTo: {\n type: Number,\n default: 1\n }\n },\n watch: {\n isLoading: function(status) {\n if (!status && this.realMove === 0) {\n clearTimeout(this.timer);\n this.timer = setTimeout(() => {\n this.setTransform(this.realMove, 'end', null);\n }, this.propsTime);\n }\n },\n isUnMore: function() {\n this.isShow();\n },\n scrollTo: function(val) {\n if (typeof val === 'number' && !isNaN(val) && val <= 0) {\n this.setTransform(val, null, 500);\n this.$emit('scrollToCbk');\n }\n }\n },\n data() {\n return {\n touchParams: {\n startY: 0,\n endY: 0,\n startTime: 0,\n endTime: 0\n },\n translateY: 0,\n scrollDistance: 0,\n timer: null,\n timerEmit: null,\n realMove: 0,\n isShowLoadMore: false,\n listMinHeightStyle: 'auto',\n isFirstPull: true\n };\n },\n\n methods: {\n isShow() {\n let wrapH = this.$refs.wrapper.offsetHeight;\n let listH = this.$refs.list.offsetHeight;\n if (wrapH < listH) {\n this.isShowLoadMore = true;\n this.listMinHeightStyle = 'auto';\n } else {\n this.isShowLoadMore = false;\n this.isFirstPull = true;\n this.listMinHeightStyle = `${wrapH}px`;\n }\n },\n\n setTransform(translateY = 0, type, time = 500) {\n if (type === 'end') {\n this.$refs.list.style.webkitTransition = `transform ${time}ms cubic-bezier(0.19, 1, 0.22, 1)`;\n } else {\n this.$refs.list.style.webkitTransition = '';\n }\n this.$refs.list.style.webkitTransform = `translate3d(0, ${translateY}px, 0)`;\n this.scrollDistance = translateY;\n this.$emit('scrollChange', translateY);\n },\n\n setMove(move, type, time) {\n let updateMove = move + this.translateY;\n let h = this.$refs.wrapper.offsetHeight;\n let maxMove = -this.$refs.list.offsetHeight + h;\n if (type === 'end') {\n if (updateMove > 0) {\n this.realMove = 0;\n if ((!this.isShowLoadMore || this.isFirstPull) && !this.isLoading && updateMove > this.stretch) {\n updateMove = 50;\n clearTimeout(this.timerEmit);\n this.timerEmit = setTimeout(() => {\n this.$emit('pulldown');\n }, time / 2);\n } else {\n this.isFirstPull = true;\n updateMove = 0;\n }\n } else if (updateMove < 0 && updateMove < maxMove + this.threshold) {\n if (updateMove < maxMove) {\n updateMove = maxMove;\n }\n this.realMove = maxMove;\n if (!this.isLoading && !this.isUnMore) {\n //clearTimeout(this.timerEmit);\n //this.timerEmit = setTimeout(() => {\n this.$emit('loadMore');\n // }, time / 2);\n }\n }\n // if (updateMove == 50 && !this.isLoading) {\n // clearTimeout(this.timer);\n // this.timer = setTimeout(() => {\n // this.setTransform(this.realMove, 'end', null);\n // }, 3000);\n // }\n this.setTransform(updateMove, type, time);\n } else {\n if (updateMove > 0 && updateMove > this.stretch) {\n updateMove = this.stretch;\n } else if (updateMove < maxMove - this.stretch) {\n updateMove = maxMove - this.stretch;\n }\n this.setTransform(updateMove, null, null);\n }\n },\n\n touchStart(event) {\n // event.preventDefault();\n\n let changedTouches = event.changedTouches[0];\n this.touchParams.startY = changedTouches.pageY;\n this.touchParams.startTime = event.timestamp || Date.now();\n this.translateY = this.scrollDistance;\n },\n\n touchMove(event) {\n event.preventDefault();\n\n let changedTouches = event.changedTouches[0];\n this.touchParams.lastY = changedTouches.pageY;\n this.touchParams.lastTime = event.timestamp || Date.now();\n let move = this.touchParams.lastY - this.touchParams.startY;\n if (move < 0 && this.isShowLoadMore && this.isFirstPull) {\n this.isFirstPull = false;\n }\n this.setMove(move);\n },\n\n touchEnd(event) {\n // event.preventDefault();\n\n let changedTouches = event.changedTouches[0];\n this.touchParams.lastY = changedTouches.pageY;\n this.touchParams.lastTime = event.timestamp || Date.now();\n let move = this.touchParams.lastY - this.touchParams.startY;\n\n let moveTime = this.touchParams.lastTime - this.touchParams.startTime;\n let h = this.$refs.wrapper.offsetHeight;\n let maxMove = -this.$refs.list.offsetHeight + h;\n\n if (moveTime <= 300) {\n move = move * 2;\n if (move < 0 && move < maxMove) {\n move = maxMove;\n }\n moveTime = moveTime + 500;\n this.setMove(move, 'end', moveTime);\n } else {\n this.setMove(move, 'end');\n }\n }\n },\n\n mounted() {\n this.$nextTick(() => {\n this.isShow();\n // 监听\n this.$el.addEventListener('touchstart', this.touchStart);\n this.$el.addEventListener('touchmove', this.touchMove);\n this.$el.addEventListener('touchend', this.touchEnd);\n });\n },\n beforeDestroy() {\n // 移除监听\n this.$el.removeEventListener('touchstart', this.touchStart);\n this.$el.removeEventListener('touchmove', this.touchMove);\n this.$el.removeEventListener('touchend', this.touchEnd);\n clearTimeout(this.timer);\n clearTimeout(this.timerEmit);\n }\n};\n</script>\n","import { render, staticRenderFns } from \"./vertical-scroll.vue?vue&type=template&id=44be7398&\"\nimport script from \"./vertical-scroll.vue?vue&type=script&lang=js&\"\nexport * from \"./vertical-scroll.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:\"wrapper\",staticClass:\"nut-vert-scroll\"},[_c('div',{ref:\"list\",staticClass:\"nut-vert-list\",style:({ 'min-height': _vm.listMinHeightStyle })},[(_vm.isFirstPull)?_c('div',{staticClass:\"nut-vert-pulldown\"},[(!_vm.isLoading)?_c('div',{staticClass:\"nut-vert-pulldown-txt\"},[_vm._v(_vm._s(_vm.pulldownTxt))]):_c('div',{staticClass:\"nut-vert-pulldown-status\"},[_c('span',{staticClass:\"nut-vert-loading\"}),_vm._v(\" \"),_c('span',{staticClass:\"nut-vert-loading-txt\"},[_vm._v(_vm._s(_vm.loadingTxt))])])]):_vm._e(),_vm._v(\" \"),_vm._t(\"list\"),_vm._v(\" \"),_c('div',{staticClass:\"nut-vert-loadmore\"},[(!_vm.isUnMore && _vm.isShowLoadMore)?[(_vm.isLoading)?_c('div',{staticClass:\"nut-vert-load-status\"},[_c('span',{staticClass:\"nut-vert-loading\"}),_vm._v(\" \"),_c('span',{staticClass:\"nut-vert-loading-txt\"},[_vm._v(_vm._s(_vm.loadingTxt))])]):_vm._e()]:(_vm.isUnMore)?[_c('div',{staticClass:\"nut-vert-unloadmore-txt\"},[_vm._v(_vm._s(_vm.unloadMoreTxt))])]:_vm._e()],2)],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./horizontal-scroll.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./horizontal-scroll.vue?vue&type=script&lang=js&\"","<template>\n <div class=\"nut-hor-scroll\" ref=\"wrapper\">\n <div class=\"nut-hor-list\" ref=\"list\">\n <slot name=\"list\"></slot>\n <div class=\"nut-hor-control\" v-if=\"$slots.more && isShowLoadMore\">\n <slot name=\"more\"></slot>\n </div>\n <slot name=\"arrow\" v-if=\"$slots.arrow\"></slot>\n </div>\n </div>\n</template>\n<script>\nexport default {\n name: 'nut-hor-scroll',\n props: {\n stretch: {\n type: Number,\n default: 40\n },\n scrollTo: {\n type: Number,\n default: 1\n },\n listWidth: {\n type: Number,\n default: 0\n }\n },\n watch: {\n scrollTo: function(val) {\n if (typeof val === 'number' && !isNaN(val) && val <= 0) {\n this.setTransform(val, null, 500);\n this.$emit('scrollToCbk');\n }\n }\n },\n data() {\n return {\n touchParams: {\n startX: 0,\n endX: 0,\n startY: 0,\n endY: 0,\n startTime: 0,\n endTime: 0\n },\n transformX: 0,\n scrollDistance: 0,\n timer: null,\n isShowLoadMore: false,\n isFirstShow: false\n };\n },\n methods: {\n isShow() {\n let wrapH = this.listWidth ? this.listWidth : window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;\n let listH = this.$refs.list.offsetWidth;\n if (wrapH <= listH) {\n this.isShowLoadMore = true;\n } else {\n this.isShowLoadMore = false;\n }\n },\n\n setTransform(translateX = 0, type, time = 500, unit = 'px') {\n this.scrollDistance = translateX;\n translateX = translateX + unit;\n if (type === 'end') {\n this.$refs.list.style.webkitTransition = `transform ${time}ms cubic-bezier(0.19, 1, 0.22, 1)`;\n } else {\n this.$refs.list.style.webkitTransition = '';\n }\n this.$refs.list.style.webkitTransform = `translate3d(${translateX}, 0, 0)`;\n },\n\n setMove(move, type, time) {\n let updateMove = move + this.transformX;\n let w = this.listWidth ? this.listWidth : window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;\n let offsetWidth = this.$refs.list.offsetWidth;\n if (type === 'end') {\n if (updateMove > 0) {\n updateMove = 0;\n } else if (updateMove < -offsetWidth + w) {\n if (-offsetWidth + w <= 0) {\n updateMove = -offsetWidth + w;\n } else {\n updateMove = 0;\n }\n }\n this.setTransform(updateMove, type, time);\n } else {\n let maxMove = -offsetWidth + w;\n if (updateMove > 0 && updateMove > this.stretch) {\n updateMove = this.stretch;\n } else if (updateMove < maxMove - this.stretch) {\n if (maxMove <= 0) {\n updateMove = maxMove - this.stretch;\n } else {\n updateMove = updateMove < -this.stretch ? -this.stretch : updateMove;\n }\n }\n this.setTransform(updateMove, null, null);\n }\n },\n\n touchStart(event) {\n // event.preventDefault();\n\n let changedTouches = event.changedTouches[0];\n this.touchParams.startX = changedTouches.pageX;\n this.touchParams.startY = changedTouches.pageY;\n this.touchParams.startTime = event.timestamp || Date.now();\n this.transformX = this.scrollDistance;\n },\n\n touchEvent(changedTouches, callback) {\n this.touchParams.lastX = changedTouches.pageX;\n this.touchParams.lastY = changedTouches.pageY;\n let moveY = this.touchParams.lastY - this.touchParams.startY;\n let move = this.touchParams.lastX - this.touchParams.startX;\n\n if (!(Math.abs(move) > 20 && Math.abs(move) > Math.abs(moveY))) {\n return false;\n } else {\n let w = this.listWidth ? this.listWidth : window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;\n let maxMove = -this.$refs.list.offsetWidth + w;\n callback && callback(move, maxMove, moveY);\n }\n },\n\n touchMove(event) {\n //event.preventDefault();\n let changedTouches = event.changedTouches[0];\n this.touchParams.lastTime = event.timestamp || Date.now();\n let moveTime = this.touchParams.lastTime - this.touchParams.startTime;\n this.touchEvent(changedTouches, (move, maxMove, moveY) => {\n event.preventDefault();\n if (event.cancelable) {\n event.preventDefault();\n }\n if (move > 0 && this.isFirstShow) {\n this.isFirstShow = false;\n }\n this.setMove(move);\n });\n },\n\n touchEnd(event) {\n event.stopPropagation();\n let changedTouches = event.changedTouches[0];\n this.touchParams.lastTime = event.timestamp || Date.now();\n let moveTime = this.touchParams.lastTime - this.touchParams.startTime;\n this.touchEvent(changedTouches, (move, maxMove) => {\n //if (moveTime <= 300) {\n if (Math.abs(move) > 100) {\n move = move * 1.5;\n }\n\n // 释放跳转之类\n if (move < 0 && move + this.transformX < maxMove - 20 && this.isFirstShow) {\n this.$emit('jump');\n }\n\n if (!this.isFirstShow && move < 0 && move + this.transformX < maxMove && this.$slots.more) {\n this.isFirstShow = true;\n //move = maxMove - this.transformX;\n }\n\n if (moveTime <= 300) {\n moveTime = moveTime + 500;\n this.setMove(move, 'end', moveTime);\n } else {\n this.setMove(move, 'end');\n }\n });\n }\n },\n\n mounted() {\n this.$nextTick(() => {\n this.isShow();\n // 监听\n this.$el.addEventListener('touchstart', this.touchStart);\n this.$el.addEventListener('touchmove', this.touchMove);\n this.$el.addEventListener('touchend', this.touchEnd);\n });\n },\n beforeDestroy() {\n // 移除监听\n this.$el.removeEventListener('touchstart', this.touchStart);\n this.$el.removeEventListener('touchmove', this.touchMove);\n this.$el.removeEventListener('touchend', this.touchEnd);\n clearTimeout(this.timer);\n }\n};\n</script>\n","import { render, staticRenderFns } from \"./horizontal-scroll.vue?vue&type=template&id=04a6c994&\"\nimport script from \"./horizontal-scroll.vue?vue&type=script&lang=js&\"\nexport * from \"./horizontal-scroll.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:\"wrapper\",staticClass:\"nut-hor-scroll\"},[_c('div',{ref:\"list\",staticClass:\"nut-hor-list\"},[_vm._t(\"list\"),_vm._v(\" \"),(_vm.$slots.more && _vm.isShowLoadMore)?_c('div',{staticClass:\"nut-hor-control\"},[_vm._t(\"more\")],2):_vm._e(),_vm._v(\" \"),(_vm.$slots.arrow)?_vm._t(\"arrow\"):_vm._e()],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./scroller.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./scroller.vue?vue&type=script&lang=js&\"","<template>\n <div class=\"nut-scroller\">\n <template v-if=\"type === 'vertical'\">\n <nut-vert-scroll\n :stretch=\"stretch\"\n :is-un-more=\"isUnMore\"\n :is-loading=\"isLoading\"\n :threshold=\"threshold\"\n :pulldown-txt=\"pulldownTxt\"\n :load-more-txt=\"loadMoreTxt\"\n :loading-txt=\"loadingTxt\"\n :unload-more-txt=\"unloadMoreTxt\"\n :props-time=\"propsTime\"\n :scroll-to=\"scrollTo\"\n @loadMore=\"loadMore\"\n @pulldown=\"pulldown\"\n @scrollToCbk=\"scrollToCbk\"\n @scrollChange=\"scrollChange\"\n >\n <slot name=\"list\" slot=\"list\"></slot>\n </nut-vert-scroll>\n </template>\n <template v-else-if=\"type === 'horizontal'\">\n <nut-hor-scroll :stretch=\"stretch\" :scroll-to=\"scrollTo\" @jump=\"jump\" @scrollToCbk=\"scrollToCbk\">\n <slot name=\"list\" slot=\"list\"></slot>\n <slot name=\"more\" slot=\"more\"></slot>\n <slot name=\"arrow\" slot=\"arrow\"></slot>\n </nut-hor-scroll>\n </template>\n </div>\n</template>\n<script>\nimport nutVertScroll from './vertical-scroll.vue';\nimport nutHorScroll from './horizontal-scroll.vue';\nexport default {\n name: 'nut-scroller',\n props: {\n type: {\n type: String,\n default: 'horizontal'\n },\n stretch: {\n type: Number,\n default: 100\n },\n isUnMore: {\n type: Boolean,\n default: false\n },\n isLoading: {\n type: Boolean,\n default: false\n },\n threshold: {\n type: Number,\n default: 100\n },\n pulldownTxt: {\n type: String,\n default: '下拉刷新'\n },\n loadMoreTxt: {\n type: String,\n default: '上拉加载'\n },\n loadingTxt: {\n type: String,\n default: '加载中...'\n },\n unloadMoreTxt: {\n type: String,\n default: '没有更多了'\n },\n propsTime: {\n type: Number,\n default: 0\n },\n scrollTo: {\n type: Number,\n default: 1\n }\n },\n data() {\n return {};\n },\n components: {\n [nutVertScroll.name]: nutVertScroll,\n [nutHorScroll.name]: nutHorScroll\n },\n methods: {\n loadMore() {\n this.$emit('loadMore');\n },\n\n jump() {\n this.$emit('jump');\n },\n\n pulldown() {\n this.$emit('pulldown');\n },\n\n scrollToCbk() {\n this.$emit('scrollToCbk');\n },\n scrollChange(event) {\n this.$emit('scrollChange', event);\n }\n }\n};\n</script>\n","import { render, staticRenderFns } from \"./scroller.vue?vue&type=template&id=8b024c4c&\"\nimport script from \"./scroller.vue?vue&type=script&lang=js&\"\nexport * from \"./scroller.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Scroller from './scroller.vue';\nimport './scroller.scss';\n\nScroller.install = function(Vue) {\n Vue.component(Scroller.name, Scroller);\n};\n\nexport default Scroller;\n","function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nmodule.exports = _defineProperty, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"sources":["webpack://[name]/webpack/universalModuleDefinition","webpack://[name]/webpack/bootstrap","webpack://[name]/./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack://[name]/./node_modules/@babel/runtime/helpers/toPropertyKey.js","webpack://[name]/./node_modules/@babel/runtime/helpers/toPrimitive.js","webpack://[name]/./src/packages/scroller/scroller.vue?7592","webpack://[name]/./src/packages/scroller/vertical-scroll.vue?0cac","webpack://[name]/src/packages/scroller/vertical-scroll.vue","webpack://[name]/./src/packages/scroller/vertical-scroll.vue","webpack://[name]/./src/packages/scroller/vertical-scroll.vue?3566","webpack://[name]/./src/packages/scroller/horizontal-scroll.vue?9fae","webpack://[name]/src/packages/scroller/horizontal-scroll.vue","webpack://[name]/./src/packages/scroller/horizontal-scroll.vue","webpack://[name]/./src/packages/scroller/horizontal-scroll.vue?50b0","webpack://[name]/./src/packages/scroller/scroller.vue?399c","webpack://[name]/src/packages/scroller/scroller.vue","webpack://[name]/./src/packages/scroller/scroller.vue","webpack://[name]/./src/packages/scroller/index.js","webpack://[name]/./node_modules/@babel/runtime/helpers/typeof.js","webpack://[name]/./node_modules/@babel/runtime/helpers/defineProperty.js"],"names":["root","factory","exports","module","define","amd","self","this","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","normalizeComponent","scriptExports","render","staticRenderFns","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","options","_compiled","functional","_scopeId","context","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","add","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","concat","_typeof","toPrimitive","arg","String","input","hint","prim","undefined","res","TypeError","Number","props","stretch","type","default","isUnMore","Boolean","isLoading","pulldownTxt","loadMoreTxt","loadingTxt","unloadMoreTxt","threshold","propsTime","scrollTo","watch","status","_this","realMove","clearTimeout","timer","setTimeout","setTransform","isShow","val","isNaN","$emit","data","touchParams","startY","endY","startTime","endTime","translateY","scrollDistance","timerEmit","isShowLoadMore","listMinHeightStyle","isFirstPull","methods","wrapH","$refs","wrapper","offsetHeight","list","arguments","length","time","style","webkitTransition","webkitTransform","setMove","move","_this2","updateMove","maxMove","touchStart","event","changedTouches","pageY","timestamp","Date","now","touchMove","preventDefault","lastY","lastTime","touchEnd","moveTime","mounted","_this3","$nextTick","$el","addEventListener","beforeDestroy","removeEventListener","_vm","_h","$createElement","_c","_self","ref","staticClass","_v","_s","_e","_t","listWidth","startX","endX","transformX","isFirstShow","window","innerWidth","document","documentElement","clientWidth","body","listH","offsetWidth","translateX","unit","w","pageX","touchEvent","callback","lastX","moveY","Math","abs","cancelable","stopPropagation","$slots","more","components","_components","_defineProperty","nutVertScroll","nutHorScroll","loadMore","jump","pulldown","scrollToCbk","scrollChange","attrs","on","Scroller","install","Vue","component","obj","iterator","constructor","toPropertyKey","configurable","writable"],"mappings":";;;;;CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,WAAY,GAAIH,GACG,iBAAZC,QACdA,QAAkB,SAAID,IAEtBD,EAAe,SAAIC,IARrB,CASoB,oBAATK,KAAuBA,KAAOC,MAAO,WAChD,O,YCTE,IAAIC,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUR,QAGnC,IAAIC,EAASK,EAAiBE,GAAY,CACzCC,EAAGD,EACHE,GAAG,EACHV,QAAS,IAUV,OANAW,EAAQH,GAAUI,KAAKX,EAAOD,QAASC,EAAQA,EAAOD,QAASO,GAG/DN,EAAOS,GAAI,EAGJT,EAAOD,QA0Df,OArDAO,EAAoBM,EAAIF,EAGxBJ,EAAoBO,EAAIR,EAGxBC,EAAoBQ,EAAI,SAASf,EAASgB,EAAMC,GAC3CV,EAAoBW,EAAElB,EAASgB,IAClCG,OAAOC,eAAepB,EAASgB,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEV,EAAoBgB,EAAI,SAASvB,GACX,oBAAXwB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAepB,EAASwB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAepB,EAAS,aAAc,CAAE0B,OAAO,KAQvDnB,EAAoBoB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQnB,EAAoBmB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,iBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKX,OAAOY,OAAO,MAGvB,GAFAxB,EAAoBgB,EAAEO,GACtBX,OAAOC,eAAeU,EA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scroller.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"scroller\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"scroller\"] = factory();\n\telse\n\t\troot[\"scroller\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 159);\n","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar toPrimitive = require(\"./toPrimitive.js\");\nfunction _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}\nmodule.exports = _toPropertyKey, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}\nmodule.exports = _toPrimitive, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"nut-scroller\"},[(_vm.type === 'vertical')?[_c('nut-vert-scroll',{attrs:{\"stretch\":_vm.stretch,\"is-un-more\":_vm.isUnMore,\"is-loading\":_vm.isLoading,\"threshold\":_vm.threshold,\"pulldown-txt\":_vm.pulldownTxt,\"load-more-txt\":_vm.loadMoreTxt,\"loading-txt\":_vm.loadingTxt,\"unload-more-txt\":_vm.unloadMoreTxt,\"props-time\":_vm.propsTime,\"scroll-to\":_vm.scrollTo},on:{\"loadMore\":_vm.loadMore,\"pulldown\":_vm.pulldown,\"scrollToCbk\":_vm.scrollToCbk,\"scrollChange\":_vm.scrollChange}},[_vm._t(\"list\",null,{\"slot\":\"list\"})],2)]:(_vm.type === 'horizontal')?[_c('nut-hor-scroll',{attrs:{\"stretch\":_vm.stretch,\"scroll-to\":_vm.scrollTo},on:{\"jump\":_vm.jump,\"scrollToCbk\":_vm.scrollToCbk}},[_vm._t(\"list\",null,{\"slot\":\"list\"}),_vm._v(\" \"),_vm._t(\"more\",null,{\"slot\":\"more\"}),_vm._v(\" \"),_vm._t(\"arrow\",null,{\"slot\":\"arrow\"})],2)]:_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vertical-scroll.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vertical-scroll.vue?vue&type=script&lang=js&\"","<template>\n <div class=\"nut-vert-scroll\" ref=\"wrapper\">\n <div class=\"nut-vert-list\" ref=\"list\" :style=\"{ 'min-height': listMinHeightStyle }\">\n <div class=\"nut-vert-pulldown\" v-if=\"isFirstPull\">\n <div class=\"nut-vert-pulldown-txt\" v-if=\"!isLoading\">{{ pulldownTxt }}</div>\n <div class=\"nut-vert-pulldown-status\" v-else>\n <span class=\"nut-vert-loading\"></span>\n <!-- <span class=\"nut-vert-loading-txt\">加载中...</span> -->\n <span class=\"nut-vert-loading-txt\">{{loadingTxt}}</span>\n </div>\n </div>\n <slot name=\"list\"></slot>\n <div class=\"nut-vert-loadmore\">\n <template v-if=\"!isUnMore && isShowLoadMore\">\n <!-- <div class=\"nut-vert-load-txt\" >{{loadMoreTxt}}</div> -->\n <div class=\"nut-vert-load-status\" v-if=\"isLoading\">\n <span class=\"nut-vert-loading\"></span>\n <span class=\"nut-vert-loading-txt\">{{loadingTxt}}</span>\n </div>\n </template>\n <template v-else-if=\"isUnMore\">\n <div class=\"nut-vert-unloadmore-txt\">{{ unloadMoreTxt }}</div>\n </template>\n </div>\n </div>\n </div>\n</template>\n<script>\nexport default {\n name: 'nut-vert-scroll',\n props: {\n stretch: {\n type: Number,\n default: 100\n },\n isUnMore: {\n type: Boolean,\n default: false\n },\n isLoading: {\n type: Boolean,\n default: false\n },\n pulldownTxt: {\n type: String,\n default: '下拉刷新'\n },\n loadMoreTxt: {\n type: String,\n default: '上拉加载'\n },\n loadingTxt: {\n type: String,\n default: '加载中...'\n },\n unloadMoreTxt: {\n type: String,\n default: '没有更多了'\n },\n threshold: {\n type: Number,\n default: 100\n },\n propsTime: {\n type: Number,\n default: 0\n },\n scrollTo: {\n type: Number,\n default: 1\n }\n },\n watch: {\n isLoading: function(status) {\n if (!status && this.realMove === 0) {\n clearTimeout(this.timer);\n this.timer = setTimeout(() => {\n this.setTransform(this.realMove, 'end', null);\n }, this.propsTime);\n }\n },\n isUnMore: function() {\n this.isShow();\n },\n scrollTo: function(val) {\n if (typeof val === 'number' && !isNaN(val) && val <= 0) {\n this.setTransform(val, null, 500);\n this.$emit('scrollToCbk');\n }\n }\n },\n data() {\n return {\n touchParams: {\n startY: 0,\n endY: 0,\n startTime: 0,\n endTime: 0\n },\n translateY: 0,\n scrollDistance: 0,\n timer: null,\n timerEmit: null,\n realMove: 0,\n isShowLoadMore: false,\n listMinHeightStyle: 'auto',\n isFirstPull: true\n };\n },\n\n methods: {\n isShow() {\n let wrapH = this.$refs.wrapper.offsetHeight;\n let listH = this.$refs.list.offsetHeight;\n if (wrapH < listH) {\n this.isShowLoadMore = true;\n this.listMinHeightStyle = 'auto';\n } else {\n this.isShowLoadMore = false;\n this.isFirstPull = true;\n this.listMinHeightStyle = `${wrapH}px`;\n }\n },\n\n setTransform(translateY = 0, type, time = 500) {\n if (type === 'end') {\n this.$refs.list.style.webkitTransition = `transform ${time}ms cubic-bezier(0.19, 1, 0.22, 1)`;\n } else {\n this.$refs.list.style.webkitTransition = '';\n }\n this.$refs.list.style.webkitTransform = `translate3d(0, ${translateY}px, 0)`;\n this.scrollDistance = translateY;\n this.$emit('scrollChange', translateY);\n },\n\n setMove(move, type, time) {\n let updateMove = move + this.translateY;\n let h = this.$refs.wrapper.offsetHeight;\n let maxMove = -this.$refs.list.offsetHeight + h;\n if (type === 'end') {\n if (updateMove > 0) {\n this.realMove = 0;\n if ((!this.isShowLoadMore || this.isFirstPull) && !this.isLoading && updateMove > this.stretch) {\n updateMove = 50;\n clearTimeout(this.timerEmit);\n this.timerEmit = setTimeout(() => {\n this.$emit('pulldown');\n }, time / 2);\n } else {\n this.isFirstPull = true;\n updateMove = 0;\n }\n } else if (updateMove < 0 && updateMove < maxMove + this.threshold) {\n if (updateMove < maxMove) {\n updateMove = maxMove;\n }\n this.realMove = maxMove;\n if (!this.isLoading && !this.isUnMore) {\n //clearTimeout(this.timerEmit);\n //this.timerEmit = setTimeout(() => {\n this.$emit('loadMore');\n // }, time / 2);\n }\n }\n // if (updateMove == 50 && !this.isLoading) {\n // clearTimeout(this.timer);\n // this.timer = setTimeout(() => {\n // this.setTransform(this.realMove, 'end', null);\n // }, 3000);\n // }\n this.setTransform(updateMove, type, time);\n } else {\n if (updateMove > 0 && updateMove > this.stretch) {\n updateMove = this.stretch;\n } else if (updateMove < maxMove - this.stretch) {\n updateMove = maxMove - this.stretch;\n }\n this.setTransform(updateMove, null, null);\n }\n },\n\n touchStart(event) {\n // event.preventDefault();\n\n let changedTouches = event.changedTouches[0];\n this.touchParams.startY = changedTouches.pageY;\n this.touchParams.startTime = event.timestamp || Date.now();\n this.translateY = this.scrollDistance;\n },\n\n touchMove(event) {\n event.preventDefault();\n\n let changedTouches = event.changedTouches[0];\n this.touchParams.lastY = changedTouches.pageY;\n this.touchParams.lastTime = event.timestamp || Date.now();\n let move = this.touchParams.lastY - this.touchParams.startY;\n if (move < 0 && this.isShowLoadMore && this.isFirstPull) {\n this.isFirstPull = false;\n }\n this.setMove(move);\n },\n\n touchEnd(event) {\n // event.preventDefault();\n\n let changedTouches = event.changedTouches[0];\n this.touchParams.lastY = changedTouches.pageY;\n this.touchParams.lastTime = event.timestamp || Date.now();\n let move = this.touchParams.lastY - this.touchParams.startY;\n\n let moveTime = this.touchParams.lastTime - this.touchParams.startTime;\n let h = this.$refs.wrapper.offsetHeight;\n let maxMove = -this.$refs.list.offsetHeight + h;\n\n if (moveTime <= 300) {\n move = move * 2;\n if (move < 0 && move < maxMove) {\n move = maxMove;\n }\n moveTime = moveTime + 500;\n this.setMove(move, 'end', moveTime);\n } else {\n this.setMove(move, 'end');\n }\n }\n },\n\n mounted() {\n this.$nextTick(() => {\n this.isShow();\n // 监听\n this.$el.addEventListener('touchstart', this.touchStart);\n this.$el.addEventListener('touchmove', this.touchMove);\n this.$el.addEventListener('touchend', this.touchEnd);\n });\n },\n beforeDestroy() {\n // 移除监听\n this.$el.removeEventListener('touchstart', this.touchStart);\n this.$el.removeEventListener('touchmove', this.touchMove);\n this.$el.removeEventListener('touchend', this.touchEnd);\n clearTimeout(this.timer);\n clearTimeout(this.timerEmit);\n }\n};\n</script>\n","import { render, staticRenderFns } from \"./vertical-scroll.vue?vue&type=template&id=44be7398&\"\nimport script from \"./vertical-scroll.vue?vue&type=script&lang=js&\"\nexport * from \"./vertical-scroll.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"wrapper\",staticClass:\"nut-vert-scroll\"},[_c('div',{ref:\"list\",staticClass:\"nut-vert-list\",style:({ 'min-height': _vm.listMinHeightStyle })},[(_vm.isFirstPull)?_c('div',{staticClass:\"nut-vert-pulldown\"},[(!_vm.isLoading)?_c('div',{staticClass:\"nut-vert-pulldown-txt\"},[_vm._v(_vm._s(_vm.pulldownTxt))]):_c('div',{staticClass:\"nut-vert-pulldown-status\"},[_c('span',{staticClass:\"nut-vert-loading\"}),_vm._v(\" \"),_c('span',{staticClass:\"nut-vert-loading-txt\"},[_vm._v(_vm._s(_vm.loadingTxt))])])]):_vm._e(),_vm._v(\" \"),_vm._t(\"list\"),_vm._v(\" \"),_c('div',{staticClass:\"nut-vert-loadmore\"},[(!_vm.isUnMore && _vm.isShowLoadMore)?[(_vm.isLoading)?_c('div',{staticClass:\"nut-vert-load-status\"},[_c('span',{staticClass:\"nut-vert-loading\"}),_vm._v(\" \"),_c('span',{staticClass:\"nut-vert-loading-txt\"},[_vm._v(_vm._s(_vm.loadingTxt))])]):_vm._e()]:(_vm.isUnMore)?[_c('div',{staticClass:\"nut-vert-unloadmore-txt\"},[_vm._v(_vm._s(_vm.unloadMoreTxt))])]:_vm._e()],2)],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./horizontal-scroll.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./horizontal-scroll.vue?vue&type=script&lang=js&\"","<template>\n <div class=\"nut-hor-scroll\" ref=\"wrapper\">\n <div class=\"nut-hor-list\" ref=\"list\">\n <slot name=\"list\"></slot>\n <div class=\"nut-hor-control\" v-if=\"$slots.more && isShowLoadMore\">\n <slot name=\"more\"></slot>\n </div>\n <slot name=\"arrow\" v-if=\"$slots.arrow\"></slot>\n </div>\n </div>\n</template>\n<script>\nexport default {\n name: 'nut-hor-scroll',\n props: {\n stretch: {\n type: Number,\n default: 40\n },\n scrollTo: {\n type: Number,\n default: 1\n },\n listWidth: {\n type: Number,\n default: 0\n }\n },\n watch: {\n scrollTo: function(val) {\n if (typeof val === 'number' && !isNaN(val) && val <= 0) {\n this.setTransform(val, null, 500);\n this.$emit('scrollToCbk');\n }\n }\n },\n data() {\n return {\n touchParams: {\n startX: 0,\n endX: 0,\n startY: 0,\n endY: 0,\n startTime: 0,\n endTime: 0\n },\n transformX: 0,\n scrollDistance: 0,\n timer: null,\n isShowLoadMore: false,\n isFirstShow: false\n };\n },\n methods: {\n isShow() {\n let wrapH = this.listWidth ? this.listWidth : window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;\n let listH = this.$refs.list.offsetWidth;\n if (wrapH <= listH) {\n this.isShowLoadMore = true;\n } else {\n this.isShowLoadMore = false;\n }\n },\n\n setTransform(translateX = 0, type, time = 500, unit = 'px') {\n this.scrollDistance = translateX;\n translateX = translateX + unit;\n if (type === 'end') {\n this.$refs.list.style.webkitTransition = `transform ${time}ms cubic-bezier(0.19, 1, 0.22, 1)`;\n } else {\n this.$refs.list.style.webkitTransition = '';\n }\n this.$refs.list.style.webkitTransform = `translate3d(${translateX}, 0, 0)`;\n },\n\n setMove(move, type, time) {\n let updateMove = move + this.transformX;\n let w = this.listWidth ? this.listWidth : window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;\n let offsetWidth = this.$refs.list.offsetWidth;\n if (type === 'end') {\n if (updateMove > 0) {\n updateMove = 0;\n } else if (updateMove < -offsetWidth + w) {\n if (-offsetWidth + w <= 0) {\n updateMove = -offsetWidth + w;\n } else {\n updateMove = 0;\n }\n }\n this.setTransform(updateMove, type, time);\n } else {\n let maxMove = -offsetWidth + w;\n if (updateMove > 0 && updateMove > this.stretch) {\n updateMove = this.stretch;\n } else if (updateMove < maxMove - this.stretch) {\n if (maxMove <= 0) {\n updateMove = maxMove - this.stretch;\n } else {\n updateMove = updateMove < -this.stretch ? -this.stretch : updateMove;\n }\n }\n this.setTransform(updateMove, null, null);\n }\n },\n\n touchStart(event) {\n // event.preventDefault();\n\n let changedTouches = event.changedTouches[0];\n this.touchParams.startX = changedTouches.pageX;\n this.touchParams.startY = changedTouches.pageY;\n this.touchParams.startTime = event.timestamp || Date.now();\n this.transformX = this.scrollDistance;\n },\n\n touchEvent(changedTouches, callback) {\n this.touchParams.lastX = changedTouches.pageX;\n this.touchParams.lastY = changedTouches.pageY;\n let moveY = this.touchParams.lastY - this.touchParams.startY;\n let move = this.touchParams.lastX - this.touchParams.startX;\n\n if (!(Math.abs(move) > 20 && Math.abs(move) > Math.abs(moveY))) {\n return false;\n } else {\n let w = this.listWidth ? this.listWidth : window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;\n let maxMove = -this.$refs.list.offsetWidth + w;\n callback && callback(move, maxMove, moveY);\n }\n },\n\n touchMove(event) {\n //event.preventDefault();\n let changedTouches = event.changedTouches[0];\n this.touchParams.lastTime = event.timestamp || Date.now();\n let moveTime = this.touchParams.lastTime - this.touchParams.startTime;\n this.touchEvent(changedTouches, (move, maxMove, moveY) => {\n event.preventDefault();\n if (event.cancelable) {\n event.preventDefault();\n }\n if (move > 0 && this.isFirstShow) {\n this.isFirstShow = false;\n }\n this.setMove(move);\n });\n },\n\n touchEnd(event) {\n event.stopPropagation();\n let changedTouches = event.changedTouches[0];\n this.touchParams.lastTime = event.timestamp || Date.now();\n let moveTime = this.touchParams.lastTime - this.touchParams.startTime;\n this.touchEvent(changedTouches, (move, maxMove) => {\n //if (moveTime <= 300) {\n if (Math.abs(move) > 100) {\n move = move * 1.5;\n }\n\n // 释放跳转之类\n if (move < 0 && move + this.transformX < maxMove - 20 && this.isFirstShow) {\n this.$emit('jump');\n }\n\n if (!this.isFirstShow && move < 0 && move + this.transformX < maxMove && this.$slots.more) {\n this.isFirstShow = true;\n //move = maxMove - this.transformX;\n }\n\n if (moveTime <= 300) {\n moveTime = moveTime + 500;\n this.setMove(move, 'end', moveTime);\n } else {\n this.setMove(move, 'end');\n }\n });\n }\n },\n\n mounted() {\n this.$nextTick(() => {\n this.isShow();\n // 监听\n this.$el.addEventListener('touchstart', this.touchStart);\n this.$el.addEventListener('touchmove', this.touchMove);\n this.$el.addEventListener('touchend', this.touchEnd);\n });\n },\n beforeDestroy() {\n // 移除监听\n this.$el.removeEventListener('touchstart', this.touchStart);\n this.$el.removeEventListener('touchmove', this.touchMove);\n this.$el.removeEventListener('touchend', this.touchEnd);\n clearTimeout(this.timer);\n }\n};\n</script>\n","import { render, staticRenderFns } from \"./horizontal-scroll.vue?vue&type=template&id=04a6c994&\"\nimport script from \"./horizontal-scroll.vue?vue&type=script&lang=js&\"\nexport * from \"./horizontal-scroll.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"wrapper\",staticClass:\"nut-hor-scroll\"},[_c('div',{ref:\"list\",staticClass:\"nut-hor-list\"},[_vm._t(\"list\"),_vm._v(\" \"),(_vm.$slots.more && _vm.isShowLoadMore)?_c('div',{staticClass:\"nut-hor-control\"},[_vm._t(\"more\")],2):_vm._e(),_vm._v(\" \"),(_vm.$slots.arrow)?_vm._t(\"arrow\"):_vm._e()],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./scroller.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./scroller.vue?vue&type=script&lang=js&\"","<template>\n <div class=\"nut-scroller\">\n <template v-if=\"type === 'vertical'\">\n <nut-vert-scroll\n :stretch=\"stretch\"\n :is-un-more=\"isUnMore\"\n :is-loading=\"isLoading\"\n :threshold=\"threshold\"\n :pulldown-txt=\"pulldownTxt\"\n :load-more-txt=\"loadMoreTxt\"\n :loading-txt=\"loadingTxt\"\n :unload-more-txt=\"unloadMoreTxt\"\n :props-time=\"propsTime\"\n :scroll-to=\"scrollTo\"\n @loadMore=\"loadMore\"\n @pulldown=\"pulldown\"\n @scrollToCbk=\"scrollToCbk\"\n @scrollChange=\"scrollChange\"\n >\n <slot name=\"list\" slot=\"list\"></slot>\n </nut-vert-scroll>\n </template>\n <template v-else-if=\"type === 'horizontal'\">\n <nut-hor-scroll :stretch=\"stretch\" :scroll-to=\"scrollTo\" @jump=\"jump\" @scrollToCbk=\"scrollToCbk\">\n <slot name=\"list\" slot=\"list\"></slot>\n <slot name=\"more\" slot=\"more\"></slot>\n <slot name=\"arrow\" slot=\"arrow\"></slot>\n </nut-hor-scroll>\n </template>\n </div>\n</template>\n<script>\nimport nutVertScroll from './vertical-scroll.vue';\nimport nutHorScroll from './horizontal-scroll.vue';\nexport default {\n name: 'nut-scroller',\n props: {\n type: {\n type: String,\n default: 'horizontal'\n },\n stretch: {\n type: Number,\n default: 100\n },\n isUnMore: {\n type: Boolean,\n default: false\n },\n isLoading: {\n type: Boolean,\n default: false\n },\n threshold: {\n type: Number,\n default: 100\n },\n pulldownTxt: {\n type: String,\n default: '下拉刷新'\n },\n loadMoreTxt: {\n type: String,\n default: '上拉加载'\n },\n loadingTxt: {\n type: String,\n default: '加载中...'\n },\n unloadMoreTxt: {\n type: String,\n default: '没有更多了'\n },\n propsTime: {\n type: Number,\n default: 0\n },\n scrollTo: {\n type: Number,\n default: 1\n }\n },\n data() {\n return {};\n },\n components: {\n [nutVertScroll.name]: nutVertScroll,\n [nutHorScroll.name]: nutHorScroll\n },\n methods: {\n loadMore() {\n this.$emit('loadMore');\n },\n\n jump() {\n this.$emit('jump');\n },\n\n pulldown() {\n this.$emit('pulldown');\n },\n\n scrollToCbk() {\n this.$emit('scrollToCbk');\n },\n scrollChange(event) {\n this.$emit('scrollChange', event);\n }\n }\n};\n</script>\n","import { render, staticRenderFns } from \"./scroller.vue?vue&type=template&id=8b024c4c&\"\nimport script from \"./scroller.vue?vue&type=script&lang=js&\"\nexport * from \"./scroller.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Scroller from './scroller.vue';\nimport './scroller.scss';\n\nScroller.install = function(Vue) {\n Vue.component(Scroller.name, Scroller);\n};\n\nexport default Scroller;\n","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return (module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports), _typeof(obj);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nmodule.exports = _defineProperty, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;"],"sourceRoot":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.14 - searchbar.css, ea1cfeedc4af744045aa, Thu Jul 27 2023 18:33:12 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/@-webkit-keyframes nutPulse{0%{width:100%;height:100%;opacity:.5}to{width:180%;height:180%;opacity:0}}@keyframes nutPulse{0%{width:100%;height:100%;opacity:.5}to{width:180%;height:180%;opacity:0}}.nut-searchbar{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row;flex-flow:row}.nut-searchbar .search-input{-webkit-box-flex:1;-ms-flex:1;flex:1;padding-left:10px;background-color:#f6f6f6;border-radius:20px;overflow:hidden}.nut-searchbar .search-input form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;margin-right:10px}.nut-searchbar .search-input form .close-icon{display:none}.nut-searchbar .search-input form .close-icon.show{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.nut-searchbar .search-input i{display:inline-block}.nut-searchbar .search-input input{min-width:80%;-webkit-box-flex:1;-ms-flex:1;flex:1;padding:10px 0;margin-left:10px;background-color:#f6f6f6;border-color:transparent;outline:none}.nut-searchbar .search-input input::-webkit-search-cancel-button{display:none}.nut-searchbar .search-input.focus{-webkit-box-shadow:0 0 5px 0 #f6f6f6;box-shadow:0 0 5px 0 #f6f6f6}.nut-searchbar .search-input.nut-search-ani{-webkit-animation:nutPulse .25s;animation:nutPulse .25s}.nut-searchbar .btn-search{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-left:10px;color:#2d2d2d}.nut-searchbar a{text-decoration:none}.nut-searchbar .nut-icon{vertical-align:middle}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.14 - searchbar.js, ea1cfeedc4af744045aa, Thu Jul 27 2023 18:33:12 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define("searchbar",["vue"],e):"object"==typeof exports?exports.searchbar=e(require("vue")):t.searchbar=e(t.Vue)}("undefined"!=typeof self?self:this,(function(t){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="./",n(n.s=184)}({0:function(t,e,n){"use strict";function o(t,e,n,o,r,i,s,l){var a,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),o&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),s?(a=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__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=a):r&&(a=l?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),a)if(c.functional){c._injectStyles=a;var u=c.render;c.render=function(t,e){return a.call(e),u(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,a):[a]}return{exports:t,options:c}}n.d(e,"a",(function(){return o}))},1:function(e,n){e.exports=t},10:function(t,e,n){"use strict";n(6);var o=n(2),r=n.n(o),i=n(1),s=n.n(i);s.a.config.lang="zn-CH";var l={lang:{okBtnTxt:"确 定",cancelBtnTxt:"取 消",calendar:{loadPrevMonth:"加载上一个月",noMoreMonth:"没有更早月份~",start:"开始",end:"结束",title:"选择日期",week:"日,一,二,三,四,五,六",monthTitle:"{year}年{month}月",year:"年",month:"月",day:"日",hour:"时",minute:"分",second:"秒",morning:"上午",afternoon:"下午"},menu:{resetBtnTxt:"重置"},searchbar:{placeText:"请输入内容...",textInfo:"搜索"},shortpassword:{tip1:"输入数字密码",tip2:"忘记密码"},steps:{step:"步骤",stepDesc:"步骤描述"},uploader:{xmlError:"对不起,您的浏览器不支持本组件!",typeError:"不支持上传该类型文件",limitError:"文件大小超过限制"}}},a={},c=!1,u=function(){var t=Object.getPrototypeOf(this||s.a).$t;if("function"==typeof t&&s.a.locale)return c||(c=!0,s.a.locale(s.a.config.lang,r()("zn-CH"===s.a.config.lang?l:{},s.a.locale(s.a.config.lang)||{},a))),t.apply(this,arguments)};function h(t,e){var n=u.apply(this,arguments);if(null!=n)return n;var o=r()({},"zn-CH"===s.a.config.lang?l:{},a),i=t&&t.split(".")||[],c=null;if(i.length)for(var h=0;h<i.length;h++){var f=i[h];if(!f||!o[f]){c=null;break}c=o=o[f]}return d(c,e)}function d(t,e){var n=t&&t.match(/{.+?}/g);return n&&e&&(n=n.map((function(t){return t.replace(/\{\s*(\w+|\d+).*?\}/,"$1")}))).forEach((function(n,o){var r=new RegExp("{\\s*"+n+"\\s*(?:=\\s*(\\S*?))?\\s*?}","g");t=t.replace(r,(function(t,o){return"function"==(r=e[n],Object.prototype.toString.call(r).toLowerCase().match(/\s(\w+)/)[1])?e[n]():void 0!==e[n]?e[n]:o||t;var r}))})),t}e.a={methods:{nutTranslate:function(){return h.apply(this,arguments)}}}},11:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 4"><rect x="14" y="20" width="16" height="4" rx="2" transform="translate(-14 -20)" fill-rule="evenodd"/></svg>'},111:function(t,e,n){},12:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g fill-rule="evenodd"><rect y="6" width="16" height="4" rx="2"/><rect transform="rotate(90 8 8)" y="6" width="16" height="4" rx="2"/></g></svg>'},15:function(t,e){t.exports='<?xml version="1.0" encoding="UTF-8"?>\n<svg width="13px" height="13px" viewBox="0 0 13 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n \x3c!-- Generator: Sketch 52.2 (67145) - http://www.bohemiancoding.com/sketch --\x3e\n <title>icon_address_black</title>\n <desc>Created with Sketch.</desc>\n <g id="搜索流程" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="3_搜索流程-copy" transform="translate(-137.000000, -90.000000)" fill="#333333">\n <g id="icon_address" transform="translate(137.000000, 90.000000)">\n <g id="分组">\n <path d="M8.84815,8.7378 C8.06565,9.3058 7.28265,9.8733 6.50015,10.4408 C5.71715,9.8733 4.93465,9.3058 4.15165,8.7378 C2.74865,7.7203 2.16065,5.9148 2.69565,4.2658 C3.23065,2.6168 4.76665,1.5003 6.50015,1.5003 C8.23365,1.5003 9.76965,2.6168 10.30465,4.2658 C10.83915,5.9148 10.25165,7.7203 8.84815,8.7378 M11.25565,3.9568 C10.58715,1.8958 8.66665,0.4998 6.50015,0.4998 C4.33315,0.4998 2.41315,1.8958 1.74415,3.9568 C1.07565,6.0183 1.81065,8.2753 3.56465,9.5478 C4.39665,10.1508 5.22815,10.7538 6.05965,11.3568 C6.32215,11.5478 6.67765,11.5478 6.94065,11.3568 C7.77215,10.7538 8.60365,10.1508 9.43515,9.5478 C11.18915,8.2753 11.92415,6.0183 11.25565,3.9568" id="Fill-2"></path>\n <path d="M7.9143,4.08595 C7.7188,3.89045 7.4023,3.89045 7.2068,4.08595 C7.0118,4.28145 7.0118,4.59745 7.2068,4.79295 C7.8373,5.42295 7.3908,6.49995 6.4998,6.49995 C5.6093,6.49995 5.1628,5.42295 5.7928,4.79295 C5.9878,4.59745 5.9878,4.28145 5.7928,4.08595 C5.5978,3.89045 5.2808,3.89045 5.0858,4.08595 C3.8258,5.34595 4.7183,7.49995 6.4998,7.49995 C8.2818,7.49995 9.1743,5.34595 7.9143,4.08595" id="Fill-4"></path>\n <path d="M8,12 L5,12 C4.724,12 4.5,12.2235 4.5,12.5 C4.5,12.7765 4.724,13 5,13 L8,13 C8.276,13 8.5,12.7765 8.5,12.5 C8.5,12.2235 8.276,12 8,12" id="Fill-6"></path>\n </g>\n </g>\n </g>\n </g>\n</svg>'},16:function(t,e){t.exports='<?xml version="1.0" encoding="UTF-8"?>\n<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n \x3c!-- Generator: Sketch 59 (86127) - https://sketch.com --\x3e\n <title>back_original 2</title>\n <desc>Created with Sketch.</desc>\n <g id="地址选择" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="地址选择1" transform="translate(-18.000000, -284.000000)" fill="#333333">\n <g id="back_original-2" transform="translate(18.000000, 284.000000)">\n <path d="M4,10.0009322 C3.99859741,10.5049575 4.39578918,10.8616307 4.4994895,10.9579412 L12.2671305,18.7441237 C12.6723966,19.0981592 13.322967,19.083897 13.7141881,18.7069986 C14.1081366,18.3274726 14.0918341,17.7356488 13.6838673,17.379254 L6.23965094,10.0009322 L13.6838673,2.62261026 C14.0891334,2.26857481 14.1054091,1.67176406 13.7141881,1.2948657 C13.3202395,0.915339684 12.6750973,0.901345866 12.2671305,1.25774058 L4.4994895,9.03838594 C4.40147558,9.15875944 4.00141004,9.49690678 4,10.0009322 Z" id="back_original"></path>\n </g>\n </g>\n </g>\n</svg>'},17:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M30 15c0 8.285-6.716 15-15 15-8.284 0-15-6.715-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15zM10.56 8.44a1.501 1.501 0 0 0-2.12 2.121l4.439 4.44-4.44 4.438a1.5 1.5 0 0 0 2.121 2.122l4.44-4.44 4.44 4.44a1.501 1.501 0 0 0 2.12-2.122l-11-11zm11 2.12a1.5 1.5 0 0 0-2.12-2.121l-2 2a1.5 1.5 0 0 0 2.12 2.122l2-2z" fill-rule="evenodd" fill-opacity=".6"/></svg>'},18:function(t,e){t.exports='<?xml version="1.0" encoding="UTF-8"?>\n<svg width="13px" height="13px" viewBox="0 0 13 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n \x3c!-- Generator: Sketch 52.2 (67145) - http://www.bohemiancoding.com/sketch --\x3e\n <title>Fill 3</title>\n <desc>Created with Sketch.</desc>\n <g id="地址选择" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="地址选择-已有地址" transform="translate(-18.000000, -384.000000)" fill="#F2270C">\n <g id="Fill-3" transform="translate(18.000000, 384.000000)">\n <path d="M3.8235773,10.236 C2.6030773,9.113 1.3830773,7.9905 0.162577302,6.868 C-0.172922698,6.5595 0.0455773022,6 0.501077302,6 L1.0030773,6 C1.7555773,6 2.4800773,6.2825 3.0335773,6.792 C3.5180773,7.2375 4.0025773,7.6835 4.4870773,8.129 C5.9855773,6.6965 7.4835773,5.264 8.9820773,3.8315 C9.5400773,3.298 10.2825773,3 11.0545773,3 L11.4990773,3 C11.9500773,3 12.1705773,3.5495 11.8445773,3.861 C9.6265773,5.982 7.4090773,8.102 5.1910773,10.223 C4.7860773,10.6105 4.1415773,10.589 3.7625773,10.175 C3.7620773,10.1765 3.7615773,10.1775 3.7610773,10.1785" id="Fill-2"></path>\n </g>\n </g>\n </g>\n</svg>'},184:function(t,e,n){"use strict";n.r(e);var o=n(3),r=n.n(o),i=n(8),s={name:"nut-searchbar",mixins:[n(10).a],props:{hasIcon:{type:Boolean,default:!1},searchIconSize:{type:String,default:"20px"},searchIconColor:{type:String,default:"#2e2d2d"},searchBtnIconSize:{type:String,default:"20px"},searchBtnIconColor:{type:String,default:"#2e2d2d"},clearIconSize:{type:String,default:"15px"},clearIconColor:{type:String,default:"#2e2d2d"},placeText:{type:String},hasSearchButton:{type:Boolean,default:!0},hasTextButton:{type:Boolean,default:!1},textInfo:{type:String},animation:{type:Boolean,default:!0},customClass:{type:String,default:""},value:{type:[String,Number],default:""}},components:r()({},i.a.name,i.a),data:function(){return{inputFocusAnimation:!1}},watch:{value:function(t,e){this.updateValue("change")}},computed:{hasCloseIcon:function(){return!!this.value}},mounted:function(){},methods:{updateValue:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"input",e="change"==t?this.value:this.$refs.searchInput.value;this.$emit(t,e)},clearInput:function(){this.$emit("clear",""),this.$emit("input","")},focusFun:function(){this.inputFocusAnimation=!0,this.$emit("focus")},inputFun:function(){this.updateValue()},blurFun:function(){this.inputFocusAnimation=!1,this.updateValue("blur")},submitFun:function(){document.activeElement&&document.activeElement.blur(),this.updateValue("submit")},blur:function(){this.$refs.searchInput.blur()},focus:function(){this.$nextTick((function(){this.$refs.searchInput.focus()}))},clickLeftIcon:function(){this.$emit("click-left-icon")},clickRightText:function(){this.$emit("click-right-icon")}}},l=n(0),a=Object(l.a)(s,(function(){var t=this,e=t._self._c;return e("div",{class:["nut-searchbar",t.customClass?t.customClass:""]},[e("div",{staticClass:"search-input",class:[t.animation?"nut-search-ani":"",t.inputFocusAnimation?"focus":""]},[e("form",{attrs:{id:"input-form",action:"javascript:return true"}},[t.hasIcon?e("div",{staticClass:"nut-search-left-icon",on:{click:t.clickLeftIcon}},[e("nut-icon",{staticClass:"nut-search-left-icon",attrs:{type:"search",size:t.searchIconSize,color:t.searchIconColor}})],1):t._e(),t._v(" "),e("input",{ref:"searchInput",attrs:{type:"search",placeholder:null==t.placeText?t.nutTranslate("lang.searchbar.placeText"):t.placeText},domProps:{value:t.value},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.submitFun.apply(null,arguments)},input:t.inputFun,blur:t.blurFun,focus:t.focusFun}}),t._v(" "),e("span",{staticClass:"close-icon",class:t.hasCloseIcon?"show":"",on:{click:t.clearInput}},[e("nut-icon",{attrs:{type:"circle-cross",size:t.clearIconSize,color:t.clearIconColor}})],1)])]),t._v(" "),t.hasSearchButton?e("a",{staticClass:"btn-search",attrs:{href:"javascript:;"},on:{click:t.clickRightText}},[t.hasTextButton?e("span",[t._v(t._s(t.textInfo||t.nutTranslate("lang.searchbar.textInfo")))]):e("nut-icon",{attrs:{type:"search",size:t.searchBtnIconSize,color:t.searchBtnIconColor}})],1):t._e()])}),[],!1,null,null,null).exports;n(111);a.install=function(t){t.component(a.name,a)};e.default=a},19:function(t,e){t.exports='<?xml version="1.0" encoding="UTF-8"?>\n<svg width="13px" height="13px" viewBox="0 0 13 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n \x3c!-- Generator: Sketch 52.2 (67145) - http://www.bohemiancoding.com/sketch --\x3e\n <title>Fill 3</title>\n <desc>Created with Sketch.</desc>\n <g id="分类" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="4-排序状态" transform="translate(-18.000000, -296.000000)" fill="#F2270C">\n <g id="分组-2-copy" transform="translate(0.000000, 222.000000)">\n <g id="Fill-3" transform="translate(18.000000, 74.000000)">\n <path d="M3.8235773,10.236 C2.6030773,9.113 1.3830773,7.9905 0.162577302,6.868 C-0.172922698,6.5595 0.0455773022,6 0.501077302,6 L1.0030773,6 C1.7555773,6 2.4800773,6.2825 3.0335773,6.792 C3.5180773,7.2375 4.0025773,7.6835 4.4870773,8.129 C5.9855773,6.6965 7.4835773,5.264 8.9820773,3.8315 C9.5400773,3.298 10.2825773,3 11.0545773,3 L11.4990773,3 C11.9500773,3 12.1705773,3.5495 11.8445773,3.861 C9.6265773,5.982 7.4090773,8.102 5.1910773,10.223 C4.7860773,10.6105 4.1415773,10.589 3.7625773,10.175 C3.7620773,10.1765 3.7615773,10.1775 3.7610773,10.1785" id="Fill-2"></path>\n </g>\n </g>\n </g>\n </g>\n</svg>'},2:function(t,e){function n(){return t.exports=n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},t.exports.__esModule=!0,t.exports.default=t.exports,n.apply(this,arguments)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},20:function(t,e,n){var o={"./action.svg":21,"./address-location.svg":15,"./arrow-to-left.svg":22,"./arrow-to-top.svg":23,"./arrows-back.svg":16,"./back.svg":24,"./checked.svg":25,"./checked2.svg":26,"./circle-cross.svg":17,"./close.svg":27,"./cross.svg":28,"./down.svg":29,"./github.svg":30,"./hook-red.svg":18,"./message.svg":31,"./minus.svg":11,"./more.svg":32,"./more2.svg":33,"./more3.svg":34,"./notice.svg":35,"./plus.svg":12,"./qrcode.svg":36,"./right.svg":37,"./search.svg":38,"./search2.svg":39,"./share.svg":40,"./tick-red.svg":19,"./tick.svg":41,"./top.svg":42,"./trolley.svg":43,"./unchecked.svg":44};function r(t){var e=i(t);return n(e)}function i(t){if(!n.o(o,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return o[t]}r.keys=function(){return Object.keys(o)},r.resolve=i,t.exports=r,r.id=20},21:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill-rule="evenodd"><path d="M.5 12c0 6.351 5.149 11.5 11.5 11.5S23.5 18.351 23.5 12 18.351.5 12 .5.5 5.649.5 12z" stroke-opacity=".6" stroke="currentColor" fill="#FFF"/><path d="M10.909 4.364h2.182v2.182h-2.182zM10.909 8.727h2.182v10.909h-2.182z"/></g></svg>'},22:function(t,e){t.exports='<svg width="19" height="36" xmlns="http://www.w3.org/2000/svg"><path d="M18.552 35.569a1.5 1.5 0 0 1-2.121-.017c-5.952-6.05-9.905-10.1-15.857-16.15a2 2 0 0 1 0-2.804c5.952-6.05 9.905-10.1 15.857-16.15a1.5 1.5 0 1 1 2.138 2.104C12.847 8.368 9.125 12.184 3.403 18c5.722 5.816 9.444 9.632 15.166 15.448a1.5 1.5 0 0 1-.017 2.121z" fill="#2E2D2D" fill-rule="evenodd"/></svg>'},23:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 31 39"><g fill-rule="evenodd"><path d="M1.41 0C.63 0 0 .672 0 1.5S.63 3 1.41 3h28.18C30.37 3 31 2.328 31 1.5S30.369 0 29.59 0H1.41zM17 7.5a1.5 1.5 0 0 0-3 0v30a1.5 1.5 0 1 0 3 0v-30zM8.44 12.44l-8 8a1.5 1.5 0 1 0 2.12 2.12l8-8a1.5 1.5 0 1 0-2.12-2.12z"/><path d="M16.56 6.44l14 14a1.5 1.5 0 1 1-2.12 2.12l-14-14a1.5 1.5 0 1 1 2.12-2.12z"/></g></svg>'},24:function(t,e){t.exports='<?xml version="1.0" encoding="UTF-8"?>\n<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n \x3c!-- Generator: Sketch 59 (86127) - https://sketch.com --\x3e\n <title>back_original 2</title>\n <desc>Created with Sketch.</desc>\n <g id="地址选择" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="地址选择1" transform="translate(-18.000000, -284.000000)" fill="#333333">\n <g id="back_original-2" transform="translate(18.000000, 284.000000)">\n <path d="M4,10.0009322 C3.99859741,10.5049575 4.39578918,10.8616307 4.4994895,10.9579412 L12.2671305,18.7441237 C12.6723966,19.0981592 13.322967,19.083897 13.7141881,18.7069986 C14.1081366,18.3274726 14.0918341,17.7356488 13.6838673,17.379254 L6.23965094,10.0009322 L13.6838673,2.62261026 C14.0891334,2.26857481 14.1054091,1.67176406 13.7141881,1.2948657 C13.3202395,0.915339684 12.6750973,0.901345866 12.2671305,1.25774058 L4.4994895,9.03838594 C4.40147558,9.15875944 4.00141004,9.49690678 4,10.0009322 Z" id="back_original"></path>\n </g>\n </g>\n </g>\n</svg>'},25:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 50 50"><defs><path d="M38 19C38 8.507 29.493 0 19 0S0 8.507 0 19s8.507 19 19 19 19-8.507 19-19" id="b"/><filter x="-28.9%" y="-18.4%" width="157.9%" height="157.9%" filterUnits="objectBoundingBox" id="a"><feOffset dy="4" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur stdDeviation="3" in="shadowOffsetOuter1" result="shadowBlurOuter1"/><feColorMatrix values="0 0 0 0 0.941176471 0 0 0 0 0.145098039 0 0 0 0 0.0588235294 0 0 0 0.15 0" in="shadowBlurOuter1"/></filter></defs><g fill="none" fill-rule="evenodd"><g transform="translate(6 2)"><use fill="#000" filter="url(#a)" xlink:href="#b"/><use fill="#F0250F" xlink:href="#b"/></g><path d="M16 31h20V11H16z"/><path fill="#FFF" d="M16 21l2.5-2.5 5 4.5 10-9.5L36 16 24 28h-1z"/></g></svg>'},26:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 50 50"><defs><path d="M19 0C8.506 0 0 8.506 0 19s8.506 19 19 19 19-8.506 19-19S29.494 0 19 0z" id="b"/><filter x="-28.9%" y="-18.4%" width="157.9%" height="157.9%" filterUnits="objectBoundingBox" id="a"><feOffset dy="4" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur stdDeviation="3" in="shadowOffsetOuter1" result="shadowBlurOuter1"/><feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"/><feColorMatrix values="0 0 0 0 0.941176471 0 0 0 0 0.145098039 0 0 0 0 0.0588235294 0 0 0 0.15 0" in="shadowBlurOuter1"/></filter></defs><g fill-rule="evenodd"><g transform="translate(6 2)"><use fill="#000" filter="url(#a)" xlink:href="#b"/><path stroke="#F0250F" stroke-width="3" d="M19 1.5C9.335 1.5 1.5 9.335 1.5 19S9.335 36.5 19 36.5 36.5 28.665 36.5 19 28.665 1.5 19 1.5z" stroke-linejoin="square" fill="#FFF"/></g><path d="M37 21c0-6.627-5.373-12-12-12s-12 5.373-12 12 5.373 12 12 12 12-5.373 12-12" fill="#F0250F"/></g></svg>'},27:function(t,e){t.exports='<?xml version="1.0" encoding="UTF-8"?>\n<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>btn_close</title>\n <g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="4_商品详情页-赠品" transform="translate(-337.000000, -305.000000)">\n <g id="弹层" transform="translate(0.000000, 287.000000)">\n <g id="关闭" transform="translate(337.000000, 18.000000)">\n <circle id="椭圆形" fill="#F2F2F2" cx="10" cy="10" r="10"></circle>\n <path d="M12.2803,8.7803 C11.9873,9.0733 11.5128,9.0733 11.2198,8.7803 C10.9268,8.4878 10.9268,8.0128 11.2198,7.7198 L12.7198,6.2198 C13.0128,5.9268 13.4873,5.9268 13.7803,6.2198 C14.0733,6.5123 14.0733,6.9878 13.7803,7.2803 L12.2803,8.7803 Z" id="Fill-5" fill="#8C8C8C"></path>\n <path d="M13.7803,12.71975 C14.0733,13.01225 14.0733,13.48775 13.7803,13.78025 C13.4873,14.07325 13.0128,14.07325 12.7198,13.78025 C11.8128,12.87375 10.9068,11.96725 9.9998,11.06075 C9.0933,11.96725 8.1868,12.87375 7.2803,13.78025 C6.9873,14.07325 6.5128,14.07325 6.2198,13.78025 C5.9268,13.48775 5.9268,13.01225 6.2198,12.71975 C7.1263,11.81325 8.0328,10.90675 8.9393,10.00025 C8.0328,9.09375 7.1263,8.18725 6.2198,7.28025 C5.9268,6.98775 5.9268,6.51225 6.2198,6.21975 C6.5128,5.92675 6.9873,5.92675 7.2803,6.21975 C9.4468,8.38625 11.6138,10.55325 13.7803,12.71975" id="Fill-8" fill="#8C8C8C"></path>\n </g>\n </g>\n </g>\n </g>\n</svg>'},28:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><g fill-rule="evenodd"><path d="M.44 2.56A1.5 1.5 0 1 1 2.56.44l27 27a1.5 1.5 0 1 1-2.12 2.12L15 17.123 2.56 29.56A1.5 1.5 0 1 1 .44 27.44L12.878 15 .44 2.56zM27.44.44a1.5 1.5 0 1 1 2.12 2.12l-9 9a1.5 1.5 0 1 1-2.12-2.12l9-9z"/></g></svg>'},29:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 11"><path d="M15 7.757L27.737.21a1.5 1.5 0 0 1 1.53 2.58c-4.5 2.668-9 5.334-13.5 8a1.503 1.503 0 0 1-1.53 0c-4.5-2.666-9-5.332-13.5-8A1.5 1.5 0 1 1 2.266.21C6.51 2.726 10.756 5.24 15 7.757" fill-rule="evenodd"/></svg>'},3:function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},30:function(t,e){t.exports='<svg height="24" class="octicon octicon-mark-github" viewBox="0 0 16 16" version="1.1" width="24" aria-hidden="true"><path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path></svg>'},31:function(t,e){t.exports='<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><g fill="#2E2D2D" fill-rule="evenodd"><path d="M10 35.899c1.369-.79 2.743-1.58 4.111-2.371a1.377 1.377 0 0 1 1.136-.15l.021.006a18.57 18.57 0 0 0 7.865.348 18.198 18.198 0 0 0 4.757-1.507 17.286 17.286 0 0 0 2.912-1.763 16.288 16.288 0 0 0 2.467-2.282 15.604 15.604 0 0 0 1.874-2.649c.254-.455.485-.924.69-1.403A14.457 14.457 0 0 0 37 18.5a14.416 14.416 0 0 0-1.167-5.63 15.083 15.083 0 0 0-2.564-4.052 16.092 16.092 0 0 0-2.467-2.282 16.79 16.79 0 0 0-1.412-.954 17.746 17.746 0 0 0-4.655-1.968 18.577 18.577 0 0 0-9.467 0 18.085 18.085 0 0 0-3.155 1.159c-.512.246-1.013.515-1.5.809A16.774 16.774 0 0 0 7.901 7.62a15.883 15.883 0 0 0-2.184 2.487A15.346 15.346 0 0 0 4.17 12.87a14.413 14.413 0 0 0-.886 2.852A14.162 14.162 0 0 0 3 18.5c0 .932.101 1.862.284 2.776a14.455 14.455 0 0 0 1.212 3.56 1.5 1.5 0 1 1-2.691 1.324C-2.282 17.851.85 8.412 8.399 3.434c7.336-4.837 17.307-4.554 24.314.787 7.227 5.508 9.538 15.166 4.84 23.136-4.552 7.722-13.987 11.064-22.468 9.073l-5.829 3.367a1.5 1.5 0 0 1-2.249-1.299v-7C7.007 30.67 7.672 30 8.5 30c.828 0 1.5.67 1.5 1.498v4.401"/><path d="M18.5 17h3a1.5 1.5 0 1 1 0 3h-3a1.5 1.5 0 1 1 0-3M31.5 17a1.5 1.5 0 1 1 0 3h-3a1.5 1.5 0 1 1 0-3h3M11.5 17a1.5 1.5 0 1 1 0 3h-3a1.5 1.5 0 1 1 0-3h3"/></g></svg>'},32:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35 9"><g transform="translate(0 -13)" fill-rule="evenodd"><rect opacity=".3" y="15" width="5" height="5" rx="2.5"/><circle opacity=".8" cx="17.5" cy="17.5" r="4.5"/><rect opacity=".3" x="30" y="15" width="5" height="5" rx="2.5"/></g></svg>'},33:function(t,e){t.exports='<svg width="37" height="37" xmlns="http://www.w3.org/2000/svg"><g fill="#2E2D2D" fill-rule="evenodd"><path d="M34.414 29.914a2 2 0 0 0 0-2.828l-4.5-4.5a2 2 0 0 0-2.828 0l-4.5 4.5a2 2 0 0 0 0 2.828l4.5 4.5a2 2 0 0 0 2.828 0l4.5-4.5" opacity=".35"/><path d="M34 13a1 1 0 0 1-1 1h-9a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h9a1 1 0 0 1 1 1v9zM33 0h-9a4 4 0 0 0-4 4v9a4 4 0 0 0 4 4h9a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4zM14 13a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h9a1 1 0 0 1 1 1v9zM13 0H4a4 4 0 0 0-4 4v9a4 4 0 0 0 4 4h9a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4zM14 33a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h9a1 1 0 0 1 1 1v9zm-1-13H4a4 4 0 0 0-4 4v9a4 4 0 0 0 4 4h9a4 4 0 0 0 4-4v-9a4 4 0 0 0-4-4zM33.707 29.207l-4.5 4.5a.999.999 0 0 1-1.414 0l-4.5-4.5a.999.999 0 0 1 0-1.414l4.5-4.5a.999.999 0 0 1 1.414 0l4.5 4.5a.999.999 0 0 1 0 1.414zm2.122-3.536l-4.5-4.5a4.002 4.002 0 0 0-5.658 0l-4.5 4.5a4.002 4.002 0 0 0 0 5.658l4.5 4.5a4.002 4.002 0 0 0 5.658 0l4.5-4.5a4.002 4.002 0 0 0 0-5.658z"/></g></svg>'},34:function(t,e){t.exports='<svg width="39" height="7" xmlns="http://www.w3.org/2000/svg"><g transform="translate(-1 -17)" fill="#2E2D2D" fill-rule="evenodd"><circle cx="36.5" cy="20.5" r="3.5"/><circle cx="20.5" cy="20.5" r="3.5"/><circle cx="4.5" cy="20.5" r="3.5"/></g></svg>'},35:function(t,e){t.exports='<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1591940507377" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1389" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M512 256c117.632 0 213.333333 95.701333 213.333333 213.333333v149.333334c0 13.845333 4.501333 27.328 12.8 38.4L789.333333 725.333333H234.666667l51.2-68.266666c8.298667-11.072 12.8-24.554667 12.8-38.4v-149.333334c0-117.632 95.701333-213.333333 213.333333-213.333333m0-64c-153.173333 0-277.333333 124.16-277.333333 277.333333v149.333334l-64 85.333333v42.666667c0 23.466667 19.2 42.666667 42.666666 42.666666h597.333334c23.466667 0 42.666667-19.2 42.666666-42.666666v-42.666667l-64-85.333333v-149.333334c0-153.173333-124.16-277.333333-277.333333-277.333333zM512 853.333333a64 64 0 0 1-64-64h-64c0 70.570667 57.429333 128 128 128s128-57.429333 128-128h-64a64 64 0 0 1-64 64z" p-id="1390"></path><path d="M512 256a42.666667 42.666667 0 1 1-0.021333-85.312A42.666667 42.666667 0 0 1 512 256h97.621333A105.962667 105.962667 0 0 0 618.666667 213.333333c0-58.816-47.850667-106.666667-106.666667-106.666666s-106.666667 47.850667-106.666667 106.666666c0 15.189333 3.306667 29.568 9.045334 42.666667H512z" p-id="1391"></path></svg>'},36:function(t,e){t.exports='<svg width="40" height="39" xmlns="http://www.w3.org/2000/svg"><g fill="#2E2D2D" fill-rule="evenodd"><path d="M34 39a6 6 0 0 0 6-6v-3.5a1.5 1.5 0 1 0-3 0V33a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-3.5a1.5 1.5 0 1 0-3 0V33a6 6 0 0 0 6 6h28M38.5 18a1.5 1.5 0 1 1 0 3h-5a1.5 1.5 0 1 1 0-3h5M26.5 18a1.5 1.5 0 1 1 0 3h-25a1.5 1.5 0 1 1 0-3h25M40 6a6 6 0 0 0-6-6H6a6 6 0 0 0-6 6v3.5a1.5 1.5 0 1 0 3 0V6a3 3 0 0 1 3-3h28a3 3 0 0 1 3 3v3.5a1.5 1.5 0 1 0 3 0V6"/></g></svg>'},37:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 30"><g fill="none" fill-rule="evenodd"><path d="M-11 0h30v30h-30z"/><path d="M7.757 15C5.241 10.755 2.727 6.51.21 2.266A1.5 1.5 0 0 1 2.79.736l8 13.499c.28.472.28 1.058 0 1.53l-8 13.5a1.499 1.499 0 1 1-2.58-1.53L7.757 15z" fill="currentColor"/></g></svg>'},38:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 27 27"><path d="M13.658 22.979c-5.511.363-10.273-3.81-10.637-9.321-.363-5.511 3.81-10.273 9.321-10.637 5.511-.363 10.273 3.81 10.637 9.321.363 5.511-3.81 10.273-9.321 10.637zM26.56 24.44l-3.369-3.37c4.277-5.4 3.599-13.197-1.545-17.778-5.144-4.581-12.968-4.355-17.838.516-4.871 4.87-5.097 12.694-.516 17.838 4.581 5.143 12.378 5.822 17.778 1.545l3.37 3.37a1.5 1.5 0 0 0 2.12-2.121z" fill-rule="evenodd"/></svg>'},39:function(t,e){t.exports='<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><g fill="#2E2D2D" fill-rule="evenodd"><path d="M24.495 34.027a1.5 1.5 0 0 1 1.03 2.818c-8.971 3.28-18.983-.611-23.385-9.088C-2.262 19.28.313 8.852 8.156 3.4 16-2.053 26.671-.834 33.083 6.246c6.412 7.08 6.571 17.82.371 25.087l6.107 6.107a1.501 1.501 0 0 1-2.122 2.121l-7.125-7.126a1.501 1.501 0 0 1 0-2.121c5.773-5.773 6.273-14.967 1.161-21.333-5.113-6.365-14.198-7.86-21.08-3.469-6.883 4.392-9.354 13.262-5.736 20.58 3.619 7.319 12.168 10.739 19.836 7.935"/><path d="M27.272 15.453a1.5 1.5 0 0 0 2.757-1.182 12 12 0 0 0-6.299-6.299 1.5 1.5 0 0 0-1.182 2.757 9 9 0 0 1 4.821 4.959"/></g></svg>'},40:function(t,e){t.exports='<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><g fill="#2E2D2D" fill-rule="evenodd"><path d="M31 40H6a6 6 0 0 1-6-6V11a6 6 0 0 1 6-6h9.5a1.5 1.5 0 0 1 0 3H6a3 3 0 0 0-3 3v23a3 3 0 0 0 3 3h25a3 3 0 0 0 3-3v-9.5a1.5 1.5 0 0 1 3 0V34a6 6 0 0 1-6 6"/><path d="M39.435 5.313l-.024-.004a1.5 1.5 0 0 1 .15 2.252l-5 5a1.502 1.502 0 0 1-2.122 0 1.502 1.502 0 0 1 0-2.122l2.397-2.397C26.474 8.652 20 15.615 20 24v2.5a1.5 1.5 0 0 1-3 0V24c0-10.07 7.856-18.391 17.91-18.97-.824-.822-1.647-1.646-2.471-2.47a1.502 1.502 0 0 1 0-2.121 1.502 1.502 0 0 1 2.122 0l5 5"/></g></svg>'},41:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 21"><path d="M10 13.5l-7-6-3 3L10.5 21 28 3.5l-3-3z" fill-rule="evenodd"/></svg>'},42:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 31 33"><g fill-rule="evenodd"><path d="M17 1.5a1.5 1.5 0 0 0-3 0v30a1.5 1.5 0 1 0 3 0v-30zM8.44 6.44l-8 8a1.5 1.5 0 1 0 2.12 2.12l8-8a1.5 1.5 0 1 0-2.12-2.12z"/><path d="M16.56.44l14 14a1.5 1.5 0 1 1-2.12 2.12l-14-14A1.5 1.5 0 1 1 16.56.44z"/></g></svg>'},43:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35 39"><path d="M3.63 5h22.363c5.789 0 9.278 4.972 8.312 10.342L32.6 24.037c-.56 3.69-4.112 5.893-7.9 5.893H5.27C4.513 29.93 4 29.274 4 28.52c0-.756.615-1.52 1.37-1.52H24.7c2.58 0 4.874-1.242 5.203-3.408l1.713-8.732C32.293 11.094 29.999 8 25.993 8H2.553C1.748 8 1.108 7.772.99 7.026L.017 1.581a1.367 1.367 0 1 1 2.699-.428L3.63 5zM3.5 16h12a1.5 1.5 0 0 1 1.5 1.5v.047a1.5 1.5 0 0 1-1.5 1.5h-12a1.5 1.5 0 0 1-1.5-1.5V17.5A1.5 1.5 0 0 1 3.5 16zM7 39a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm20 0a3 3 0 1 1 0-6 3 3 0 0 1 0 6z" fill-rule="evenodd"/></svg>'},44:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 50 50"><defs><path d="M0 19c0 10.494 8.506 19 19 19s19-8.506 19-19S29.494 0 19 0 0 8.506 0 19z" id="b"/><filter x="-28.9%" y="-18.4%" width="157.9%" height="157.9%" filterUnits="objectBoundingBox" id="a"><feOffset dy="4" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur stdDeviation="3" in="shadowOffsetOuter1" result="shadowBlurOuter1"/><feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0" in="shadowBlurOuter1"/></filter></defs><g transform="translate(6 2)" fill="none" fill-rule="evenodd"><use fill="#000" filter="url(#a)" xlink:href="#b"/><path stroke-opacity=".6" stroke="#848484" stroke-width="3" d="M1.5 19c0 9.665 7.835 17.5 17.5 17.5S36.5 28.665 36.5 19 28.665 1.5 19 1.5 1.5 9.335 1.5 19z" stroke-linejoin="square" fill="#FFF"/></g></svg>'},6:function(t,e){function n(e){return t.exports=n="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,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},8:function(t,e,n){"use strict";var o=["top","action","cross","down","right","more","notice","plus","search","trolley","tick","minus","circle-cross"],r={name:"nut-icon",props:{type:{type:String,default:""},size:{type:String,default:""},color:{type:String,default:"#2e2d2d"},url:{type:String,default:""}},data:function(){return{icon:null}},watch:{url:function(t){this.icon=t}},created:function(){this.url?(this.icon=this.url,this.type="self"):-1===o.indexOf(this.type)?console.error("nut-icon组件type值("+this.type+")有误,无此icon!"):this.icon=n(20)("./"+this.type+".svg")}},i=n(0),s=Object(i.a)(r,(function(){return(0,this._self._c)("i",{class:["nut-icon","nut-icon-"+this.type],style:{height:this.size,width:this.size,color:this.color},domProps:{innerHTML:this._s(this.icon)}})}),[],!1,null,null,null);e.a=s.exports}})}));
|
|
6
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define("searchbar",["vue"],e):"object"==typeof exports?exports.searchbar=e(require("vue")):t.searchbar=e(t.Vue)}("undefined"!=typeof self?self:this,(function(t){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="./",n(n.s=186)}({0:function(t,e,n){"use strict";function o(t,e,n,o,r,i,s,l){var a,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),o&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),s?(a=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__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=a):r&&(a=l?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),a)if(c.functional){c._injectStyles=a;var u=c.render;c.render=function(t,e){return a.call(e),u(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,a):[a]}return{exports:t,options:c}}n.d(e,"a",(function(){return o}))},1:function(e,n){e.exports=t},10:function(t,e,n){var o=n(2).default,r=n(11);t.exports=function(t){var e=r(t,"string");return"symbol"===o(e)?e:String(e)},t.exports.__esModule=!0,t.exports.default=t.exports},11:function(t,e,n){var o=n(2).default;t.exports=function(t,e){if("object"!==o(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},113:function(t,e,n){},12:function(t,e,n){"use strict";n(2);var o=n(3),r=n.n(o),i=n(1),s=n.n(i);s.a.config.lang="zn-CH";var l={lang:{okBtnTxt:"确 定",cancelBtnTxt:"取 消",calendar:{loadPrevMonth:"加载上一个月",noMoreMonth:"没有更早月份~",start:"开始",end:"结束",title:"选择日期",week:"日,一,二,三,四,五,六",monthTitle:"{year}年{month}月",year:"年",month:"月",day:"日",hour:"时",minute:"分",second:"秒",morning:"上午",afternoon:"下午"},menu:{resetBtnTxt:"重置"},searchbar:{placeText:"请输入内容...",textInfo:"搜索"},shortpassword:{tip1:"输入数字密码",tip2:"忘记密码"},steps:{step:"步骤",stepDesc:"步骤描述"},uploader:{xmlError:"对不起,您的浏览器不支持本组件!",typeError:"不支持上传该类型文件",limitError:"文件大小超过限制"}}},a={},c=!1,u=function(){var t=Object.getPrototypeOf(this||s.a).$t;if("function"==typeof t&&s.a.locale)return c||(c=!0,s.a.locale(s.a.config.lang,r()("zn-CH"===s.a.config.lang?l:{},s.a.locale(s.a.config.lang)||{},a))),t.apply(this,arguments)};function h(t,e){var n=u.apply(this,arguments);if(null!=n)return n;var o=r()({},"zn-CH"===s.a.config.lang?l:{},a),i=t&&t.split(".")||[],c=null;if(i.length)for(var h=0;h<i.length;h++){var f=i[h];if(!f||!o[f]){c=null;break}c=o=o[f]}return d(c,e)}function d(t,e){var n=t&&t.match(/{.+?}/g);return n&&e&&(n=n.map((function(t){return t.replace(/\{\s*(\w+|\d+).*?\}/,"$1")}))).forEach((function(n,o){var r=new RegExp("{\\s*"+n+"\\s*(?:=\\s*(\\S*?))?\\s*?}","g");t=t.replace(r,(function(t,o){return"function"==(r=e[n],Object.prototype.toString.call(r).toLowerCase().match(/\s(\w+)/)[1])?e[n]():void 0!==e[n]?e[n]:o||t;var r}))})),t}e.a={methods:{nutTranslate:function(){return h.apply(this,arguments)}}}},13:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 4"><rect x="14" y="20" width="16" height="4" rx="2" transform="translate(-14 -20)" fill-rule="evenodd"/></svg>'},14:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g fill-rule="evenodd"><rect y="6" width="16" height="4" rx="2"/><rect transform="rotate(90 8 8)" y="6" width="16" height="4" rx="2"/></g></svg>'},17:function(t,e){t.exports='<?xml version="1.0" encoding="UTF-8"?>\n<svg width="13px" height="13px" viewBox="0 0 13 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n \x3c!-- Generator: Sketch 52.2 (67145) - http://www.bohemiancoding.com/sketch --\x3e\n <title>icon_address_black</title>\n <desc>Created with Sketch.</desc>\n <g id="搜索流程" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="3_搜索流程-copy" transform="translate(-137.000000, -90.000000)" fill="#333333">\n <g id="icon_address" transform="translate(137.000000, 90.000000)">\n <g id="分组">\n <path d="M8.84815,8.7378 C8.06565,9.3058 7.28265,9.8733 6.50015,10.4408 C5.71715,9.8733 4.93465,9.3058 4.15165,8.7378 C2.74865,7.7203 2.16065,5.9148 2.69565,4.2658 C3.23065,2.6168 4.76665,1.5003 6.50015,1.5003 C8.23365,1.5003 9.76965,2.6168 10.30465,4.2658 C10.83915,5.9148 10.25165,7.7203 8.84815,8.7378 M11.25565,3.9568 C10.58715,1.8958 8.66665,0.4998 6.50015,0.4998 C4.33315,0.4998 2.41315,1.8958 1.74415,3.9568 C1.07565,6.0183 1.81065,8.2753 3.56465,9.5478 C4.39665,10.1508 5.22815,10.7538 6.05965,11.3568 C6.32215,11.5478 6.67765,11.5478 6.94065,11.3568 C7.77215,10.7538 8.60365,10.1508 9.43515,9.5478 C11.18915,8.2753 11.92415,6.0183 11.25565,3.9568" id="Fill-2"></path>\n <path d="M7.9143,4.08595 C7.7188,3.89045 7.4023,3.89045 7.2068,4.08595 C7.0118,4.28145 7.0118,4.59745 7.2068,4.79295 C7.8373,5.42295 7.3908,6.49995 6.4998,6.49995 C5.6093,6.49995 5.1628,5.42295 5.7928,4.79295 C5.9878,4.59745 5.9878,4.28145 5.7928,4.08595 C5.5978,3.89045 5.2808,3.89045 5.0858,4.08595 C3.8258,5.34595 4.7183,7.49995 6.4998,7.49995 C8.2818,7.49995 9.1743,5.34595 7.9143,4.08595" id="Fill-4"></path>\n <path d="M8,12 L5,12 C4.724,12 4.5,12.2235 4.5,12.5 C4.5,12.7765 4.724,13 5,13 L8,13 C8.276,13 8.5,12.7765 8.5,12.5 C8.5,12.2235 8.276,12 8,12" id="Fill-6"></path>\n </g>\n </g>\n </g>\n </g>\n</svg>'},18:function(t,e){t.exports='<?xml version="1.0" encoding="UTF-8"?>\n<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n \x3c!-- Generator: Sketch 59 (86127) - https://sketch.com --\x3e\n <title>back_original 2</title>\n <desc>Created with Sketch.</desc>\n <g id="地址选择" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="地址选择1" transform="translate(-18.000000, -284.000000)" fill="#333333">\n <g id="back_original-2" transform="translate(18.000000, 284.000000)">\n <path d="M4,10.0009322 C3.99859741,10.5049575 4.39578918,10.8616307 4.4994895,10.9579412 L12.2671305,18.7441237 C12.6723966,19.0981592 13.322967,19.083897 13.7141881,18.7069986 C14.1081366,18.3274726 14.0918341,17.7356488 13.6838673,17.379254 L6.23965094,10.0009322 L13.6838673,2.62261026 C14.0891334,2.26857481 14.1054091,1.67176406 13.7141881,1.2948657 C13.3202395,0.915339684 12.6750973,0.901345866 12.2671305,1.25774058 L4.4994895,9.03838594 C4.40147558,9.15875944 4.00141004,9.49690678 4,10.0009322 Z" id="back_original"></path>\n </g>\n </g>\n </g>\n</svg>'},186:function(t,e,n){"use strict";n.r(e);var o=n(4),r=n.n(o),i=n(8),s={name:"nut-searchbar",mixins:[n(12).a],props:{hasIcon:{type:Boolean,default:!1},searchIconSize:{type:String,default:"20px"},searchIconColor:{type:String,default:"#2e2d2d"},searchBtnIconSize:{type:String,default:"20px"},searchBtnIconColor:{type:String,default:"#2e2d2d"},clearIconSize:{type:String,default:"15px"},clearIconColor:{type:String,default:"#2e2d2d"},placeText:{type:String},hasSearchButton:{type:Boolean,default:!0},hasTextButton:{type:Boolean,default:!1},textInfo:{type:String},animation:{type:Boolean,default:!0},customClass:{type:String,default:""},value:{type:[String,Number],default:""}},components:r()({},i.a.name,i.a),data:function(){return{inputFocusAnimation:!1}},watch:{value:function(t,e){this.updateValue("change")}},computed:{hasCloseIcon:function(){return!!this.value}},mounted:function(){},methods:{updateValue:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"input",e="change"==t?this.value:this.$refs.searchInput.value;this.$emit(t,e)},clearInput:function(){this.$emit("clear",""),this.$emit("input","")},focusFun:function(){this.inputFocusAnimation=!0,this.$emit("focus")},inputFun:function(){this.updateValue()},blurFun:function(){this.inputFocusAnimation=!1,this.updateValue("blur")},submitFun:function(){document.activeElement&&document.activeElement.blur(),this.updateValue("submit")},blur:function(){this.$refs.searchInput.blur()},focus:function(){this.$nextTick((function(){this.$refs.searchInput.focus()}))},clickLeftIcon:function(){this.$emit("click-left-icon")},clickRightText:function(){this.$emit("click-right-icon")}}},l=n(0),a=Object(l.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["nut-searchbar",t.customClass?t.customClass:""]},[n("div",{staticClass:"search-input",class:[t.animation?"nut-search-ani":"",t.inputFocusAnimation?"focus":""]},[n("form",{attrs:{id:"input-form",action:"javascript:return true"}},[t.hasIcon?n("div",{staticClass:"nut-search-left-icon",on:{click:t.clickLeftIcon}},[n("nut-icon",{staticClass:"nut-search-left-icon",attrs:{type:"search",size:t.searchIconSize,color:t.searchIconColor}})],1):t._e(),t._v(" "),n("input",{ref:"searchInput",attrs:{type:"search",placeholder:null==t.placeText?t.nutTranslate("lang.searchbar.placeText"):t.placeText},domProps:{value:t.value},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.submitFun.apply(null,arguments)},input:t.inputFun,blur:t.blurFun,focus:t.focusFun}}),t._v(" "),n("span",{staticClass:"close-icon",class:t.hasCloseIcon?"show":"",on:{click:t.clearInput}},[n("nut-icon",{attrs:{type:"circle-cross",size:t.clearIconSize,color:t.clearIconColor}})],1)])]),t._v(" "),t.hasSearchButton?n("a",{staticClass:"btn-search",attrs:{href:"javascript:;"},on:{click:t.clickRightText}},[t.hasTextButton?n("span",[t._v(t._s(t.textInfo||t.nutTranslate("lang.searchbar.textInfo")))]):n("nut-icon",{attrs:{type:"search",size:t.searchBtnIconSize,color:t.searchBtnIconColor}})],1):t._e()])}),[],!1,null,null,null).exports;n(113);a.install=function(t){t.component(a.name,a)};e.default=a},19:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M30 15c0 8.285-6.716 15-15 15-8.284 0-15-6.715-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15zM10.56 8.44a1.501 1.501 0 0 0-2.12 2.121l4.439 4.44-4.44 4.438a1.5 1.5 0 0 0 2.121 2.122l4.44-4.44 4.44 4.44a1.501 1.501 0 0 0 2.12-2.122l-11-11zm11 2.12a1.5 1.5 0 0 0-2.12-2.121l-2 2a1.5 1.5 0 0 0 2.12 2.122l2-2z" fill-rule="evenodd" fill-opacity=".6"/></svg>'},2:function(t,e){function n(e){return t.exports=n="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,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},20:function(t,e){t.exports='<?xml version="1.0" encoding="UTF-8"?>\n<svg width="13px" height="13px" viewBox="0 0 13 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n \x3c!-- Generator: Sketch 52.2 (67145) - http://www.bohemiancoding.com/sketch --\x3e\n <title>Fill 3</title>\n <desc>Created with Sketch.</desc>\n <g id="地址选择" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="地址选择-已有地址" transform="translate(-18.000000, -384.000000)" fill="#F2270C">\n <g id="Fill-3" transform="translate(18.000000, 384.000000)">\n <path d="M3.8235773,10.236 C2.6030773,9.113 1.3830773,7.9905 0.162577302,6.868 C-0.172922698,6.5595 0.0455773022,6 0.501077302,6 L1.0030773,6 C1.7555773,6 2.4800773,6.2825 3.0335773,6.792 C3.5180773,7.2375 4.0025773,7.6835 4.4870773,8.129 C5.9855773,6.6965 7.4835773,5.264 8.9820773,3.8315 C9.5400773,3.298 10.2825773,3 11.0545773,3 L11.4990773,3 C11.9500773,3 12.1705773,3.5495 11.8445773,3.861 C9.6265773,5.982 7.4090773,8.102 5.1910773,10.223 C4.7860773,10.6105 4.1415773,10.589 3.7625773,10.175 C3.7620773,10.1765 3.7615773,10.1775 3.7610773,10.1785" id="Fill-2"></path>\n </g>\n </g>\n </g>\n</svg>'},21:function(t,e){t.exports='<?xml version="1.0" encoding="UTF-8"?>\n<svg width="13px" height="13px" viewBox="0 0 13 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n \x3c!-- Generator: Sketch 52.2 (67145) - http://www.bohemiancoding.com/sketch --\x3e\n <title>Fill 3</title>\n <desc>Created with Sketch.</desc>\n <g id="分类" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="4-排序状态" transform="translate(-18.000000, -296.000000)" fill="#F2270C">\n <g id="分组-2-copy" transform="translate(0.000000, 222.000000)">\n <g id="Fill-3" transform="translate(18.000000, 74.000000)">\n <path d="M3.8235773,10.236 C2.6030773,9.113 1.3830773,7.9905 0.162577302,6.868 C-0.172922698,6.5595 0.0455773022,6 0.501077302,6 L1.0030773,6 C1.7555773,6 2.4800773,6.2825 3.0335773,6.792 C3.5180773,7.2375 4.0025773,7.6835 4.4870773,8.129 C5.9855773,6.6965 7.4835773,5.264 8.9820773,3.8315 C9.5400773,3.298 10.2825773,3 11.0545773,3 L11.4990773,3 C11.9500773,3 12.1705773,3.5495 11.8445773,3.861 C9.6265773,5.982 7.4090773,8.102 5.1910773,10.223 C4.7860773,10.6105 4.1415773,10.589 3.7625773,10.175 C3.7620773,10.1765 3.7615773,10.1775 3.7610773,10.1785" id="Fill-2"></path>\n </g>\n </g>\n </g>\n </g>\n</svg>'},22:function(t,e,n){var o={"./action.svg":23,"./address-location.svg":17,"./arrow-to-left.svg":24,"./arrow-to-top.svg":25,"./arrows-back.svg":18,"./back.svg":26,"./checked.svg":27,"./checked2.svg":28,"./circle-cross.svg":19,"./close.svg":29,"./cross.svg":30,"./down.svg":31,"./github.svg":32,"./hook-red.svg":20,"./message.svg":33,"./minus.svg":13,"./more.svg":34,"./more2.svg":35,"./more3.svg":36,"./notice.svg":37,"./plus.svg":14,"./qrcode.svg":38,"./right.svg":39,"./search.svg":40,"./search2.svg":41,"./share.svg":42,"./tick-red.svg":21,"./tick.svg":43,"./top.svg":44,"./trolley.svg":45,"./unchecked.svg":46};function r(t){var e=i(t);return n(e)}function i(t){if(!n.o(o,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return o[t]}r.keys=function(){return Object.keys(o)},r.resolve=i,t.exports=r,r.id=22},23:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill-rule="evenodd"><path d="M.5 12c0 6.351 5.149 11.5 11.5 11.5S23.5 18.351 23.5 12 18.351.5 12 .5.5 5.649.5 12z" stroke-opacity=".6" stroke="currentColor" fill="#FFF"/><path d="M10.909 4.364h2.182v2.182h-2.182zM10.909 8.727h2.182v10.909h-2.182z"/></g></svg>'},24:function(t,e){t.exports='<svg width="19" height="36" xmlns="http://www.w3.org/2000/svg"><path d="M18.552 35.569a1.5 1.5 0 0 1-2.121-.017c-5.952-6.05-9.905-10.1-15.857-16.15a2 2 0 0 1 0-2.804c5.952-6.05 9.905-10.1 15.857-16.15a1.5 1.5 0 1 1 2.138 2.104C12.847 8.368 9.125 12.184 3.403 18c5.722 5.816 9.444 9.632 15.166 15.448a1.5 1.5 0 0 1-.017 2.121z" fill="#2E2D2D" fill-rule="evenodd"/></svg>'},25:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 31 39"><g fill-rule="evenodd"><path d="M1.41 0C.63 0 0 .672 0 1.5S.63 3 1.41 3h28.18C30.37 3 31 2.328 31 1.5S30.369 0 29.59 0H1.41zM17 7.5a1.5 1.5 0 0 0-3 0v30a1.5 1.5 0 1 0 3 0v-30zM8.44 12.44l-8 8a1.5 1.5 0 1 0 2.12 2.12l8-8a1.5 1.5 0 1 0-2.12-2.12z"/><path d="M16.56 6.44l14 14a1.5 1.5 0 1 1-2.12 2.12l-14-14a1.5 1.5 0 1 1 2.12-2.12z"/></g></svg>'},26:function(t,e){t.exports='<?xml version="1.0" encoding="UTF-8"?>\n<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n \x3c!-- Generator: Sketch 59 (86127) - https://sketch.com --\x3e\n <title>back_original 2</title>\n <desc>Created with Sketch.</desc>\n <g id="地址选择" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="地址选择1" transform="translate(-18.000000, -284.000000)" fill="#333333">\n <g id="back_original-2" transform="translate(18.000000, 284.000000)">\n <path d="M4,10.0009322 C3.99859741,10.5049575 4.39578918,10.8616307 4.4994895,10.9579412 L12.2671305,18.7441237 C12.6723966,19.0981592 13.322967,19.083897 13.7141881,18.7069986 C14.1081366,18.3274726 14.0918341,17.7356488 13.6838673,17.379254 L6.23965094,10.0009322 L13.6838673,2.62261026 C14.0891334,2.26857481 14.1054091,1.67176406 13.7141881,1.2948657 C13.3202395,0.915339684 12.6750973,0.901345866 12.2671305,1.25774058 L4.4994895,9.03838594 C4.40147558,9.15875944 4.00141004,9.49690678 4,10.0009322 Z" id="back_original"></path>\n </g>\n </g>\n </g>\n</svg>'},27:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 50 50"><defs><path d="M38 19C38 8.507 29.493 0 19 0S0 8.507 0 19s8.507 19 19 19 19-8.507 19-19" id="b"/><filter x="-28.9%" y="-18.4%" width="157.9%" height="157.9%" filterUnits="objectBoundingBox" id="a"><feOffset dy="4" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur stdDeviation="3" in="shadowOffsetOuter1" result="shadowBlurOuter1"/><feColorMatrix values="0 0 0 0 0.941176471 0 0 0 0 0.145098039 0 0 0 0 0.0588235294 0 0 0 0.15 0" in="shadowBlurOuter1"/></filter></defs><g fill="none" fill-rule="evenodd"><g transform="translate(6 2)"><use fill="#000" filter="url(#a)" xlink:href="#b"/><use fill="#F0250F" xlink:href="#b"/></g><path d="M16 31h20V11H16z"/><path fill="#FFF" d="M16 21l2.5-2.5 5 4.5 10-9.5L36 16 24 28h-1z"/></g></svg>'},28:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 50 50"><defs><path d="M19 0C8.506 0 0 8.506 0 19s8.506 19 19 19 19-8.506 19-19S29.494 0 19 0z" id="b"/><filter x="-28.9%" y="-18.4%" width="157.9%" height="157.9%" filterUnits="objectBoundingBox" id="a"><feOffset dy="4" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur stdDeviation="3" in="shadowOffsetOuter1" result="shadowBlurOuter1"/><feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"/><feColorMatrix values="0 0 0 0 0.941176471 0 0 0 0 0.145098039 0 0 0 0 0.0588235294 0 0 0 0.15 0" in="shadowBlurOuter1"/></filter></defs><g fill-rule="evenodd"><g transform="translate(6 2)"><use fill="#000" filter="url(#a)" xlink:href="#b"/><path stroke="#F0250F" stroke-width="3" d="M19 1.5C9.335 1.5 1.5 9.335 1.5 19S9.335 36.5 19 36.5 36.5 28.665 36.5 19 28.665 1.5 19 1.5z" stroke-linejoin="square" fill="#FFF"/></g><path d="M37 21c0-6.627-5.373-12-12-12s-12 5.373-12 12 5.373 12 12 12 12-5.373 12-12" fill="#F0250F"/></g></svg>'},29:function(t,e){t.exports='<?xml version="1.0" encoding="UTF-8"?>\n<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>btn_close</title>\n <g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="4_商品详情页-赠品" transform="translate(-337.000000, -305.000000)">\n <g id="弹层" transform="translate(0.000000, 287.000000)">\n <g id="关闭" transform="translate(337.000000, 18.000000)">\n <circle id="椭圆形" fill="#F2F2F2" cx="10" cy="10" r="10"></circle>\n <path d="M12.2803,8.7803 C11.9873,9.0733 11.5128,9.0733 11.2198,8.7803 C10.9268,8.4878 10.9268,8.0128 11.2198,7.7198 L12.7198,6.2198 C13.0128,5.9268 13.4873,5.9268 13.7803,6.2198 C14.0733,6.5123 14.0733,6.9878 13.7803,7.2803 L12.2803,8.7803 Z" id="Fill-5" fill="#8C8C8C"></path>\n <path d="M13.7803,12.71975 C14.0733,13.01225 14.0733,13.48775 13.7803,13.78025 C13.4873,14.07325 13.0128,14.07325 12.7198,13.78025 C11.8128,12.87375 10.9068,11.96725 9.9998,11.06075 C9.0933,11.96725 8.1868,12.87375 7.2803,13.78025 C6.9873,14.07325 6.5128,14.07325 6.2198,13.78025 C5.9268,13.48775 5.9268,13.01225 6.2198,12.71975 C7.1263,11.81325 8.0328,10.90675 8.9393,10.00025 C8.0328,9.09375 7.1263,8.18725 6.2198,7.28025 C5.9268,6.98775 5.9268,6.51225 6.2198,6.21975 C6.5128,5.92675 6.9873,5.92675 7.2803,6.21975 C9.4468,8.38625 11.6138,10.55325 13.7803,12.71975" id="Fill-8" fill="#8C8C8C"></path>\n </g>\n </g>\n </g>\n </g>\n</svg>'},3:function(t,e){function n(){return t.exports=n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},t.exports.__esModule=!0,t.exports.default=t.exports,n.apply(this,arguments)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},30:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><g fill-rule="evenodd"><path d="M.44 2.56A1.5 1.5 0 1 1 2.56.44l27 27a1.5 1.5 0 1 1-2.12 2.12L15 17.123 2.56 29.56A1.5 1.5 0 1 1 .44 27.44L12.878 15 .44 2.56zM27.44.44a1.5 1.5 0 1 1 2.12 2.12l-9 9a1.5 1.5 0 1 1-2.12-2.12l9-9z"/></g></svg>'},31:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 11"><path d="M15 7.757L27.737.21a1.5 1.5 0 0 1 1.53 2.58c-4.5 2.668-9 5.334-13.5 8a1.503 1.503 0 0 1-1.53 0c-4.5-2.666-9-5.332-13.5-8A1.5 1.5 0 1 1 2.266.21C6.51 2.726 10.756 5.24 15 7.757" fill-rule="evenodd"/></svg>'},32:function(t,e){t.exports='<svg height="24" class="octicon octicon-mark-github" viewBox="0 0 16 16" version="1.1" width="24" aria-hidden="true"><path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path></svg>'},33:function(t,e){t.exports='<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><g fill="#2E2D2D" fill-rule="evenodd"><path d="M10 35.899c1.369-.79 2.743-1.58 4.111-2.371a1.377 1.377 0 0 1 1.136-.15l.021.006a18.57 18.57 0 0 0 7.865.348 18.198 18.198 0 0 0 4.757-1.507 17.286 17.286 0 0 0 2.912-1.763 16.288 16.288 0 0 0 2.467-2.282 15.604 15.604 0 0 0 1.874-2.649c.254-.455.485-.924.69-1.403A14.457 14.457 0 0 0 37 18.5a14.416 14.416 0 0 0-1.167-5.63 15.083 15.083 0 0 0-2.564-4.052 16.092 16.092 0 0 0-2.467-2.282 16.79 16.79 0 0 0-1.412-.954 17.746 17.746 0 0 0-4.655-1.968 18.577 18.577 0 0 0-9.467 0 18.085 18.085 0 0 0-3.155 1.159c-.512.246-1.013.515-1.5.809A16.774 16.774 0 0 0 7.901 7.62a15.883 15.883 0 0 0-2.184 2.487A15.346 15.346 0 0 0 4.17 12.87a14.413 14.413 0 0 0-.886 2.852A14.162 14.162 0 0 0 3 18.5c0 .932.101 1.862.284 2.776a14.455 14.455 0 0 0 1.212 3.56 1.5 1.5 0 1 1-2.691 1.324C-2.282 17.851.85 8.412 8.399 3.434c7.336-4.837 17.307-4.554 24.314.787 7.227 5.508 9.538 15.166 4.84 23.136-4.552 7.722-13.987 11.064-22.468 9.073l-5.829 3.367a1.5 1.5 0 0 1-2.249-1.299v-7C7.007 30.67 7.672 30 8.5 30c.828 0 1.5.67 1.5 1.498v4.401"/><path d="M18.5 17h3a1.5 1.5 0 1 1 0 3h-3a1.5 1.5 0 1 1 0-3M31.5 17a1.5 1.5 0 1 1 0 3h-3a1.5 1.5 0 1 1 0-3h3M11.5 17a1.5 1.5 0 1 1 0 3h-3a1.5 1.5 0 1 1 0-3h3"/></g></svg>'},34:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35 9"><g transform="translate(0 -13)" fill-rule="evenodd"><rect opacity=".3" y="15" width="5" height="5" rx="2.5"/><circle opacity=".8" cx="17.5" cy="17.5" r="4.5"/><rect opacity=".3" x="30" y="15" width="5" height="5" rx="2.5"/></g></svg>'},35:function(t,e){t.exports='<svg width="37" height="37" xmlns="http://www.w3.org/2000/svg"><g fill="#2E2D2D" fill-rule="evenodd"><path d="M34.414 29.914a2 2 0 0 0 0-2.828l-4.5-4.5a2 2 0 0 0-2.828 0l-4.5 4.5a2 2 0 0 0 0 2.828l4.5 4.5a2 2 0 0 0 2.828 0l4.5-4.5" opacity=".35"/><path d="M34 13a1 1 0 0 1-1 1h-9a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h9a1 1 0 0 1 1 1v9zM33 0h-9a4 4 0 0 0-4 4v9a4 4 0 0 0 4 4h9a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4zM14 13a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h9a1 1 0 0 1 1 1v9zM13 0H4a4 4 0 0 0-4 4v9a4 4 0 0 0 4 4h9a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4zM14 33a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h9a1 1 0 0 1 1 1v9zm-1-13H4a4 4 0 0 0-4 4v9a4 4 0 0 0 4 4h9a4 4 0 0 0 4-4v-9a4 4 0 0 0-4-4zM33.707 29.207l-4.5 4.5a.999.999 0 0 1-1.414 0l-4.5-4.5a.999.999 0 0 1 0-1.414l4.5-4.5a.999.999 0 0 1 1.414 0l4.5 4.5a.999.999 0 0 1 0 1.414zm2.122-3.536l-4.5-4.5a4.002 4.002 0 0 0-5.658 0l-4.5 4.5a4.002 4.002 0 0 0 0 5.658l4.5 4.5a4.002 4.002 0 0 0 5.658 0l4.5-4.5a4.002 4.002 0 0 0 0-5.658z"/></g></svg>'},36:function(t,e){t.exports='<svg width="39" height="7" xmlns="http://www.w3.org/2000/svg"><g transform="translate(-1 -17)" fill="#2E2D2D" fill-rule="evenodd"><circle cx="36.5" cy="20.5" r="3.5"/><circle cx="20.5" cy="20.5" r="3.5"/><circle cx="4.5" cy="20.5" r="3.5"/></g></svg>'},37:function(t,e){t.exports='<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1591940507377" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1389" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M512 256c117.632 0 213.333333 95.701333 213.333333 213.333333v149.333334c0 13.845333 4.501333 27.328 12.8 38.4L789.333333 725.333333H234.666667l51.2-68.266666c8.298667-11.072 12.8-24.554667 12.8-38.4v-149.333334c0-117.632 95.701333-213.333333 213.333333-213.333333m0-64c-153.173333 0-277.333333 124.16-277.333333 277.333333v149.333334l-64 85.333333v42.666667c0 23.466667 19.2 42.666667 42.666666 42.666666h597.333334c23.466667 0 42.666667-19.2 42.666666-42.666666v-42.666667l-64-85.333333v-149.333334c0-153.173333-124.16-277.333333-277.333333-277.333333zM512 853.333333a64 64 0 0 1-64-64h-64c0 70.570667 57.429333 128 128 128s128-57.429333 128-128h-64a64 64 0 0 1-64 64z" p-id="1390"></path><path d="M512 256a42.666667 42.666667 0 1 1-0.021333-85.312A42.666667 42.666667 0 0 1 512 256h97.621333A105.962667 105.962667 0 0 0 618.666667 213.333333c0-58.816-47.850667-106.666667-106.666667-106.666666s-106.666667 47.850667-106.666667 106.666666c0 15.189333 3.306667 29.568 9.045334 42.666667H512z" p-id="1391"></path></svg>'},38:function(t,e){t.exports='<svg width="40" height="39" xmlns="http://www.w3.org/2000/svg"><g fill="#2E2D2D" fill-rule="evenodd"><path d="M34 39a6 6 0 0 0 6-6v-3.5a1.5 1.5 0 1 0-3 0V33a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-3.5a1.5 1.5 0 1 0-3 0V33a6 6 0 0 0 6 6h28M38.5 18a1.5 1.5 0 1 1 0 3h-5a1.5 1.5 0 1 1 0-3h5M26.5 18a1.5 1.5 0 1 1 0 3h-25a1.5 1.5 0 1 1 0-3h25M40 6a6 6 0 0 0-6-6H6a6 6 0 0 0-6 6v3.5a1.5 1.5 0 1 0 3 0V6a3 3 0 0 1 3-3h28a3 3 0 0 1 3 3v3.5a1.5 1.5 0 1 0 3 0V6"/></g></svg>'},39:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 30"><g fill="none" fill-rule="evenodd"><path d="M-11 0h30v30h-30z"/><path d="M7.757 15C5.241 10.755 2.727 6.51.21 2.266A1.5 1.5 0 0 1 2.79.736l8 13.499c.28.472.28 1.058 0 1.53l-8 13.5a1.499 1.499 0 1 1-2.58-1.53L7.757 15z" fill="currentColor"/></g></svg>'},4:function(t,e,n){var o=n(10);t.exports=function(t,e,n){return(e=o(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},40:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 27 27"><path d="M13.658 22.979c-5.511.363-10.273-3.81-10.637-9.321-.363-5.511 3.81-10.273 9.321-10.637 5.511-.363 10.273 3.81 10.637 9.321.363 5.511-3.81 10.273-9.321 10.637zM26.56 24.44l-3.369-3.37c4.277-5.4 3.599-13.197-1.545-17.778-5.144-4.581-12.968-4.355-17.838.516-4.871 4.87-5.097 12.694-.516 17.838 4.581 5.143 12.378 5.822 17.778 1.545l3.37 3.37a1.5 1.5 0 0 0 2.12-2.121z" fill-rule="evenodd"/></svg>'},41:function(t,e){t.exports='<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><g fill="#2E2D2D" fill-rule="evenodd"><path d="M24.495 34.027a1.5 1.5 0 0 1 1.03 2.818c-8.971 3.28-18.983-.611-23.385-9.088C-2.262 19.28.313 8.852 8.156 3.4 16-2.053 26.671-.834 33.083 6.246c6.412 7.08 6.571 17.82.371 25.087l6.107 6.107a1.501 1.501 0 0 1-2.122 2.121l-7.125-7.126a1.501 1.501 0 0 1 0-2.121c5.773-5.773 6.273-14.967 1.161-21.333-5.113-6.365-14.198-7.86-21.08-3.469-6.883 4.392-9.354 13.262-5.736 20.58 3.619 7.319 12.168 10.739 19.836 7.935"/><path d="M27.272 15.453a1.5 1.5 0 0 0 2.757-1.182 12 12 0 0 0-6.299-6.299 1.5 1.5 0 0 0-1.182 2.757 9 9 0 0 1 4.821 4.959"/></g></svg>'},42:function(t,e){t.exports='<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><g fill="#2E2D2D" fill-rule="evenodd"><path d="M31 40H6a6 6 0 0 1-6-6V11a6 6 0 0 1 6-6h9.5a1.5 1.5 0 0 1 0 3H6a3 3 0 0 0-3 3v23a3 3 0 0 0 3 3h25a3 3 0 0 0 3-3v-9.5a1.5 1.5 0 0 1 3 0V34a6 6 0 0 1-6 6"/><path d="M39.435 5.313l-.024-.004a1.5 1.5 0 0 1 .15 2.252l-5 5a1.502 1.502 0 0 1-2.122 0 1.502 1.502 0 0 1 0-2.122l2.397-2.397C26.474 8.652 20 15.615 20 24v2.5a1.5 1.5 0 0 1-3 0V24c0-10.07 7.856-18.391 17.91-18.97-.824-.822-1.647-1.646-2.471-2.47a1.502 1.502 0 0 1 0-2.121 1.502 1.502 0 0 1 2.122 0l5 5"/></g></svg>'},43:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 21"><path d="M10 13.5l-7-6-3 3L10.5 21 28 3.5l-3-3z" fill-rule="evenodd"/></svg>'},44:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 31 33"><g fill-rule="evenodd"><path d="M17 1.5a1.5 1.5 0 0 0-3 0v30a1.5 1.5 0 1 0 3 0v-30zM8.44 6.44l-8 8a1.5 1.5 0 1 0 2.12 2.12l8-8a1.5 1.5 0 1 0-2.12-2.12z"/><path d="M16.56.44l14 14a1.5 1.5 0 1 1-2.12 2.12l-14-14A1.5 1.5 0 1 1 16.56.44z"/></g></svg>'},45:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35 39"><path d="M3.63 5h22.363c5.789 0 9.278 4.972 8.312 10.342L32.6 24.037c-.56 3.69-4.112 5.893-7.9 5.893H5.27C4.513 29.93 4 29.274 4 28.52c0-.756.615-1.52 1.37-1.52H24.7c2.58 0 4.874-1.242 5.203-3.408l1.713-8.732C32.293 11.094 29.999 8 25.993 8H2.553C1.748 8 1.108 7.772.99 7.026L.017 1.581a1.367 1.367 0 1 1 2.699-.428L3.63 5zM3.5 16h12a1.5 1.5 0 0 1 1.5 1.5v.047a1.5 1.5 0 0 1-1.5 1.5h-12a1.5 1.5 0 0 1-1.5-1.5V17.5A1.5 1.5 0 0 1 3.5 16zM7 39a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm20 0a3 3 0 1 1 0-6 3 3 0 0 1 0 6z" fill-rule="evenodd"/></svg>'},46:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 50 50"><defs><path d="M0 19c0 10.494 8.506 19 19 19s19-8.506 19-19S29.494 0 19 0 0 8.506 0 19z" id="b"/><filter x="-28.9%" y="-18.4%" width="157.9%" height="157.9%" filterUnits="objectBoundingBox" id="a"><feOffset dy="4" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur stdDeviation="3" in="shadowOffsetOuter1" result="shadowBlurOuter1"/><feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0" in="shadowBlurOuter1"/></filter></defs><g transform="translate(6 2)" fill="none" fill-rule="evenodd"><use fill="#000" filter="url(#a)" xlink:href="#b"/><path stroke-opacity=".6" stroke="#848484" stroke-width="3" d="M1.5 19c0 9.665 7.835 17.5 17.5 17.5S36.5 28.665 36.5 19 28.665 1.5 19 1.5 1.5 9.335 1.5 19z" stroke-linejoin="square" fill="#FFF"/></g></svg>'},8:function(t,e,n){"use strict";var o=["top","action","cross","down","right","more","notice","plus","search","trolley","tick","minus","circle-cross"],r={name:"nut-icon",props:{type:{type:String,default:""},size:{type:String,default:""},color:{type:String,default:"#2e2d2d"},url:{type:String,default:""}},data:function(){return{icon:null}},watch:{url:function(t){this.icon=t}},created:function(){this.url?(this.icon=this.url,this.type="self"):-1===o.indexOf(this.type)?console.error("nut-icon组件type值("+this.type+")有误,无此icon!"):this.icon=n(22)("./"+this.type+".svg")}},i=n(0),s=Object(i.a)(r,(function(){var t=this.$createElement;return(this._self._c||t)("i",{class:["nut-icon","nut-icon-"+this.type],style:{height:this.size,width:this.size,color:this.color},domProps:{innerHTML:this._s(this.icon)}})}),[],!1,null,null,null);e.a=s.exports}})}));
|
|
7
7
|
//# sourceMappingURL=searchbar.js.map
|