NurseStationApp/pages/homepage/homepage.vue

95 lines
1.7 KiB
Vue
Raw Normal View History

2022-10-12 16:54:34 +08:00
<template>
<view class="app">
<view class="cards">
2022-10-12 17:45:22 +08:00
<view class="nursing item">
2022-10-13 10:37:47 +08:00
<image src="../../static/jjhl.png" mode=""></image>
2022-10-12 17:45:22 +08:00
<view class="title">
护理站
</view>
</view>
2022-10-17 11:21:23 +08:00
<view class="expert item" @tap='gomedicine'>
2022-10-13 10:37:47 +08:00
<image src="../../static/zhuanjia.png" mode=""></image>
2022-10-12 17:45:22 +08:00
<view class="title">
就医
</view>
</view>
<view class="elderly item">
2022-10-13 10:37:47 +08:00
<image src="../../static/ylfw.png" mode=""></image>
2022-10-24 14:42:03 +08:00
<view class="title" style="font-size: 40rpx;">
2022-10-12 17:45:22 +08:00
国家老年病中心
</view>
</view>
2022-10-24 14:42:03 +08:00
<view class="item Bodyguard">
2022-10-13 10:37:47 +08:00
<image src="../../static/pb.png" mode=""></image>
2022-10-12 17:45:22 +08:00
<view class="title">
体卫融合
</view>
</view>
2022-10-24 14:42:03 +08:00
<view class="item knowledge">
<image src="../../static/zs.png" mode=""></image>
<view class="title">
专病管理
</view>
</view>
<view class='item shopping' @tap="goshopping">
<image src="../../static/shopping.png" mode=""></image>
<view class="title">
商城
</view>
2022-10-12 16:54:34 +08:00
</view>
</view>
</view>
</template>
<script>
export default {
data() {
2022-10-17 11:21:23 +08:00
return {};
},
methods: {
2022-10-24 14:42:03 +08:00
//跳转商城页面
goshopping() {
uni.navigateTo({
url: '/pages/shopping/shopping'
})
},
2022-10-17 11:21:23 +08:00
//跳转就医页面
gomedicine() {
uni.navigateTo({
url: '/pages/medicine/medicine'
})
},
2022-10-12 16:54:34 +08:00
}
}
</script>
<style lang="scss">
.app {
.cards {
2022-10-24 14:42:03 +08:00
.shopping {
background: #F58540;
}
2022-10-12 17:45:22 +08:00
2022-10-24 14:42:03 +08:00
.Bodyguard {
background-color: #00C176;
2022-10-12 17:45:22 +08:00
}
.knowledge {
2022-10-24 14:42:03 +08:00
background: #9E4DD0;
2022-10-12 17:45:22 +08:00
}
.elderly {
2022-10-24 14:42:03 +08:00
background-color: #E1AE3C;
2022-10-12 17:45:22 +08:00
}
.expert {
background-color: #D43953;
}
.nursing {
background: #4C7BC9;
}
2022-10-12 16:54:34 +08:00
}
}
</style>