@nutui/nutui 2.3.13 → 2.3.14-beta.1

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.
Files changed (222) hide show
  1. package/dist/nutui.css +1 -1
  2. package/dist/nutui.js +290 -258
  3. package/dist/nutui.js.map +1 -1
  4. package/dist/nutui.min.css +1 -1
  5. package/dist/nutui.min.js +3 -3
  6. package/dist/nutui.min.js.map +1 -1
  7. package/dist/packages/actionsheet/actionsheet.css +1 -1
  8. package/dist/packages/actionsheet/actionsheet.js +2 -2
  9. package/dist/packages/actionsheet/actionsheet.js.map +1 -1
  10. package/dist/packages/address/address.css +1 -1
  11. package/dist/packages/address/address.js +2 -2
  12. package/dist/packages/address/address.js.map +1 -1
  13. package/dist/packages/avatar/avatar.css +1 -1
  14. package/dist/packages/avatar/avatar.js +2 -2
  15. package/dist/packages/avatar/avatar.js.map +1 -1
  16. package/dist/packages/backtop/backtop.css +1 -1
  17. package/dist/packages/backtop/backtop.js +2 -2
  18. package/dist/packages/backtop/backtop.js.map +1 -1
  19. package/dist/packages/badge/badge.css +1 -1
  20. package/dist/packages/badge/badge.js +2 -2
  21. package/dist/packages/badge/badge.js.map +1 -1
  22. package/dist/packages/button/button.css +1 -1
  23. package/dist/packages/button/button.js +2 -2
  24. package/dist/packages/button/button.js.map +1 -1
  25. package/dist/packages/buttongroup/buttongroup.css +1 -1
  26. package/dist/packages/buttongroup/buttongroup.js +2 -2
  27. package/dist/packages/buttongroup/buttongroup.js.map +1 -1
  28. package/dist/packages/calendar/calendar.css +1 -1
  29. package/dist/packages/calendar/calendar.js +2 -2
  30. package/dist/packages/calendar/calendar.js.map +1 -1
  31. package/dist/packages/cell/cell.css +1 -1
  32. package/dist/packages/cell/cell.js +2 -2
  33. package/dist/packages/cell/cell.js.map +1 -1
  34. package/dist/packages/checkbox/checkbox.css +1 -1
  35. package/dist/packages/checkbox/checkbox.js +2 -2
  36. package/dist/packages/checkbox/checkbox.js.map +1 -1
  37. package/dist/packages/checkboxgroup/checkboxgroup.css +1 -1
  38. package/dist/packages/checkboxgroup/checkboxgroup.js +2 -2
  39. package/dist/packages/checkboxgroup/checkboxgroup.js.map +1 -1
  40. package/dist/packages/circleprogress/circleprogress.css +1 -1
  41. package/dist/packages/circleprogress/circleprogress.js +2 -2
  42. package/dist/packages/circleprogress/circleprogress.js.map +1 -1
  43. package/dist/packages/col/col.css +1 -1
  44. package/dist/packages/col/col.js +2 -2
  45. package/dist/packages/col/col.js.map +1 -1
  46. package/dist/packages/collapse/collapse.css +1 -1
  47. package/dist/packages/collapse/collapse.js +2 -2
  48. package/dist/packages/collapse/collapse.js.map +1 -1
  49. package/dist/packages/collapseitem/collapseitem.css +1 -1
  50. package/dist/packages/collapseitem/collapseitem.js +2 -2
  51. package/dist/packages/collapseitem/collapseitem.js.map +1 -1
  52. package/dist/packages/collapseitem/collapseitem.vue +14 -2
  53. package/dist/packages/countdown/countdown.css +1 -1
  54. package/dist/packages/countdown/countdown.js +2 -2
  55. package/dist/packages/countdown/countdown.js.map +1 -1
  56. package/dist/packages/countup/countup.css +1 -1
  57. package/dist/packages/countup/countup.js +2 -2
  58. package/dist/packages/countup/countup.js.map +1 -1
  59. package/dist/packages/coupon/coupon.css +1 -1
  60. package/dist/packages/coupon/coupon.js +2 -2
  61. package/dist/packages/coupon/coupon.js.map +1 -1
  62. package/dist/packages/datepicker/datepicker.css +1 -1
  63. package/dist/packages/datepicker/datepicker.js +2 -2
  64. package/dist/packages/datepicker/datepicker.js.map +1 -1
  65. package/dist/packages/dialog/dialog.css +1 -1
  66. package/dist/packages/dialog/dialog.js +2 -2
  67. package/dist/packages/dialog/dialog.js.map +1 -1
  68. package/dist/packages/drag/drag.css +1 -1
  69. package/dist/packages/drag/drag.js +2 -2
  70. package/dist/packages/drag/drag.js.map +1 -1
  71. package/dist/packages/elevator/elevator.css +1 -1
  72. package/dist/packages/elevator/elevator.js +2 -2
  73. package/dist/packages/elevator/elevator.js.map +1 -1
  74. package/dist/packages/fixednav/fixednav.css +1 -1
  75. package/dist/packages/fixednav/fixednav.js +2 -2
  76. package/dist/packages/fixednav/fixednav.js.map +1 -1
  77. package/dist/packages/flex/flex.css +1 -1
  78. package/dist/packages/flex/flex.js +2 -2
  79. package/dist/packages/flex/flex.js.map +1 -1
  80. package/dist/packages/icon/icon.css +1 -1
  81. package/dist/packages/icon/icon.js +2 -2
  82. package/dist/packages/icon/icon.js.map +1 -1
  83. package/dist/packages/imagepicker/imagepicker.css +1 -1
  84. package/dist/packages/imagepicker/imagepicker.js +2 -2
  85. package/dist/packages/imagepicker/imagepicker.js.map +1 -1
  86. package/dist/packages/infiniteloading/infiniteloading.css +1 -1
  87. package/dist/packages/infiniteloading/infiniteloading.js +2 -2
  88. package/dist/packages/infiniteloading/infiniteloading.js.map +1 -1
  89. package/dist/packages/lazyload/lazyload.css +1 -1
  90. package/dist/packages/lazyload/lazyload.js +3 -3
  91. package/dist/packages/lazyload/lazyload.js.map +1 -1
  92. package/dist/packages/leftslip/leftslip.css +1 -1
  93. package/dist/packages/leftslip/leftslip.js +2 -2
  94. package/dist/packages/leftslip/leftslip.js.map +1 -1
  95. package/dist/packages/luckdraw/luckdraw.css +1 -1
  96. package/dist/packages/luckdraw/luckdraw.js +2 -2
  97. package/dist/packages/luckdraw/luckdraw.js.map +1 -1
  98. package/dist/packages/luckycard/luckycard.css +1 -1
  99. package/dist/packages/luckycard/luckycard.js +2 -2
  100. package/dist/packages/luckycard/luckycard.js.map +1 -1
  101. package/dist/packages/magic/magic.css +1 -1
  102. package/dist/packages/magic/magic.js +2 -2
  103. package/dist/packages/magic/magic.js.map +1 -1
  104. package/dist/packages/menu/menu.css +1 -1
  105. package/dist/packages/menu/menu.js +2 -2
  106. package/dist/packages/menu/menu.js.map +1 -1
  107. package/dist/packages/navbar/navbar.css +1 -1
  108. package/dist/packages/navbar/navbar.js +2 -2
  109. package/dist/packages/navbar/navbar.js.map +1 -1
  110. package/dist/packages/ninegrid/ninegrid.css +1 -1
  111. package/dist/packages/ninegrid/ninegrid.js +2 -2
  112. package/dist/packages/ninegrid/ninegrid.js.map +1 -1
  113. package/dist/packages/noticebar/noticebar.css +1 -1
  114. package/dist/packages/noticebar/noticebar.js +2 -2
  115. package/dist/packages/noticebar/noticebar.js.map +1 -1
  116. package/dist/packages/notify/notify.css +1 -1
  117. package/dist/packages/notify/notify.js +2 -2
  118. package/dist/packages/notify/notify.js.map +1 -1
  119. package/dist/packages/numberkeyboard/numberkeyboard.css +1 -1
  120. package/dist/packages/numberkeyboard/numberkeyboard.js +2 -2
  121. package/dist/packages/numberkeyboard/numberkeyboard.js.map +1 -1
  122. package/dist/packages/picker/picker.css +1 -1
  123. package/dist/packages/picker/picker.js +2 -2
  124. package/dist/packages/picker/picker.js.map +1 -1
  125. package/dist/packages/popup/popup.css +1 -1
  126. package/dist/packages/popup/popup.js +2 -2
  127. package/dist/packages/popup/popup.js.map +1 -1
  128. package/dist/packages/price/price.css +1 -1
  129. package/dist/packages/price/price.js +2 -2
  130. package/dist/packages/price/price.js.map +1 -1
  131. package/dist/packages/progress/progress.css +1 -1
  132. package/dist/packages/progress/progress.js +2 -2
  133. package/dist/packages/progress/progress.js.map +1 -1
  134. package/dist/packages/radio/radio.css +1 -1
  135. package/dist/packages/radio/radio.js +2 -2
  136. package/dist/packages/radio/radio.js.map +1 -1
  137. package/dist/packages/radiogroup/radiogroup.css +1 -1
  138. package/dist/packages/radiogroup/radiogroup.js +2 -2
  139. package/dist/packages/radiogroup/radiogroup.js.map +1 -1
  140. package/dist/packages/range/range.css +1 -1
  141. package/dist/packages/range/range.js +2 -2
  142. package/dist/packages/range/range.js.map +1 -1
  143. package/dist/packages/rate/rate.css +1 -1
  144. package/dist/packages/rate/rate.js +2 -2
  145. package/dist/packages/rate/rate.js.map +1 -1
  146. package/dist/packages/row/row.css +1 -1
  147. package/dist/packages/row/row.js +2 -2
  148. package/dist/packages/row/row.js.map +1 -1
  149. package/dist/packages/scroller/scroller.css +1 -1
  150. package/dist/packages/scroller/scroller.js +2 -2
  151. package/dist/packages/scroller/scroller.js.map +1 -1
  152. package/dist/packages/searchbar/searchbar.css +1 -1
  153. package/dist/packages/searchbar/searchbar.js +2 -2
  154. package/dist/packages/searchbar/searchbar.js.map +1 -1
  155. package/dist/packages/shortpassword/shortpassword.css +1 -1
  156. package/dist/packages/shortpassword/shortpassword.js +2 -2
  157. package/dist/packages/shortpassword/shortpassword.js.map +1 -1
  158. package/dist/packages/sidenavbar/sidenavbar.css +1 -1
  159. package/dist/packages/sidenavbar/sidenavbar.js +2 -2
  160. package/dist/packages/sidenavbar/sidenavbar.js.map +1 -1
  161. package/dist/packages/sidenavbaritem/sidenavbaritem.css +1 -1
  162. package/dist/packages/sidenavbaritem/sidenavbaritem.js +2 -2
  163. package/dist/packages/sidenavbaritem/sidenavbaritem.js.map +1 -1
  164. package/dist/packages/signature/signature.css +1 -1
  165. package/dist/packages/signature/signature.js +2 -2
  166. package/dist/packages/signature/signature.js.map +1 -1
  167. package/dist/packages/skeleton/skeleton.css +1 -1
  168. package/dist/packages/skeleton/skeleton.js +2 -2
  169. package/dist/packages/skeleton/skeleton.js.map +1 -1
  170. package/dist/packages/slider/slider.css +1 -1
  171. package/dist/packages/slider/slider.js +2 -2
  172. package/dist/packages/slider/slider.js.map +1 -1
  173. package/dist/packages/stepper/stepper.css +1 -1
  174. package/dist/packages/stepper/stepper.js +2 -2
  175. package/dist/packages/stepper/stepper.js.map +1 -1
  176. package/dist/packages/steps/steps.css +1 -1
  177. package/dist/packages/steps/steps.js +2 -2
  178. package/dist/packages/steps/steps.js.map +1 -1
  179. package/dist/packages/subsidenavbar/subsidenavbar.css +1 -1
  180. package/dist/packages/subsidenavbar/subsidenavbar.js +2 -2
  181. package/dist/packages/subsidenavbar/subsidenavbar.js.map +1 -1
  182. package/dist/packages/swiper/swiper.css +1 -1
  183. package/dist/packages/swiper/swiper.js +2 -2
  184. package/dist/packages/swiper/swiper.js.map +1 -1
  185. package/dist/packages/switch/switch.css +1 -1
  186. package/dist/packages/switch/switch.js +2 -2
  187. package/dist/packages/switch/switch.js.map +1 -1
  188. package/dist/packages/tab/tab.css +1 -1
  189. package/dist/packages/tab/tab.js +2 -2
  190. package/dist/packages/tab/tab.js.map +1 -1
  191. package/dist/packages/tabbar/tabbar.css +1 -1
  192. package/dist/packages/tabbar/tabbar.js +2 -2
  193. package/dist/packages/tabbar/tabbar.js.map +1 -1
  194. package/dist/packages/tabpanel/tabpanel.css +1 -1
  195. package/dist/packages/tabpanel/tabpanel.js +2 -2
  196. package/dist/packages/tabpanel/tabpanel.js.map +1 -1
  197. package/dist/packages/tabselect/tabselect.css +1 -1
  198. package/dist/packages/tabselect/tabselect.js +2 -2
  199. package/dist/packages/tabselect/tabselect.js.map +1 -1
  200. package/dist/packages/textbox/textbox.css +1 -1
  201. package/dist/packages/textbox/textbox.js +2 -2
  202. package/dist/packages/textbox/textbox.js.map +1 -1
  203. package/dist/packages/textinput/textinput.css +1 -1
  204. package/dist/packages/textinput/textinput.js +2 -2
  205. package/dist/packages/textinput/textinput.js.map +1 -1
  206. package/dist/packages/timeline/timeline.css +1 -1
  207. package/dist/packages/timeline/timeline.js +2 -2
  208. package/dist/packages/timeline/timeline.js.map +1 -1
  209. package/dist/packages/timelineitem/timelineitem.css +1 -1
  210. package/dist/packages/timelineitem/timelineitem.js +2 -2
  211. package/dist/packages/timelineitem/timelineitem.js.map +1 -1
  212. package/dist/packages/toast/toast.css +1 -1
  213. package/dist/packages/toast/toast.js +2 -2
  214. package/dist/packages/toast/toast.js.map +1 -1
  215. package/dist/packages/uploader/uploader.css +1 -1
  216. package/dist/packages/uploader/uploader.js +2 -2
  217. package/dist/packages/uploader/uploader.js.map +1 -1
  218. package/dist/packages/video/video.css +1 -1
  219. package/dist/packages/video/video.js +2 -2
  220. package/dist/packages/video/video.js.map +1 -1
  221. package/package.json +1 -1
  222. package/dist/.DS_Store +0 -0
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v2.3.13 - actionsheet.css, 06c9a9ca4dc0df970314, Mon Feb 06 2023 09:00:25 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v2.3.13 - actionsheet.css, 67f43efc8eaf4a122fb6, Tue Apr 11 2023 18:52:32 GMT+0800 (GMT+08:00)
3
3
  * (c) 2017-2020 JDC
4
4
  * Released under the MIT License.
5
5
  */@-webkit-keyframes nutFadeIn{0%{opacity:0}to{opacity:1}}@keyframes nutFadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes nutFadeOut{0%{opacity:1}to{opacity:0}}@keyframes nutFadeOut{0%{opacity:1}to{opacity:0}}.nutFade-enter-active,.nutFade-leave-active,.nutFadeIn,.nutFadeOut{-webkit-animation-duration:.25s;animation-duration:.25s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-timing-function:cubic-bezier(.55,.085,.68,.53);animation-timing-function:cubic-bezier(.55,.085,.68,.53)}.nutFade-enter-active,.nutFadeIn{-webkit-animation-name:nutFadeIn;animation-name:nutFadeIn}.nutFade-leave-active,.nutFadeOut{-webkit-animation-name:nutFadeOut;animation-name:nutFadeOut}@-webkit-keyframes nutSlideUpIn{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes nutSlideUpIn{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes nutSlideUpOut{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes nutSlideUpOut{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.nutSlideUp-enter-active,.nutSlideUp-leave-active,.nutSlideUpIn,.nutSlideUpOut{-webkit-animation-duration:.25s;animation-duration:.25s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-timing-function:cubic-bezier(.445,.05,.55,.95);animation-timing-function:cubic-bezier(.445,.05,.55,.95)}.nutSlideUp-enter-active,.nutSlideUpIn{-webkit-animation-name:nutSlideUpIn;animation-name:nutSlideUpIn}.nutSlideUp-leave-active,.nutSlideUpOut{-webkit-animation-name:nutSlideUpOut;animation-name:nutSlideUpOut}.nut-actionsheet-mask{position:fixed;z-index:9998;top:0;right:0;left:0;bottom:0;background-color:rgba(0,0,0,.5)}.nut-actionsheet-panel{position:fixed;left:0;right:0;bottom:0;width:100%;max-height:80%;overflow:auto;z-index:10001;background-color:#f6f6f6}.nut-actionsheet-modal{padding:10px;margin:0;text-align:center;background-color:#fff;border-bottom:1px solid #f6f6f6}.nut-actionsheet-modal .nut-actionsheet-sub-title,.nut-actionsheet-modal .nut-actionsheet-title{padding:5px 0}.nut-actionsheet-modal .nut-actionsheet-title{font-size:14px;color:#2d2d2d}.nut-actionsheet-modal .nut-actionsheet-sub-title{font-size:12px;color:#2d2d2d;-webkit-margin-start:0;margin-inline-start:0}.nut-actionsheet-menu{list-style:none;padding:0;margin:0}.nut-actionsheet-cancel,.nut-actionsheet-item{height:24px;padding:10px;line-height:24px;font-size:14px;color:#2d2d2d;text-align:center;background-color:#fff}.nut-actionsheet-item{border-bottom:1px solid #f6f6f6}.nut-actionsheet-item-active{color:#f0250f}.nut-actionsheet-item-disabled{color:#e1e1e1}.nut-actionsheet-cancel{margin-top:5px;border-top:1px solid #f6f6f6}
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * @nutui/nutui v2.3.13 - actionsheet.js, 06c9a9ca4dc0df970314, Mon Feb 06 2023 09:00:25 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v2.3.13 - actionsheet.js, 67f43efc8eaf4a122fb6, Tue Apr 11 2023 18:52:32 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("actionsheet",[],e):"object"==typeof exports?exports.actionsheet=e():t.actionsheet=e()}("undefined"!=typeof self?self:this,(function(){return function(t){var e={};function n(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,n),i.l=!0,i.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 i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));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=83)}({0:function(t,e,n){"use strict";function o(t,e,n,o,i,s,c,a){var l,r="function"==typeof t?t.options:t;if(e&&(r.render=e,r.staticRenderFns=n,r._compiled=!0),o&&(r.functional=!0),s&&(r._scopeId="data-v-"+s),c?(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(c)},r._ssrRegister=l):i&&(l=a?function(){i.call(this,(r.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(r.functional){r._injectStyles=l;var u=r.render;r.render=function(t,e){return l.call(e),u(t,e)}}else{var d=r.beforeCreate;r.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:r}}n.d(e,"a",(function(){return o}))},49:function(t,e,n){"use strict";var o={name:"nut-actionsheet",props:{isAnimation:{type:Boolean,default:!0},isLockBgScroll:{type:Boolean,default:!1},isVisible:{type:Boolean,default:!1},isShowMask:{type:Boolean,default:!0},isClickChooseClose:{type:Boolean,default:!0},isClickCloseMask:{type:Boolean,default:!0},cancelTxt:{type:String,default:""},optionTag:{type:String,default:"name"},chooseTagValue:{type:String,default:""},menuItems:{type:Array,default:function(){return[]}}},data:function(){return{}},watch:{isVisible:function(t){t&&this.$emit("open"),this.isLockBgScroll&&(t?document.body.classList.add("nut-overflow-hidden"):this.removeLockScroll())}},deactivated:function(){this.removeLockScroll()},destroyed:function(){this.removeLockScroll()},methods:{removeLockScroll:function(){document.body.classList.remove("nut-overflow-hidden")},isHighlight:function(t){return this.chooseTagValue&&this.chooseTagValue==t[this.optionTag]||0===this.chooseTagValue},closeActionSheet:function(){this.$emit("close")},cancelActionSheet:function(){this.closeActionSheet(),this.$emit("cancel")},clickActionSheetMask:function(){this.isClickCloseMask&&this.closeActionSheet()},chooseItem:function(t,e){t.disable||(this.isClickChooseClose&&this.closeActionSheet(),this.$emit("choose",t,e))}}},i=n(0),s=Object(i.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"nut-actionsheet"},[t.isShowMask?e("transition",{attrs:{name:t.isAnimation?"nutFade":""}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"nut-actionsheet-mask",on:{click:t.clickActionSheetMask}})]):t._e(),t._v(" "),e("transition",{attrs:{name:t.isAnimation?"nutSlideUp":""}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"nut-actionsheet-panel"},[e("div",{staticClass:"nut-actionsheet-custom"},[t._t("custom")],2),t._v(" "),t.$slots.title||t.$slots.subTitle?e("dl",{staticClass:"nut-actionsheet-modal"},[e("dt",{staticClass:"nut-actionsheet-title"},[t._t("title")],2),t._v(" "),e("dd",{staticClass:"nut-actionsheet-sub-title"},[t._t("sub-title")],2)]):t._e(),t._v(" "),e("ul",{staticClass:"nut-actionsheet-menu"},t._l(t.menuItems,(function(n,o){return e("li",{key:o,staticClass:"nut-actionsheet-item",class:{"nut-actionsheet-item-active":t.isHighlight(n),"nut-actionsheet-item-disabled":n.disable},on:{click:function(e){return t.chooseItem(n,o)}}},[t._v(t._s(n[t.optionTag]))])})),0),t._v(" "),t.cancelTxt?e("div",{staticClass:"nut-actionsheet-cancel",on:{click:t.cancelActionSheet}},[t._v(t._s(t.cancelTxt))]):t._e()])])],1)}),[],!1,null,null,null);e.a=s.exports},62:function(t,e,n){},83:function(t,e,n){"use strict";n.r(e);var o=n(49);n(62);o.a.install=function(t){t.component(o.a.name,o.a)},e.default=o.a}})}));
6
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("actionsheet",[],e):"object"==typeof exports?exports.actionsheet=e():t.actionsheet=e()}("undefined"!=typeof self?self:this,(function(){return function(t){var e={};function n(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,n),i.l=!0,i.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 i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));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=85)}({0:function(t,e,n){"use strict";function o(t,e,n,o,i,s,c,a){var l,r="function"==typeof t?t.options:t;if(e&&(r.render=e,r.staticRenderFns=n,r._compiled=!0),o&&(r.functional=!0),s&&(r._scopeId="data-v-"+s),c?(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(c)},r._ssrRegister=l):i&&(l=a?function(){i.call(this,(r.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(r.functional){r._injectStyles=l;var u=r.render;r.render=function(t,e){return l.call(e),u(t,e)}}else{var d=r.beforeCreate;r.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:r}}n.d(e,"a",(function(){return o}))},51:function(t,e,n){"use strict";var o={name:"nut-actionsheet",props:{isAnimation:{type:Boolean,default:!0},isLockBgScroll:{type:Boolean,default:!1},isVisible:{type:Boolean,default:!1},isShowMask:{type:Boolean,default:!0},isClickChooseClose:{type:Boolean,default:!0},isClickCloseMask:{type:Boolean,default:!0},cancelTxt:{type:String,default:""},optionTag:{type:String,default:"name"},chooseTagValue:{type:String,default:""},menuItems:{type:Array,default:function(){return[]}}},data:function(){return{}},watch:{isVisible:function(t){t&&this.$emit("open"),this.isLockBgScroll&&(t?document.body.classList.add("nut-overflow-hidden"):this.removeLockScroll())}},deactivated:function(){this.removeLockScroll()},destroyed:function(){this.removeLockScroll()},methods:{removeLockScroll:function(){document.body.classList.remove("nut-overflow-hidden")},isHighlight:function(t){return this.chooseTagValue&&this.chooseTagValue==t[this.optionTag]||0===this.chooseTagValue},closeActionSheet:function(){this.$emit("close")},cancelActionSheet:function(){this.closeActionSheet(),this.$emit("cancel")},clickActionSheetMask:function(){this.isClickCloseMask&&this.closeActionSheet()},chooseItem:function(t,e){t.disable||(this.isClickChooseClose&&this.closeActionSheet(),this.$emit("choose",t,e))}}},i=n(0),s=Object(i.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"nut-actionsheet"},[t.isShowMask?e("transition",{attrs:{name:t.isAnimation?"nutFade":""}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"nut-actionsheet-mask",on:{click:t.clickActionSheetMask}})]):t._e(),t._v(" "),e("transition",{attrs:{name:t.isAnimation?"nutSlideUp":""}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"nut-actionsheet-panel"},[e("div",{staticClass:"nut-actionsheet-custom"},[t._t("custom")],2),t._v(" "),t.$slots.title||t.$slots.subTitle?e("dl",{staticClass:"nut-actionsheet-modal"},[e("dt",{staticClass:"nut-actionsheet-title"},[t._t("title")],2),t._v(" "),e("dd",{staticClass:"nut-actionsheet-sub-title"},[t._t("sub-title")],2)]):t._e(),t._v(" "),e("ul",{staticClass:"nut-actionsheet-menu"},t._l(t.menuItems,(function(n,o){return e("li",{key:o,staticClass:"nut-actionsheet-item",class:{"nut-actionsheet-item-active":t.isHighlight(n),"nut-actionsheet-item-disabled":n.disable},on:{click:function(e){return t.chooseItem(n,o)}}},[t._v(t._s(n[t.optionTag]))])})),0),t._v(" "),t.cancelTxt?e("div",{staticClass:"nut-actionsheet-cancel",on:{click:t.cancelActionSheet}},[t._v(t._s(t.cancelTxt))]):t._e()])])],1)}),[],!1,null,null,null);e.a=s.exports},64:function(t,e,n){},85:function(t,e,n){"use strict";n.r(e);var o=n(51);n(64);o.a.install=function(t){t.component(o.a.name,o.a)},e.default=o.a}})}));
7
7
  //# sourceMappingURL=actionsheet.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/actionsheet/actionsheet.vue?71a7","webpack://[name]/./src/packages/actionsheet/actionsheet.vue?1186","webpack://[name]/src/packages/actionsheet/actionsheet.vue","webpack://[name]/./src/packages/actionsheet/actionsheet.vue","webpack://[name]/./src/packages/actionsheet/index.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","isAnimation","type","default","isLockBgScroll","isVisible","isShowMask","isClickChooseClose","isClickCloseMask","cancelTxt","optionTag","chooseTagValue","menuItems","data","watch","document","deactivated","destroyed","methods","removeLockScroll","isHighlight","closeActionSheet","cancelActionSheet","clickActionSheetMask","chooseItem","component","_vm","_c","_self","staticClass","attrs","directives","rawName","expression","on","_e","_v","_t","$slots","title","subTitle","_l","item","index","class","disable","$event","_s","ActionSheet","install","Vue"],"mappings":"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","file":"actionsheet/actionsheet.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(\"actionsheet\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"actionsheet\"] = factory();\n\telse\n\t\troot[\"actionsheet\"] = 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 = 83);\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-actionsheet\"},[(_vm.isShowMask)?_c('transition',{attrs:{\"name\":_vm.isAnimation ? 'nutFade' : ''}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isVisible),expression:\"isVisible\"}],staticClass:\"nut-actionsheet-mask\",on:{\"click\":_vm.clickActionSheetMask}})]):_vm._e(),_vm._v(\" \"),_c('transition',{attrs:{\"name\":_vm.isAnimation ? 'nutSlideUp' : ''}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isVisible),expression:\"isVisible\"}],staticClass:\"nut-actionsheet-panel\"},[_c('div',{staticClass:\"nut-actionsheet-custom\"},[_vm._t(\"custom\")],2),_vm._v(\" \"),(_vm.$slots.title || _vm.$slots.subTitle)?_c('dl',{staticClass:\"nut-actionsheet-modal\"},[_c('dt',{staticClass:\"nut-actionsheet-title\"},[_vm._t(\"title\")],2),_vm._v(\" \"),_c('dd',{staticClass:\"nut-actionsheet-sub-title\"},[_vm._t(\"sub-title\")],2)]):_vm._e(),_vm._v(\" \"),_c('ul',{staticClass:\"nut-actionsheet-menu\"},_vm._l((_vm.menuItems),function(item,index){return _c('li',{key:index,staticClass:\"nut-actionsheet-item\",class:{ 'nut-actionsheet-item-active': _vm.isHighlight(item), 'nut-actionsheet-item-disabled': item.disable },on:{\"click\":function($event){return _vm.chooseItem(item, index)}}},[_vm._v(_vm._s(item[_vm.optionTag]))])}),0),_vm._v(\" \"),(_vm.cancelTxt)?_c('div',{staticClass:\"nut-actionsheet-cancel\",on:{\"click\":_vm.cancelActionSheet}},[_vm._v(_vm._s(_vm.cancelTxt))]):_vm._e()])])],1)\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!./actionsheet.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!./actionsheet.vue?vue&type=script&lang=js&\"","<template>\n <div class=\"nut-actionsheet\">\n <transition :name=\"isAnimation ? 'nutFade' : ''\" v-if=\"isShowMask\">\n <div class=\"nut-actionsheet-mask\" @click=\"clickActionSheetMask\" v-show=\"isVisible\"></div>\n </transition>\n <transition :name=\"isAnimation ? 'nutSlideUp' : ''\">\n <div class=\"nut-actionsheet-panel\" v-show=\"isVisible\">\n <div class=\"nut-actionsheet-custom\" slot-scope>\n <slot name=\"custom\"></slot>\n </div>\n <dl class=\"nut-actionsheet-modal\" v-if=\"$slots.title || $slots.subTitle\">\n <dt class=\"nut-actionsheet-title\"><slot name=\"title\" slot-scope></slot></dt>\n <dd class=\"nut-actionsheet-sub-title\"><slot name=\"sub-title\" slot-scope></slot></dd>\n </dl>\n <ul class=\"nut-actionsheet-menu\">\n <li\n class=\"nut-actionsheet-item\"\n :class=\"{ 'nut-actionsheet-item-active': isHighlight(item), 'nut-actionsheet-item-disabled': item.disable }\"\n v-for=\"(item, index) of menuItems\"\n :key=\"index\"\n @click=\"chooseItem(item, index)\"\n >{{ item[optionTag] }}</li\n >\n </ul>\n <div class=\"nut-actionsheet-cancel\" v-if=\"cancelTxt\" @click=\"cancelActionSheet\">{{ cancelTxt }}</div>\n </div>\n </transition>\n </div>\n</template>\n<script>\nexport default {\n name: 'nut-actionsheet',\n props: {\n isAnimation: {\n type: Boolean,\n default: true\n },\n isLockBgScroll: {\n type: Boolean,\n default: false\n },\n isVisible: {\n type: Boolean,\n default: false\n },\n isShowMask: {\n type: Boolean,\n default: true\n },\n isClickChooseClose: {\n type: Boolean,\n default: true\n },\n isClickCloseMask: {\n type: Boolean,\n default: true\n },\n cancelTxt: {\n type: String,\n default: ''\n },\n optionTag: {\n type: String,\n default: 'name'\n },\n chooseTagValue: {\n type: String,\n default: ''\n },\n menuItems: {\n type: Array,\n default: () => []\n }\n },\n data() {\n return {};\n },\n watch: {\n isVisible(value) {\n !!value && this.$emit('open');\n if (this.isLockBgScroll) {\n if (value) {\n document.body.classList.add('nut-overflow-hidden');\n } else {\n this.removeLockScroll();\n }\n }\n }\n },\n deactivated() {\n this.removeLockScroll();\n },\n destroyed() {\n this.removeLockScroll();\n },\n methods: {\n removeLockScroll() {\n document.body.classList.remove('nut-overflow-hidden');\n },\n isHighlight(item) {\n return (this.chooseTagValue && this.chooseTagValue == item[this.optionTag]) || this.chooseTagValue === 0;\n },\n\n closeActionSheet() {\n this.$emit('close');\n },\n\n cancelActionSheet() {\n this.closeActionSheet();\n this.$emit('cancel');\n },\n\n clickActionSheetMask() {\n this.isClickCloseMask && this.closeActionSheet();\n },\n\n chooseItem(item, index) {\n if (!item.disable) {\n if (this.isClickChooseClose) {\n this.closeActionSheet();\n }\n this.$emit('choose', item, index);\n }\n }\n }\n};\n</script>\n","import { render, staticRenderFns } from \"./actionsheet.vue?vue&type=template&id=2be58a63&\"\nimport script from \"./actionsheet.vue?vue&type=script&lang=js&\"\nexport * from \"./actionsheet.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 ActionSheet from './actionsheet.vue';\nimport './actionsheet.scss';\n\nActionSheet.install = function(Vue) {\n Vue.component(ActionSheet.name, ActionSheet);\n};\n\nexport default ActionSheet;\n"],"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]/./src/packages/actionsheet/actionsheet.vue?71a7","webpack://[name]/./src/packages/actionsheet/actionsheet.vue?1186","webpack://[name]/src/packages/actionsheet/actionsheet.vue","webpack://[name]/./src/packages/actionsheet/actionsheet.vue","webpack://[name]/./src/packages/actionsheet/index.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","isAnimation","type","Boolean","default","isLockBgScroll","isVisible","isShowMask","isClickChooseClose","isClickCloseMask","cancelTxt","String","optionTag","chooseTagValue","menuItems","Array","data","watch","$emit","document","body","classList","removeLockScroll","deactivated","destroyed","methods","remove","isHighlight","item","closeActionSheet","cancelActionSheet","clickActionSheetMask","chooseItem","index","disable","component","_vm","_c","_self","staticClass","attrs","directives","rawName","expression","on","_e","_v","_t","$slots","title","subTitle","_l","class","$event","_s","ActionSheet","install","Vue"],"mappings":"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","file":"actionsheet/actionsheet.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(\"actionsheet\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"actionsheet\"] = factory();\n\telse\n\t\troot[\"actionsheet\"] = 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 = 85);\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-actionsheet\"},[(_vm.isShowMask)?_c('transition',{attrs:{\"name\":_vm.isAnimation ? 'nutFade' : ''}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isVisible),expression:\"isVisible\"}],staticClass:\"nut-actionsheet-mask\",on:{\"click\":_vm.clickActionSheetMask}})]):_vm._e(),_vm._v(\" \"),_c('transition',{attrs:{\"name\":_vm.isAnimation ? 'nutSlideUp' : ''}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isVisible),expression:\"isVisible\"}],staticClass:\"nut-actionsheet-panel\"},[_c('div',{staticClass:\"nut-actionsheet-custom\"},[_vm._t(\"custom\")],2),_vm._v(\" \"),(_vm.$slots.title || _vm.$slots.subTitle)?_c('dl',{staticClass:\"nut-actionsheet-modal\"},[_c('dt',{staticClass:\"nut-actionsheet-title\"},[_vm._t(\"title\")],2),_vm._v(\" \"),_c('dd',{staticClass:\"nut-actionsheet-sub-title\"},[_vm._t(\"sub-title\")],2)]):_vm._e(),_vm._v(\" \"),_c('ul',{staticClass:\"nut-actionsheet-menu\"},_vm._l((_vm.menuItems),function(item,index){return _c('li',{key:index,staticClass:\"nut-actionsheet-item\",class:{ 'nut-actionsheet-item-active': _vm.isHighlight(item), 'nut-actionsheet-item-disabled': item.disable },on:{\"click\":function($event){return _vm.chooseItem(item, index)}}},[_vm._v(_vm._s(item[_vm.optionTag]))])}),0),_vm._v(\" \"),(_vm.cancelTxt)?_c('div',{staticClass:\"nut-actionsheet-cancel\",on:{\"click\":_vm.cancelActionSheet}},[_vm._v(_vm._s(_vm.cancelTxt))]):_vm._e()])])],1)\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!./actionsheet.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!./actionsheet.vue?vue&type=script&lang=js&\"","<template>\n <div class=\"nut-actionsheet\">\n <transition :name=\"isAnimation ? 'nutFade' : ''\" v-if=\"isShowMask\">\n <div class=\"nut-actionsheet-mask\" @click=\"clickActionSheetMask\" v-show=\"isVisible\"></div>\n </transition>\n <transition :name=\"isAnimation ? 'nutSlideUp' : ''\">\n <div class=\"nut-actionsheet-panel\" v-show=\"isVisible\">\n <div class=\"nut-actionsheet-custom\" slot-scope>\n <slot name=\"custom\"></slot>\n </div>\n <dl class=\"nut-actionsheet-modal\" v-if=\"$slots.title || $slots.subTitle\">\n <dt class=\"nut-actionsheet-title\"><slot name=\"title\" slot-scope></slot></dt>\n <dd class=\"nut-actionsheet-sub-title\"><slot name=\"sub-title\" slot-scope></slot></dd>\n </dl>\n <ul class=\"nut-actionsheet-menu\">\n <li\n class=\"nut-actionsheet-item\"\n :class=\"{ 'nut-actionsheet-item-active': isHighlight(item), 'nut-actionsheet-item-disabled': item.disable }\"\n v-for=\"(item, index) of menuItems\"\n :key=\"index\"\n @click=\"chooseItem(item, index)\"\n >{{ item[optionTag] }}</li\n >\n </ul>\n <div class=\"nut-actionsheet-cancel\" v-if=\"cancelTxt\" @click=\"cancelActionSheet\">{{ cancelTxt }}</div>\n </div>\n </transition>\n </div>\n</template>\n<script>\nexport default {\n name: 'nut-actionsheet',\n props: {\n isAnimation: {\n type: Boolean,\n default: true\n },\n isLockBgScroll: {\n type: Boolean,\n default: false\n },\n isVisible: {\n type: Boolean,\n default: false\n },\n isShowMask: {\n type: Boolean,\n default: true\n },\n isClickChooseClose: {\n type: Boolean,\n default: true\n },\n isClickCloseMask: {\n type: Boolean,\n default: true\n },\n cancelTxt: {\n type: String,\n default: ''\n },\n optionTag: {\n type: String,\n default: 'name'\n },\n chooseTagValue: {\n type: String,\n default: ''\n },\n menuItems: {\n type: Array,\n default: () => []\n }\n },\n data() {\n return {};\n },\n watch: {\n isVisible(value) {\n !!value && this.$emit('open');\n if (this.isLockBgScroll) {\n if (value) {\n document.body.classList.add('nut-overflow-hidden');\n } else {\n this.removeLockScroll();\n }\n }\n }\n },\n deactivated() {\n this.removeLockScroll();\n },\n destroyed() {\n this.removeLockScroll();\n },\n methods: {\n removeLockScroll() {\n document.body.classList.remove('nut-overflow-hidden');\n },\n isHighlight(item) {\n return (this.chooseTagValue && this.chooseTagValue == item[this.optionTag]) || this.chooseTagValue === 0;\n },\n\n closeActionSheet() {\n this.$emit('close');\n },\n\n cancelActionSheet() {\n this.closeActionSheet();\n this.$emit('cancel');\n },\n\n clickActionSheetMask() {\n this.isClickCloseMask && this.closeActionSheet();\n },\n\n chooseItem(item, index) {\n if (!item.disable) {\n if (this.isClickChooseClose) {\n this.closeActionSheet();\n }\n this.$emit('choose', item, index);\n }\n }\n }\n};\n</script>\n","import { render, staticRenderFns } from \"./actionsheet.vue?vue&type=template&id=2be58a63&\"\nimport script from \"./actionsheet.vue?vue&type=script&lang=js&\"\nexport * from \"./actionsheet.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 ActionSheet from './actionsheet.vue';\nimport './actionsheet.scss';\n\nActionSheet.install = function(Vue) {\n Vue.component(ActionSheet.name, ActionSheet);\n};\n\nexport default ActionSheet;\n"],"sourceRoot":""}
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v2.3.13 - address.css, 06c9a9ca4dc0df970314, Mon Feb 06 2023 09:00:25 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v2.3.13 - address.css, 67f43efc8eaf4a122fb6, Tue Apr 11 2023 18:52:32 GMT+0800 (GMT+08:00)
3
3
  * (c) 2017-2020 JDC
4
4
  * Released under the MIT License.
5
5
  */.nut-icon{list-style:none;display:inline-block;width:20px;height:20px;color:#2d2d2d}.nut-icon svg{vertical-align:top;width:100%;height:100%;fill:currentColor}.nut-address .title{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:20px;padding:0 20px;text-align:center;font-size:16px;font-weight:700;color:#333;line-height:20px}.nut-address .title svg{width:20px;height:20px}.nut-address .title .arrow{display:inline-block;width:20px;height:20px}.nut-address .title .arrow svg{width:20px;height:20px}.nut-address .custom-address .region-tab{position:relative;margin-top:32px;padding:0 20px;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:13px;color:#1d1e1e}.nut-address .custom-address .region-tab .tab-item{margin-right:30px}.nut-address .custom-address .region-tab .tab-item.active{font-weight:700}.nut-address .custom-address .region-tab .tab-item span{display:inline-block;max-width:100px;white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nut-address .custom-address .region-tab .region-tab-line{position:absolute;bottom:-10px;left:20px;display:inline-block;margin-top:5px;width:26px;height:3px;background:-webkit-gradient(linear,left top,right top,from(#f5503a),to(#fad1cb));background:-o-linear-gradient(left,#f5503a 0,#fad1cb 100%);background:linear-gradient(90deg,#f5503a,#fad1cb);-webkit-transition:all .2s linear;-o-transition:.2s all linear;transition:all .2s linear}.nut-address .custom-address .region-con{margin:20px 20px 0}.nut-address .custom-address .region-con .region-group{padding-top:15px;height:270px;overflow-y:auto}.nut-address .custom-address .region-con .region-group .region-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:20px;font-size:12px;color:#333}.nut-address .custom-address .region-con .region-group .region-item.active{font-weight:700}.nut-address .custom-address .region-con .region-group .region-item .nut-icon{margin-right:6px;width:13px;height:13px}.nut-address .exist-address{margin-top:15px}.nut-address .exist-address .exist-address-group{padding:15px 20px 0;height:279px;overflow-y:scroll}.nut-address .exist-address .exist-address-group .exist-ul .exist-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:20px;font-size:12px;line-height:14px;color:#333}.nut-address .exist-address .exist-address-group .exist-ul .exist-item.active{font-weight:700}.nut-address .exist-address .exist-address-group .exist-ul .exist-item svg{margin-right:9px;width:13px;height:13px}.nut-address .exist-address .exist-address-group .exist-ul .exist-item span{display:inline-block;-webkit-box-flex:1;-ms-flex:1;flex:1}.nut-address .exist-address .choose-other{width:100%;height:54px;padding:6px 0 0;border-top:1px solid #f2f2f2}.nut-address .exist-address .choose-other .btn{width:90%;height:42px;line-height:42px;margin:auto;text-align:center;background:-o-linear-gradient(315deg,#f2140c 0,#f2270c 70%,#f24d0c 100%);background:linear-gradient(135deg,#f2140c,#f2270c 70%,#f24d0c);border-radius:21px;font-size:15px;color:#fff}.nut-address .nut-icon{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.nut-address .nut-icon svg{margin-top:-1px}
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * @nutui/nutui v2.3.13 - address.js, 06c9a9ca4dc0df970314, Mon Feb 06 2023 09:00:25 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v2.3.13 - address.js, 67f43efc8eaf4a122fb6, Tue Apr 11 2023 18:52:32 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("address",["vue"],e):"object"==typeof exports?exports.address=e(require("vue")):t.address=e(t.Vue)}("undefined"!=typeof self?self:this,(function(t){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},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=206)}({0:function(t,e,n){"use strict";function i(t,e,n,i,o,s,r,l){var a,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),s&&(c._scopeId="data-v-"+s),r?(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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},c._ssrRegister=a):o&&(a=l?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),a)if(c.functional){c._injectStyles=a;var d=c.render;c.render=function(t,e){return a.call(e),d(t,e)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,a):[a]}return{exports:t,options:c}}n.d(e,"a",(function(){return i}))},1:function(e,n){e.exports=t},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>'},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>'},14:function(t,e,n){"use strict";n.d(e,"b",(function(){return i}));var i={value:{type:Boolean,default:!1},overlay:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},duration:{type:Number,default:.3},closeOnClickOverlay:{type:Boolean,default:!0},overlayClass:{type:String,default:""},overlayStyle:{type:Object,default:function(){}},zIndex:{type:Number}},o={name:"nut-popup-overlay",props:i,methods:{touchmove:function(t){this.lockScroll&&t.preventDefault()}}},s=n(0),r=Object(s.a)(o,(function(){var t=this,e=t._self._c;return e("transition",{attrs:{name:"popup-fade"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.value,expression:"value"}],staticClass:"popup-bg nut-mask",class:t.overlayClass,style:{animationDuration:t.duration+"s",...t.overlayStyle,zIndex:t.zIndex},on:{touchmove:function(e){return e.stopPropagation(),t.touchmove.apply(null,arguments)}}})])}),[],!1,null,null,null);e.a=r.exports},145:function(t,e,n){},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>'},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 i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}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 i={"./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 o(t){var e=s(t);return n(e)}function s(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}o.keys=function(){return Object.keys(i)},o.resolve=s,t.exports=o,o.id=20},206:function(t,e,n){"use strict";n.r(e);var i=n(2),o=n.n(i),s=n(45),r=n(8),l={name:"nut-address",props:{value:{type:Boolean,default:!1},type:{type:String,default:"custom"},customAddressTitle:{type:String,default:"请选择所在地区"},province:{type:Array,default:function(){return[]}},city:{type:Array,default:function(){return[]}},country:{type:Array,default:function(){return[]}},town:{type:Array,default:function(){return[]}},isShowCustomAddress:{type:Boolean,default:!0},existAddress:{type:Array,default:function(){return[]}},existAddressTitle:{type:String,default:"配送至"},customAndExistTitle:{type:String,default:"选择其他地址"},defaultIcon:{type:String,default:n(15)},selectedIcon:{type:String,default:n(19)},closeBtnIcon:{type:String,default:n(17)},backBtnIcon:{type:String,default:n(16)}},data:function(){return{showPopup:!1,showModule:"exist",tabIndex:0,tabName:["province","city","country","town"],regionList:{province:this.province,city:this.city,country:this.country,town:this.town},selectedRegion:{province:{},city:{},country:{},town:{}},selectedExistAddress:{},lineDistance:20}},components:{"nut-popup":s.a,"nut-icon":r.a},watch:{value:function(t,e){this.showPopup=t},showPopup:function(t,e){0==t&&this.$emit("input",!1),1==t&&(this.showModule=this.type)},province:function(t,e){this.regionList.province=t},city:function(t,e){this.regionList.city=t},country:function(t,e){this.regionList.country=t},town:function(t,e){this.regionList.town=t},existAddress:function(t,e){var n=this;this.existAddress=t,t.forEach((function(t,e){t.selectedAddress&&(n.selectedExistAddress=t)}))}},mounted:function(){},methods:{getTabName:function(t,e){return t.name||this.tabIndex<e?t.name:"请选择"},nextAreaList:function(t){var e={custom:this.tabName[this.tabIndex]};this.selectedRegion[this.tabName[this.tabIndex]]=t;for(var n=this.tabIndex;n<this.tabName.length-1;n++)this.selectedRegion[this.tabName[n+1]]={};this.tabIndex<3?(this.tabIndex=this.tabIndex+1,this.lineAnimation(),e.next=this.tabName[this.tabIndex],e.value=t,this.$emit("onChange",e),this.$emit("on-change",e)):this.handClose()},changeRegionTab:function(t,e,n){this.tabIndex=n,this.lineAnimation()},lineAnimation:function(){var t=this,e="tab-item-"+this.tabName[this.tabIndex];this.$nextTick((function(){if(t.$refs[e]&&t.$refs[e][0]){var n=t.$refs[e][0].offsetLeft;t.lineDistance=n}}))},selectedExist:function(t){var e=this.existAddress,n={};e.forEach((function(t,e){t.selectedAddress&&(n=t),t.selectedAddress=!1})),t.selectedAddress=!0,this.selectedExistAddress=t,this.$emit("selected",n,t,e),this.handClose()},close:function(){var t=o()({},this.selectedRegion),e={type:this.showModule,data:{}};if("custom"==this.showModule){var n=t.province,i=t.city,s=t.country,r=t.town;t.addressIdStr=[n.id||0,i.id||0,s.id||0,r.id||0].join("_"),t.addressStr=[n.name,i.name,s.name,r.name].join(""),e.data=t}else e.data=this.selectedExistAddress;this.initAddress(),"self"==this.closeWay?this.$emit("close",e):(this.$emit("closeMask",{closeWay:this.closeWay}),this.$emit("close-mask",{closeWay:this.closeWay}))},handClose:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"self";this.closeBtnIcon&&(this.closeWay="cross"==t?"cross":"self",this.showPopup=!1)},clickOverlay:function(){this.closeWay="mask"},initAddress:function(){for(var t=0;t<this.tabName.length;t++)this.selectedRegion[this.tabName[t]]={};this.tabIndex=0,this.lineAnimation()},switchModule:function(){"exist"==this.showModule?this.showModule="custom":this.showModule="exist",this.initAddress(),this.$emit("switchModule",{type:this.showModule}),this.$emit("switch-module",{type:this.showModule})}}},a=n(0),c=Object(a.a)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"nut-address"},[e("nut-popup",{staticClass:"choose-address",attrs:{round:"",position:"bottom"},on:{close:t.close,"click-overlay":t.clickOverlay,open:function(e){t.closeWay="self"}},model:{value:t.showPopup,callback:function(e){t.showPopup=e},expression:"showPopup"}},[e("div",{staticClass:"title"},["custom"==t.showModule&&"exist"==t.type&&t.backBtnIcon?e("span",{staticClass:"arrow",on:{click:t.switchModule}},[e("nut-icon",{attrs:{type:"self",url:t.backBtnIcon}})],1):e("span",{staticClass:"arrow"}),t._v(" "),"custom"==t.type?e("span",[t._v(t._s(t.customAddressTitle))]):t._e(),t._v(" "),"exist"==t.type?e("span",[t._v(t._s(t.existAddressTitle))]):t._e(),t._v(" "),e("span",{on:{click:function(e){return t.handClose("cross")}}},[t.closeBtnIcon?e("nut-icon",{attrs:{size:"18px",type:"self",url:t.closeBtnIcon}}):t._e()],1)]),t._v(" "),"custom"==t.showModule?e("div",{staticClass:"custom-address"},[e("div",{staticClass:"region-tab"},[t._l(t.selectedRegion,(function(n,i,o){return e("div",{key:o,ref:"tab-item-"+i,refInFor:!0,staticClass:"tab-item",class:[o==t.tabIndex?"active":""],on:{click:function(e){return t.changeRegionTab(n,i,o)}}},[e("span",[t._v(t._s(t.getTabName(n,o)))])])})),t._v(" "),e("span",{ref:"regionLine",staticClass:"region-tab-line",style:{left:t.lineDistance+"px"}})],2),t._v(" "),e("div",{staticClass:"region-con"},[e("ul",{staticClass:"region-group"},t._l(t.regionList[t.tabName[t.tabIndex]],(function(i,o){return e("li",{key:o,staticClass:"region-item",class:[t.selectedRegion[t.tabName[t.tabIndex]].id==i.id?"active":""],on:{click:function(e){return t.nextAreaList(i)}}},[t.selectedRegion[t.tabName[t.tabIndex]].id==i.id?e("nut-icon",{attrs:{type:"self",url:n(18)}}):t._e(),t._v(t._s(i.name))],1)})),0)])]):t._e(),t._v(" "),"exist"==t.showModule?e("div",{staticClass:"exist-address"},[e("div",{staticClass:"exist-address-group"},[e("ul",{staticClass:"exist-ul"},t._l(t.existAddress,(function(n,i){return e("li",{key:i,staticClass:"exist-item",class:[n.selectedAddress?"active":""],on:{click:function(e){return t.selectedExist(n)}}},[e("nut-icon",{attrs:{type:"self",url:n.selectedAddress?t.selectedIcon:t.defaultIcon}}),t._v(" "),e("span",[t._v(t._s(n.provinceName+n.cityName+n.countyName+n.townName+n.addressDetail))])],1)})),0)]),t._v(" "),t.isShowCustomAddress&&"exist"==t.showModule?e("div",{staticClass:"choose-other",on:{click:t.switchModule}},[e("div",{staticClass:"btn"},[t._v(t._s(t.customAndExistTitle))])]):t._e()]):t._e()])],1)}),[],!1,null,null,null).exports;n(145);c.install=function(t){t.component(c.name,c)};e.default=c},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>'},45:function(t,e,n){"use strict";var i=n(3),o=n.n(i),s=n(1),r=n.n(s),l=n(8);var a=r.a.extend({data:function(){return{direction:""}},methods:{touchStart:function(t){this.resetTouchStatus(),this.startX=t.touches[0].clientX,this.startY=t.touches[0].clientY},touchMove:function(t){var e,n,i=t.touches[0];this.deltaX=i.clientX-this.startX,this.deltaY=i.clientY-this.startY,this.offsetX=Math.abs(this.deltaX),this.offsetY=Math.abs(this.deltaY),this.direction=this.direction||(e=this.offsetX,n=this.offsetY,e>n&&e>10?"horizontal":n>e&&n>10?"vertical":"")},resetTouchStatus:function(){this.direction="",this.deltaX=0,this.deltaY=0,this.offsetX=0,this.offsetY=0}}}),c=n(5),d=n(14),u=!1;try{var h=Object.defineProperty({},"passive",{get:function(){u=!0}});window.addEventListener("test",null,h)}catch(t){}function p(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t.addEventListener(e,n,!!u&&{capture:!1,passive:i})}function f(t,e,n){t.removeEventListener(e,n)}n(54);function v(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function g(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?v(Object(n),!0).forEach((function(e){o()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var w=/scroll|auto/i,x={id:{type:String|Number,default:""},position:{type:String,default:"center"},transition:String,closeable:{type:Boolean,default:!1},closeIconPosition:{type:String,default:"top-right"},closeIcon:{type:String,default:"cross"},closeOnClickOverlay:{type:Boolean,default:!0},destroyOnClose:{type:Boolean,default:!1},getContainer:String,round:{type:Boolean,default:!1}},m={name:"nut-popup",mixins:[a],components:{icon:l.a},props:g(g({},d.b),x),created:function(){this.transition?this.transitionName=this.transition:this.transitionName="popup-slide-".concat(this.position)},mounted:function(){this.value&&this.open(),this.portal()},beforeDestroy:function(){this.value&&this.close()},activated:function(){this.keepAlive&&(this.$emit("input",!0),this.keepAlive=!1)},deactivated:function(){this.value&&(this.close(),this.keepAlive=!0)},watch:{value:function(t){this[t?"open":"close"]()},position:function(t){this.transitionName="center"===t?"popup-fade":"popup-slide-".concat(this.position)},getContainer:"portal",overlay:"renderOverlay"},data:function(){return{showSlot:!0,transitionName:"popup-fade-center",overlayInstant:null}},computed:{transitionDuration:function(){return this.duration?this.duration+"s":"initial"}},methods:{open:function(){if(!this.opened){this.destroyOnClose&&(this.showSlot=!0),this.opened=!0,this.$emit("open");var t=this.duration,e=this.overlayClass,n=this.overlayStyle,i=this.lockScroll,o=this.closeOnClickOverlay,s={id:this.id,zIndex:this.zIndex?this.zIndex:c.b.getZIndex(this.id),duration:t,overlayClass:e,overlayStyle:n,lockScroll:i,closeOnClickOverlay:o};this.renderOverlay(s),this.lockScroll&&(p(document,"touchstart",this.touchStart),p(document,"touchmove",this.onTouchMove),c.b.lockCount||document.body.classList.add("nut-overflow-hidden"),c.b.lockCount++),this.$el.style.zIndex=this.zIndex?this.zIndex+1:c.b.getZIndex()}},renderOverlay:function(t){this.value&&(this.overlay?c.b.openModal(this,t):c.b.closeOverlay(this))},onTouchMove:function(t){this.touchMove(t);var e=this.getScroller(t.target),n=e||this.$el,i=n.scrollHeight,o=n.offsetHeight,s=n.scrollTop;(this.deltaY>0&&0===s||this.deltaY<0&&s+o>=i)&&t.cancelable&&t.preventDefault()},getScroller:function(t){for(var e=t;e&&"HTML"!==e.tagName&&1===e.nodeType;){var n=window.getComputedStyle(e).overflowY;if(w.test(n))return e;e=e.parentNode}},close:function(){var t=this;this.opened&&(this.$emit("close"),this.opened=!1,this.lockScroll&&(c.b.lockCount--,f(document,"touchstart",this.touchStart),f(document,"touchmove",this.onTouchMove),c.b.lockCount||document.body.classList.remove("nut-overflow-hidden")),this.destroyOnClose&&setTimeout((function(){t.showSlot=!1}),1e3*this.duration),c.b.closeOverlay(this),this.$emit("input",!1))},getElement:function(t){return document.querySelector(t)},portal:function(){var t,e=this.getContainer,n=this.$el;e&&(t=this.getElement(e))&&t!==n.parentNode&&t.appendChild(n)}}},y=n(0),C=Object(y.a)(m,(function(){var t=this,e=t._self._c;return e("transition",{attrs:{name:t.transitionName},on:{"after-enter":function(e){return t.$emit("opened")},"after-leave":function(e){return t.$emit("closed")}}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.value,expression:"value"}],ref:"popupBox",staticClass:"popup-box",class:["popup-"+t.position,{round:t.round}],style:{animationDuration:t.transitionDuration},on:{click:function(e){return t.$emit("click",this)}}},[t.showSlot?t._t("default"):t._e(),t._v(" "),t.closeable?e("icon",{staticClass:"nutui-popup__close-icon",class:"nutui-popup__close-icon--"+t.closeIconPosition,attrs:{type:t.closeIcon,size:"12px"},nativeOn:{click:function(e){return t.$emit("input",!1)}}}):t._e()],2)])}),[],!1,null,null,null);e.a=C.exports},5:function(t,e,n){"use strict";n.d(e,"b",(function(){return f})),n.d(e,"a",(function(){return g}));var i=n(3),o=n.n(i),s=n(2),r=n.n(s),l=n(1),a=n.n(l),c=n(14);function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}var u,h=[],p=2e3,f={lockCount:0,get topStack(){return h[h.length-1]},getZIndex:function(t){if(!t)return++p;var e=h.find((function(e){return e.config.id===t}));return e?e.config.zIndex:++p},updateOverlay:function(){var t,e,n=f.clickHandle,i=f.topStack;if(u||(t=c.a,e={nativeOn:{click:n}},u=new a.a({props:t.props,render:function(n){return n(t,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){o()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({props:this.$props},e))}}).$mount()),i){var s=i.vm,l=i.config,h=s.$el;h&&h.parentNode&&11!==h.parentNode.nodeType?h.parentNode.appendChild(u.$el):document.body.appendChild(u.$el),r()(u,l,{value:!0})}else u.value=!1},openModal:function(t,e){var n=e.zIndex,i=e.duration,o=e.overlayClass,s=e.overlayStyle,r=e.id;h.push({vm:t,config:{id:r,zIndex:n,duration:i,overlayClass:o,overlayStyle:s}}),f.updateOverlay()},clickHandle:function(){var t=f.topStack;h.length&&t.vm.closeOnClickOverlay&&(t.vm.$emit("click-overlay"),t.vm.close())},closeOverlay:function(t){h.length&&(f.topStack.vm===t?(h.pop(),f.updateOverlay()):h=h.filter((function(e){return e.vm!==t})))}},v={value:{type:Boolean,default:!1},overlay:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},duration:{type:Number,default:.3},closeOnClickOverlay:{type:Boolean,default:!0},overlayClass:{type:String,default:""},overlayStyle:{type:Object,default:function(){return null}},zIndex:{type:Number}};function g(){var t=this;if(!this)return{};var e={};return Object.keys(v).forEach((function(n){e[n]=t[n]})),e}},54:function(t,e,n){},8:function(t,e,n){"use strict";var i=["top","action","cross","down","right","more","notice","plus","search","trolley","tick","minus","circle-cross"],o={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===i.indexOf(this.type)?console.error("nut-icon组件type值("+this.type+")有误,无此icon!"):this.icon=n(20)("./"+this.type+".svg")}},s=n(0),r=Object(s.a)(o,(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=r.exports}})}));
6
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define("address",["vue"],e):"object"==typeof exports?exports.address=e(require("vue")):t.address=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 i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.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 i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));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=208)}({0:function(t,e,n){"use strict";function o(t,e,n,o,i,s,r,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),s&&(c._scopeId="data-v-"+s),r?(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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},c._ssrRegister=a):i&&(a=l?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),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 d=c.beforeCreate;c.beforeCreate=d?[].concat(d,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,i=n(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,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 i=n.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},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>'},147:function(t,e,n){},16:function(t,e,n){"use strict";n.d(e,"b",(function(){return o}));var o={value:{type:Boolean,default:!1},overlay:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},duration:{type:Number,default:.3},closeOnClickOverlay:{type:Boolean,default:!0},overlayClass:{type:String,default:""},overlayStyle:{type:Object,default:function(){}},zIndex:{type:Number}},i={name:"nut-popup-overlay",props:o,methods:{touchmove:function(t){this.lockScroll&&t.preventDefault()}}},s=n(0),r=Object(s.a)(i,(function(){var t=this,e=t._self._c;return e("transition",{attrs:{name:"popup-fade"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.value,expression:"value"}],staticClass:"popup-bg nut-mask",class:t.overlayClass,style:{animationDuration:t.duration+"s",...t.overlayStyle,zIndex:t.zIndex},on:{touchmove:function(e){return e.stopPropagation(),t.touchmove.apply(null,arguments)}}})])}),[],!1,null,null,null);e.a=r.exports},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>'},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>'},208:function(t,e,n){"use strict";n.r(e);var o=n(3),i=n.n(o),s=n(47),r=n(8),l={name:"nut-address",props:{value:{type:Boolean,default:!1},type:{type:String,default:"custom"},customAddressTitle:{type:String,default:"请选择所在地区"},province:{type:Array,default:function(){return[]}},city:{type:Array,default:function(){return[]}},country:{type:Array,default:function(){return[]}},town:{type:Array,default:function(){return[]}},isShowCustomAddress:{type:Boolean,default:!0},existAddress:{type:Array,default:function(){return[]}},existAddressTitle:{type:String,default:"配送至"},customAndExistTitle:{type:String,default:"选择其他地址"},defaultIcon:{type:String,default:n(17)},selectedIcon:{type:String,default:n(21)},closeBtnIcon:{type:String,default:n(19)},backBtnIcon:{type:String,default:n(18)}},data:function(){return{showPopup:!1,showModule:"exist",tabIndex:0,tabName:["province","city","country","town"],regionList:{province:this.province,city:this.city,country:this.country,town:this.town},selectedRegion:{province:{},city:{},country:{},town:{}},selectedExistAddress:{},lineDistance:20}},components:{"nut-popup":s.a,"nut-icon":r.a},watch:{value:function(t,e){this.showPopup=t},showPopup:function(t,e){0==t&&this.$emit("input",!1),1==t&&(this.showModule=this.type)},province:function(t,e){this.regionList.province=t},city:function(t,e){this.regionList.city=t},country:function(t,e){this.regionList.country=t},town:function(t,e){this.regionList.town=t},existAddress:function(t,e){var n=this;this.existAddress=t,t.forEach((function(t,e){t.selectedAddress&&(n.selectedExistAddress=t)}))}},mounted:function(){},methods:{getTabName:function(t,e){return t.name||this.tabIndex<e?t.name:"请选择"},nextAreaList:function(t){var e={custom:this.tabName[this.tabIndex]};this.selectedRegion[this.tabName[this.tabIndex]]=t;for(var n=this.tabIndex;n<this.tabName.length-1;n++)this.selectedRegion[this.tabName[n+1]]={};this.tabIndex<3?(this.tabIndex=this.tabIndex+1,this.lineAnimation(),e.next=this.tabName[this.tabIndex],e.value=t,this.$emit("onChange",e),this.$emit("on-change",e)):this.handClose()},changeRegionTab:function(t,e,n){this.tabIndex=n,this.lineAnimation()},lineAnimation:function(){var t=this,e="tab-item-"+this.tabName[this.tabIndex];this.$nextTick((function(){if(t.$refs[e]&&t.$refs[e][0]){var n=t.$refs[e][0].offsetLeft;t.lineDistance=n}}))},selectedExist:function(t){var e=this.existAddress,n={};e.forEach((function(t,e){t.selectedAddress&&(n=t),t.selectedAddress=!1})),t.selectedAddress=!0,this.selectedExistAddress=t,this.$emit("selected",n,t,e),this.handClose()},close:function(){var t=i()({},this.selectedRegion),e={type:this.showModule,data:{}};if("custom"==this.showModule){var n=t.province,o=t.city,s=t.country,r=t.town;t.addressIdStr=[n.id||0,o.id||0,s.id||0,r.id||0].join("_"),t.addressStr=[n.name,o.name,s.name,r.name].join(""),e.data=t}else e.data=this.selectedExistAddress;this.initAddress(),"self"==this.closeWay?this.$emit("close",e):(this.$emit("closeMask",{closeWay:this.closeWay}),this.$emit("close-mask",{closeWay:this.closeWay}))},handClose:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"self";this.closeBtnIcon&&(this.closeWay="cross"==t?"cross":"self",this.showPopup=!1)},clickOverlay:function(){this.closeWay="mask"},initAddress:function(){for(var t=0;t<this.tabName.length;t++)this.selectedRegion[this.tabName[t]]={};this.tabIndex=0,this.lineAnimation()},switchModule:function(){"exist"==this.showModule?this.showModule="custom":this.showModule="exist",this.initAddress(),this.$emit("switchModule",{type:this.showModule}),this.$emit("switch-module",{type:this.showModule})}}},a=n(0),c=Object(a.a)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"nut-address"},[e("nut-popup",{staticClass:"choose-address",attrs:{round:"",position:"bottom"},on:{close:t.close,"click-overlay":t.clickOverlay,open:function(e){t.closeWay="self"}},model:{value:t.showPopup,callback:function(e){t.showPopup=e},expression:"showPopup"}},[e("div",{staticClass:"title"},["custom"==t.showModule&&"exist"==t.type&&t.backBtnIcon?e("span",{staticClass:"arrow",on:{click:t.switchModule}},[e("nut-icon",{attrs:{type:"self",url:t.backBtnIcon}})],1):e("span",{staticClass:"arrow"}),t._v(" "),"custom"==t.type?e("span",[t._v(t._s(t.customAddressTitle))]):t._e(),t._v(" "),"exist"==t.type?e("span",[t._v(t._s(t.existAddressTitle))]):t._e(),t._v(" "),e("span",{on:{click:function(e){return t.handClose("cross")}}},[t.closeBtnIcon?e("nut-icon",{attrs:{size:"18px",type:"self",url:t.closeBtnIcon}}):t._e()],1)]),t._v(" "),"custom"==t.showModule?e("div",{staticClass:"custom-address"},[e("div",{staticClass:"region-tab"},[t._l(t.selectedRegion,(function(n,o,i){return e("div",{key:i,ref:"tab-item-"+o,refInFor:!0,staticClass:"tab-item",class:[i==t.tabIndex?"active":""],on:{click:function(e){return t.changeRegionTab(n,o,i)}}},[e("span",[t._v(t._s(t.getTabName(n,i)))])])})),t._v(" "),e("span",{ref:"regionLine",staticClass:"region-tab-line",style:{left:t.lineDistance+"px"}})],2),t._v(" "),e("div",{staticClass:"region-con"},[e("ul",{staticClass:"region-group"},t._l(t.regionList[t.tabName[t.tabIndex]],(function(o,i){return e("li",{key:i,staticClass:"region-item",class:[t.selectedRegion[t.tabName[t.tabIndex]].id==o.id?"active":""],on:{click:function(e){return t.nextAreaList(o)}}},[t.selectedRegion[t.tabName[t.tabIndex]].id==o.id?e("nut-icon",{attrs:{type:"self",url:n(20)}}):t._e(),t._v(t._s(o.name))],1)})),0)])]):t._e(),t._v(" "),"exist"==t.showModule?e("div",{staticClass:"exist-address"},[e("div",{staticClass:"exist-address-group"},[e("ul",{staticClass:"exist-ul"},t._l(t.existAddress,(function(n,o){return e("li",{key:o,staticClass:"exist-item",class:[n.selectedAddress?"active":""],on:{click:function(e){return t.selectedExist(n)}}},[e("nut-icon",{attrs:{type:"self",url:n.selectedAddress?t.selectedIcon:t.defaultIcon}}),t._v(" "),e("span",[t._v(t._s(n.provinceName+n.cityName+n.countyName+n.townName+n.addressDetail))])],1)})),0)]),t._v(" "),t.isShowCustomAddress&&"exist"==t.showModule?e("div",{staticClass:"choose-other",on:{click:t.switchModule}},[e("div",{staticClass:"btn"},[t._v(t._s(t.customAndExistTitle))])]):t._e()]):t._e()])],1)}),[],!1,null,null,null).exports;n(147);c.install=function(t){t.component(c.name,c)};e.default=c},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 i(t){var e=s(t);return n(e)}function s(t){if(!n.o(o,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return o[t]}i.keys=function(){return Object.keys(o)},i.resolve=s,t.exports=i,i.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>'},47:function(t,e,n){"use strict";var o=n(4),i=n.n(o),s=n(1),r=n.n(s),l=n(8);var a=r.a.extend({data:function(){return{direction:""}},methods:{touchStart:function(t){this.resetTouchStatus(),this.startX=t.touches[0].clientX,this.startY=t.touches[0].clientY},touchMove:function(t){var e,n,o=t.touches[0];this.deltaX=o.clientX-this.startX,this.deltaY=o.clientY-this.startY,this.offsetX=Math.abs(this.deltaX),this.offsetY=Math.abs(this.deltaY),this.direction=this.direction||(e=this.offsetX,n=this.offsetY,e>n&&e>10?"horizontal":n>e&&n>10?"vertical":"")},resetTouchStatus:function(){this.direction="",this.deltaX=0,this.deltaY=0,this.offsetX=0,this.offsetY=0}}}),c=n(6),u=n(16),d=!1;try{var h=Object.defineProperty({},"passive",{get:function(){d=!0}});window.addEventListener("test",null,h)}catch(t){}function p(t,e,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t.addEventListener(e,n,!!d&&{capture:!1,passive:o})}function f(t,e,n){t.removeEventListener(e,n)}n(56);function v(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function g(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?v(Object(n),!0).forEach((function(e){i()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var w=/scroll|auto/i,x={id:{type:String|Number,default:""},position:{type:String,default:"center"},transition:String,closeable:{type:Boolean,default:!1},closeIconPosition:{type:String,default:"top-right"},closeIcon:{type:String,default:"cross"},closeOnClickOverlay:{type:Boolean,default:!0},destroyOnClose:{type:Boolean,default:!1},getContainer:String,round:{type:Boolean,default:!1}},m={name:"nut-popup",mixins:[a],components:{icon:l.a},props:g(g({},u.b),x),created:function(){this.transition?this.transitionName=this.transition:this.transitionName="popup-slide-".concat(this.position)},mounted:function(){this.value&&this.open(),this.portal()},beforeDestroy:function(){this.value&&this.close()},activated:function(){this.keepAlive&&(this.$emit("input",!0),this.keepAlive=!1)},deactivated:function(){this.value&&(this.close(),this.keepAlive=!0)},watch:{value:function(t){this[t?"open":"close"]()},position:function(t){this.transitionName="center"===t?"popup-fade":"popup-slide-".concat(this.position)},getContainer:"portal",overlay:"renderOverlay"},data:function(){return{showSlot:!0,transitionName:"popup-fade-center",overlayInstant:null}},computed:{transitionDuration:function(){return this.duration?this.duration+"s":"initial"}},methods:{open:function(){if(!this.opened){this.destroyOnClose&&(this.showSlot=!0),this.opened=!0,this.$emit("open");var t=this.duration,e=this.overlayClass,n=this.overlayStyle,o=this.lockScroll,i=this.closeOnClickOverlay,s={id:this.id,zIndex:this.zIndex?this.zIndex:c.b.getZIndex(this.id),duration:t,overlayClass:e,overlayStyle:n,lockScroll:o,closeOnClickOverlay:i};this.renderOverlay(s),this.lockScroll&&(p(document,"touchstart",this.touchStart),p(document,"touchmove",this.onTouchMove),c.b.lockCount||document.body.classList.add("nut-overflow-hidden"),c.b.lockCount++),this.$el.style.zIndex=this.zIndex?this.zIndex+1:c.b.getZIndex()}},renderOverlay:function(t){this.value&&(this.overlay?c.b.openModal(this,t):c.b.closeOverlay(this))},onTouchMove:function(t){this.touchMove(t);var e=this.getScroller(t.target),n=e||this.$el,o=n.scrollHeight,i=n.offsetHeight,s=n.scrollTop;(this.deltaY>0&&0===s||this.deltaY<0&&s+i>=o)&&t.cancelable&&t.preventDefault()},getScroller:function(t){for(var e=t;e&&"HTML"!==e.tagName&&1===e.nodeType;){var n=window.getComputedStyle(e).overflowY;if(w.test(n))return e;e=e.parentNode}},close:function(){var t=this;this.opened&&(this.$emit("close"),this.opened=!1,this.lockScroll&&(c.b.lockCount--,f(document,"touchstart",this.touchStart),f(document,"touchmove",this.onTouchMove),c.b.lockCount||document.body.classList.remove("nut-overflow-hidden")),this.destroyOnClose&&setTimeout((function(){t.showSlot=!1}),1e3*this.duration),c.b.closeOverlay(this),this.$emit("input",!1))},getElement:function(t){return document.querySelector(t)},portal:function(){var t,e=this.getContainer,n=this.$el;e&&(t=this.getElement(e))&&t!==n.parentNode&&t.appendChild(n)}}},y=n(0),C=Object(y.a)(m,(function(){var t=this,e=t._self._c;return e("transition",{attrs:{name:t.transitionName},on:{"after-enter":function(e){return t.$emit("opened")},"after-leave":function(e){return t.$emit("closed")}}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.value,expression:"value"}],ref:"popupBox",staticClass:"popup-box",class:["popup-"+t.position,{round:t.round}],style:{animationDuration:t.transitionDuration},on:{click:function(e){return t.$emit("click",this)}}},[t.showSlot?t._t("default"):t._e(),t._v(" "),t.closeable?e("icon",{staticClass:"nutui-popup__close-icon",class:"nutui-popup__close-icon--"+t.closeIconPosition,attrs:{type:t.closeIcon,size:"12px"},nativeOn:{click:function(e){return t.$emit("input",!1)}}}):t._e()],2)])}),[],!1,null,null,null);e.a=C.exports},56:function(t,e,n){},6:function(t,e,n){"use strict";n.d(e,"b",(function(){return f})),n.d(e,"a",(function(){return g}));var o=n(4),i=n.n(o),s=n(3),r=n.n(s),l=n(1),a=n.n(l),c=n(16);function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}var d,h=[],p=2e3,f={lockCount:0,get topStack(){return h[h.length-1]},getZIndex:function(t){if(!t)return++p;var e=h.find((function(e){return e.config.id===t}));return e?e.config.zIndex:++p},updateOverlay:function(){var t,e,n=f.clickHandle,o=f.topStack;if(d||(t=c.a,e={nativeOn:{click:n}},d=new a.a({props:t.props,render:function(n){return n(t,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){i()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({props:this.$props},e))}}).$mount()),o){var s=o.vm,l=o.config,h=s.$el;h&&h.parentNode&&11!==h.parentNode.nodeType?h.parentNode.appendChild(d.$el):document.body.appendChild(d.$el),r()(d,l,{value:!0})}else d.value=!1},openModal:function(t,e){var n=e.zIndex,o=e.duration,i=e.overlayClass,s=e.overlayStyle,r=e.id;h.push({vm:t,config:{id:r,zIndex:n,duration:o,overlayClass:i,overlayStyle:s}}),f.updateOverlay()},clickHandle:function(){var t=f.topStack;h.length&&t.vm.closeOnClickOverlay&&(t.vm.$emit("click-overlay"),t.vm.close())},closeOverlay:function(t){h.length&&(f.topStack.vm===t?(h.pop(),f.updateOverlay()):h=h.filter((function(e){return e.vm!==t})))}},v={value:{type:Boolean,default:!1},overlay:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},duration:{type:Number,default:.3},closeOnClickOverlay:{type:Boolean,default:!0},overlayClass:{type:String,default:""},overlayStyle:{type:Object,default:function(){return null}},zIndex:{type:Number}};function g(){var t=this;if(!this)return{};var e={};return Object.keys(v).forEach((function(n){e[n]=t[n]})),e}},8:function(t,e,n){"use strict";var o=["top","action","cross","down","right","more","notice","plus","search","trolley","tick","minus","circle-cross"],i={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")}},s=n(0),r=Object(s.a)(i,(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=r.exports}})}));
7
7
  //# sourceMappingURL=address.js.map