首页菜单设置支持换行

This commit is contained in:
zmrid 2023-02-19 15:55:23 +08:00
parent 06b3b74428
commit cc72182de1
1 changed files with 4 additions and 2 deletions

View File

@ -4,9 +4,11 @@
<div class="order-title">
<h2>快捷菜单</h2>
</div>
<div data-v-542f4644 class="ivu-row" style="padding: 15px; background: white">
<div data-v-542f4644 style="padding: 15px; background: white;display: flex;
flex-wrap: wrap;
width: 100%;">
<div v-for="item in topMenu" :key="item.MenuName" class="ivu-col ivu-col-span-6"
style="padding-left: 8px; padding-right: 8px" @click="openUrl(item)">
style="padding-left: 8px;padding-right: 8px;padding-top: 8px; width:16.6%;" @click="openUrl(item)">
<div data-v-542f4644 class="ivu-card" :style="{ background: item.Color }">
<div class="icon-left">
<i class="el-icon-wallet" />