136 lines
2.6 KiB
Vue
136 lines
2.6 KiB
Vue
<template>
|
|
<view class="app">
|
|
<view class="cards">
|
|
<view class="nursing item" @tap="gosite">
|
|
<image src="../../static/jjhl.png" mode=""></image>
|
|
<view class="title">
|
|
护理站
|
|
</view>
|
|
</view>
|
|
<view class="expert item" @tap='gomedicine'>
|
|
<image src="../../static/zhuanjia.png" mode=""></image>
|
|
<view class="title">
|
|
就医
|
|
</view>
|
|
</view>
|
|
<view class="item knowledge" @tap='godiseasemanagement'>
|
|
<image src="../../static/zs.png" mode=""></image>
|
|
<view class="title">
|
|
专病管理
|
|
</view>
|
|
</view>
|
|
<view class="item Bodyguard" @tap='goBodysatelliteintegration'>
|
|
<image src="../../static/pb.png" mode=""></image>
|
|
<view class="title">
|
|
体卫融合
|
|
</view>
|
|
</view>
|
|
<view class="elderly item" @tap='goGeriatricdisease'>
|
|
<image src="../../static/ylfw.png" mode=""></image>
|
|
<view class="title" style="font-size: 40rpx;">
|
|
国家老年病中心
|
|
</view>
|
|
</view>
|
|
<view class='item shopping' @tap="goshopping">
|
|
<image src="../../static/shopping.png" mode=""></image>
|
|
<view class="title">
|
|
商城
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<u-toast ref="uToast" />
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {};
|
|
},
|
|
//1.分享给朋友
|
|
onShareAppMessage(res) {
|
|
return {
|
|
title: '泉医到家',
|
|
path: '/pages/startup/startup',
|
|
}
|
|
},
|
|
//2.分享到朋友圈
|
|
onShareTimeline(res) {
|
|
return {
|
|
title: '泉医到家',
|
|
path: '/pages/startup/startup',
|
|
}
|
|
},
|
|
methods: {
|
|
//专病管理
|
|
godiseasemanagement() {
|
|
uni.navigateTo({
|
|
url: '/pages/diseasemanagement/diseasemanagement'
|
|
})
|
|
},
|
|
//老年病中心
|
|
goGeriatricdisease() {
|
|
uni.navigateTo({
|
|
url: '/pages/Geriatricdisease/Geriatricdisease'
|
|
})
|
|
},
|
|
//体卫融合
|
|
goBodysatelliteintegration() {
|
|
uni.navigateTo({
|
|
url: "/pages/Bodysatelliteintegration/Bodysatelliteintegration"
|
|
})
|
|
},
|
|
//跳转护理站页面
|
|
gosite() {
|
|
uni.navigateTo({
|
|
url: '/pages/site/site'
|
|
})
|
|
},
|
|
//跳转商城页面
|
|
goshopping() {
|
|
uni.navigateTo({
|
|
url: '/pages/shopping/shopping'
|
|
})
|
|
},
|
|
//跳转就医页面
|
|
gomedicine() {
|
|
uni.navigateTo({
|
|
url: '/pages/medicine/medicine'
|
|
})
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
.app {
|
|
.cards {
|
|
padding: 22px 0 20px 0;
|
|
|
|
.shopping {
|
|
background: #F58540;
|
|
}
|
|
|
|
.Bodyguard {
|
|
background-color: #00C176;
|
|
}
|
|
|
|
.knowledge {
|
|
background: #9E4DD0;
|
|
}
|
|
|
|
.elderly {
|
|
background-color: #E1AE3C;
|
|
}
|
|
|
|
.expert {
|
|
background-color: #D43953;
|
|
}
|
|
|
|
.nursing {
|
|
background: #4C7BC9;
|
|
}
|
|
}
|
|
}
|
|
</style>
|