|
@@ -10,9 +10,12 @@
|
|
|
<scroll-view scroll-y class="hc-page-menu">
|
|
|
<template v-for="item in menuData">
|
|
|
<view class="hc-page-menu-item"
|
|
|
- :class="item.primaryKeyId === menuItem.primaryKeyId ? 'cur': ''"
|
|
|
@click="menuItemClick(item)"
|
|
|
- >{{ item.title }}
|
|
|
+ :class="item.primaryKeyId === menuItem.primaryKeyId ? 'cur': ''"
|
|
|
+ >
|
|
|
+ <text :class="item.colorStatus === 2 ? 'text-blue-5':item.colorStatus === 3 ? 'text-orange-5': item.colorStatus === 4 ? 'text-green-5': ''">
|
|
|
+ {{ item.title }}【{{ item.submitCounts ?? 0 }}】
|
|
|
+ </text>
|
|
|
</view>
|
|
|
</template>
|
|
|
</scroll-view>
|
|
@@ -21,7 +24,10 @@
|
|
|
<view class="hc-page-data-item"
|
|
|
:class="item.primaryKeyId === pageItem.primaryKeyId ? 'cur': ''"
|
|
|
@click="pageItemClick(item, index)"
|
|
|
- >{{ item.title }}
|
|
|
+ >
|
|
|
+ <text :class="item.colorStatus === 2 ? 'text-blue-5':item.colorStatus === 3 ? 'text-orange-5': item.colorStatus === 4 ? 'text-green-5': ''">
|
|
|
+ {{ item.title }}【{{ item.submitCounts ?? 0 }}】
|
|
|
+ </text>
|
|
|
</view>
|
|
|
</template>
|
|
|
</scroll-view>
|