Commit 65f403f8 by 无尘

fix: 修改首页

parent 7af2c2f3
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.1c704a24aff073c1f1faf69159d564ba.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.1a6cbd44700f452113a1.js></script><script type=text/javascript src=./static/js/vendor.28541dbeac66c2b0770e.js></script><script type=text/javascript src=./static/js/app.317d7d2afb14508c95df.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.310b600e544d33e1db085def8803b1f1.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.e423f90dee3c4c4e2099.js></script><script type=text/javascript src=./static/js/vendor.28541dbeac66c2b0770e.js></script><script type=text/javascript src=./static/js/app.317d7d2afb14508c95df.js></script></body></html>
\ No newline at end of file \ No newline at end of file
webpackJsonp([26],{"0j4p":function(t,e){},BKgO:function(t,e){},JXTs:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("//Fk"),s=a.n(o),n=a("P9l9"),i=a("3E4D"),c=a("Ch4/"),r={name:"custom-dialog",props:{showCustomDialog:{type:Boolean,default:!1},customType:{type:String,default:""},customTitle:{type:String,default:""}},data:function(){return{repProjectName:"haoban-manage-web",customDialog:!1,customData:[],checkList:[]}},beforeMount:function(){},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("customHandleConfirm")},customConfirm:function(){if(!this.checkList.length)return this.$message.error({duration:1e3,message:"请选择操作"}),!1;this.setData(this.checkList)},customChange:function(t){},setData:function(t){var e=this,a={viewIdList:t},o="data"==e.customType?"/haoban-manage-web/home/set-display-enterprise-data":"/haoban-manage-web/home/set-display-quick-entry";Object(n.b)(o,a).then(function(t){var a=t.data;if(1==a.errorCode)return i.a.showmsg("设置成功","success"),void e.$emit("customHandleConfirm");c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getCardList:function(){var t=this,e={all:!0};"data"==t.customType&&(e.fetchData=!1);var a="data"==t.customType?"/haoban-manage-web/home/find-enterprise-data":"/haoban-manage-web/home/find-quick-entry";t.checkList=[],Object(n.c)(a,e).then(function(e){var a=e.data;if(1==a.errorCode){var o=[];return a.result.forEach(function(e,a){e.homeDisplay&&("data"==t.customType?o.push(e.dataViewId):o.push(e.settingViewId))}),t.customData=a.result,void(t.checkList=o)}c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{showCustomDialog:function(t,e){this.customDialog=t},customType:function(t,e){t&&this.getCardList()}},mounted:function(){this.customDialog=this.showCustomDialog}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"自定义"+t.customTitle,visible:t.customDialog,width:"761px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"custom-dialog__title"},[a("p",{staticClass:"custom-dialog__p"},[t._v("\n 请选择您想在首页展示的"+t._s(t.customTitle)+",还可以再勾选"),a("span",[t._v(" "+t._s(8-t.checkList.length)+" ")]),t._v("个\n ")])]),t._v(" "),a("div",{staticClass:"custom-dialog__checkbox"},[a("el-checkbox-group",{attrs:{max:8},on:{change:t.customChange},model:{value:t.checkList,callback:function(e){t.checkList=e},expression:"checkList"}},["data"===t.customType?t._l(t.customData,function(e){return a("el-checkbox",{key:e.dataViewId,attrs:{label:e.dataViewId,name:"type"}},[t._v(t._s(e.fieldTitle))])}):t._e(),t._v(" "),"data"!=t.customType?t._l(t.customData,function(e){return a("el-checkbox",{key:e.settingViewId,attrs:{label:e.settingViewId,name:"type"}},[t._v(t._s(e.fieldTitle))])}):t._e()],2)],1),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.customCancel}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.customConfirm}},[t._v("确 定")])],1)])],1)},staticRenderFns:[]};var u={name:"index",data:function(){return{projectName:"haoban-manage-web",contentHeight:"0px",collapseFlag:!1,showCustomDialog:!1,customType:"",customTitle:"",bannerList:[],companyObj:{},dataOverview:[],entryData:[]}},methods:{changeRoute:function(t){this.$router.push(t)},toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t},showDialogLayer:function(t){this.showCustomDialog=!0,this.customType=t,this.customTitle="data"==t?"数据概览":"快捷操作"},customHandleConfirm:function(t){this.showCustomDialog=!1,"data"===this.customType?this.getDataOverview():this.getEntryData()},toCertify:function(t){1!=t&&this.changeRoute("/companyCertify")},getBannerData:function(){var t=this;Object(n.a)("/haoban-manage-web/home/find-advertisement",{}).then(function(e){var a=e.data;1!=a.errorCode?c.a.errorMsg(a):t.bannerList=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getEnterpriseData:function(){var t=this;Object(n.a)("/haoban-manage-web/home/find-enterprise-info",{}).then(function(e){var a=e.data;1!=a.errorCode?c.a.errorMsg(a):t.companyObj=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getDataOverview:function(){var t=this;Object(n.a)("/haoban-manage-web/home/find-enterprise-data",{all:!1,fetchData:!0}).then(function(e){var a=e.data;1!=a.errorCode?c.a.errorMsg(a):t.dataOverview=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getEntryData:function(){var t=this;Object(n.a)("/haoban-manage-web/home/find-quick-entry",{all:!1}).then(function(e){var a=e.data;1!=a.errorCode?c.a.errorMsg(a):t.entryData=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-204+"px",s.a.all([this.getBannerData(),this.getDataOverview(),this.getEntryData(),this.getEnterpriseData()])},components:{customDialog:a("VU/8")(r,l,!1,function(t){a("BKgO")},"data-v-0b6f3e0a",null).exports}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"index"}},[a("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body",style:{minHeight:t.contentHeight}},[a("div",{staticClass:"index-company flex flex-row m-t-24"},[a("div",{staticClass:"index-company-left m-r-24 border-box radius-2"},[a("div",{staticClass:"index-company-logo"},[t.companyObj.logoUrl?a("div",{staticClass:"index-company-logo_img"},[a("img",{attrs:{src:t.companyObj.logoUrl,alt:"log"}})]):a("div",{staticClass:"default-logo-bg"},[a("i",{staticClass:"iconfont icon-2zuzhijiagou default-logo"})])]),t._v(" "),a("div",{staticClass:"index-company-name color-303133"},[t._v(t._s(t.companyObj.enterpriseName))]),t._v(" "),a("ul",[a("li",{staticClass:"flex flex-between"},[a("span",[t._v("账户余额")]),a("span",{staticClass:"color-303133 font-16"},[t._v(t._s(t.companyObj.balance))])]),t._v(" "),a("li",{staticClass:"flex flex-between"},[a("span",[t._v("企业编码")]),a("span",{staticClass:"color-303133 font-16"},[t._v(t._s(t.companyObj.enterpriseCode))])]),t._v(" "),a("li",{staticClass:"flex flex-between",on:{click:function(e){t.toCertify(t.companyObj.authenticationStatus)}}},[a("span",[t._v("企业认证")]),a("span",{class:[1==t.companyObj.authenticationStatus?"authActive":0==t.companyObj.authenticationStatus?"unAuth":2==t.companyObj.authenticationStatus?"auth-ing":"auth-fail"]},[1==t.companyObj.authenticationStatus||0==t.companyObj.authenticationStatus?a("i",{staticClass:"iconfont icon-renzheng p-r-6 "}):t._e(),2==t.companyObj.authenticationStatus?a("i",{staticClass:"iconfont icon-qiyerenzheng1 p-r-6 "}):t._e(),3==t.companyObj.authenticationStatus?a("i",{staticClass:"iconfont icon-qiyerenzheng2 p-r-6 "}):t._e(),t._v(t._s(1==t.companyObj.authenticationStatus?"已认证":0==t.companyObj.authenticationStatus?"未认证":2==t.companyObj.authenticationStatus?"认证中":"认证失败")+" ")])]),t._v(" "),t._m(0)])]),t._v(" "),a("div",{staticClass:"index-entry radius-2"},[a("div",{staticClass:"index-swiper"},[a("el-carousel",{attrs:{trigger:"click",height:"250px",arrow:"never",autoplay:!1}},t._l(t.bannerList,function(t,e){return a("el-carousel-item",{key:e},[a("a",{staticClass:"index-swiper-bg",style:{backgroundImage:"url("+t.imgUrl+")"},attrs:{href:1==t.linkType?"#"+t.linkUrl:t.linkUrl,target:"_blank",rel:"nofollow noopener noreferrer"}})])}))],1),t._v(" "),a("div",{staticClass:"index-entry-head flex flex-between border-box border-b-e4e7e7"},[a("span",{staticClass:"color-303133 font-16 font-w-500"},[t._v("快捷入口")]),a("span",{staticClass:"auto-define",on:{click:function(e){t.showDialogLayer("entry")}}},[a("i",{staticClass:"iconfont icon-zidingyi color-909399"})])]),t._v(" "),a("div",{staticClass:"index-entry-body p-24 border-box"},[a("ul",{staticClass:"flex flex-row flex-wrap"},t._l(t.entryData,function(e,o){return a("li",{key:o,staticClass:"flex flex-align-center border-box flex",on:{click:function(a){t.changeRoute(e.fieldUrl)}}},[a("span",{staticClass:"square-item flex flex-align-center flex-pack-center",style:{background:e.fieldIconBgColor}},[a("i",{class:["iconfont",e.fieldIconUrl]})]),t._v(" "),a("span",{staticClass:"color-303133 font-16 p-l-20"},[t._v(t._s(e.fieldTitle))])])}))])])])]),t._v(" "),a("vue-gic-footer")],1),t._v(" "),a("custom-dialog",{attrs:{customTitle:t.customTitle,customType:t.customType,showCustomDialog:t.showCustomDialog},on:{customHandleConfirm:t.customHandleConfirm}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("li",{staticClass:"flex flex-between"},[e("span",[this._v("帮助手册")]),e("a",{attrs:{href:"../../assets/1.pdf",download:"帮助手册.pdf"}},[e("span",{staticClass:"color-1890ff"},[this._v("立即下载"),e("i",{staticClass:"el-icon-arrow-right"})])])])}]};var d=a("VU/8")(u,m,!1,function(t){a("0j4p")},"data-v-3f7f0608",null);e.default=d.exports}});
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,a,n){for(var r,t,o,i=0,u=[];i<f.length;i++)t=f[i],d[t]&&u.push(d[t][0]),d[t]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r]);for(c&&c(f,a,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var f={},d={80:0};function b(c){if(f[c])return f[c].exports;var d=f[c]={i:c,l:!1,exports:{}};return e[c].call(d.exports,d,d.exports,b),d.l=!0,d.exports}b.e=function(e){var c=d[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,b){c=d[e]=[f,b]});c[2]=f;var a=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,b.nc&&n.setAttribute("nonce",b.nc),n.src=b.p+"static/js/"+e+"."+{0:"ace51f421a48f46a5277",1:"0ebe3ead93207dc78a78",2:"979deb10fce5b2fefcdb",3:"c2fd89730cdd6d5b8904",4:"f396f74b75d791b8cb38",5:"585fa5e680c961f3e6ea",6:"657b140c98f462652267",7:"425c9f33a90e59d2b270",8:"9180c86d724863021ea1",9:"7bafe59540d7210cfa70",10:"bc4f603351d381704d20",11:"2cfce44be1d5002c95f1",12:"e48ee65ef0da6c383571",13:"34bd3d823e73c2a4d360",14:"8719a4be4e72a548434c",15:"2ee668c55634c598bb49",16:"fc1264890c2669f41a52",17:"a1f8e736a1b936b682f2",18:"c930c090830262321506",19:"fb9febd9f5dfcffd09ca",20:"81f6c674a6461ef85896",21:"08e506839eb7346cac08",22:"5a40199f94d4ea1b6837",23:"5ed1b5fd3abff19ce342",24:"9c7dd0f43ca6b011cd2f",25:"e3f3549f91880fa065bb",26:"2c0979f3bd7ee7896b97",27:"d06c17faef5f94ce3538",28:"5d40f738c37dc3ef187e",29:"ff0267ea3da22d09a51d",30:"dd4b7da78d6c78093255",31:"ab2d370388056de1d416",32:"70774db13d0413804dc5",33:"3920832eb8d2060b3283",34:"85d9b21e152ee68f753e",35:"89ba4c1dd475908bf5fc",36:"73599dd23aeb744999d1",37:"5c79b5b07eabe32865d9",38:"2abd4e6854edc4a61d25",39:"ff87a1bd8fe431022be1",40:"e9c116b3a105a1e15f53",41:"37fe8cc7206fc7a6918a",42:"1bd51133770da9de66c4",43:"6172423115106cbcf206",44:"15e4fb81db8878836164",45:"d8bd0488f225fbeac057",46:"7e45e6c43c0bab35bf80",47:"f6bccbc7dbb5d48ac435",48:"789e840b8b2f1bbeebbc",49:"bca658c86dad84d0634e",50:"331006123edd2049b7d9",51:"39c6d0fb7d792edd6cbf",52:"1877d1f717c069fa4b03",53:"dd892a649988674feca2",54:"1503b643475934e2b5e1",55:"0a28d0fa68bb623fb44b",56:"bf6ca3213cca34608387",57:"3b66a0783837139899c5",58:"d2633a0a50b9ea3eda37",59:"b0384129b6e3ccf2819d",60:"06083ce41737441c07f2",61:"2f37d96bc91f0a637cad",62:"c3caefedcb9fb6dcfb96",63:"3b57f32493eccbf39695",64:"ebc341a9017c4b2c1112",65:"790058d4bf34f37589d9",66:"ceb12b70732c3d1922a9",67:"5b477dcc7445f38c2ee9",68:"ba49712f562eff6edbc3",69:"17e063aa9f52b297f979",70:"6c2402795ed03b512775",71:"da1a44c8bf4f6316b90d",72:"6526d6cf985190f1fdbb",73:"eaf82b42a884d2f24070",74:"3a4f20982bf349c4bf08",75:"47588b504cef11d4ae3c",76:"509de08aa4c1d8be651d",79:"177f5627a2a311e067eb"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=d[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return n.onerror=n.onload=t,a.appendChild(n),f},b.m=e,b.c=f,b.d=function(e,c,f){b.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},b.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(c,"a",c),c},b.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},b.p="./",b.oe=function(e){throw console.error(e),e}}([]); !function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,b,n){for(var r,t,o,i=0,u=[];i<f.length;i++)t=f[i],d[t]&&u.push(d[t][0]),d[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(f,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=a(a.s=n[i]);return o};var f={},d={80:0};function a(c){if(f[c])return f[c].exports;var d=f[c]={i:c,l:!1,exports:{}};return e[c].call(d.exports,d,d.exports,a),d.l=!0,d.exports}a.e=function(e){var c=d[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,a){c=d[e]=[f,a]});c[2]=f;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,a.nc&&n.setAttribute("nonce",a.nc),n.src=a.p+"static/js/"+e+"."+{0:"ace51f421a48f46a5277",1:"0ebe3ead93207dc78a78",2:"979deb10fce5b2fefcdb",3:"c2fd89730cdd6d5b8904",4:"f396f74b75d791b8cb38",5:"585fa5e680c961f3e6ea",6:"657b140c98f462652267",7:"425c9f33a90e59d2b270",8:"9180c86d724863021ea1",9:"7bafe59540d7210cfa70",10:"bc4f603351d381704d20",11:"2cfce44be1d5002c95f1",12:"e48ee65ef0da6c383571",13:"34bd3d823e73c2a4d360",14:"8719a4be4e72a548434c",15:"2ee668c55634c598bb49",16:"fc1264890c2669f41a52",17:"a1f8e736a1b936b682f2",18:"c930c090830262321506",19:"1b6d2763b40278908ad1",20:"81f6c674a6461ef85896",21:"08e506839eb7346cac08",22:"5a40199f94d4ea1b6837",23:"5ed1b5fd3abff19ce342",24:"9c7dd0f43ca6b011cd2f",25:"e3f3549f91880fa065bb",26:"40226508ead49adcb14f",27:"d06c17faef5f94ce3538",28:"5d40f738c37dc3ef187e",29:"ff0267ea3da22d09a51d",30:"dd4b7da78d6c78093255",31:"ab2d370388056de1d416",32:"70774db13d0413804dc5",33:"3920832eb8d2060b3283",34:"85d9b21e152ee68f753e",35:"89ba4c1dd475908bf5fc",36:"73599dd23aeb744999d1",37:"5c79b5b07eabe32865d9",38:"2abd4e6854edc4a61d25",39:"ff87a1bd8fe431022be1",40:"e9c116b3a105a1e15f53",41:"37fe8cc7206fc7a6918a",42:"1bd51133770da9de66c4",43:"6172423115106cbcf206",44:"15e4fb81db8878836164",45:"d8bd0488f225fbeac057",46:"7e45e6c43c0bab35bf80",47:"f6bccbc7dbb5d48ac435",48:"789e840b8b2f1bbeebbc",49:"bca658c86dad84d0634e",50:"331006123edd2049b7d9",51:"39c6d0fb7d792edd6cbf",52:"1877d1f717c069fa4b03",53:"dd892a649988674feca2",54:"1503b643475934e2b5e1",55:"0a28d0fa68bb623fb44b",56:"bf6ca3213cca34608387",57:"3b66a0783837139899c5",58:"d2633a0a50b9ea3eda37",59:"b0384129b6e3ccf2819d",60:"06083ce41737441c07f2",61:"2f37d96bc91f0a637cad",62:"c3caefedcb9fb6dcfb96",63:"3b57f32493eccbf39695",64:"ebc341a9017c4b2c1112",65:"790058d4bf34f37589d9",66:"ceb12b70732c3d1922a9",67:"5b477dcc7445f38c2ee9",68:"ba49712f562eff6edbc3",69:"17e063aa9f52b297f979",70:"6c2402795ed03b512775",71:"da1a44c8bf4f6316b90d",72:"6526d6cf985190f1fdbb",73:"eaf82b42a884d2f24070",74:"3a4f20982bf349c4bf08",75:"47588b504cef11d4ae3c",76:"509de08aa4c1d8be651d",79:"177f5627a2a311e067eb"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=d[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),f},a.m=e,a.c=f,a.d=function(e,c,f){a.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},a.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(c,"a",c),c},a.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},a.p="./",a.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ No newline at end of file
...@@ -3,13 +3,6 @@ ...@@ -3,13 +3,6 @@
<vue-office-header :projectName="projectName" @collapseTag="collapseTag" @toRouterView="toRouterView"> </vue-office-header> <vue-office-header :projectName="projectName" @collapseTag="collapseTag" @toRouterView="toRouterView"> </vue-office-header>
<div id="content" class="content"> <div id="content" class="content">
<div class="content-body" :style="{ minHeight: contentHeight }"> <div class="content-body" :style="{ minHeight: contentHeight }">
<div class="index-swiper">
<el-carousel trigger="click" height="250px" arrow="never" :autoplay="false">
<el-carousel-item v-for="(item, index) in bannerList" :key="index">
<a class="index-swiper-bg" :href="item.linkType == 1 ? '#' + item.linkUrl : item.linkUrl" target="_blank" rel="nofollow noopener noreferrer" :style="{ backgroundImage: 'url(' + item.imgUrl + ')' }"><!-- <img :src="item.imgUrl" alt=""/> --></a>
</el-carousel-item>
</el-carousel>
</div>
<div class="index-company flex flex-row m-t-24"> <div class="index-company flex flex-row m-t-24">
<div class="index-company-left m-r-24 border-box radius-2"> <div class="index-company-left m-r-24 border-box radius-2">
<div class="index-company-logo"> <div class="index-company-logo">
...@@ -39,7 +32,7 @@ ...@@ -39,7 +32,7 @@
</li> </li>
</ul> </ul>
</div> </div>
<div class="index-company-right radius-2"> <!-- <div class="index-company-right radius-2">
<div class="index-company-right__head flex flex-between border-box border-b-e4e7e7"> <div class="index-company-right__head flex flex-between border-box border-b-e4e7e7">
<span class="color-303133 font-16 font-w-500">数据概览</span><span class="auto-define" @click="showDialogLayer('data')"><i class="iconfont icon-zidingyi color-909399"></i></span> <span class="color-303133 font-16 font-w-500">数据概览</span><span class="auto-define" @click="showDialogLayer('data')"><i class="iconfont icon-zidingyi color-909399"></i></span>
</div> </div>
...@@ -51,9 +44,16 @@ ...@@ -51,9 +44,16 @@
</li> </li>
</ul> </ul>
</div> </div>
</div> m-t-24 -->
<div class="index-entry radius-2">
<div class="index-swiper">
<el-carousel trigger="click" height="250px" arrow="never" :autoplay="false">
<el-carousel-item v-for="(item, index) in bannerList" :key="index">
<a class="index-swiper-bg" :href="item.linkType == 1 ? '#' + item.linkUrl : item.linkUrl" target="_blank" rel="nofollow noopener noreferrer" :style="{ backgroundImage: 'url(' + item.imgUrl + ')' }"><!-- <img :src="item.imgUrl" alt=""/> --></a>
</el-carousel-item>
</el-carousel>
</div> </div>
</div>
<div class="index-entry m-t-24 radius-2">
<div class="index-entry-head flex flex-between border-box border-b-e4e7e7"> <div class="index-entry-head flex flex-between border-box border-b-e4e7e7">
<span class="color-303133 font-16 font-w-500">快捷入口</span><span class="auto-define" @click="showDialogLayer('entry')"><i class="iconfont icon-zidingyi color-909399"></i></span> <span class="color-303133 font-16 font-w-500">快捷入口</span><span class="auto-define" @click="showDialogLayer('entry')"><i class="iconfont icon-zidingyi color-909399"></i></span>
</div> </div>
...@@ -67,6 +67,7 @@ ...@@ -67,6 +67,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
<vue-gic-footer></vue-gic-footer> <vue-gic-footer></vue-gic-footer>
</div> </div>
<!-- 自定义弹框组件 --> <!-- 自定义弹框组件 -->
...@@ -281,7 +282,7 @@ export default { ...@@ -281,7 +282,7 @@ export default {
}, },
mounted() { mounted() {
const that = this; const that = this;
that.contentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 64 + 'px'; that.contentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 204 + 'px';
Promise.all([that.getBannerData(), that.getDataOverview(), that.getEntryData(), that.getEnterpriseData()]); Promise.all([that.getBannerData(), that.getDataOverview(), that.getEntryData(), that.getEnterpriseData()]);
}, },
components: { components: {
...@@ -519,7 +520,7 @@ export default { ...@@ -519,7 +520,7 @@ export default {
&-left { &-left {
width: 360px; width: 360px;
height: 340px; // height: 340px;
padding: 24px; padding: 24px;
background: #fff; background: #fff;
...@@ -637,7 +638,7 @@ export default { ...@@ -637,7 +638,7 @@ export default {
.index-entry { .index-entry {
width: 100%; width: 100%;
height: 247px; // height: 247px;
background: #fff; background: #fff;
&-head { &-head {
height: 56px; height: 56px;
...@@ -646,7 +647,7 @@ export default { ...@@ -646,7 +647,7 @@ export default {
} }
&-body { &-body {
height: 190px; // height: 190px;
li { li {
min-width: 20%; min-width: 20%;
......
...@@ -253,7 +253,12 @@ export default { ...@@ -253,7 +253,12 @@ export default {
} }
.el-tabs__nav-scroll { .el-tabs__nav-scroll {
// padding-left: 20px; padding-left: 20px;
}
&.is-scrollable {
.el-tabs__nav-scroll {
padding-left: 0;
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment