Sfoglia il codice sorgente

修改菜单布局

zhb 2 mesi fa
parent
commit
5896900dab

+ 1 - 0
static/icons/crm-ib.svg

@@ -0,0 +1 @@
+<svg class="IconContainer_icon__XfQWv" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 24 24"><path d="M16.9999 17H20.3052C20.6919 17 21 16.6358 21 16.1958V15.4446C21 13.5478 19.6693 12 18.024 12H14.976M11 9.5C11 10.8807 9.88071 12 8.5 12C7.11929 12 6 10.8807 6 9.5C6 8.11929 7.11929 7 8.5 7C9.88071 7 11 8.11929 11 9.5ZM19 6.5C19 7.88071 17.8807 9 16.5 9C15.1193 9 14 7.88071 14 6.5C14 5.11929 15.1193 4 16.5 4C17.8807 4 19 5.11929 19 6.5ZM10.024 15C11.6693 15 13 16.5478 13 18.4446V19.1958C13 19.6358 12.6919 20 12.3052 20H4.69483C4.31464 20 4 19.6434 4 19.1958V18.4446C4 16.5402 5.33722 15 6.97596 15H10.024Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>

+ 1 - 0
static/icons/crm-payment.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="tabler-icon tabler-icon-wallet"><path d="M17 8v-3a1 1 0 0 0 -1 -1h-10a2 2 0 0 0 0 4h12a1 1 0 0 1 1 1v3m0 4v3a1 1 0 0 1 -1 1h-12a2 2 0 0 1 -2 -2v-12"></path><path d="M20 12v4h-4a2 2 0 0 1 0 -4h4"></path></svg>

+ 1 - 0
static/icons/crm-sz.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="tabler-icon tabler-icon-settings"><path d="M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z"></path><path d="M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"></path></svg>

+ 1 - 0
static/icons/crm-trade.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M5.83331 3.33337V5.83337M5.83331 10.8334V16.6667M14.1666 3.33337V5.83337M14.1666 14.1667V16.6667M3.33331 6.66671C3.33331 6.44569 3.42111 6.23373 3.57739 6.07745C3.73367 5.92117 3.94563 5.83337 4.16665 5.83337H7.49998C7.72099 5.83337 7.93295 5.92117 8.08924 6.07745C8.24552 6.23373 8.33331 6.44569 8.33331 6.66671V10C8.33331 10.2211 8.24552 10.433 8.08924 10.5893C7.93295 10.7456 7.72099 10.8334 7.49998 10.8334H4.16665C3.94563 10.8334 3.73367 10.7456 3.57739 10.5893C3.42111 10.433 3.33331 10.2211 3.33331 10V6.66671ZM11.6666 6.66671C11.6666 6.44569 11.7544 6.23373 11.9107 6.07745C12.067 5.92117 12.279 5.83337 12.5 5.83337H15.8333C16.0543 5.83337 16.2663 5.92117 16.4226 6.07745C16.5788 6.23373 16.6666 6.44569 16.6666 6.66671V13.3334C16.6666 13.5544 16.5788 13.7663 16.4226 13.9226C16.2663 14.0789 16.0543 14.1667 15.8333 14.1667H12.5C12.279 14.1667 12.067 14.0789 11.9107 13.9226C11.7544 13.7663 11.6666 13.5544 11.6666 13.3334V6.66671Z" stroke="#6C8595" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"></path></svg>

File diff suppressed because it is too large
+ 29 - 1
static/svg-icons-lib.js


+ 1 - 0
windows/crm-sz.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="tabler-icon tabler-icon-settings"><path d="M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z"></path><path d="M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"></path></svg>

+ 13 - 7
windows/left-window.vue

@@ -40,21 +40,27 @@ const menu = ref<MenuItem[]>(
     [
         {
             isOpenMenu: false, submenuHeight: 0,
-            path: '/pages/customer/index', label: 'Home.msg.Custom', icon: 'crm-house',
+            path: '/pages/customer/index', label: 'Shop.Index.Transaction', icon: 'crm-trade',
             children: [
                 { path: '/pages/customer/index', label: 'Custom.Index.AccountList', icon: 'icon-client' },
-                { path: '/pages/customer/deposit', label: 'Home.page_customer.item2', icon: 'icon-deposit' },
-                { path: '/pages/customer/withdrawal', label: 'Home.page_customer.item3', icon: 'icon-withdrawal' },
-                { path: '/pages/customer/payment-history', label: 'Home.page_customer.item4', icon: 'icon-payment' },
-                { path: '/pages/customer/transfer', label: 'Home.page_customer.item5', icon: 'icon-transfer' },
                 { path: '/pages/customer/trade-history', label: 'Ib.Report.Tit1', icon: 'icon-transfer' },
                 { path: '/pages/customer/trade-position', label: 'Ib.Report.Tit4', icon: 'icon-transfer' },
                 { path: '/pages/customer/recording-history', label: 'Home.page_customer.item7', icon: 'icon-application' }
             ]
         },
+        {
+            isOpenMenu: false, submenuHeight: 0,
+            path: '/pages/customer/index', label: 'Latest.PaymentWallet', icon: 'crm-payment',
+            children: [
+                { path: '/pages/customer/deposit', label: 'Home.page_customer.item2', icon: 'icon-deposit' },
+                { path: '/pages/customer/withdrawal', label: 'Home.page_customer.item3', icon: 'icon-withdrawal' },
+                { path: '/pages/customer/payment-history', label: 'Home.page_customer.item4', icon: 'icon-payment' },
+                { path: '/pages/customer/transfer', label: 'Home.page_customer.item5', icon: 'icon-transfer' }
+            ]
+        },
         {
             isOpenMenu: false,
-            path: '/pages/ib/index', label: 'Home.msg.Ib', icon: 'crm-users',
+            path: '/pages/ib/index', label: 'Home.msg.Ib', icon: 'crm-ib',
             children: [
                 { path: '/pages/ib/index', label: 'Home.page_ib.item1', icon: 'icon-client' },
                 { path: '/pages/ib/customer', label: 'Home.page_ib.item2', icon: 'icon-deposit' },
@@ -82,7 +88,7 @@ const menu = ref<MenuItem[]>(
             children: []
         },
         {
-            path: '/pages/customer/support', isOpenMenu: false, label: '设置', icon: 'crm-headset',
+            path: '/pages/customer/support', isOpenMenu: false, label: '设置', icon: 'crm-sz',
             children: [
                 { path: '/pages/mine/info?type=1', isOpenMenu: false, label: 'PersonalManagement.Title.PersonalInformation', icon: 'crm-headset' },
                 { path: '/pages/mine/info?type=2', isOpenMenu: false, label: 'PersonalManagement.Title.BankInformation', icon: 'crm-headset' },

Some files were not shown because too many files changed in this diff