perf[Profile]: adapt the profile page to the mobile

This commit is contained in:
Pan 2019-05-07 14:07:04 +08:00
parent 4dcd4fbbb1
commit c75ce04f63
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<el-card> <el-card style="margin-bottom:20px;">
<div slot="header" class="clearfix"> <div slot="header" class="clearfix">
<span>About me</span> <span>About me</span>
</div> </div>

View File

@ -3,11 +3,11 @@
<div v-if="user"> <div v-if="user">
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="6"> <el-col :span="6" :xs="24">
<user-card :user="user" /> <user-card :user="user" />
</el-col> </el-col>
<el-col :span="18"> <el-col :span="18" :xs="24">
<el-card> <el-card>
<el-tabs v-model="activeTab"> <el-tabs v-model="activeTab">
<el-tab-pane label="Activity" name="activity"> <el-tab-pane label="Activity" name="activity">