@nutui/nutui 2.3.4 → 2.3.7

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 (228) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/.DS_Store +0 -0
  3. package/dist/assets/img/grid.png +0 -0
  4. package/dist/nutui.css +4 -2
  5. package/dist/nutui.css.map +1 -1
  6. package/dist/nutui.js +393 -154
  7. package/dist/nutui.js.map +1 -1
  8. package/dist/nutui.min.css +2 -2
  9. package/dist/nutui.min.js +3 -3
  10. package/dist/nutui.min.js.map +1 -1
  11. package/dist/nutui.scss +2 -1
  12. package/dist/packages/actionsheet/actionsheet.css +1 -1
  13. package/dist/packages/actionsheet/actionsheet.js +1 -1
  14. package/dist/packages/address/address.css +1 -1
  15. package/dist/packages/address/address.js +2 -2
  16. package/dist/packages/address/address.js.map +1 -1
  17. package/dist/packages/avatar/avatar.css +1 -1
  18. package/dist/packages/avatar/avatar.js +2 -2
  19. package/dist/packages/avatar/avatar.js.map +1 -1
  20. package/dist/packages/backtop/backtop.css +1 -1
  21. package/dist/packages/backtop/backtop.js +2 -2
  22. package/dist/packages/backtop/backtop.js.map +1 -1
  23. package/dist/packages/badge/badge.css +1 -1
  24. package/dist/packages/badge/badge.js +2 -2
  25. package/dist/packages/badge/badge.js.map +1 -1
  26. package/dist/packages/button/button.css +1 -1
  27. package/dist/packages/button/button.js +1 -1
  28. package/dist/packages/buttongroup/buttongroup.css +1 -1
  29. package/dist/packages/buttongroup/buttongroup.js +1 -1
  30. package/dist/packages/calendar/calendar.css +1 -1
  31. package/dist/packages/calendar/calendar.js +2 -2
  32. package/dist/packages/calendar/calendar.js.map +1 -1
  33. package/dist/packages/calendar/calendar.vue +1 -1
  34. package/dist/packages/cell/cell.css +1 -1
  35. package/dist/packages/cell/cell.js +2 -2
  36. package/dist/packages/cell/cell.js.map +1 -1
  37. package/dist/packages/checkbox/checkbox.css +1 -1
  38. package/dist/packages/checkbox/checkbox.js +2 -2
  39. package/dist/packages/checkboxgroup/checkboxgroup.css +1 -1
  40. package/dist/packages/checkboxgroup/checkboxgroup.js +2 -2
  41. package/dist/packages/checkboxgroup/checkboxgroup.js.map +1 -1
  42. package/dist/packages/circleprogress/circleprogress.css +1 -1
  43. package/dist/packages/circleprogress/circleprogress.js +2 -2
  44. package/dist/packages/circleprogress/circleprogress.js.map +1 -1
  45. package/dist/packages/col/col.css +1 -1
  46. package/dist/packages/col/col.js +1 -1
  47. package/dist/packages/collapse/collapse.css +1 -1
  48. package/dist/packages/collapse/collapse.js +2 -2
  49. package/dist/packages/collapse/collapse.js.map +1 -1
  50. package/dist/packages/collapseitem/collapseitem.css +1 -1
  51. package/dist/packages/collapseitem/collapseitem.js +2 -2
  52. package/dist/packages/collapseitem/collapseitem.js.map +1 -1
  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 +2 -2
  57. package/dist/packages/countup/countup.js +2 -2
  58. package/dist/packages/countup/countup.js.map +1 -1
  59. package/dist/packages/countup/countup.scss +2 -1
  60. package/dist/packages/countup/countup.vue +22 -10
  61. package/dist/packages/coupon/coupon.css +1 -1
  62. package/dist/packages/coupon/coupon.js +2 -2
  63. package/dist/packages/coupon/coupon.js.map +1 -1
  64. package/dist/packages/datepicker/datepicker.css +1 -1
  65. package/dist/packages/datepicker/datepicker.js +2 -2
  66. package/dist/packages/datepicker/datepicker.js.map +1 -1
  67. package/dist/packages/dialog/dialog.css +1 -1
  68. package/dist/packages/dialog/dialog.js +2 -2
  69. package/dist/packages/dialog/dialog.js.map +1 -1
  70. package/dist/packages/drag/drag.css +1 -1
  71. package/dist/packages/drag/drag.js +2 -2
  72. package/dist/packages/drag/drag.js.map +1 -1
  73. package/dist/packages/elevator/elevator.css +1 -1
  74. package/dist/packages/elevator/elevator.js +2 -2
  75. package/dist/packages/elevator/elevator.js.map +1 -1
  76. package/dist/packages/fixednav/fixednav.css +1 -1
  77. package/dist/packages/fixednav/fixednav.js +2 -2
  78. package/dist/packages/fixednav/fixednav.js.map +1 -1
  79. package/dist/packages/flex/flex.css +1 -1
  80. package/dist/packages/flex/flex.js +2 -2
  81. package/dist/packages/flex/flex.js.map +1 -1
  82. package/dist/packages/icon/icon.css +1 -1
  83. package/dist/packages/icon/icon.js +1 -1
  84. package/dist/packages/imagepicker/imagepicker.css +1 -1
  85. package/dist/packages/imagepicker/imagepicker.js +2 -2
  86. package/dist/packages/imagepicker/imagepicker.js.map +1 -1
  87. package/dist/packages/infiniteloading/infiniteloading.css +1 -1
  88. package/dist/packages/infiniteloading/infiniteloading.js +2 -2
  89. package/dist/packages/infiniteloading/infiniteloading.js.map +1 -1
  90. package/dist/packages/infiniteloading/infiniteloading.vue +5 -1
  91. package/dist/packages/lazyload/lazyload.css +1 -1
  92. package/dist/packages/lazyload/lazyload.js +2 -2
  93. package/dist/packages/lazyload/lazyload.js.map +1 -1
  94. package/dist/packages/leftslip/leftslip.css +1 -1
  95. package/dist/packages/leftslip/leftslip.js +2 -2
  96. package/dist/packages/leftslip/leftslip.js.map +1 -1
  97. package/dist/packages/luckdraw/luckdraw.css +1 -1
  98. package/dist/packages/luckdraw/luckdraw.js +2 -2
  99. package/dist/packages/luckdraw/luckdraw.js.map +1 -1
  100. package/dist/packages/luckycard/luckycard.css +1 -1
  101. package/dist/packages/luckycard/luckycard.js +2 -2
  102. package/dist/packages/luckycard/luckycard.js.map +1 -1
  103. package/dist/packages/magic/magic.css +1 -1
  104. package/dist/packages/magic/magic.js +2 -2
  105. package/dist/packages/magic/magic.js.map +1 -1
  106. package/dist/packages/menu/menu.css +1 -1
  107. package/dist/packages/menu/menu.js +2 -2
  108. package/dist/packages/menu/menu.js.map +1 -1
  109. package/dist/packages/navbar/navbar.css +1 -1
  110. package/dist/packages/navbar/navbar.js +2 -2
  111. package/dist/packages/navbar/navbar.js.map +1 -1
  112. package/dist/packages/ninegrid/animation.scss +223 -0
  113. package/dist/packages/ninegrid/index.js +8 -0
  114. package/dist/packages/ninegrid/ninegrid.css +5 -0
  115. package/dist/packages/ninegrid/ninegrid.js +7 -0
  116. package/dist/packages/ninegrid/ninegrid.js.map +1 -0
  117. package/dist/packages/ninegrid/ninegrid.scss +132 -0
  118. package/dist/packages/ninegrid/ninegrid.vue +144 -0
  119. package/dist/packages/noticebar/noticebar.css +1 -1
  120. package/dist/packages/noticebar/noticebar.js +2 -2
  121. package/dist/packages/noticebar/noticebar.js.map +1 -1
  122. package/dist/packages/notify/notify.css +1 -1
  123. package/dist/packages/notify/notify.js +2 -2
  124. package/dist/packages/notify/notify.js.map +1 -1
  125. package/dist/packages/numberkeyboard/numberkeyboard.css +1 -1
  126. package/dist/packages/numberkeyboard/numberkeyboard.js +2 -2
  127. package/dist/packages/numberkeyboard/numberkeyboard.js.map +1 -1
  128. package/dist/packages/picker/picker.css +1 -1
  129. package/dist/packages/picker/picker.js +2 -2
  130. package/dist/packages/picker/picker.js.map +1 -1
  131. package/dist/packages/popup/popup.css +1 -1
  132. package/dist/packages/popup/popup.js +1 -1
  133. package/dist/packages/price/price.css +1 -1
  134. package/dist/packages/price/price.js +2 -2
  135. package/dist/packages/price/price.js.map +1 -1
  136. package/dist/packages/progress/progress.css +1 -1
  137. package/dist/packages/progress/progress.js +2 -2
  138. package/dist/packages/progress/progress.js.map +1 -1
  139. package/dist/packages/radio/radio.css +1 -1
  140. package/dist/packages/radio/radio.js +2 -2
  141. package/dist/packages/radio/radio.js.map +1 -1
  142. package/dist/packages/radiogroup/radiogroup.css +1 -1
  143. package/dist/packages/radiogroup/radiogroup.js +2 -2
  144. package/dist/packages/radiogroup/radiogroup.js.map +1 -1
  145. package/dist/packages/range/range.css +1 -1
  146. package/dist/packages/range/range.js +2 -2
  147. package/dist/packages/range/range.js.map +1 -1
  148. package/dist/packages/rate/rate.css +1 -1
  149. package/dist/packages/rate/rate.js +2 -2
  150. package/dist/packages/rate/rate.js.map +1 -1
  151. package/dist/packages/row/row.css +1 -1
  152. package/dist/packages/row/row.js +1 -1
  153. package/dist/packages/scroller/scroller.css +1 -1
  154. package/dist/packages/scroller/scroller.js +2 -2
  155. package/dist/packages/scroller/scroller.js.map +1 -1
  156. package/dist/packages/scroller/scroller.vue +5 -0
  157. package/dist/packages/scroller/vertical-scroll.vue +7 -2
  158. package/dist/packages/searchbar/searchbar.css +1 -1
  159. package/dist/packages/searchbar/searchbar.js +2 -2
  160. package/dist/packages/searchbar/searchbar.js.map +1 -1
  161. package/dist/packages/shortpassword/shortpassword.css +1 -1
  162. package/dist/packages/shortpassword/shortpassword.js +2 -2
  163. package/dist/packages/shortpassword/shortpassword.js.map +1 -1
  164. package/dist/packages/sidenavbar/sidenavbar.css +1 -1
  165. package/dist/packages/sidenavbar/sidenavbar.js +2 -2
  166. package/dist/packages/sidenavbar/sidenavbar.js.map +1 -1
  167. package/dist/packages/sidenavbaritem/sidenavbaritem.css +1 -1
  168. package/dist/packages/sidenavbaritem/sidenavbaritem.js +1 -1
  169. package/dist/packages/signature/signature.css +1 -1
  170. package/dist/packages/signature/signature.js +2 -2
  171. package/dist/packages/signature/signature.js.map +1 -1
  172. package/dist/packages/skeleton/skeleton.css +1 -1
  173. package/dist/packages/skeleton/skeleton.js +2 -2
  174. package/dist/packages/skeleton/skeleton.js.map +1 -1
  175. package/dist/packages/slider/slider.css +1 -1
  176. package/dist/packages/slider/slider.js +2 -2
  177. package/dist/packages/slider/slider.js.map +1 -1
  178. package/dist/packages/stepper/stepper.css +1 -1
  179. package/dist/packages/stepper/stepper.js +2 -2
  180. package/dist/packages/stepper/stepper.js.map +1 -1
  181. package/dist/packages/steps/steps.css +1 -1
  182. package/dist/packages/steps/steps.js +2 -2
  183. package/dist/packages/steps/steps.js.map +1 -1
  184. package/dist/packages/subsidenavbar/subsidenavbar.css +1 -1
  185. package/dist/packages/subsidenavbar/subsidenavbar.js +1 -1
  186. package/dist/packages/swiper/swiper.css +1 -1
  187. package/dist/packages/swiper/swiper.js +2 -2
  188. package/dist/packages/swiper/swiper.js.map +1 -1
  189. package/dist/packages/switch/switch.css +1 -1
  190. package/dist/packages/switch/switch.js +2 -2
  191. package/dist/packages/switch/switch.js.map +1 -1
  192. package/dist/packages/tab/tab.css +1 -1
  193. package/dist/packages/tab/tab.js +2 -2
  194. package/dist/packages/tab/tab.js.map +1 -1
  195. package/dist/packages/tab/tab.vue +1 -0
  196. package/dist/packages/tabbar/tabbar.css +1 -1
  197. package/dist/packages/tabbar/tabbar.js +2 -2
  198. package/dist/packages/tabbar/tabbar.js.map +1 -1
  199. package/dist/packages/tabbar/tabbar.vue +1 -1
  200. package/dist/packages/tabpanel/tabpanel.css +1 -1
  201. package/dist/packages/tabpanel/tabpanel.js +2 -2
  202. package/dist/packages/tabpanel/tabpanel.js.map +1 -1
  203. package/dist/packages/tabselect/tabselect.css +1 -1
  204. package/dist/packages/tabselect/tabselect.js +2 -2
  205. package/dist/packages/tabselect/tabselect.js.map +1 -1
  206. package/dist/packages/textbox/textbox.css +1 -1
  207. package/dist/packages/textbox/textbox.js +2 -2
  208. package/dist/packages/textbox/textbox.js.map +1 -1
  209. package/dist/packages/textinput/textinput.css +1 -1
  210. package/dist/packages/textinput/textinput.js +2 -2
  211. package/dist/packages/textinput/textinput.js.map +1 -1
  212. package/dist/packages/timeline/timeline.css +1 -1
  213. package/dist/packages/timeline/timeline.js +2 -2
  214. package/dist/packages/timeline/timeline.js.map +1 -1
  215. package/dist/packages/timelineitem/timelineitem.css +1 -1
  216. package/dist/packages/timelineitem/timelineitem.js +2 -2
  217. package/dist/packages/timelineitem/timelineitem.js.map +1 -1
  218. package/dist/packages/toast/toast.css +1 -1
  219. package/dist/packages/toast/toast.js +2 -2
  220. package/dist/packages/toast/toast.js.map +1 -1
  221. package/dist/packages/uploader/uploader.css +1 -1
  222. package/dist/packages/uploader/uploader.js +2 -2
  223. package/dist/packages/uploader/uploader.js.map +1 -1
  224. package/dist/packages/video/video.css +1 -1
  225. package/dist/packages/video/video.js +2 -2
  226. package/dist/packages/video/video.js.map +1 -1
  227. package/dist/types/nutui.d.ts +1 -0
  228. package/package.json +1 -1
@@ -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/navbar/navbar.vue?d3be","webpack://[name]/./src/packages/navbar/navbar.vue?015f","webpack://[name]/src/packages/navbar/navbar.vue","webpack://[name]/./src/packages/navbar/navbar.vue","webpack://[name]/./src/packages/navbar/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","title","type","String","default","leftShow","Boolean","rightShow","data","methods","onClickBack","$router","back","window","history","_vm","_h","$createElement","_c","_self","staticClass","directives","rawName","expression","on","$event","$emit","_t","_v","_s","NavBar","install","Vue","component"],"mappings":";;;;;CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,SAAU,GAAIH,GACK,iBAAZC,QACdA,QAAgB,OAAID,IAEpBD,EAAa,OAAIC,IARnB,CASoB,oBAATK,KAAuBA,KAAOC,MAAO,WAChD,O,YCTE,IAAIC,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUR,QAGnC,IAAI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Q,OAAOV,EAAIW,MAAM,oBAAoB,CAACX,EAAIY,GAAG,aAAY,WAAW,MAAO,CAACT,EAAG,IAAI,CAACE,YAAY,mBAAkB,IAAI,OACzkC,IGUpB,EACA,KACA,KACA,M,cCXFU,EAAOC,QAAU,SAASC,GACxBA,EAAIC,UAAUH,EAAOtF,KAAMsF,IAGdA,a","file":"navbar/navbar.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(\"navbar\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"navbar\"] = factory();\n\telse\n\t\troot[\"navbar\"] = 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 = 173);\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 = typeof scriptExports === 'function'\n ? scriptExports.options\n : 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) { // 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\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"nut-navbar\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.leftShow),expression:\"leftShow\"}],staticClass:\"nav-left\"},[_c('div',{staticClass:\"back\",on:{\"click\":function($event){return _vm.$emit('on-click-back')}}},[_vm._t(\"back-icon\",function(){return [_c('i',{staticClass:\"back-icon\"})]})],2),_vm._v(\" \"),_vm._t(\"left\")],2),_vm._v(\" \"),_c('div',{staticClass:\"nav-center\"},[_c('h3',{staticClass:\"nav-title\",on:{\"click\":function($event){return _vm.$emit('on-click-title')}}},[_vm._t(\"default\",function(){return [_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.title),expression:\"title\"}]},[_vm._v(_vm._s(_vm.title))])]})],2)]),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.rightShow),expression:\"rightShow\"}],staticClass:\"nav-right\"},[_vm._t(\"right\"),_vm._v(\" \"),_c('div',{staticClass:\"more\",on:{\"click\":function($event){return _vm.$emit('on-click-more')}}},[_vm._t(\"more-icon\",function(){return [_c('i',{staticClass:\"more-icon\"})]})],2)],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./navbar.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!./navbar.vue?vue&type=script&lang=js&\"","<template>\n <div class=\"nut-navbar\">\n <div class=\"nav-left\" v-show=\"leftShow\">\n <div class=\"back\" @click=\"$emit('on-click-back')\">\n <slot name=\"back-icon\">\n <i class=\"back-icon\"></i>\n </slot>\n </div>\n <slot name=\"left\"></slot>\n </div>\n <div class=\"nav-center\">\n <h3 class=\"nav-title\" @click=\"$emit('on-click-title')\">\n <slot>\n <span v-show=\"title\">{{ title }}</span>\n </slot>\n </h3>\n </div>\n <div class=\"nav-right\" v-show=\"rightShow\">\n <slot name=\"right\"></slot>\n <div class=\"more\" @click=\"$emit('on-click-more')\">\n <slot name=\"more-icon\">\n <i class=\"more-icon\"></i>\n </slot>\n </div>\n </div>\n </div>\n</template>\n<script>\nexport default {\n name: 'nut-navbar',\n props: {\n title: {\n type: String,\n default: 'NavBar'\n },\n leftShow: {\n type: Boolean,\n default: true\n },\n rightShow: {\n type: Boolean,\n default: true\n }\n },\n data() {\n return {};\n },\n methods: {\n onClickBack() {\n // this.$emit('on-click-back');\n this.$router ? this.$router.back() : window.history.back();\n }\n }\n};\n</script>\n","import { render, staticRenderFns } from \"./navbar.vue?vue&type=template&id=43684a05&\"\nimport script from \"./navbar.vue?vue&type=script&lang=js&\"\nexport * from \"./navbar.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 NavBar from './navbar.vue';\nimport './navbar.scss';\n\nNavBar.install = function(Vue) {\n Vue.component(NavBar.name, NavBar);\n};\n\nexport default NavBar;\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/navbar/navbar.vue?d3be","webpack://[name]/./src/packages/navbar/navbar.vue?015f","webpack://[name]/src/packages/navbar/navbar.vue","webpack://[name]/./src/packages/navbar/navbar.vue","webpack://[name]/./src/packages/navbar/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","title","type","String","default","leftShow","Boolean","rightShow","data","methods","onClickBack","$router","back","window","history","_vm","_h","$createElement","_c","_self","staticClass","directives","rawName","expression","on","$event","$emit","_t","_v","_s","Nav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AAC7E,KAAK,OAAO8E,QAAQ,SAASpE,MAAO6D,EAAS,MAAEQ,WAAW,WAAW,CAACR,EAAIa,GAAGb,EAAIc,GAAGd,EAAId,eAAc,KAAKc,EAAIa,GAAG,KAAKV,EAAG,MAAM,CAACG,WAAW,CAAC,CAAC7E,KAAK,OAAO8E,QAAQ,SAASpE,MAAO6D,EAAa,UAAEQ,WAAW,cAAcH,YAAY,aAAa,CAACL,EAAIY,GAAG,SAASZ,EAAIa,GAAG,KAAKV,EAAG,MAAM,CAACE,YAAY,OAAOI,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOV,EAAIW,MAAM,oBAAoB,CAACX,EAAIY,GAAG,aAAY,WAAW,MAAO,CAACT,EAAG,IAAI,CAACE,YAAY,mBAAkB,IAAI,OACzkC,IGUpB,EACA,KACA,KACA,M,cCXFU,EAAOC,QAAU,SAASC,GACxBA,EAAIC,UAAUH,EAAOtF,KAAMsF,IAGdA,a","file":"navbar/navbar.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(\"navbar\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"navbar\"] = factory();\n\telse\n\t\troot[\"navbar\"] = 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 = 174);\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 = typeof scriptExports === 'function'\n ? scriptExports.options\n : 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) { // 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\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"nut-navbar\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.leftShow),expression:\"leftShow\"}],staticClass:\"nav-left\"},[_c('div',{staticClass:\"back\",on:{\"click\":function($event){return _vm.$emit('on-click-back')}}},[_vm._t(\"back-icon\",function(){return [_c('i',{staticClass:\"back-icon\"})]})],2),_vm._v(\" \"),_vm._t(\"left\")],2),_vm._v(\" \"),_c('div',{staticClass:\"nav-center\"},[_c('h3',{staticClass:\"nav-title\",on:{\"click\":function($event){return _vm.$emit('on-click-title')}}},[_vm._t(\"default\",function(){return [_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.title),expression:\"title\"}]},[_vm._v(_vm._s(_vm.title))])]})],2)]),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.rightShow),expression:\"rightShow\"}],staticClass:\"nav-right\"},[_vm._t(\"right\"),_vm._v(\" \"),_c('div',{staticClass:\"more\",on:{\"click\":function($event){return _vm.$emit('on-click-more')}}},[_vm._t(\"more-icon\",function(){return [_c('i',{staticClass:\"more-icon\"})]})],2)],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./navbar.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!./navbar.vue?vue&type=script&lang=js&\"","<template>\n <div class=\"nut-navbar\">\n <div class=\"nav-left\" v-show=\"leftShow\">\n <div class=\"back\" @click=\"$emit('on-click-back')\">\n <slot name=\"back-icon\">\n <i class=\"back-icon\"></i>\n </slot>\n </div>\n <slot name=\"left\"></slot>\n </div>\n <div class=\"nav-center\">\n <h3 class=\"nav-title\" @click=\"$emit('on-click-title')\">\n <slot>\n <span v-show=\"title\">{{ title }}</span>\n </slot>\n </h3>\n </div>\n <div class=\"nav-right\" v-show=\"rightShow\">\n <slot name=\"right\"></slot>\n <div class=\"more\" @click=\"$emit('on-click-more')\">\n <slot name=\"more-icon\">\n <i class=\"more-icon\"></i>\n </slot>\n </div>\n </div>\n </div>\n</template>\n<script>\nexport default {\n name: 'nut-navbar',\n props: {\n title: {\n type: String,\n default: 'NavBar'\n },\n leftShow: {\n type: Boolean,\n default: true\n },\n rightShow: {\n type: Boolean,\n default: true\n }\n },\n data() {\n return {};\n },\n methods: {\n onClickBack() {\n // this.$emit('on-click-back');\n this.$router ? this.$router.back() : window.history.back();\n }\n }\n};\n</script>\n","import { render, staticRenderFns } from \"./navbar.vue?vue&type=template&id=43684a05&\"\nimport script from \"./navbar.vue?vue&type=script&lang=js&\"\nexport * from \"./navbar.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 NavBar from './navbar.vue';\nimport './navbar.scss';\n\nNavBar.install = function(Vue) {\n Vue.component(NavBar.name, NavBar);\n};\n\nexport default NavBar;\n"],"sourceRoot":""}
@@ -0,0 +1,223 @@
1
+ .fade-x-leave-active {
2
+ transition: all 0.5s ease;
3
+ }
4
+ .fade-x-enter,
5
+ .fade-x-leave-to {
6
+ transform: translateX(100%);
7
+ }
8
+
9
+ .fade-x-enter-active {
10
+ animation: fade-in 0.6s;
11
+ -ms-animation: fade-in 0.6s;
12
+ -webkit-animation: fade-in 0.6s;
13
+ }
14
+
15
+ .bounce-enter-active {
16
+ animation: bounce-in 0.6s;
17
+ -ms-animation: bounce-in 0.6s;
18
+ -webkit-animation: bounce-in 0.6s;
19
+ }
20
+
21
+ .bounce-leave-active {
22
+ transition: all 0.25s ease;
23
+ }
24
+
25
+ .bounce-enter,
26
+ .bounce-leave-to {
27
+ transform: scale(0);
28
+ // opacity: 0;
29
+ }
30
+
31
+ @keyframes fade-in {
32
+ 0% {
33
+ transform: translateX(100%);
34
+ }
35
+
36
+ 60% {
37
+ transform: translateX(0);
38
+ }
39
+
40
+ 80% {
41
+ transform: translateX(80px);
42
+ }
43
+
44
+ 100% {
45
+ transform: translateX(0);
46
+ }
47
+ }
48
+
49
+ @keyframes bounce-in {
50
+ 0% {
51
+ transform: scale(0);
52
+ }
53
+
54
+ 50% {
55
+ transform: scale(1.2);
56
+ }
57
+
58
+ 100% {
59
+ transform: scale(1);
60
+ }
61
+ }
62
+
63
+ @keyframes shake-rotate {
64
+ 0% {
65
+ transform: translate(0px, 0px) rotate(0deg);
66
+ }
67
+ 2% {
68
+ transform: translate(0px, 0px) rotate(1.5deg);
69
+ }
70
+ 4% {
71
+ transform: translate(0px, 0px) rotate(-7.5deg);
72
+ }
73
+ 6% {
74
+ transform: translate(0px, 0px) rotate(-2.5deg);
75
+ }
76
+ 8% {
77
+ transform: translate(0px, 0px) rotate(6.5deg);
78
+ }
79
+ 10% {
80
+ transform: translate(0px, 0px) rotate(-4.5deg);
81
+ }
82
+ 12% {
83
+ transform: translate(0px, 0px) rotate(0.5deg);
84
+ }
85
+ 14% {
86
+ transform: translate(0px, 0px) rotate(-6.5deg);
87
+ }
88
+ 16% {
89
+ transform: translate(0px, 0px) rotate(1.5deg);
90
+ }
91
+ 18% {
92
+ transform: translate(0px, 0px) rotate(-2.5deg);
93
+ }
94
+ 20% {
95
+ transform: translate(0px, 0px) rotate(1.5deg);
96
+ }
97
+ 22% {
98
+ transform: translate(0px, 0px) rotate(1.5deg);
99
+ }
100
+ 24% {
101
+ transform: translate(0px, 0px) rotate(2.5deg);
102
+ }
103
+ 26% {
104
+ transform: translate(0px, 0px) rotate(6.5deg);
105
+ }
106
+ 28% {
107
+ transform: translate(0px, 0px) rotate(2.5deg);
108
+ }
109
+ 30% {
110
+ transform: translate(0px, 0px) rotate(1.5deg);
111
+ }
112
+ 32% {
113
+ transform: translate(0px, 0px) rotate(-4.5deg);
114
+ }
115
+ 34% {
116
+ transform: translate(0px, 0px) rotate(-3.5deg);
117
+ }
118
+ 36% {
119
+ transform: translate(0px, 0px) rotate(-0.5deg);
120
+ }
121
+ 38% {
122
+ transform: translate(0px, 0px) rotate(4.5deg);
123
+ }
124
+ 40% {
125
+ transform: translate(0px, 0px) rotate(4.5deg);
126
+ }
127
+ 42% {
128
+ transform: translate(0px, 0px) rotate(-0.5deg);
129
+ }
130
+ 44% {
131
+ transform: translate(0px, 0px) rotate(1.5deg);
132
+ }
133
+ 46% {
134
+ transform: translate(0px, 0px) rotate(-0.5deg);
135
+ }
136
+ 48% {
137
+ transform: translate(0px, 0px) rotate(-7.5deg);
138
+ }
139
+ 50% {
140
+ transform: translate(0px, 0px) rotate(3.5deg);
141
+ }
142
+ 52% {
143
+ transform: translate(0px, 0px) rotate(-5.5deg);
144
+ }
145
+ 54% {
146
+ transform: translate(0px, 0px) rotate(-6.5deg);
147
+ }
148
+ 56% {
149
+ transform: translate(0px, 0px) rotate(-0.5deg);
150
+ }
151
+ 58% {
152
+ transform: translate(0px, 0px) rotate(3.5deg);
153
+ }
154
+ 60% {
155
+ transform: translate(0px, 0px) rotate(-2.5deg);
156
+ }
157
+ 62% {
158
+ transform: translate(0px, 0px) rotate(3.5deg);
159
+ }
160
+ 64% {
161
+ transform: translate(0px, 0px) rotate(6.5deg);
162
+ }
163
+ 66% {
164
+ transform: translate(0px, 0px) rotate(-6.5deg);
165
+ }
166
+ 68% {
167
+ transform: translate(0px, 0px) rotate(-2.5deg);
168
+ }
169
+ 70% {
170
+ transform: translate(0px, 0px) rotate(-3.5deg);
171
+ }
172
+ 72% {
173
+ transform: translate(0px, 0px) rotate(-6.5deg);
174
+ }
175
+ 74% {
176
+ transform: translate(0px, 0px) rotate(-5.5deg);
177
+ }
178
+ 76% {
179
+ transform: translate(0px, 0px) rotate(1.5deg);
180
+ }
181
+ 78% {
182
+ transform: translate(0px, 0px) rotate(-1.5deg);
183
+ }
184
+ 80% {
185
+ transform: translate(0px, 0px) rotate(3.5deg);
186
+ }
187
+ 82% {
188
+ transform: translate(0px, 0px) rotate(1.5deg);
189
+ }
190
+ 84% {
191
+ transform: translate(0px, 0px) rotate(-7.5deg);
192
+ }
193
+ 86% {
194
+ transform: translate(0px, 0px) rotate(-0.5deg);
195
+ }
196
+ 88% {
197
+ transform: translate(0px, 0px) rotate(0.5deg);
198
+ }
199
+ 90% {
200
+ transform: translate(0px, 0px) rotate(-3.5deg);
201
+ }
202
+ 92% {
203
+ transform: translate(0px, 0px) rotate(-4.5deg);
204
+ }
205
+ 94% {
206
+ transform: translate(0px, 0px) rotate(2.5deg);
207
+ }
208
+ 96% {
209
+ transform: translate(0px, 0px) rotate(2.5deg);
210
+ }
211
+ 98% {
212
+ transform: translate(0px, 0px) rotate(-2.5deg);
213
+ }
214
+ }
215
+
216
+ @keyframes box-rotate {
217
+ 0% {
218
+ transform: translate(0px, 0px) rotate(0deg);
219
+ }
220
+ 100% {
221
+ transform: translate(0px, 0px) rotate(360deg);
222
+ }
223
+ }
@@ -0,0 +1,8 @@
1
+ import NineGrid from './ninegrid.vue';
2
+ import './ninegrid.scss';
3
+
4
+ NineGrid.install = function(Vue) {
5
+ Vue.component(NineGrid.name, NineGrid);
6
+ };
7
+
8
+ export default NineGrid;
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * @nutui/nutui v2.3.7 - ninegrid.css, 78f455d4cba8a497b5f5, Wed Dec 22 2021 20:57:26 GMT+0800 (中国标准时间)
3
+ * (c) 2017-2020 JDC
4
+ * Released under the MIT License.
5
+ */.fade-x-leave-active{-webkit-transition:all .5s ease;-o-transition:all .5s ease;transition:all .5s ease}.fade-x-enter,.fade-x-leave-to{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%)}.fade-x-enter-active{animation:fade-in .6s;-ms-animation:fade-in .6s;-webkit-animation:fade-in .6s}.bounce-enter-active{animation:bounce-in .6s;-ms-animation:bounce-in .6s;-webkit-animation:bounce-in .6s}.bounce-leave-active{-webkit-transition:all .25s ease;-o-transition:all .25s ease;transition:all .25s ease}.bounce-enter,.bounce-leave-to{-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}@-webkit-keyframes fade-in{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}60%{-webkit-transform:translateX(0);transform:translateX(0)}80%{-webkit-transform:translateX(80px);transform:translateX(80px)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fade-in{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}60%{-webkit-transform:translateX(0);transform:translateX(0)}80%{-webkit-transform:translateX(80px);transform:translateX(80px)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes bounce-in{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes bounce-in{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}to{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes shake-rotate{0%{-webkit-transform:translate(0) rotate(0deg);transform:translate(0) rotate(0deg)}2%{-webkit-transform:translate(0) rotate(1.5deg);transform:translate(0) rotate(1.5deg)}4%{-webkit-transform:translate(0) rotate(-7.5deg);transform:translate(0) rotate(-7.5deg)}6%{-webkit-transform:translate(0) rotate(-2.5deg);transform:translate(0) rotate(-2.5deg)}8%{-webkit-transform:translate(0) rotate(6.5deg);transform:translate(0) rotate(6.5deg)}10%{-webkit-transform:translate(0) rotate(-4.5deg);transform:translate(0) rotate(-4.5deg)}12%{-webkit-transform:translate(0) rotate(.5deg);transform:translate(0) rotate(.5deg)}14%{-webkit-transform:translate(0) rotate(-6.5deg);transform:translate(0) rotate(-6.5deg)}16%{-webkit-transform:translate(0) rotate(1.5deg);transform:translate(0) rotate(1.5deg)}18%{-webkit-transform:translate(0) rotate(-2.5deg);transform:translate(0) rotate(-2.5deg)}20%{-webkit-transform:translate(0) rotate(1.5deg);transform:translate(0) rotate(1.5deg)}22%{-webkit-transform:translate(0) rotate(1.5deg);transform:translate(0) rotate(1.5deg)}24%{-webkit-transform:translate(0) rotate(2.5deg);transform:translate(0) rotate(2.5deg)}26%{-webkit-transform:translate(0) rotate(6.5deg);transform:translate(0) rotate(6.5deg)}28%{-webkit-transform:translate(0) rotate(2.5deg);transform:translate(0) rotate(2.5deg)}30%{-webkit-transform:translate(0) rotate(1.5deg);transform:translate(0) rotate(1.5deg)}32%{-webkit-transform:translate(0) rotate(-4.5deg);transform:translate(0) rotate(-4.5deg)}34%{-webkit-transform:translate(0) rotate(-3.5deg);transform:translate(0) rotate(-3.5deg)}36%{-webkit-transform:translate(0) rotate(-.5deg);transform:translate(0) rotate(-.5deg)}38%{-webkit-transform:translate(0) rotate(4.5deg);transform:translate(0) rotate(4.5deg)}40%{-webkit-transform:translate(0) rotate(4.5deg);transform:translate(0) rotate(4.5deg)}42%{-webkit-transform:translate(0) rotate(-.5deg);transform:translate(0) rotate(-.5deg)}44%{-webkit-transform:translate(0) rotate(1.5deg);transform:translate(0) rotate(1.5deg)}46%{-webkit-transform:translate(0) rotate(-.5deg);transform:translate(0) rotate(-.5deg)}48%{-webkit-transform:translate(0) rotate(-7.5deg);transform:translate(0) rotate(-7.5deg)}50%{-webkit-transform:translate(0) rotate(3.5deg);transform:translate(0) rotate(3.5deg)}52%{-webkit-transform:translate(0) rotate(-5.5deg);transform:translate(0) rotate(-5.5deg)}54%{-webkit-transform:translate(0) rotate(-6.5deg);transform:translate(0) rotate(-6.5deg)}56%{-webkit-transform:translate(0) rotate(-.5deg);transform:translate(0) rotate(-.5deg)}58%{-webkit-transform:translate(0) rotate(3.5deg);transform:translate(0) rotate(3.5deg)}60%{-webkit-transform:translate(0) rotate(-2.5deg);transform:translate(0) rotate(-2.5deg)}62%{-webkit-transform:translate(0) rotate(3.5deg);transform:translate(0) rotate(3.5deg)}64%{-webkit-transform:translate(0) rotate(6.5deg);transform:translate(0) rotate(6.5deg)}66%{-webkit-transform:translate(0) rotate(-6.5deg);transform:translate(0) rotate(-6.5deg)}68%{-webkit-transform:translate(0) rotate(-2.5deg);transform:translate(0) rotate(-2.5deg)}70%{-webkit-transform:translate(0) rotate(-3.5deg);transform:translate(0) rotate(-3.5deg)}72%{-webkit-transform:translate(0) rotate(-6.5deg);transform:translate(0) rotate(-6.5deg)}74%{-webkit-transform:translate(0) rotate(-5.5deg);transform:translate(0) rotate(-5.5deg)}76%{-webkit-transform:translate(0) rotate(1.5deg);transform:translate(0) rotate(1.5deg)}78%{-webkit-transform:translate(0) rotate(-1.5deg);transform:translate(0) rotate(-1.5deg)}80%{-webkit-transform:translate(0) rotate(3.5deg);transform:translate(0) rotate(3.5deg)}82%{-webkit-transform:translate(0) rotate(1.5deg);transform:translate(0) rotate(1.5deg)}84%{-webkit-transform:translate(0) rotate(-7.5deg);transform:translate(0) rotate(-7.5deg)}86%{-webkit-transform:translate(0) rotate(-.5deg);transform:translate(0) rotate(-.5deg)}88%{-webkit-transform:translate(0) rotate(.5deg);transform:translate(0) rotate(.5deg)}90%{-webkit-transform:translate(0) rotate(-3.5deg);transform:translate(0) rotate(-3.5deg)}92%{-webkit-transform:translate(0) rotate(-4.5deg);transform:translate(0) rotate(-4.5deg)}94%{-webkit-transform:translate(0) rotate(2.5deg);transform:translate(0) rotate(2.5deg)}96%{-webkit-transform:translate(0) rotate(2.5deg);transform:translate(0) rotate(2.5deg)}98%{-webkit-transform:translate(0) rotate(-2.5deg);transform:translate(0) rotate(-2.5deg)}}@keyframes shake-rotate{0%{-webkit-transform:translate(0) rotate(0deg);transform:translate(0) rotate(0deg)}2%{-webkit-transform:translate(0) rotate(1.5deg);transform:translate(0) rotate(1.5deg)}4%{-webkit-transform:translate(0) rotate(-7.5deg);transform:translate(0) rotate(-7.5deg)}6%{-webkit-transform:translate(0) rotate(-2.5deg);transform:translate(0) rotate(-2.5deg)}8%{-webkit-transform:translate(0) rotate(6.5deg);transform:translate(0) rotate(6.5deg)}10%{-webkit-transform:translate(0) rotate(-4.5deg);transform:translate(0) rotate(-4.5deg)}12%{-webkit-transform:translate(0) rotate(.5deg);transform:translate(0) rotate(.5deg)}14%{-webkit-transform:translate(0) rotate(-6.5deg);transform:translate(0) rotate(-6.5deg)}16%{-webkit-transform:translate(0) rotate(1.5deg);transform:translate(0) rotate(1.5deg)}18%{-webkit-transform:translate(0) rotate(-2.5deg);transform:translate(0) rotate(-2.5deg)}20%{-webkit-transform:translate(0) rotate(1.5deg);transform:translate(0) rotate(1.5deg)}22%{-webkit-transform:translate(0) rotate(1.5deg);transform:translate(0) rotate(1.5deg)}24%{-webkit-transform:translate(0) rotate(2.5deg);transform:translate(0) rotate(2.5deg)}26%{-webkit-transform:translate(0) rotate(6.5deg);transform:translate(0) rotate(6.5deg)}28%{-webkit-transform:translate(0) rotate(2.5deg);transform:translate(0) rotate(2.5deg)}30%{-webkit-transform:translate(0) rotate(1.5deg);transform:translate(0) rotate(1.5deg)}32%{-webkit-transform:translate(0) rotate(-4.5deg);transform:translate(0) rotate(-4.5deg)}34%{-webkit-transform:translate(0) rotate(-3.5deg);transform:translate(0) rotate(-3.5deg)}36%{-webkit-transform:translate(0) rotate(-.5deg);transform:translate(0) rotate(-.5deg)}38%{-webkit-transform:translate(0) rotate(4.5deg);transform:translate(0) rotate(4.5deg)}40%{-webkit-transform:translate(0) rotate(4.5deg);transform:translate(0) rotate(4.5deg)}42%{-webkit-transform:translate(0) rotate(-.5deg);transform:translate(0) rotate(-.5deg)}44%{-webkit-transform:translate(0) rotate(1.5deg);transform:translate(0) rotate(1.5deg)}46%{-webkit-transform:translate(0) rotate(-.5deg);transform:translate(0) rotate(-.5deg)}48%{-webkit-transform:translate(0) rotate(-7.5deg);transform:translate(0) rotate(-7.5deg)}50%{-webkit-transform:translate(0) rotate(3.5deg);transform:translate(0) rotate(3.5deg)}52%{-webkit-transform:translate(0) rotate(-5.5deg);transform:translate(0) rotate(-5.5deg)}54%{-webkit-transform:translate(0) rotate(-6.5deg);transform:translate(0) rotate(-6.5deg)}56%{-webkit-transform:translate(0) rotate(-.5deg);transform:translate(0) rotate(-.5deg)}58%{-webkit-transform:translate(0) rotate(3.5deg);transform:translate(0) rotate(3.5deg)}60%{-webkit-transform:translate(0) rotate(-2.5deg);transform:translate(0) rotate(-2.5deg)}62%{-webkit-transform:translate(0) rotate(3.5deg);transform:translate(0) rotate(3.5deg)}64%{-webkit-transform:translate(0) rotate(6.5deg);transform:translate(0) rotate(6.5deg)}66%{-webkit-transform:translate(0) rotate(-6.5deg);transform:translate(0) rotate(-6.5deg)}68%{-webkit-transform:translate(0) rotate(-2.5deg);transform:translate(0) rotate(-2.5deg)}70%{-webkit-transform:translate(0) rotate(-3.5deg);transform:translate(0) rotate(-3.5deg)}72%{-webkit-transform:translate(0) rotate(-6.5deg);transform:translate(0) rotate(-6.5deg)}74%{-webkit-transform:translate(0) rotate(-5.5deg);transform:translate(0) rotate(-5.5deg)}76%{-webkit-transform:translate(0) rotate(1.5deg);transform:translate(0) rotate(1.5deg)}78%{-webkit-transform:translate(0) rotate(-1.5deg);transform:translate(0) rotate(-1.5deg)}80%{-webkit-transform:translate(0) rotate(3.5deg);transform:translate(0) rotate(3.5deg)}82%{-webkit-transform:translate(0) rotate(1.5deg);transform:translate(0) rotate(1.5deg)}84%{-webkit-transform:translate(0) rotate(-7.5deg);transform:translate(0) rotate(-7.5deg)}86%{-webkit-transform:translate(0) rotate(-.5deg);transform:translate(0) rotate(-.5deg)}88%{-webkit-transform:translate(0) rotate(.5deg);transform:translate(0) rotate(.5deg)}90%{-webkit-transform:translate(0) rotate(-3.5deg);transform:translate(0) rotate(-3.5deg)}92%{-webkit-transform:translate(0) rotate(-4.5deg);transform:translate(0) rotate(-4.5deg)}94%{-webkit-transform:translate(0) rotate(2.5deg);transform:translate(0) rotate(2.5deg)}96%{-webkit-transform:translate(0) rotate(2.5deg);transform:translate(0) rotate(2.5deg)}98%{-webkit-transform:translate(0) rotate(-2.5deg);transform:translate(0) rotate(-2.5deg)}}@-webkit-keyframes box-rotate{0%{-webkit-transform:translate(0) rotate(0deg);transform:translate(0) rotate(0deg)}to{-webkit-transform:translate(0) rotate(1turn);transform:translate(0) rotate(1turn)}}@keyframes box-rotate{0%{-webkit-transform:translate(0) rotate(0deg);transform:translate(0) rotate(0deg)}to{-webkit-transform:translate(0) rotate(1turn);transform:translate(0) rotate(1turn)}}.nut-ninegrid{height:357px;width:357px;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;background-image:url(//img10.360buyimg.com/imagetools/jfs/t1/182262/4/21143/406696/6126fceeEccce5223/61a6b338777fd857.png);background-size:100% 100%;overflow:auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:12px;-webkit-perspective:1000;perspective:1000}.nut-ninegrid .item{position:relative;width:107px;height:107px}.nut-ninegrid .item .back,.nut-ninegrid .item .front{position:absolute;top:0;left:0;right:0;bottom:0;-webkit-border-radius:8px;border-radius:8px;padding:9px 8px 0;overflow:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden;background-image:-webkit-gradient(linear,left top,left bottom,from(#ffefd1),to(#ffc8a4));background-image:-o-linear-gradient(#ffefd1,#ffc8a4);background-image:linear-gradient(#ffefd1,#ffc8a4);-webkit-transition:1s;-o-transition:1s;transition:1s;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.nut-ninegrid .item .back>p,.nut-ninegrid .item .front>p{width:100%;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;font-family:PingFangSC-Medium;text-align:center;font-size:13px;height:15px;margin-bottom:3px;color:#2e2d2d;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.nut-ninegrid .item .back .nut-price,.nut-ninegrid .item .front .nut-price{height:40px}.nut-ninegrid .item .back .nut-price>span,.nut-ninegrid .item .front .nut-price>span{font-family:PingFangSC-Medium;font-size:10px!important;color:#f91232!important}.nut-ninegrid .item .back .nut-price>span.price-big,.nut-ninegrid .item .front .nut-price>span.price-big{font-size:16px!important}.nut-ninegrid .item .back>img,.nut-ninegrid .item .front>img{width:71px;height:71px;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.nut-ninegrid .item .front{z-index:2;-webkit-transform:rotateY(0deg);transform:rotateY(0deg)}.nut-ninegrid .item .back{-webkit-transform:rotateY(-180deg);transform:rotateY(-180deg)}.nut-ninegrid .item.d{-webkit-transform:rotate(3deg);-ms-transform:rotate(3deg);transform:rotate(3deg)}.nut-ninegrid .item.active .front{-webkit-transform:rotateY(180deg);transform:rotateY(180deg)}.nut-ninegrid .item.active .back{-webkit-transform:rotateY(0deg);transform:rotateY(0deg)}.nut-ninegrid .item.shake{-webkit-animation:shake-rotate .5s 1;animation:shake-rotate .5s 1}.nut-ninegrid .item .center{-webkit-border-radius:8px;border-radius:8px;overflow:hidden;background-image:-webkit-gradient(linear,left top,left bottom,from(#ff733e),to(#ff4e57));background-image:-o-linear-gradient(#ff733e,#ff4e57);background-image:linear-gradient(#ff733e,#ff4e57);border:1px solid #ffa07c;width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.nut-ninegrid .item .center>img{width:15px;height:16px}.nut-ninegrid .item .center>img.rotate{-webkit-animation-name:box-rotate;animation-name:box-rotate;-webkit-animation-duration:1s;animation-duration:1s}.nut-ninegrid .item .center>span{font-family:PingFangSC-Medium;font-size:16px;color:#ffd4a7}.nut-ninegrid .item .center>p{font-family:PingFangSC-Medium;font-size:12px;color:#ffd4a7}
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * @nutui/nutui v2.3.7 - ninegrid.js, 78f455d4cba8a497b5f5, Wed Dec 22 2021 20:57:26 GMT+0800 (中国标准时间)
3
+ * (c) 2017-2020 JDC
4
+ * Released under the MIT License.
5
+ */
6
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("ninegrid",[],e):"object"==typeof exports?exports.ninegrid=e():t.ninegrid=e()}("undefined"!=typeof self?self:this,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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=212)}({0:function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,a){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),s?(c=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(s)},u._ssrRegister=c):i&&(c=a?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var f=u.render;u.render=function(t,e){return c.call(e),f(t,e)}}else{var l=u.beforeCreate;u.beforeCreate=l?[].concat(l,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},155:function(t,e,n){},212:function(t,e,n){"use strict";n.r(e);var r={name:"nut-ninegrid",props:{data:{type:[Object,Array],default:function(){return[]}}},data:function(){return{gridList:[],activeState:!1,shakeIndexs:[],loadingDataState:!1,countDown:10,number:0}},watch:{data:{handler:function(t){t&&this.resResponse(t)}}},methods:{resResponse:function(t){if(t.length>15){var e=t,n=this.spArray(8,e),r=n[0],i=n[1],o=[];r.forEach((function(t,e){o.push({front:t,back:i[e]})})),o.splice(4,0,{}),this.gridList=o}},beginTimeIntervar:function(){var t=this;this.timeIntervar=setInterval((function(){t.countDown--,0==t.countDown&&t.refresh(),7==t.countDown?t.shakeIndexs=[2,4,6,8]:3==t.countDown&&(t.shakeIndexs=[1,3,7,9])}),1e3)},refresh:function(){var t=this;this.loadingDataState||(this.number+=1,this.countDown=10,this.shakeIndexs=[],this.activeState=!this.activeState,this.number%2==0?(console.log(123),this.$emit("refresh")):(this.loadingDataState=!0,setTimeout((function(){t.loadingDataState=!1}),1e3)))},toDetail:function(t){this.$emit("toDetail",t)},spArray:function(t,e){var n,r=[];for(n=0;n<e.length;)r.push(e.slice(n,n+=t));return r}},mounted:function(){this.resResponse(this.data),this.beginTimeIntervar()}},i=n(0),o=Object(i.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"nut-ninegrid"},t._l(t.gridList,(function(e,r){return n("div",{key:r,staticClass:"item",class:[{active:t.activeState&&4!=r},{shake:t.shakeIndexs.includes(r+1)}]},[4==r?n("div",{staticClass:"center",on:{click:function(e){return t.refresh(!0)}}},[n("img",{class:{rotate:t.loadingDataState},attrs:{src:"//img13.360buyimg.com/imagetools/jfs/t1/190805/24/20092/1136/6126fce9E6c61cf21/acd44eec9fc694bd.png",alt:"refresh.png"}}),t._v(" "),n("span",[t._v("换一换")]),t._v(" "),n("p",[t._v(t._s(t.countDown)+"S 后自动换")])]):[n("div",{staticClass:"front",on:{click:function(n){return t.toDetail(e.front)}}},[n("p",[t._v(t._s(e.front.name))]),t._v(" "),n("nut-price",{staticClass:"price",attrs:{price:e.front.price,thousands:!0}}),t._v(" "),n("img",{attrs:{src:e.front.pictureUrl}})],1),t._v(" "),n("div",{staticClass:"back",on:{click:function(n){return t.toDetail(e.back)}}},[n("p",[t._v(t._s(e.back.name))]),t._v(" "),n("nut-price",{staticClass:"price",attrs:{price:e.back.price,thousands:!0}}),t._v(" "),n("img",{attrs:{src:e.back.pictureUrl}})],1)]],2)})),0)}),[],!1,null,null,null).exports;n(155);o.install=function(t){t.component(o.name,o)};e.default=o}})}));
7
+ //# sourceMappingURL=ninegrid.js.map
@@ -0,0 +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/ninegrid/ninegrid.vue?b99e","webpack://[name]/./src/packages/ninegrid/ninegrid.vue?6e15","webpack://[name]/src/packages/ninegrid/ninegrid.vue","webpack://[name]/./src/packages/ninegrid/ninegrid.vue","webpack://[name]/./src/packages/ninegrid/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","data","type","Array","default","gridList","activeState","shakeIndexs","loadingDataState","countDown","number","watch","handler","resResponse","methods","sudoku_goodsG","length","front","forEach","filterData","push","element","back","index","splice","beginTimeIntervar","timeIntervar","setInterval","refresh","console","log","$emit","setTimeout","toDetail","item","spArray","F","Q","R","slice","mounted","_vm","_h","$createElement","_c","_self","staticClass","_l","class","active","shake","includes","on","$event","rotate","attrs","_v","_s","price","pictureUrl","NineGrid","install","Vue","component"],"mappings":";;;;;CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,WAAY,GAAIH,GACG,iBAAZC,QACdA,QAAkB,SAAID,IAEtBD,EAAe,SAAIC,IARrB,CASoB,oBAATK,KAAuBA,KAAOC,MAAO,WAChD,O,YCTE,IAAIC,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUR,QAGnC,IAAIC,EAASK,EAAiBE,GAAY,CACzCC,EAAGD,EACHE,GAAG,EACHV,QAAS,IAUV,OANAW,EAAQH,GAAUI,KAAKX,EAAOD,QAASC,EAAQA,EAAOD,QAASO,GAG/DN,EAAOS,GAAI,EAGJT,EAAOD,QA0Df,OArDAO,EAAoBM,EAAIF,EAGxBJ,EAAoBO,EAAIR,EAGxBC,EAAoBQ,EAAI,SAASf,EAASgB,EAAMC,GAC3CV,EAAoBW,EAAElB,EAASgB,IAClCG,OAAOC,eAAepB,EAASgB,EAAM,CAAEK,YAAY,EA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AEM,OAAQb,EAAIjC,kBAAmB+C,MAAM,CAAC,IAAM,sGAAsG,IAAM,iBAAiBd,EAAIe,GAAG,KAAKZ,EAAG,OAAO,CAACH,EAAIe,GAAG,SAASf,EAAIe,GAAG,KAAKZ,EAAG,IAAI,CAACH,EAAIe,GAAGf,EAAIgB,GAAGhB,EAAIhC,WAAW,cAAc,CAACmC,EAAG,MAAM,CAACE,YAAY,QAAQM,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOZ,EAAIR,SAASC,EAAKjB,UAAU,CAAC2B,EAAG,IAAI,CAACH,EAAIe,GAAGf,EAAIgB,GAAGvB,EAAKjB,MAAMzE,SAASiG,EAAIe,GAAG,KAAKZ,EAAG,YAAY,CAACE,YAAY,QAAQS,MAAM,CAAC,MAAQrB,EAAKjB,MAAMyC,MAAM,WAAY,KAAQjB,EAAIe,GAAG,KAAKZ,EAAG,MAAM,CAACW,MAAM,CAAC,IAAMrB,EAAKjB,MAAM0C,eAAe,GAAGlB,EAAIe,GAAG,KAAKZ,EAAG,MAAM,CAACE,YAAY,OAAOM,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOZ,EAAIR,SAASC,EAAKZ,SAAS,CAACsB,EAAG,IAAI,CAACH,EAAIe,GAAGf,EAAIgB,GAAGvB,EAAKZ,KAAK9E,SAASiG,EAAIe,GAAG,KAAKZ,EAAG,YAAY,CAACE,YAAY,QAAQS,MAAM,CAAC,MAAQrB,EAAKZ,KAAKoC,MAAM,WAAY,KAAQjB,EAAIe,GAAG,KAAKZ,EAAG,MAAM,CAACW,MAAM,CAAC,IAAMrB,EAAKZ,KAAKqC,eAAe,KAAK,MAAK,KAC7xC,IGUpB,EACA,KACA,KACA,M,eCXFC,EAASC,QAAU,SAASC,GAC1BA,EAAIC,UAAUH,EAASpH,KAAMoH,IAGhBA","file":"ninegrid/ninegrid.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(\"ninegrid\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ninegrid\"] = factory();\n\telse\n\t\troot[\"ninegrid\"] = 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 = 212);\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 = typeof scriptExports === 'function'\n ? scriptExports.options\n : 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) { // 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\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"nut-ninegrid\"},_vm._l((_vm.gridList),function(item,index){return _c('div',{key:index,staticClass:\"item\",class:[{ active: _vm.activeState && index != 4 }, { shake: _vm.shakeIndexs.includes(index + 1) }]},[(index == 4)?_c('div',{staticClass:\"center\",on:{\"click\":function($event){return _vm.refresh(true)}}},[_c('img',{class:{ rotate: _vm.loadingDataState },attrs:{\"src\":\"//img13.360buyimg.com/imagetools/jfs/t1/190805/24/20092/1136/6126fce9E6c61cf21/acd44eec9fc694bd.png\",\"alt\":\"refresh.png\"}}),_vm._v(\" \"),_c('span',[_vm._v(\"换一换\")]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.countDown)+\"S 后自动换\")])]):[_c('div',{staticClass:\"front\",on:{\"click\":function($event){return _vm.toDetail(item.front)}}},[_c('p',[_vm._v(_vm._s(item.front.name))]),_vm._v(\" \"),_c('nut-price',{staticClass:\"price\",attrs:{\"price\":item.front.price,\"thousands\":true}}),_vm._v(\" \"),_c('img',{attrs:{\"src\":item.front.pictureUrl}})],1),_vm._v(\" \"),_c('div',{staticClass:\"back\",on:{\"click\":function($event){return _vm.toDetail(item.back)}}},[_c('p',[_vm._v(_vm._s(item.back.name))]),_vm._v(\" \"),_c('nut-price',{staticClass:\"price\",attrs:{\"price\":item.back.price,\"thousands\":true}}),_vm._v(\" \"),_c('img',{attrs:{\"src\":item.back.pictureUrl}})],1)]],2)}),0)}\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!./ninegrid.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!./ninegrid.vue?vue&type=script&lang=js&\"","<template>\n <div class=\"nut-ninegrid\">\n <div\n v-for=\"(item, index) in gridList\"\n class=\"item\"\n :class=\"[{ active: activeState && index != 4 }, { shake: shakeIndexs.includes(index + 1) }]\"\n :key=\"index\"\n >\n <div v-if=\"index == 4\" class=\"center\" @click=\"refresh(true)\">\n <img\n :class=\"{ rotate: loadingDataState }\"\n src=\"//img13.360buyimg.com/imagetools/jfs/t1/190805/24/20092/1136/6126fce9E6c61cf21/acd44eec9fc694bd.png\"\n alt=\"refresh.png\"\n />\n <span>换一换</span>\n <p>{{ countDown }}S&nbsp;后自动换</p>\n </div>\n <template v-else>\n <div class=\"front\" @click=\"toDetail(item.front)\">\n <p>{{ item.front.name }}</p>\n <nut-price class=\"price\" :price=\"item.front.price\" :thousands=\"true\" />\n <img :src=\"item.front.pictureUrl\" />\n </div>\n <div class=\"back\" @click=\"toDetail(item.back)\">\n <p>{{ item.back.name }}</p>\n <nut-price class=\"price\" :price=\"item.back.price\" :thousands=\"true\" />\n <img :src=\"item.back.pictureUrl\" />\n </div>\n </template>\n </div>\n </div>\n</template>\n<script>\nexport default {\n name: 'nut-ninegrid',\n props: {\n data: {\n type: [Object, Array],\n default: () => {\n return [];\n }\n }\n },\n data() {\n return {\n gridList: [], // 数据list\n activeState: false, // 去掉中间的换一换方块\n shakeIndexs: [], // 动画抖一抖的下标\n loadingDataState: false, // 换一换的小图标是否旋转 并且等它旋转完才可以再次点击\n countDown: 10, // 倒计时时间\n number: 0\n };\n },\n watch: {\n data: {\n handler(value) {\n if (value) {\n this.resResponse(value);\n }\n }\n }\n },\n methods: {\n resResponse(sudoku_goodsG) {\n if (!(sudoku_goodsG.length > 15)) {\n return;\n }\n let list = sudoku_goodsG;\n let spArrs = this.spArray(8, list);\n let front = spArrs[0];\n let back = spArrs[1];\n let filterData = [];\n front.forEach((element, index) => {\n filterData.push({\n front: element,\n back: back[index]\n });\n });\n filterData.splice(4, 0, {});\n this.gridList = filterData;\n },\n beginTimeIntervar() {\n this.timeIntervar = setInterval(() => {\n this.countDown--;\n if (this.countDown == 0) {\n this.refresh();\n }\n if (this.countDown == 7) {\n this.shakeIndexs = [2, 4, 6, 8];\n } else if (this.countDown == 3) {\n this.shakeIndexs = [1, 3, 7, 9];\n }\n }, 1000);\n },\n refresh(manual = false) {\n if (this.loadingDataState) return;\n this.number += 1;\n this.countDown = 10;\n this.shakeIndexs = [];\n this.activeState = !this.activeState;\n\n // 检查点击次数\n if (this.number % 2 === 0) {\n console.log(123);\n this.$emit('refresh');\n } else {\n this.loadingDataState = true;\n setTimeout(() => {\n this.loadingDataState = false;\n }, 1000);\n }\n },\n /**\n * 跳转详情\n * @param item skuItem\n */\n toDetail(item) {\n // 跳转商详\n this.$emit('toDetail', item);\n },\n /**\n *\n * 数组拆分函数\n * @static\n * @param {number} N 拆分长度\n * @param {any[]} Q 将要拆分的数组\n * @returns {Array}\n * @memberof Utils\n */\n spArray(N, Q) {\n let R = [],\n F;\n for (F = 0; F < Q.length; ) {\n R.push(Q.slice(F, (F += N)));\n }\n return R;\n }\n },\n mounted() {\n this.resResponse(this.data);\n this.beginTimeIntervar();\n }\n};\n</script>\n","import { render, staticRenderFns } from \"./ninegrid.vue?vue&type=template&id=3daa6113&\"\nimport script from \"./ninegrid.vue?vue&type=script&lang=js&\"\nexport * from \"./ninegrid.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 NineGrid from './ninegrid.vue';\nimport './ninegrid.scss';\n\nNineGrid.install = function(Vue) {\n Vue.component(NineGrid.name, NineGrid);\n};\n\nexport default NineGrid;\n"],"sourceRoot":""}
@@ -0,0 +1,132 @@
1
+ @import './animation.scss';
2
+ .nut-ninegrid {
3
+ height: 357px;
4
+ width: 357px;
5
+ flex-shrink: 0;
6
+ background-image: url('//img10.360buyimg.com/imagetools/jfs/t1/182262/4/21143/406696/6126fceeEccce5223/61a6b338777fd857.png');
7
+ background-size: 100% 100%;
8
+ overflow: auto;
9
+ display: flex;
10
+ flex-wrap: wrap;
11
+ justify-content: space-between;
12
+ padding: 12px;
13
+ perspective: 1000;
14
+
15
+ .item {
16
+ position: relative;
17
+ width: 107px;
18
+ height: 107px;
19
+
20
+ .front,
21
+ .back {
22
+ position: absolute;
23
+ top: 0;
24
+ left: 0;
25
+ right: 0;
26
+ bottom: 0;
27
+ border-radius: 8px;
28
+ padding: 9px 8px 0 8px;
29
+ overflow: hidden;
30
+ backface-visibility: hidden;
31
+ background-image: linear-gradient(#ffefd1, #ffc8a4);
32
+ transition: 1s;
33
+ transform-style: preserve-3d;
34
+ display: flex;
35
+ flex-direction: column;
36
+ align-items: center;
37
+ > p {
38
+ width: 100%;
39
+ overflow: hidden;
40
+ text-overflow: ellipsis;
41
+ white-space: nowrap;
42
+ font-family: PingFangSC-Medium;
43
+ text-align: center;
44
+ font-size: 13px;
45
+ height: 15px;
46
+ margin-bottom: 3px;
47
+ color: rgba(46, 45, 45, 1);
48
+ flex-shrink: 0;
49
+ }
50
+ .nut-price {
51
+ height: 40px;
52
+ > span {
53
+ font-family: PingFangSC-Medium;
54
+ font-size: 10px !important;
55
+ color: rgba(249, 18, 50, 1) !important;
56
+
57
+ &.price-big {
58
+ font-size: 16px !important;
59
+ }
60
+ }
61
+ }
62
+
63
+ > img {
64
+ width: 71px;
65
+ height: 71px;
66
+ flex-shrink: 0;
67
+ }
68
+ }
69
+
70
+ .front {
71
+ z-index: 2;
72
+ transform: rotateY(0deg);
73
+ }
74
+
75
+ .back {
76
+ transform: rotateY(-180deg);
77
+ }
78
+
79
+ &.d {
80
+ transform: rotate(3deg);
81
+ }
82
+
83
+ &.active {
84
+ .front {
85
+ transform: rotateY(180deg);
86
+ }
87
+
88
+ .back {
89
+ transform: rotateY(0deg);
90
+ }
91
+ }
92
+
93
+ &.shake {
94
+ animation: shake-rotate 0.5s 1;
95
+ }
96
+
97
+ .center {
98
+ border-radius: 8px;
99
+ overflow: hidden;
100
+ background-image: linear-gradient(#ff733e, #ff4e57);
101
+ border: 1px solid #ffa07c;
102
+ width: 100%;
103
+ height: 100%;
104
+ display: flex;
105
+ flex-direction: column;
106
+ align-items: center;
107
+ justify-content: center;
108
+
109
+ > img {
110
+ width: 15px;
111
+ height: 16px;
112
+
113
+ &.rotate {
114
+ animation-name: box-rotate;
115
+ animation-duration: 1s;
116
+ }
117
+ }
118
+
119
+ > span {
120
+ font-family: PingFangSC-Medium;
121
+ font-size: 16px;
122
+ color: rgba(255, 212, 167, 1);
123
+ }
124
+
125
+ > p {
126
+ font-family: PingFangSC-Medium;
127
+ font-size: 12px;
128
+ color: rgba(255, 212, 167, 1);
129
+ }
130
+ }
131
+ }
132
+ }