添加活动量管理页面以及一些相关组件

This commit is contained in:
史旭文
2020-03-12 16:58:35 +08:00
parent ffdf3d5e3c
commit 712e3aee08
4 changed files with 164 additions and 2 deletions

View File

@@ -0,0 +1,37 @@
<template>
<div>
<van-cell :title="ActivityLogInfo.name" is-link :icon="ActivityLogInfo.avatarUrl" value-class="text-left">
<span class="mr20">{{ ActivityLogInfo.age }}</span>
<span>{{ ActivityLogInfo.flag }}</span>
<van-icon slot="right-icon" name="edit" style="line-height: inherit;" color="#1989fa" size="24" />
</van-cell>
</div>
</template>
<script>
import { Cell, CellGroup, Image } from 'vant'
export default {
components: {
[Cell.name]: Cell,
[CellGroup.name]: CellGroup,
[Image.name]: Image
},
props: {
ActivityLogInfo: {
type: Object,
required: true,
default: () => {
return {
name: '王辉',
avatarUrl: 'https://img.yzcdn.cn/vant/cat.jpeg',
age: '35岁',
flag: '同业'
}
}
}
},
data() {
return {}
}
}
</script>