feat(Market): 优化模板市场组件的搜索结果展示
- 在无符合搜索结果时显示"无符合要求结果"提示 -保留原有的"更多模板期待您的探索"文案
This commit is contained in:
@@ -41,7 +41,8 @@
|
|||||||
<market-item :info="marketInfo" :marketItem="marketItem" />
|
<market-item :info="marketInfo" :marketItem="marketItem" />
|
||||||
</section>
|
</section>
|
||||||
<div class="more">
|
<div class="more">
|
||||||
<p>-更多模板期待您的探索-</p>
|
<p v-if="marketInfo.length === 0 && searchValue">无符合要求结果</p>
|
||||||
|
<p v-else>-更多模板期待您的探索-</p>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user