fix: 功能显示优化完善。
This commit is contained in:
@@ -1,31 +1,12 @@
|
||||
<template>
|
||||
<page class="home-page">
|
||||
<zui-header>
|
||||
<logo type="xiaoyanyun" href="/"></logo>
|
||||
<h4 class="zui-logo-text">
|
||||
<a class="zui-nav-link" href="http://152.136.151.187:88/login" target="_blank"> 记账平台</a>
|
||||
<a class="zui-nav-link" href="http://152.136.151.187:81/hrms/login" target="_blank"> 健康档案</a>
|
||||
<a class="zui-nav-link" href="http://152.136.151.187:8081/imaotai/" target="_blank"> 茅台预约</a>
|
||||
</h4>
|
||||
<div v-show="mobileShow" class="zui-rightcol" @click="openMenu">◄目录►</div>
|
||||
<div v-show="webShow">
|
||||
<zui-button @click="onButtonClick('callus')">联系我们</zui-button>
|
||||
<zui-button @click="onButtonClick('resource')">资料下载</zui-button>
|
||||
<!-- <zui-button @click="onButtonClick('imaotai')">茅台预约</zui-button>
|
||||
<zui-button @click="onButtonClick('health')">健康档案</zui-button>
|
||||
<zui-button @click="onButtonClick('invest')">记账平台</zui-button> -->
|
||||
<zui-button @click="onButtonClick('home')">首页</zui-button>
|
||||
</div>
|
||||
<template #buttons>
|
||||
<zui-button @click="onButtonClick('callus')">联系我们</zui-button>
|
||||
<zui-button @click="onButtonClick('resource')">资料下载</zui-button>
|
||||
<zui-button @click="onButtonClick('home')">首页</zui-button>
|
||||
</template>
|
||||
</zui-header>
|
||||
<div v-show="drawerVisible" class="zui-drawer-overlay" @click="closeMenu"></div>
|
||||
<div v-show="drawerVisible" class="zui-drawer">
|
||||
<div class="zui-drawer__header">菜单</div>
|
||||
<ul class="zui-drawer__list">
|
||||
<li @click="gohome">首页</li>
|
||||
<li @click="goresource">资料下载</li>
|
||||
<li @click="gocallus">联系我们</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="service">
|
||||
<h1>
|
||||
联系我们->注册账号->免费使用
|
||||
@@ -83,66 +64,19 @@
|
||||
feature2: feature2,
|
||||
feature3: feature3,
|
||||
feature4: feature4,
|
||||
mobileShow: false,
|
||||
webShow: true,
|
||||
drawerVisible: false,
|
||||
carouselPerPage: (Util.os.android || Util.os.iPhone|| Util.os.wechat|| Util.os.mobile|| Util.os.isapp|| Util.os.harmonyOS) ? 1 : 2
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.init()
|
||||
},
|
||||
methods: {
|
||||
onButtonClick: function (e) {
|
||||
if(e=="callus"){
|
||||
this.$router.push({path:'/callus'})
|
||||
}else if(e=="invest"){
|
||||
window.open("http://152.136.151.187:88/login", '_blank');
|
||||
}else if(e=="imaotai"){
|
||||
window.open("http://152.136.151.187:88/login", '_blank');
|
||||
} else if(e=="health"){
|
||||
window.open("http://152.136.151.187:81/hrms/login", '_blank');
|
||||
}
|
||||
else if(e=="resource"){
|
||||
}else if(e=="resource"){
|
||||
this.$router.push({path:'/resource'})
|
||||
}else{
|
||||
this.$router.push({path:'/'})
|
||||
}
|
||||
},
|
||||
openMenu: function () {
|
||||
this.drawerVisible = true
|
||||
},
|
||||
gohome: function () {
|
||||
this.$router.push({path:'/'})
|
||||
},
|
||||
gocallus: function () {
|
||||
this.$router.push({path:'/callus'})
|
||||
},
|
||||
goinvest: function () {
|
||||
window.open("http://152.136.151.187:86/#/", '_blank');
|
||||
},
|
||||
goimaotai: function () {
|
||||
window.open("http://152.136.151.187:90/#/", '_blank');
|
||||
},
|
||||
goresource: function () {
|
||||
this.$router.push({path:'/resource'})
|
||||
},
|
||||
gohealth: function () {
|
||||
window.open("http://152.136.151.187:89/#/", '_blank');
|
||||
},
|
||||
closeMenu: function () {
|
||||
this.drawerVisible = false
|
||||
},
|
||||
init: function () {
|
||||
if((Util.os.android || Util.os.iPhone|| Util.os.mobile|| Util.os.isapp|| Util.os.harmonyOS)){
|
||||
this.webShow=false
|
||||
this.mobileShow=true
|
||||
}else{
|
||||
this.webShow=true
|
||||
this.mobileShow=false
|
||||
}
|
||||
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user