NurseStationApp/pages/Personal/Personal.vue

65 lines
1.1 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>
2022-11-01 16:26:34 +08:00
<view class=" item" style="background-color: #E1AE3C ;" @tap='goorder'>
2022-10-13 16:02:25 +08:00
<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: {
2022-11-01 16:26:34 +08:00
goorder() {
uni.navigateTo({
url: '/pages/order/order'
})
},
2022-10-31 09:04:45 +08:00
//跳转个人信息页面
2022-11-01 16:26:34 +08:00
gouser() {
2022-10-31 09:04:45 +08:00
uni.navigateTo({
2022-11-01 16:26:34 +08:00
url: '/pages/user/user'
2022-10-31 09:04:45 +08:00
})
},
},
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-11-01 16:26:34 +08:00
2022-10-13 16:02:25 +08:00
.cards {
.item {
height: 295rpx;
2022-11-01 16:26:34 +08:00
2022-10-13 16:02:25 +08:00
.title {
width: 80%;
top: 60%;
}
}
}
}
2022-10-12 16:54:34 +08:00
</style>