|
|
@ -185,9 +185,10 @@ const openApp = (appKey:string) => { |
|
|
/** |
|
|
/** |
|
|
@ 作者: 秦东 |
|
|
@ 作者: 秦东 |
|
|
@ 时间: 2024-11-08 13:57:04 |
|
|
@ 时间: 2024-11-08 13:57:04 |
|
|
@ 功能: 获取首页App列表 |
|
|
@ 功能: 获取首页App列表171210499312138 |
|
|
*/ |
|
|
*/ |
|
|
const getHomeAppList = () => { |
|
|
const getHomeAppList = () => { |
|
|
|
|
|
// getAppList({id:"171210499312138"}) |
|
|
getAppList({id:"229565067446718464"}) |
|
|
getAppList({id:"229565067446718464"}) |
|
|
.then((data) => { |
|
|
.then((data) => { |
|
|
console.log("获取首页App列表",data) |
|
|
console.log("获取首页App列表",data) |
|
|
@ -259,7 +260,10 @@ const openNews = (val:any,name:string) => { |
|
|
<el-card style="margin-top: 5px;" shadow="always"> |
|
|
<el-card style="margin-top: 5px;" shadow="always"> |
|
|
|
|
|
|
|
|
<div v-for="item in homeAppList" :key="item.id" class="appIconBox " @click="openApp(item.signCodeStr)"> |
|
|
<div v-for="item in homeAppList" :key="item.id" class="appIconBox " @click="openApp(item.signCodeStr)"> |
|
|
<div class="footSvg "><SvgIcon :icon-class="item.name?'homepage':'homepage'" :size="20" /></div> |
|
|
<div v-if="item.icon!=''" class="footSvgpic "> |
|
|
|
|
|
<el-image style="width: 40px; height: 40px" :src="item.icon" fit="fit" /> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div v-else class="footSvg "><SvgIcon icon-class="homepage" :size="40" /></div> |
|
|
<div class="appNamsBox">{{ item.name }}</div> |
|
|
<div class="appNamsBox">{{ item.name }}</div> |
|
|
</div> |
|
|
</div> |
|
|
<!-- <div class="appIconBox "> |
|
|
<!-- <div class="appIconBox "> |
|
|
@ -396,7 +400,18 @@ const openNews = (val:any,name:string) => { |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
width:50px; |
|
|
width:50px; |
|
|
height: 50px; |
|
|
height: 50px; |
|
|
border-radius:25px; |
|
|
// border-radius:25px; |
|
|
|
|
|
border-radius:5px; |
|
|
|
|
|
background-color: #01A7F0; |
|
|
|
|
|
margin: 0 auto; |
|
|
|
|
|
} |
|
|
|
|
|
.footSvgpic{ |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
width:50px; |
|
|
|
|
|
height: 50px; |
|
|
|
|
|
border-radius:5px; |
|
|
background-color: #01A7F0; |
|
|
background-color: #01A7F0; |
|
|
margin: 0 auto; |
|
|
margin: 0 auto; |
|
|
} |
|
|
} |
|
|
|