NurseStationApp/pages/Personal/Personal.vue

58 lines
1.0 KiB
Vue
Raw Normal View History

2022-10-12 16:54:34 +08:00
<template>
2022-10-13 16:02:25 +08:00
<view class="app">
<view class="cards">
2022-10-31 09:04:45 +08:00
<view class="item" style="background-color: #9E4DD0;" @tap='gouser'>
2022-10-13 16:02:25 +08:00
<image src="../../static/user.png" mode=""></image>
<view class="title">
个人信息
</view>
</view>
<view class=" item" style="background-color: #E1AE3C ;">
<image src="../../static/dingdan.png" mode=""></image>
<view class="title">
我的订单
</view>
</view>
<view class="item" style="background-color: #00C176 ;">
<image src="../../static/home.png" mode=""></image>
<view class="title" style="font-size: 42rpx;">
我的家庭
</view>
</view>
<view class="item">
</view>
</view>
2022-10-12 16:54:34 +08:00
</view>
</template>
<script>
export default {
data() {
2022-10-13 16:02:25 +08:00
return {};
},
2022-10-31 09:04:45 +08:00
methods: {
//跳转个人信息页面
gouser(){
uni.navigateTo({
url:'/pages/user/user'
})
},
},
2022-10-12 16:54:34 +08:00
}
</script>
<style lang="scss">
2022-10-13 16:02:25 +08:00
.app {
2022-10-31 09:04:45 +08:00
height: 100vh;
2022-10-13 16:02:25 +08:00
.cards {
.item {
height: 295rpx;
.title {
width: 80%;
top: 60%;
}
}
}
}
2022-10-12 16:54:34 +08:00
</style>