h5分享链接

This commit is contained in:
2025-12-26 13:38:14 +08:00
parent 0d2082ebaf
commit 5845ae76da
3 changed files with 66 additions and 0 deletions

BIN
src/assets/toAppBg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 643 KiB

View File

@@ -324,6 +324,14 @@ const routes = [
title:'电瓶详情' title:'电瓶详情'
} }
}, },
{
path: '/goToApp',
name: 'goToApp',
component:()=>import('@/views/goToApp/goToApp.vue'),
meta: {
title:'电瓶详情'
}
},
...kpiRouter, ...kpiRouter,
...invoiceRouter, ...invoiceRouter,
...secondHandRouter, ...secondHandRouter,

View File

@@ -0,0 +1,58 @@
<template>
<div class="wrap">
<div class="content">
<div class="goToBtn">立即打开</div>
<div class="content_tip">
<div class="font_cls">如未安装请点击下载</div>
<div class="font_cls">如已安装未自动跳转 <span>立即下载</span></div>
</div>
</div>
</div>
</template>
<script>
export default {
name: "goToApp"
}
</script>
<style lang="scss" scoped>
.wrap {
width: 100%;
height: 100%;
background-image: url('@/assets/toAppBg.png');
background-repeat: no-repeat;
background-size: cover;
}
.content {
width: 100%;
position: fixed;
top: 74vh;
}
.goToBtn {
width: 70%;
height: 45px;
margin-left: 15%;
background: linear-gradient( 270deg, #2347C0 0%, #72A3FF 100%);
border-radius: 23px;
//font-weight: bold;
font-size: 17px;
color: #FFFFFF;
letter-spacing: 2px;
line-height: 45px;
text-align: center;
}
.content_tip {
width: 100%;
margin-top: 15px;
.font_cls {
font-size: 14px;
color: #808080;
line-height: 20px;
text-align: center;
span {
color: #007BE9;
}
}
}
</style>