master
ewall 5 years ago
parent 7ffb617367
commit 9131f51f95

@ -6,8 +6,10 @@ export default [
return {
code: 200,
entry: {
name: '张三',
avatar: '11111'
name: 'Ewall&熊猫',
avatar:
'https://raw.githubusercontent.com/Ewall1106/panda-vue-template/master/src/assets/logo.png',
id: '00001'
}
}
}

@ -7,7 +7,6 @@
</template>
<script>
import Info from './modules/Info'
import Order from './modules/Order'
import Tools from './modules/Tools'

@ -1,7 +1,7 @@
<template>
<div class="user-info">
<image-pic round width="50" height="50" :src="userInfo.avatar" />
<image-pic width="50" height="50" :src="userInfo.avatar" />
<div class="main">
<div class="main__title">
<h3 class="name">{{userInfo.name}}</h3>

Loading…
Cancel
Save