Commit 94fb9e89 by 无尘

feat: 增加公告

parent 73e56a16
...@@ -6,6 +6,13 @@ module.exports = { ...@@ -6,6 +6,13 @@ module.exports = {
pathRewrite: { pathRewrite: {
'^/gateway-manage': '' '^/gateway-manage': ''
} }
},
'/open-platform-home-web/': {
target: 'https://four.gicdev.com/open-platform-home-web/',
changeOrigin: true,
pathRewrite: {
'^/open-platform-home-web': ''
}
} }
} }
} }
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>达摩开放平台</title><link href=./static/css/app.c958a9eafe4b9d4aaf8377867011fb64.css rel=stylesheet></head><body class=damolish><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.a966024652412317a56d.js></script><script type=text/javascript src=./static/js/vendor.e1e3582ec7c29b190f53.js></script><script type=text/javascript src=./static/js/app.8d7cb02a28e765da1dc9.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.6d747ca01af3d74a7a1c4e3cbd41d031.css rel=stylesheet></head><body class=damolish><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.9d2d2c0c376414f3619e.js></script><script type=text/javascript src=./static/js/vendor.c9aebfe11d5b9c28e775.js></script><script type=text/javascript src=./static/js/app.e77a057a643b6a561bbc.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -406,6 +406,10 @@ input:focus { ...@@ -406,6 +406,10 @@ input:focus {
color: #16214a color: #16214a
} }
.color-0a1633 {
color: #0A1633
}
.p-0 { .p-0 {
padding: 0; padding: 0;
} }
......
webpackJsonp([3],{"2X9c":function(t,s,i){t.exports=i.p+"static/img/error_500.ed0cba4.svg"},FskK:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=i("2X9c"),e=i.n(a),n={name:"page500",data:function(){return{img_500:e.a}},computed:{message:function(){return"抱歉,服务器出错了"}}},c={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_500,alt:"500"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var r=i("VU/8")(n,c,!1,function(t){i("wJ+N")},"data-v-d1f21788",null);s.default=r.exports},"wJ+N":function(t,s){}}); webpackJsonp([7],{"2X9c":function(t,s,i){t.exports=i.p+"static/img/error_500.ed0cba4.svg"},FskK:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=i("2X9c"),e=i.n(a),n={name:"page500",data:function(){return{img_500:e.a}},computed:{message:function(){return"抱歉,服务器出错了"}}},c={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_500,alt:"500"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var r=i("VU/8")(n,c,!1,function(t){i("wJ+N")},"data-v-d1f21788",null);s.default=r.exports},"wJ+N":function(t,s){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([5],{AejC:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Minx"),a=i.n(e),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var c=i("VU/8")(n,r,!1,function(t){i("AsY3")},"data-v-18a2f51c",null);s.default=c.exports},AsY3:function(t,s){},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"}}); webpackJsonp([9],{AejC:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Minx"),a=i.n(e),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var c=i("VU/8")(n,r,!1,function(t){i("AsY3")},"data-v-18a2f51c",null);s.default=c.exports},AsY3:function(t,s){},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([7],{"/NA0":function(e,t){},0:function(e,t,n){n("j1ja"),e.exports=n("NHnr")},"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(o){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){o(e)})}}},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("fZjL"),r=n.n(o),a=(n("j1ja"),n("hKoQ")),u=n.n(a),s={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var i=n("VU/8")({name:"App",data:function(){return{}}},s,!1,function(e){n("/NA0")},null,null).exports,c=n("lRwf"),f=n.n(c),l=n("pRNm"),g=n.n(l),m=n("5tgt"),p=n.n(m);f.a.use(g.a);var v,d=function(e){n.e(0).then(n.bind(null,"ODjX")).then(function(t){e(t)})},I=[{path:"/",name:"/",redirect:"index"},{path:"/login",name:"登录",component:p()("login","index")},{path:"/index",name:"首页",component:p()("index","index")},{path:"/403",name:"无权访问",component:d},{path:"/404",name:"error404",component:d},{path:"/500",name:"error500",component:d},{path:"*",redirect:"/404",hidden:!0}],h=new g.a({routes:I,scrollBehavior:function(){return{y:0}}}),x=n("zL8q"),S=n.n(x),w=n("Rf8U"),k=n.n(w),D=n("mtWM"),M=n.n(D),R=n("bOdI"),b=n.n(R),H=n("mvHQ"),j=n.n(H),U=n("SJI6"),V=n.n(U);f.a.use(V.a);var F=new V.a.Store({state:{userInfo:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px",baseInfo:{},frontInfo:{},backInfo:{},resultInfo:{}},mutations:(v={},b()(v,"login",function(e,t){sessionStorage.token=t,e.token=t}),b()(v,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),b()(v,"title",function(e,t){e.title=t}),b()(v,"show",function(e,t){e.show=t}),b()(v,"saveUser",function(e,t){localStorage.removeItem("userInfo"),localStorage.setItem("userInfo",j()(t)),e.userInfo=JSON.parse(localStorage.getItem("userInfo"))}),b()(v,"clearUser",function(e){e.userInfo={},localStorage.getItem("userInfo")&&localStorage.removeItem("userInfo")}),b()(v,"saveBase",function(e,t){e.baseInfo=t}),b()(v,"saveFront",function(e,t){e.frontInfo=t}),b()(v,"saveBack",function(e,t){e.backInfo=t}),b()(v,"saveResult",function(e,t){e.resultInfo=t}),b()(v,"clearData",function(e){e.baseInfo={},e.frontInfo={},e.backInfo={},e.resultInfo={}}),v),actions:{saveUserInfo:function(e,t){e.commit("saveUser",t)},clearUserInfo:function(e,t){e.commit("clearUser",t)},saveBaseInfo:function(e,t){e.commit("saveBase",t)},saveFrontInfo:function(e,t){e.commit("saveFront",t)},saveBackInfo:function(e,t){e.commit("saveBack",t)},saveResultInfo:function(e,t){e.commit("saveResult",t)},clearApiData:function(e,t){e.commit("clearData")}}}),O=(n("4qCZ"),n("uKUT"),n("Xcu2"),{dateFormat:function(e,t){if(e){e=10===e.toString().length?1e3*e:e;var n=new Date(e),o={"M+":n.getMonth()+1,"D+":n.getDate(),W:"日一二三四五六".charAt(n.getDay()),"h+":n.getHours(),"m+":n.getMinutes(),"s+":n.getSeconds(),"q+":Math.floor((n.getMonth()+3)/3),S:n.getMilliseconds()};for(var r in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(n.getFullYear()+"").substr(4-RegExp.$1.length))),o)new RegExp("("+r+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?o[r]:("00"+o[r]).substr((""+o[r]).length)));return t}},formatTimeStamp:function(e){var t=new Date(e),n=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n,a=t.getHours()<10?"0"+t.getHours():t.getHours(),u=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),s=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"-"+r+"-"+o+" "+a+":"+u+":"+s},timeStampToYmd:function(e){var t=new Date(e),n=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n;return t.getFullYear()+"-"+r+"-"+o},timeStampToHms:function(e){var t=new Date(e);return(t.getHours()<10?"0"+t.getHours():t.getHours())+":"+(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":"+(t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds())}});u.a.polyfill(),Vue.config.productionTip=!1,Vue.use(S.a,{size:"large"}),Vue.use(k.a,M.a),Vue.axios.defaults.withCredentials=!0,r()(O).forEach(function(e){Vue.filter(e,O[e])}),new Vue({el:"#app",router:h,store:F,components:{App:i},template:"<App/>"})},Opzk:function(e,t,n){var o={"./errorPage/403.vue":["6XGN",4],"./errorPage/404.vue":["AejC",5],"./errorPage/500.vue":["FskK",3],"./errorPage/index.vue":["ODjX",0],"./index/index.vue":["JXTs",2],"./login/index.vue":["T+/8",1]};function r(e){var t=o[e];return t?n.e(t[1]).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}r.keys=function(){return Object.keys(o)},r.id="Opzk",e.exports=r},SJI6:function(e,t){e.exports=Vuex},Xcu2:function(e,t){},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},uKUT:function(e,t){}},[0]);
\ No newline at end of file
webpackJsonp([11],{"/NA0":function(e,t){},0:function(e,t,n){n("j1ja"),e.exports=n("NHnr")},"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(o){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){o(e)})}}},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("fZjL"),a=n.n(o),r=(n("j1ja"),n("hKoQ")),i=n.n(r),u={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var s=n("VU/8")({name:"App",data:function(){return{}}},u,!1,function(e){n("/NA0")},null,null).exports,c=n("lRwf"),f=n.n(c),l=n("pRNm"),g=n.n(l),m=n("5tgt"),p=n.n(m);f.a.use(g.a);var d,v=function(e){n.e(1).then(n.bind(null,"ODjX")).then(function(t){e(t)})},h=[{path:"/",name:"/",redirect:"home"},{path:"/login",name:"登录",component:p()("login","index")},{path:"/index",name:"首页",redirect:"home",component:p()("index","index"),children:[{path:"/home",name:"首页",component:p()("index","home")},{path:"/noticeDetail",name:"公告详情",component:p()("index","noticeDetail")},{path:"/noticeList",name:"公告列表",component:p()("index","noticeList")}]},{path:"/403",name:"无权访问",component:v},{path:"/404",name:"error404",component:v},{path:"/500",name:"error500",component:v},{path:"*",redirect:"/404",hidden:!0}],I=new g.a({routes:h,scrollBehavior:function(){return{y:0}}}),x=n("zL8q"),D=n.n(x),S=n("Rf8U"),w=n.n(S),M=n("mtWM"),k=n.n(M),R=n("bOdI"),b=n.n(R),H=n("mvHQ"),j=n.n(H),U=n("SJI6"),F=n.n(U);f.a.use(F.a);var T=new F.a.Store({state:{userInfo:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px",baseInfo:{},frontInfo:{},backInfo:{},resultInfo:{}},mutations:(d={},b()(d,"login",function(e,t){sessionStorage.token=t,e.token=t}),b()(d,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),b()(d,"title",function(e,t){e.title=t}),b()(d,"show",function(e,t){e.show=t}),b()(d,"saveUser",function(e,t){localStorage.removeItem("userInfo"),localStorage.setItem("userInfo",j()(t)),e.userInfo=JSON.parse(localStorage.getItem("userInfo"))}),b()(d,"clearUser",function(e){e.userInfo={},localStorage.getItem("userInfo")&&localStorage.removeItem("userInfo")}),b()(d,"saveBase",function(e,t){e.baseInfo=t}),b()(d,"saveFront",function(e,t){e.frontInfo=t}),b()(d,"saveBack",function(e,t){e.backInfo=t}),b()(d,"saveResult",function(e,t){e.resultInfo=t}),b()(d,"clearData",function(e){e.baseInfo={},e.frontInfo={},e.backInfo={},e.resultInfo={}}),d),actions:{saveUserInfo:function(e,t){e.commit("saveUser",t)},clearUserInfo:function(e,t){e.commit("clearUser",t)},saveBaseInfo:function(e,t){e.commit("saveBase",t)},saveFrontInfo:function(e,t){e.commit("saveFront",t)},saveBackInfo:function(e,t){e.commit("saveBack",t)},saveResultInfo:function(e,t){e.commit("saveResult",t)},clearApiData:function(e,t){e.commit("clearData")}}}),V=(n("4qCZ"),n("uKUT"),n("Xcu2"),{dateFormat:function(e,t){if(e){e=10===e.toString().length?1e3*e:e;var n=new Date(e),o={"M+":n.getMonth()+1,"D+":n.getDate(),W:"日一二三四五六".charAt(n.getDay()),"h+":n.getHours(),"m+":n.getMinutes(),"s+":n.getSeconds(),"q+":Math.floor((n.getMonth()+3)/3),S:n.getMilliseconds()};for(var a in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(n.getFullYear()+"").substr(4-RegExp.$1.length))),o)new RegExp("("+a+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?o[a]:("00"+o[a]).substr((""+o[a]).length)));return t}},formatTimeStamp:function(e){if(e){var t=new Date(e),n=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),a=n<10?"0"+n:n,r=t.getHours()<10?"0"+t.getHours():t.getHours(),i=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),u=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"-"+a+"-"+o+" "+r+":"+i+":"+u}},timeStampToYmd:function(e){if(e){var t=new Date(e),n=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),a=n<10?"0"+n:n;return t.getFullYear()+"-"+a+"-"+o}},timeStampToLineYmd:function(e){if(e){var t=new Date(e),n=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),a=n<10?"0"+n:n;return t.getFullYear()+"/"+a+"/"+o}},timeStampToHms:function(e){if(e){var t=new Date(e);return(t.getHours()<10?"0"+t.getHours():t.getHours())+":"+(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":"+(t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds())}},timeStampToMd:function(e){if(e){var t=new Date(e),n=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate();return(n<10?"0"+n:n)+"-"+o}}});i.a.polyfill(),Vue.config.productionTip=!1,Vue.use(D.a,{size:"large"}),Vue.use(w.a,k.a),Vue.axios.defaults.withCredentials=!0,a()(V).forEach(function(e){Vue.filter(e,V[e])}),new Vue({el:"#app",router:I,store:T,components:{App:s},template:"<App/>"})},Opzk:function(e,t,n){var o={"./errorPage/403.vue":["6XGN",8],"./errorPage/404.vue":["AejC",9],"./errorPage/500.vue":["FskK",7],"./errorPage/index.vue":["ODjX",1],"./index/home.vue":["BB8f",0,4],"./index/index.vue":["JXTs",0,2],"./index/noticeDetail.vue":["m2x8",0,6],"./index/noticeList.vue":["U6qK",0,3],"./login/index.vue":["T+/8",0,5]};function a(e){var t=o[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}a.keys=function(){return Object.keys(o)},a.id="Opzk",e.exports=a},SJI6:function(e,t){e.exports=Vuex},Xcu2:function(e,t){},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},uKUT:function(e,t){}},[0]);
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var i,u,f,d=0,s=[];d<r.length;d++)u=r[d],t[u]&&s.push(t[u][0]),t[u]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(n&&n(r,c,a);s.length;)s.shift()();if(a)for(d=0;d<a.length;d++)f=o(o.s=a[d]);return f};var r={},t={12:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"14dae5d653447222b2da",1:"0ebe3ead93207dc78a78",2:"d91471e9fd2356682719",3:"8263baecd804410372c1",4:"2ff0ba051a42a51dbec4",5:"5363361069200e3e0740",6:"50511dca4c0c949d1c44",7:"7a9f6ebfddf9cc979084",8:"767565e25e9757d96d88",9:"d09f88496f390e11bc0b"}[e]+".js";var i=setTimeout(u,12e4);function u(){a.onerror=a.onload=null,clearTimeout(i);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=u,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var i,u,f,s=0,d=[];s<r.length;s++)u=r[s],t[u]&&d.push(t[u][0]),t[u]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(n&&n(r,c,a);d.length;)d.shift()();if(a)for(s=0;s<a.length;s++)f=o(o.s=a[s]);return f};var r={},t={8:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"0efadc94c986926b4b34",1:"31182f257a5cbc12d26d",2:"5c1c6642e6884dc686de",3:"d05f40e51e71f0aa263d",4:"589e7a586bd6c8494740",5:"4c56322b46ced3b0eb93"}[e]+".js";var i=setTimeout(u,12e4);function u(){a.onerror=a.onload=null,clearTimeout(i);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=u,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
"html2canvas": "^1.0.0-alpha.12", "html2canvas": "^1.0.0-alpha.12",
"js-md5": "^0.7.3", "js-md5": "^0.7.3",
"jspdf": "^1.5.3", "jspdf": "^1.5.3",
"marked": "^0.7.0",
"qrcodejs2": "0.0.2", "qrcodejs2": "0.0.2",
"requset": "0.0.1-security", "requset": "0.0.1-security",
"script-loader": "^0.7.2", "script-loader": "^0.7.2",
......
/**
* 开放平台公告 API
*/
import { getRequest } from './api';
export const PREFIX = '/open-platform-home-web/';
// 首页三条
export const getThreeNotice = params => getRequest(`${PREFIX}list-notice`, params);
// 公告详情
export const getNoticeDetail = params => getRequest(`${PREFIX}get-notice`, params);
// 公告列表
export const getNoticeList = params => getRequest(`${PREFIX}page-notice`, params);
<!--
公共头部带箭头
<arrow-nav-bread :menuData="menuData"></arrow-nav-bread>
import arrowNavBread from '@/components/nav/arrow-nav-bread.vue'
components: {
arrowNavBread
},
-->
<template>
<div class="right-content-top border-box">
<div class="right-top-wrap flex flex-row flex-space-between flex-pack-center">
<div class="right-top-wrap_left flex flex-pack-center">
<div aria-label="Breadcrumb" role="navigation" class="el-breadcrumb">
<template v-for="(item, index) in titleData">
<span class="el-breadcrumb__item" :key="index" @click="redirectRoute(item.path)">
<span role="link" :class="['el-breadcrumb__inner', !!item.path ? 'is-link' : '']">{{ item.name }}</span>
<i class="el-breadcrumb__separator el-icon-arrow-right"></i>
</span>
</template>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
name: 'arrow-nav-bread',
props: {
menuData: {
type: [Array, Object],
default() {
return [];
}
}
},
data() {
return {
requestProject: 'openPlatform',
titleData: []
};
},
watch: {
menuData(newDate) {
if (!!newDate) {
this.titleData = newDate;
}
}
},
mounted() {
let that = this;
if (!!that.menuData) {
that.titleData = that.menuData;
}
},
methods: {
/**
* 路由跳转
*/
changeRoute(path) {
this.$router.push(path);
},
redirectRoute(path) {
let that = this;
if (!!path) {
that.changeRoute(path);
}
}
}
};
</script>
<style lang="less" scoped>
.right-content-top {
.right-top-wrap {
padding: 16px 0;
}
.el-breadcrumb__item {
.el-breadcrumb__inner {
color: #0a1633;
font-weight: 600;
&.is-link {
color: #0a1633;
font-weight: 400;
}
}
}
}
</style>
<template>
<div class="nav-wrap boxbttom border-box">
<el-breadcrumb separator-class="el-icon-arrow-right">
<template v-for="(item, index) in navPath">
<template v-if="!!item.path">
<el-breadcrumb-item :key="'nav' + index" @click="changeRoute(item.path, item.relocation)">
<span class="el-breadcrumb__inner is-link" @click="changeRoute(item.path, item.relocation)">
{{ item.name
}}<!-- :to="{ path: item.path }" -->
</span>
</el-breadcrumb-item>
</template>
<template v-else>
<el-breadcrumb-item :key="'nav' + index">{{ item.name }}</el-breadcrumb-item>
</template>
</template>
</el-breadcrumb>
</div>
</template>
<script>
import { postRequest } from '@/api/api';
import errMsg from '@/assets/js/error';
export default {
name: 'nav-bread',
data() {
return {
projectName: 'api-gateway-web' // 当前项目名
};
},
props: {
navPath: {
type: Array,
default: function() {
return [];
}
},
slotFlag: {
type: Boolean,
default: false
},
navtip: {
type: Boolean,
default: false
},
subNavText: {
type: String,
default: ''
}
},
methods: {
changeRoute(path, relocation) {
let that = this;
if (relocation) {
window.location.href = path;
} else {
// 为了返回带参数
if (that.$route.fullPath.includes('?')) {
let hash = '?' + that.$route.fullPath.split('?')[1];
let newPath = path + hash;
that.$router.push(newPath);
return false;
}
that.$router.push(path);
}
},
// get nav path
getNavPath() {
let that = this;
let para = {
project: that.projectName,
path: that.$route.path.split('/')[1]
};
postRequest('/api-auth/get-current-memu-data', para)
.then(res => {
// console.log(res,res.data,res.data.errorCode)
var resData = res.data;
if (resData.errorCode == 0) {
if (!resData.result) {
return false;
}
that.navpath = [];
if (!!resData.result.list && !!resData.result.list.length) {
resData.result.list.forEach(function(ele, index) {
ele.name = ele.menuName;
ele.path = '';
if (index == resData.result.list.length - 1) {
ele.path = '/' + ele.menuUrl;
}
if (index > 0) {
that.navpath.push(ele);
}
});
// that.navpath = resData.result.list
}
// that.navpath[0].name = resData.result.level2.menuName;
// that.navpath[0].path = ''
// that.navpath[1].name = resData.result.level3.menuName;
// that.navpath[1].path = ''
// if (!!resData.result.level4) {
// that.navpath[2] = {
// name:'',
// path: ''
// }
// that.navpath[2].name = resData.result.level4.menuName;
// that.navpath[2].path = ''
// }
return;
}
errMsg.errorMsg(resData);
})
.catch(function(error) {
// that.toLogin()
that.$message.error({
duration: 1000,
message: error.message
});
});
}
},
/* eslint-disable */
mounted() {
// var that = this;
// that.getNavPath();
}
};
</script>
<style lang="less" scoped>
.nav-wrap {
padding: 12px 0 0 21px;
height: 40px;
background-color: #fff;
border-radius: 2px;
}
.boxbttom {
border-bottom: 1px solid #e4e7ed;
}
.boxshow {
border-bottom: 1px solid #e4e7ed;
box-shadow: 5px -1px 5px #dfdfdf;
}
.navtitle {
margin: 24px 0 0 0;
font-size: 20px;
color: #303133;
font-weight: 500;
}
.navtip {
width: 100%;
height: 38px;
line-height: 38px;
font-size: 13px;
border-radius: 2px;
color: #606266;
background-color: #f4f4f5;
}
.navmTop {
margin-top: 25px;
}
.navtipcolor {
margin: 0 12px;
color: #1890ff;
}
.el-breadcrumb__item:last-child .el-breadcrumb__inner,
.el-breadcrumb__item:last-child .el-breadcrumb__inner a,
.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover,
.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover {
font-weight: 700;
text-decoration: none;
cursor: pointer;
color: #303133;
}
.el-breadcrumb__item:last-child {
/deep/.el-breadcrumb__inner {
font-weight: 700;
color: #303133;
}
}
.el-breadcrumb__inner.is-link {
font-weight: 500;
color: #606266;
}
</style>
...@@ -30,6 +30,9 @@ const dateFormat = function(timeSpan, format) { ...@@ -30,6 +30,9 @@ const dateFormat = function(timeSpan, format) {
* @param timestamp * @param timestamp
*/ */
const formatTimeStamp = function(data) { const formatTimeStamp = function(data) {
if (!data) {
return;
}
let date = new Date(data); let date = new Date(data);
let month = date.getMonth() + 1; let month = date.getMonth() + 1;
let day = date.getDate() < 10 ? '0' + date.getDate() : date.getDate(); let day = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
...@@ -41,10 +44,28 @@ const formatTimeStamp = function(data) { ...@@ -41,10 +44,28 @@ const formatTimeStamp = function(data) {
}; };
/** /**
* 时间戳---> 月-日
* @param timestamp
*/
const timeStampToMd = function(data) {
if (!data) {
return;
}
let date = new Date(data);
let month = date.getMonth() + 1;
let day = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
let newMonth = month < 10 ? '0' + month : month;
return `${newMonth}-${day}`;
};
/**
* 时间戳---> 年-月-日 * 时间戳---> 年-月-日
* @param timestamp * @param timestamp
*/ */
const timeStampToYmd = function(data) { const timeStampToYmd = function(data) {
if (!data) {
return;
}
let date = new Date(data); let date = new Date(data);
let month = date.getMonth() + 1; let month = date.getMonth() + 1;
let day = date.getDate() < 10 ? '0' + date.getDate() : date.getDate(); let day = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
...@@ -53,10 +74,28 @@ const timeStampToYmd = function(data) { ...@@ -53,10 +74,28 @@ const timeStampToYmd = function(data) {
}; };
/** /**
* 时间戳---> 年/月/日
* @param timestamp
*/
const timeStampToLineYmd = function(data) {
if (!data) {
return;
}
let date = new Date(data);
let month = date.getMonth() + 1;
let day = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
let newMonth = month < 10 ? '0' + month : month;
return `${date.getFullYear()}/${newMonth}/${day}`;
};
/**
* 时间戳---> 时:分:秒 * 时间戳---> 时:分:秒
* @param timestamp * @param timestamp
*/ */
const timeStampToHms = function(data) { const timeStampToHms = function(data) {
if (!data) {
return;
}
let date = new Date(data); let date = new Date(data);
let hours = date.getHours() < 10 ? '0' + date.getHours() : date.getHours(); let hours = date.getHours() < 10 ? '0' + date.getHours() : date.getHours();
let minutes = date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes(); let minutes = date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes();
...@@ -68,5 +107,7 @@ export default { ...@@ -68,5 +107,7 @@ export default {
dateFormat, dateFormat,
formatTimeStamp, formatTimeStamp,
timeStampToYmd, timeStampToYmd,
timeStampToHms timeStampToLineYmd,
timeStampToHms,
timeStampToMd
}; };
...@@ -28,7 +28,7 @@ export const constantRouterMap = [ ...@@ -28,7 +28,7 @@ export const constantRouterMap = [
{ {
path: '/', path: '/',
name: '/', name: '/',
redirect: 'index' redirect: 'home'
}, },
{ {
path: '/login', path: '/login',
...@@ -38,8 +38,27 @@ export const constantRouterMap = [ ...@@ -38,8 +38,27 @@ export const constantRouterMap = [
{ {
path: '/index', path: '/index',
name: '首页', name: '首页',
component: _import('index', 'index') redirect: 'home',
component: _import('index', 'index'),
children: [
{
path: '/home',
name: '首页',
component: _import('index', 'home')
},
{
path: '/noticeDetail',
name: '公告详情',
component: _import('index', 'noticeDetail')
},
{
path: '/noticeList',
name: '公告列表',
component: _import('index', 'noticeList')
}
]
}, },
{ {
path: '/403', path: '/403',
name: '无权访问', name: '无权访问',
......
...@@ -2,123 +2,27 @@ ...@@ -2,123 +2,27 @@
<div id="index"> <div id="index">
<vue-open-header></vue-open-header> <vue-open-header></vue-open-header>
<div class="open-body border-box"> <div class="open-body border-box">
<div class="open-body-wrap border-box"> <router-view></router-view>
<div class="swiper-content">
<div class="swiper-content-body">
<el-carousel :interval="5000" arrow="never" height="480px">
<el-carousel-item v-for="item in 4" :key="item">
<img src="../../assets/index/banner.png" alt="" />
</el-carousel-item>
</el-carousel>
</div>
<div class="notice-content">
<div class="notice-container">
<div class="notice-inner">
<div class="notice-box clearfix flex">
<div class="notice-tips"><i class="font_family icon-tongzhigonggao color-fff font-14"></i></div>
<ul class="clearfix flex">
<template v-for="(item, index) in noticeList">
<li class="notice-li clearfix" :key="index + 'notice'">
<a class="font-14" target="_blank" rel="noopener noreferrer" href="announcement.htm?id=1"
><span>{{ item.noticeDate }}</span><span class="notice-txt">{{ item.noticeTitle }}</span>
</a>
</li>
</template>
<li class="more-notice">
<a class="color-fff font-14" target="_blank" rel="noopener noreferrer" href="/platform/announcement.htm">查看更多&gt;</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="home-content">
<div class="home-service">
<div class="home-content-service commont-width">
<div class="homepage-title">
<h2 class="open-service">开放业务</h2>
<div class="common-border-line"></div>
</div>
<div class="home-content-body">
<div class="open-service-list">
<ul class="flex">
<template v-for="(item, index) in serviceList">
<li :key="index">
<img :src="item.serviceIcon" alt="" />
<h3 class="font-w-500">{{ item.serviceName }}</h3>
<p>{{ item.serviceContent }}</p>
</li>
</template>
</ul>
</div>
</div>
</div>
</div>
<div class="home-content-guide commont-width">
<div class="homepage-title">
<h2 class="access-guide">接入指南</h2>
<div class="common-border-line"></div>
</div>
<div class="home-content-body">
<div class="access-guide-item">
<ul class="flex flex-space-between">
<li>
<img src="../../assets/index/banner03.png" alt="" />
<div class="inner-li">
<h3 class="font-w-500">平台服务商</h3>
<p>面向企业内部开发人员和定制服务商,自主开发内部应用,供企业内部使用,对接已有的后台系统。</p>
<div>
<el-button plain>立即入驻<i class="font_family icon-jiantou color-000 p-l-8"></i></el-button>
</div>
</div>
</li>
<li class="m-l-40">
<img src="../../assets/index/banner04.png" alt="" />
<div class="inner-li">
<h3>企业开发者</h3>
<p>面向企业内部开发人员和定制服务商,自主开发内部应用,供企业内部使用,对接已有的后台系统。</p>
<div>
<el-button plain>立即入驻<i class="font_family icon-jiantou color-000 p-l-8"></i></el-button>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
<vue-open-footer></vue-open-footer>
</div>
</div> </div>
<vue-open-footer></vue-open-footer>
</div> </div>
</template> </template>
<script> <script>
import vueOpenHeader from '@/components/vue-open-header.vue'; import vueOpenHeader from '@/components/vue-open-header.vue';
import vueOpenFooter from '@/components/vue-open-footer.vue'; import vueOpenFooter from '@/components/vue-open-footer.vue';
/* import { getRequest } from '@/api/api'; import { getThreeNotice } from '@/api/notice';
import errMsg from '@/common/js/error'; */ import errMsg from '@/assets/js/error';
export default { export default {
name: 'index', name: 'index',
data() { data() {
return { return {
projectName: '', // 当前项目名 projectName: '', // 当前项目名
noticeList: [ noticeList: [
{ /* {
noticeId: '',
noticeDate: '07-08',
noticeTitle: '关于《小程序违规处理规则》等规则修订公告'
},
{
noticeId: '',
noticeDate: '07-08',
noticeTitle: '关于《小程序违规处理规则》等规则修订公告'
},
{
noticeId: '', noticeId: '',
noticeDate: '07-08', effectiveTime : '07-08',
noticeTitle: '关于《小程序违规处理规则》等规则修订公告' title: '关于《小程序违规处理规则》等规则修订公告'
} } */
], ],
/* eslint-disable */ /* eslint-disable */
serviceList: [ serviceList: [
...@@ -179,28 +83,33 @@ export default { ...@@ -179,28 +83,33 @@ export default {
let that = this; let that = this;
that.activeSelTab = id; that.activeSelTab = id;
}, },
/**
// 选择后返回tabCode,做各路由判断 * 获取公告
setSelectTab(item) { */
getNoticeData() {
const that = this; const that = this;
let tabCode = item.tabCode; let para = {};
if (item.hasOwnProperty('children') && !!item.children.length) { getThreeNotice(para)
tabCode = item.children[0].tabCode; .then(res => {
if (item.children[0].hasOwnProperty('children') && !!item.children[0].hasOwnProperty('children').length) { let resData = res.data;
tabCode = item.children[0].children[0].tabCode; if (resData.code == '0000') {
} that.noticeList= resData.result || [];
} return;
that.$router.push({ }
path: item.tabUrl, errMsg.errorMsg(resData);
query: { })
tabCode: tabCode .catch(function(error) {
} that.$message.error({
}); duration: 1000,
} message: error.message
});
});
},
}, },
mounted() { mounted() {
const that = this; const that = this;
that.contentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 204 + 'px'; that.getNoticeData();
}, },
components: { components: {
vueOpenHeader, vueOpenHeader,
...@@ -216,7 +125,7 @@ export default { ...@@ -216,7 +125,7 @@ export default {
position: relative; position: relative;
width: 100%; width: 100%;
height: 100%; height: 100%;
margin-top: 58px; margin: 58px 0 60px 0;
overflow: hidden; overflow: hidden;
&-wrap { &-wrap {
position: relative; position: relative;
...@@ -239,12 +148,23 @@ export default { ...@@ -239,12 +148,23 @@ export default {
bottom: 0; bottom: 0;
z-index: 1; z-index: 1;
.notice-container { .notice-container {
.clearfix:before, .clearfix:after {
display: block;
visibility: hidden;
height: 0;
content: "";
clear: both;
}
.notice-inner { .notice-inner {
width: 1200px; width: 1200px;
height: 36px; height: 36px;
line-height: 36px; line-height: 36px;
margin: 0 auto; margin: 0 auto;
.notice-ul {
width: 100%;
}
.notice-li { .notice-li {
float: left;
width: 234px; width: 234px;
margin-right: 60px; margin-right: 60px;
white-space: nowrap; white-space: nowrap;
...@@ -269,7 +189,7 @@ export default { ...@@ -269,7 +189,7 @@ export default {
} }
} }
.more-notice { .more-notice {
margin-left: 234px; float: right;
&:hover { &:hover {
a { a {
color: #4c70e8; color: #4c70e8;
......
<template>
<div class="notice-detail">
<div class="common-body">
<arrow-nav-bread :menuData="menuData"></arrow-nav-bread>
<div class="notice-detail-body">
<h2>{{ noticeData.groupName }}{{ noticeData.title }}</h2>
<div class="notice-detail-content">
<div class="markdown-content" v-html="noticeData.content"></div>
</div>
<p class="notice-oprate font-14 color-0a1633">{{ noticeData.operator }}</p>
<p class="notice-date font-14 color-0a1633">{{ noticeData.effectiveTime | timeStampToLineYmd }}</p>
</div>
</div>
</div>
</template>
<script>
import arrowNavBread from '@/components/nav/arrow-nav-bread.vue';
import { getNoticeDetail } from '@/api/notice';
import errMsg from '@/assets/js/error';
import marked from 'marked';
export default {
components: {
arrowNavBread
},
data() {
return {
menuData: [
{
path: '/noticeList',
name: '公告列表'
},
{
path: '',
name: '公告详情'
}
],
noticeData: {
groupName: '',
title: ''
}
};
},
methods: {
getData() {
const that = this;
let para = {
noticeId: that.$route.query.noticeId
};
getNoticeDetail(para)
.then(res => {
let resData = res.data;
if (resData.code == '0000') {
resData.result.content = marked(resData.result.content);
that.noticeData = resData.result || {};
return;
}
errMsg.errorMsg(resData);
})
.catch(function(error) {
that.$message.error({
duration: 1000,
message: error.message
});
});
}
},
mounted() {
const that = this;
that.getData();
}
};
</script>
<style lang="less" scoped>
.notice-detail {
margin: 84px 0 210px 0;
.common-body {
width: 1180px;
margin: 0 auto;
h2 {
margin-top: 48px;
height: 80px;
line-height: 80px;
font-size: 24px;
color: #0a1633;
border-bottom: 1px solid #f6f7fa;
}
.markdown-content {
padding-top: 16px;
font-size: 14px;
color: #0a1633;
line-height: 24px;
}
.notice-oprate {
margin-top: 24px;
text-align: right;
line-height: 24px;
}
.notice-date {
margin-top: 8px;
text-align: right;
line-height: 24px;
}
}
}
</style>
<template>
<div class="notice-list">
<div class="notice-list-body">
<h2>公告</h2>
<ul class="notice-list-ul">
<li class="notice-list-li flex li-th">
<div class="notice-list-left">公告标题</div>
<div class="notice-list-right">公告时间</div>
</li>
<template v-for="(item, index) in noticeList">
<li :key="index + 'notice'" class="notice-list-li notice-list-cell flex">
<div class="notice-list-left">
<span>{{ item.groupName }}</span><span class="p-l-10">{{ item.title }}</span>
</div>
<div class="notice-list-right">{{ item.effectiveTime | timeStampToLineYmd }}</div>
</li>
</template>
</ul>
<div class="el-table__empty-block" v-if="!total">
<div class="el-table__empty-text">
<p class="font-14 color-909399">暂无数据</p>
</div>
</div>
<div class="page-wrap" v-if="total">
<el-pagination background layout="prev, pager, next" :total="total"> </el-pagination><span class="p-l-48">共 {{ totalPage }} 页 {{ total }} 条</span>
</div>
</div>
</div>
</template>
<script>
import vueOpenHeader from '@/components/vue-open-header.vue';
import vueOpenFooter from '@/components/vue-open-footer.vue';
import { getNoticeList } from '@/api/notice';
import errMsg from '@/assets/js/error';
export default {
components: {
vueOpenHeader,
vueOpenFooter
},
data() {
return {
noticeList: [],
pageNumber: 1,
pageSize: 20,
total: 0,
totalPage: 0
};
},
methods: {
// 分页
handleSizeChange(val) {
this.pageSize = val;
this.getNoticeData();
},
handleCurrentChange(val) {
this.currentPage = val;
this.getNoticeData();
},
getNoticeData() {
const that = this;
let para = {
pageNumber: that.pageNumber,
pageSize: that.pageSize
};
getNoticeList(para)
.then(res => {
let resData = res.data;
if (resData.code == '0000') {
that.noticeList = resData.result.result || [];
that.total = resData.result.totalCount;
that.totalPage = resData.result.totalPage;
return;
}
errMsg.errorMsg(resData);
})
.catch(function(error) {
that.$message.error({
duration: 1000,
message: error.message
});
});
}
},
mounted() {
const that = this;
that.getNoticeData();
}
};
</script>
<style lang="less" scoped>
.p-l-48 {
padding-left: 48px;
}
.notice-list {
margin: 84px 0 20px 0;
.notice-list-body {
width: 1160px;
margin: 0 auto;
h2 {
font-size: 24px;
color: #0a1633;
}
.notice-list-ul {
li {
height: 80px;
line-height: 80px;
font-size: 14px;
color: #0a1633;
cursor: pointer;
&:hover {
.notice-list-left {
color: #4c70e8;
}
}
&:nth-child(2n + 1) {
background: #f6f7fa;
}
&.li-th {
background: #fff;
border-bottom: 1px solid #f6f7fa;
.notice-list-left {
padding: 0;
}
}
.notice-list-left {
width: 928px;
max-width: 928px;
padding-left: 20px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.notice-list-right {
width: 172px;
max-width: 172px;
}
}
}
.page-wrap {
margin-top: 100px;
text-align: center;
.el-pagination {
display: inline-block;
vertical-align: middle;
}
.p-l-48 {
height: 32px;
line-height: 32px;
font-size: 14px;
color: #0a1633;
}
}
}
}
.el-table__empty-block {
height: 256px;
.el-table__empty-text {
width: auto;
margin-bottom: 80px;
&::before {
content: ' ';
display: block;
width: 60px;
height: 60px;
background: url(../../assets/no-data_icon.png) no-repeat center;
margin: 0px auto 22px auto;
}
}
}
</style>
...@@ -406,6 +406,10 @@ input:focus { ...@@ -406,6 +406,10 @@ input:focus {
color: #16214a color: #16214a
} }
.color-0a1633 {
color: #0A1633
}
.p-0 { .p-0 {
padding: 0; padding: 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