|
@@ -88,7 +88,14 @@
|
|
|
</template>
|
|
|
</van-cell>
|
|
|
<template v-else>
|
|
|
- <van-cell v-for="item in showList" :key="item.id" :title="item.name" :value="item.department" title-style="color:#666"></van-cell>
|
|
|
+ <van-cell v-for="item in showList" :key="item.id" title-style="color:#666">
|
|
|
+ <template #title>
|
|
|
+ <div style="text-align:center;">{{item.name}}</div>
|
|
|
+ </template>
|
|
|
+ <template #default>
|
|
|
+ <div style="text-align:center;">{{item.department}}</div>
|
|
|
+ </template>
|
|
|
+ </van-cell>
|
|
|
</template>
|
|
|
</van-cell-group>
|
|
|
<Footer page="index"></Footer>
|