123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176 |
- exports.ids = [33];
- exports.modules = {
- /***/ 170:
- /***/ (function(module, exports) {
- // Exports
- module.exports = {
- };
- /***/ }),
- /***/ 183:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- // ESM COMPAT FLAG
- __webpack_require__.r(__webpack_exports__);
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/TabNav.vue?vue&type=template&id=8a32da06&scoped=true
- var render = function render() {
- var _vm = this,
- _c = _vm._self._c;
- return _c('div', {
- staticClass: "tabs",
- style: {
- marginTop: _vm.marginTop + 'px',
- marginBottom: _vm.marginBottom + 'px',
- fontSize: _vm.fontSize + 'px'
- }
- }, [_vm._ssrNode(Array.isArray(_vm.tabList) ? "<ul" + _vm._ssrClass(null, _vm.borderType) + " data-v-8a32da06>" + _vm._ssrList(_vm.tabList, function (item, i) {
- return !item.hasOwnProperty('isShow') || item.isShow ? "<li" + _vm._ssrClass(null, {
- active: i === _vm.currTab
- }) + _vm._ssrStyle(null, {
- minWidth: _vm.liWidth + 'px',
- height: _vm.liHeight + 'px',
- lineHeight: _vm.liHeight + 'px',
- marginRight: _vm.marginRight + 'px'
- }, null) + " data-v-8a32da06><div data-v-8a32da06>" + _vm._ssrEscape(_vm._s(item.name)) + "</div></li>" : "<!---->";
- }) + _vm._ssrList(_vm.comRemaining, function (item) {
- return "<li class=\"unclickable\"" + _vm._ssrStyle(null, {
- minWidth: _vm.liWidth + 'px',
- lineHeight: _vm.liHeight + 'px',
- marginRight: _vm.marginRight + 'px'
- }, null) + " data-v-8a32da06><div data-v-8a32da06>" + _vm._ssrEscape(_vm._s(item)) + "</div></li>";
- }) + "</ul>" : "<ul data-v-8a32da06>" + _vm._ssrList(Object.keys(_vm.tabList), function (val, i) {
- return "<li" + _vm._ssrClass(null, {
- active: i === _vm.currTab
- }) + _vm._ssrStyle(null, {
- minWidth: _vm.liWidth + 'px',
- marginRight: _vm.marginRight + 'px'
- }, null) + " data-v-8a32da06><div data-v-8a32da06>" + _vm._ssrEscape(_vm._s(val)) + "</div></li>";
- }) + "</ul>")]);
- };
- var staticRenderFns = [];
- // CONCATENATED MODULE: ./components/TabNav.vue?vue&type=template&id=8a32da06&scoped=true
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/TabNav.vue?vue&type=script&lang=js
- /* harmony default export */ var TabNavvue_type_script_lang_js = ({
- props: {
- // color: {
- // type: String,
- // },
- borderType: {
- type: String,
- default: 'noBorder'
- },
- fontSize: {
- type: Number,
- default: 14
- },
- marginTop: {
- type: Number,
- default: 0
- },
- marginBottom: {
- type: Number,
- default: 10
- },
- liWidth: {
- type: Number,
- default: 0
- },
- liHeight: {
- type: Number,
- default: 28
- },
- marginRight: {
- type: Number,
- default: 0
- },
- currTab: {
- type: [Number, String],
- default: 0
- },
- tabList: {
- type: [Array, Object],
- default: () => {
- return [];
- }
- },
- allPrintTab: {
- type: [Array, Object],
- default: () => {
- return [];
- }
- }
- },
- data() {
- return {
- textColor: 'red'
- };
- },
- computed: {
- comRemaining() {
- const mapTabList = this.tabList.map(i => i.name);
- return this.allPrintTab.filter(element => !mapTabList.includes(element));
- }
- },
- methods: {
- selTab(i) {
- this.$emit('update:currTab', i);
- this.$emit('handle');
- }
- }
- });
- // CONCATENATED MODULE: ./components/TabNav.vue?vue&type=script&lang=js
- /* harmony default export */ var components_TabNavvue_type_script_lang_js = (TabNavvue_type_script_lang_js);
- // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
- var componentNormalizer = __webpack_require__(2);
- // CONCATENATED MODULE: ./components/TabNav.vue
- function injectStyles (context) {
-
- var style0 = __webpack_require__(191)
- if (style0.__inject__) style0.__inject__(context)
- }
- /* normalize component */
- var component = Object(componentNormalizer["a" /* default */])(
- components_TabNavvue_type_script_lang_js,
- render,
- staticRenderFns,
- false,
- injectStyles,
- "8a32da06",
- "1ce05afc"
-
- )
- /* harmony default export */ var TabNav = __webpack_exports__["default"] = (component.exports);
- /***/ }),
- /***/ 191:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TabNav_vue_vue_type_style_index_0_id_8a32da06_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(170);
- /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TabNav_vue_vue_type_style_index_0_id_8a32da06_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TabNav_vue_vue_type_style_index_0_id_8a32da06_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
- /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TabNav_vue_vue_type_style_index_0_id_8a32da06_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TabNav_vue_vue_type_style_index_0_id_8a32da06_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
- /***/ })
- };;
- //# sourceMappingURL=tab-nav.js.map
|