Commit 35c560ac authored by 徐一鸣's avatar 徐一鸣

工作台首页fixed

parent 9387e20e
...@@ -57,8 +57,10 @@ ...@@ -57,8 +57,10 @@
<p <p
style="margin-top:20px;margin-bottom:10px;font-size:18px;color: #0d1847;font-weight:600;padding-left:20px;" style="margin-top:20px;margin-bottom:10px;font-size:18px;color: #0d1847;font-weight:600;padding-left:20px;"
> >
云资源概况分析 <span style="cursor:pointer;" @click="$router.push('/data_analysis')">
<img style="vertical-align:-9px;" src="@/assets/imgs/home_btn_enter.png" alt /> <span style="display: inline-block;vertical-align:middle;">数据分析中心</span>
<img style="vertical-align:middle;" src="@/assets/imgs/home_btn_enter.png" />
</span>
</p> </p>
<div class="data_charts"> <div class="data_charts">
<div class="charts_box" :style="now_chart==0?'':{marginLeft:'-720px'}"> <div class="charts_box" :style="now_chart==0?'':{marginLeft:'-720px'}">
...@@ -124,7 +126,7 @@ ...@@ -124,7 +126,7 @@
v-for="(item, index) in online_tool_arr" v-for="(item, index) in online_tool_arr"
:key="index + 300" :key="index + 300"
class="online_box" class="online_box"
@click="goto_online_page(item.url,index)" @click="goto_online_page(item.url,index,undefined,item.target)"
@mouseenter="enter_online_tool(index)" @mouseenter="enter_online_tool(index)"
@mouseleave="leave_online_tool()" @mouseleave="leave_online_tool()"
:style="now_online==index&&item.move_bg?{backgroundColor:item.move_bg}:{ backgroundColor: item.bg }" :style="now_online==index&&item.move_bg?{backgroundColor:item.move_bg}:{ backgroundColor: item.bg }"
...@@ -960,10 +962,12 @@ export default { ...@@ -960,10 +962,12 @@ export default {
], ],
online_tool_arr: [ online_tool_arr: [
{ {
text: "智能", text: "智能",
pic: require("@/assets/imgs/home_tool_ic_znht.png"), pic: require("@/assets/imgs/home_tool_ic_znht.png"),
bg: "#e5f4fe", bg: "#e5f4fe",
color: "#38aef9" color: "#38aef9",
url: "https://apaasgis.wodcloud.com/portal/geoplat/viewer/mapViewer.html",
target: 1
}, },
{ {
text: "数据开发", text: "数据开发",
...@@ -981,13 +985,17 @@ export default { ...@@ -981,13 +985,17 @@ export default {
text: "流程设计", text: "流程设计",
pic: require("@/assets/imgs/home_tool_ic_lcsj.png"), pic: require("@/assets/imgs/home_tool_ic_lcsj.png"),
bg: "#e6ebfe", bg: "#e6ebfe",
color: "#515fe7" color: "#515fe7",
url: "https://apaas.wodcloud.com/lcgl/index.html#/",
target: 1
}, },
{ {
text: "可视化", text: "可视化",
pic: require("@/assets/imgs/home_tool_ic_kshbb.png"), pic: require("@/assets/imgs/home_tool_ic_kshbb.png"),
bg: "#fff2e2", bg: "#fff2e2",
color: "#ea7d19" color: "#ea7d19",
url: "https://apaas.wodcloud.com/bi/",
target: 1
}, },
{ {
text: "模板应用", text: "模板应用",
...@@ -1143,9 +1151,13 @@ export default { ...@@ -1143,9 +1151,13 @@ export default {
} }
}); });
}, },
goto_online_page(url,index,idx){ goto_online_page(url,index,idx,target){
if(url){ if(url){
this.$router.push(url); if (target==1) {
window.open(url);
} else {
this.$router.push(url);
}
} }
}, },
get_service_list() { get_service_list() {
......
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