|
@@ -0,0 +1,108 @@
|
|
|
+<style lang="scss" scoped>
|
|
|
+.user-test{
|
|
|
+ height: 100%;
|
|
|
+ &>*{
|
|
|
+ height: 100%;
|
|
|
+ display: inline-block;
|
|
|
+ vertical-align: top;
|
|
|
+ }
|
|
|
+ .left-menu{
|
|
|
+ width: 100px;
|
|
|
+ background: #181a19;
|
|
|
+ text-align: center;
|
|
|
+ padding: 40px 0;
|
|
|
+ color: white;
|
|
|
+ .user-info{
|
|
|
+ font-size: 15px;
|
|
|
+ img{
|
|
|
+ width: 40px;
|
|
|
+ height: 40px;
|
|
|
+ margin: 10px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ &>p{
|
|
|
+ display: inline-block;
|
|
|
+ padding: 2px 3px;
|
|
|
+ border-radius: 10px;
|
|
|
+ background: #5fb9c1;
|
|
|
+ margin: 15px 0 30px;
|
|
|
+ font-size: 13px;
|
|
|
+ }
|
|
|
+ ul{
|
|
|
+ li{
|
|
|
+ padding: 15px 0;
|
|
|
+ cursor: pointer;
|
|
|
+ opacity: 0.8;
|
|
|
+ &:hover{
|
|
|
+ opacity: 1;
|
|
|
+ background: #3a3c3b;
|
|
|
+ }
|
|
|
+ img{
|
|
|
+ width: 20px;
|
|
|
+ height: 20px;
|
|
|
+ margin-bottom: 5px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .right-content{
|
|
|
+ width: calc(100% - 100px);
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|
|
|
+<template>
|
|
|
+<div class="user-test">
|
|
|
+ <div class="left-menu">
|
|
|
+ <div class="user-info">
|
|
|
+ <img src="@/images/icon/user.png">
|
|
|
+ <p>你那么狗</p>
|
|
|
+ </div>
|
|
|
+ <p>爻象个人中心</p>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+ <img src="@/images/icon/user.png">
|
|
|
+ <p>状态记录</p>
|
|
|
+ </li>
|
|
|
+ <li>
|
|
|
+ <img src="@/images/icon/user.png">
|
|
|
+ <p>学习提升</p>
|
|
|
+ </li>
|
|
|
+ <li>
|
|
|
+ <img src="@/images/icon/user.png">
|
|
|
+ <p>社交圈子</p>
|
|
|
+ </li>
|
|
|
+ <li>
|
|
|
+ <img src="@/images/icon/user.png">
|
|
|
+ <p>个人信息</p>
|
|
|
+ </li>
|
|
|
+ <li>
|
|
|
+ <img src="@/images/icon/user.png">
|
|
|
+ <p>学习小组</p>
|
|
|
+ </li>
|
|
|
+ <li>
|
|
|
+ <img src="@/images/icon/user.png">
|
|
|
+ <p>自习室</p>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ <div class="right-content">
|
|
|
+
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+export default {
|
|
|
+ name: 'UserTest',
|
|
|
+ components: {
|
|
|
+ },
|
|
|
+ data () {
|
|
|
+ return {
|
|
|
+ }
|
|
|
+ },
|
|
|
+ created() {
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ }
|
|
|
+}
|
|
|
+</script>
|