|
|
@@ -19,7 +19,7 @@
|
|
|
<text class="ellipsis2">{{ cat.cateName }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="expand-btn" @click="categoryExpand = !categoryExpand">
|
|
|
+ <view v-if="categories.length>9" class="expand-btn" @click="categoryExpand = !categoryExpand">
|
|
|
<text>{{ categoryExpand ? '收起' : '展开' }}</text>
|
|
|
<image :class="{ 'rotate-arrow': !categoryExpand }" src="@/static/images/new/expand.png"></image>
|
|
|
</view>
|