pages/user/user_detail/userDetail.vue
@@ -50,6 +50,9 @@ </view> </view> </view> <view class="logOut" @click="logOut()"> 退出登录 </view> </view> </template> @@ -76,7 +79,11 @@ console.log(res.data); } }) }, logOut() { } } } </script> @@ -96,9 +103,16 @@ } .item-right { text-align: end; color: #afafaf; color: #6f6f6f; } .user-icons { text-align: center; } .logOut { height: 90rpx; line-height: 90rpx; text-align: center; background-color: #fff; margin-top: 30rpx; } </style>