79.js 2.8 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([[79],{2435:function(n,a,t){var e=t(2436);"string"==typeof e&&(e=[[n.i,e,""]]),e.locals&&(n.exports=e.locals);(0,t(19).default)("7a656194",e,!1,{})},2436:function(n,a,t){(n.exports=t(16)(!1)).push([n.i,"\n*[data-v-fdeac84a] {\n list-style-type: none;\n}\n.component-wrapper[data-v-fdeac84a] {\n width: 375px;\n}\n#tab .nav[data-v-fdeac84a] {\n display: flex;\n align-items: center;\n height: 40px;\n white-space: nowrap;\n flex-wrap: nowrap;\n box-sizing: content-box;\n}\n#tab .nav .nav-li[data-v-fdeac84a] {\n flex: 1;\n min-width: 20%;\n text-align: center;\n}\n#tab .nav .nav-li .nav-lis[data-v-fdeac84a] {\n display: inline-block;\n line-height: 40px;\n}\n#tab .scroll[data-v-fdeac84a] {\n overflow-x: scroll;\n}\n",""])},2498:function(n,a,t){"use strict";t.r(a);var e=t(56),i=t.n(e),s=t(114),o=t.n(s),l=function(){var n=this.datas,a=n.tab_bg_color,t=n.tab_color,e=n.tab_active_color;return"\n .component-"+this.id+" .nav-bgimage{\n background-color: "+a+";\n color: "+t+";\n }\n\n .component-"+this.id+" .nav-bgimage .nav-selected{\n color: "+e+";\n border-bottom: 2px solid "+e+";\n }\n "},c={data:function(){return{emptyImage:o.a}},props:["id","datas","styles"],computed:{css:function(){return"<style>"+l.call(this)+"</style>"},className:function(){return["component-wrapper","component-"+this.id]},languages:function(){return this.$store.state.page.languages||{}}},methods:{handleDatas:function(n){var a={};return n&&i()(n).map((function(t){a[t]=n[t].value})),a},px2rem:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return n/75+"rem"}},mounted:function(){this.$emit("loaded")}},r=function(){var n=this,a=n.$createElement,t=n._self._c||a;return t("div",{class:n.className},[t("div",{domProps:{innerHTML:n._s(n.css)}}),n._v(" "),n.datas.list?t("div",[t("div",{attrs:{id:"tab"}},[n.datas.list.length>0?t("div",{staticClass:"nav nav-bgimage"},n._l(n.datas.list,(function(a,e){return t("div",{key:e,staticClass:"nav-li",class:[a.active?"nav-selected":""]},[t("div",{staticClass:"nav-lis"},[n._v("\n "+n._s(a.name||a.component)+"\n ")])])})),0):n._e(),n._v(" "),n._l(n.datas.list,(function(a,e){return t("div",{key:e,staticClass:"tab-item"},[t(a.uikey,{directives:[{name:"show",rawName:"v-show",value:a.active,expression:"item.active"}],tag:"component",attrs:{id:n.id+"-"+e,datas:n.handleDatas(a.datas),languages:n.languages}})],1)})),n._v(" "),n.datas.list.length<=0?t("div",{staticStyle:{padding:"15px","text-align":"center"}},[n._v("\n 暂无设置选项卡\n ")]):n._e()],2)]):n._e()])};r._withStripped=!0;var d=t(11);var v=function(n){t(2435)},p=Object(d.a)(c,r,[],!1,v,"data-v-fdeac84a",null);p.options.__file="src\\ui-component\\U_tabcontrol\\m\\index.vue";a.default=p.exports}}]);