Commit 62f46cc8 authored by ww-xxy's avatar ww-xxy

修改门户站点编排

parent 103d1f0b
......@@ -19,8 +19,8 @@
<div class="img_box img3"></div>
</a-carousel>
<div class="title">
<!-- <h3>以客户为中心,以奋斗者为本,永远坚持艰苦奋斗</h3>
<p>“互联网+政务服务”整体解决方案提供商和服务商</p> -->
<h3 style="text-align: center;font-size: 50px;">宜人·宜宾·宜办事</h3>
<!-- <p>“互联网+政务服务”整体解决方案提供商和服务商</p> -->
</div>
<div class="classification">
<div class="modules">
......@@ -30,7 +30,7 @@
:key="item.id"
@click="openWindow(item.modelUrl)"
>
<div class="picture">
<div class="picture" :style="{background: item.color}">
<img
width="40"
height="35"
......@@ -76,7 +76,13 @@ export default {
this.siteId = Storage.get(2, "siteId");
let res = await appsListInterface({ siteId: this.siteId });
let { data } = res.data;
this.siteModelList = data;
let color = []
let colorArr = ['#546DFF','#1E6FFF','#3CBFFF','#00AA5B','#FFAB00']
color = colorArr.concat(colorArr,colorArr,colorArr,colorArr,colorArr,colorArr)
this.siteModelList = data.map((v,i)=>{
v['color'] = color[i]
return v
});
},
openWindow(href) {
let token = Storage.get(2, "Authorization");
......@@ -163,7 +169,7 @@ export default {
.classification {
width: 100%;
height: 300px;
height: 410px;
position: absolute;
bottom: 0;
background-color: rgba(3, 23, 24, 0.452);
......@@ -180,7 +186,6 @@ export default {
margin-top: 5px;
text-align: center;
cursor: pointer;
.picture {
width: 72px;
height: 72px;
......
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