mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-21 14:46:44 +08:00
添加活动量管理页面以及一些相关组件
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user