From 3ca91a731665962918a026f521c556f4745ebf35 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 16 十一月 2020 19:20:19 +0800 Subject: [PATCH] 2020-11-16 --- src/utils/option.js | 67 +++++++++++++++++++++++++++++---- 1 files changed, 58 insertions(+), 9 deletions(-) diff --git a/src/utils/option.js b/src/utils/option.js index f4e0ec0..77f5994 100644 --- a/src/utils/option.js +++ b/src/utils/option.js @@ -4,7 +4,7 @@ import mainsubtable from '@/assets/img/mainsubtable.jpg' import treepage from '@/assets/img/treepage.jpg' import calendar from '@/assets/img/calendar.jpg' -// import customImg from '@/assets/img/custom.jpg' +import customImg from '@/assets/img/custom.jpg' import rolemanage from '@/assets/img/rolemanage.jpg' const _dict = sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS @@ -78,19 +78,26 @@ baseconfig: '', isSystem: true }, - // { - // title: '鑷畾涔�', - // type: 'CustomPage', - // url: customImg, - // baseconfig: '', - // isSystem: true - // }, + { + title: '鑷畾涔�', + type: 'CustomPage', + url: customImg, + baseconfig: '', + isSystem: true + }, { title: '瑙掕壊鏉冮檺鍒嗛厤', type: 'RolePermission', url: rolemanage, isSystem: true, hidden: true + }, + { + title: '鏂伴〉闈�', + type: 'NewPage', + url: customImg, + baseconfig: '', + isSystem: true } ] @@ -200,7 +207,7 @@ // 鎸夐挳鍥炬爣闆� export const btnIcons = [{ value: '', - text: 'unset' + text: '鏃�' }, { value: 'plus', text: 'plus' @@ -261,6 +268,18 @@ }, { value: 'unlock', text: 'unlock' +}, { + value: 'right', + text: 'right' +}, { + value: 'left', + text: 'left' +}, { + value: 'double-right', + text: 'double-right' +}, { + value: 'double-left', + text: 'double-left' }] // 鎸夐挳棰滆壊闆� @@ -317,6 +336,36 @@ text: '鐧藉簳绱' }] +// 鎸夐挳棰滆壊闆� +export const btnCustomClasses = [{ + value: 'primary', + text: '钃濊壊' +}, { + value: 'yellow', + text: '榛勮壊' +}, { + value: 'orange', + text: '姗欒壊' +}, { + value: 'danger', + text: '绾㈣壊' +}, { + value: 'green', + text: '缁胯壊' +}, { + value: 'dgreen', + text: '娣辩豢鑹�' +}, { + value: 'purple', + text: '绱壊' +}, { + value: 'cyan', + text: '闈掕壊' +}, { + value: 'gray', + text: '鐏拌壊' +}] + export const calendarColors = [ {name: 'red', value: '#d0021b'}, {name: 'orange', value: '#f5a623'}, -- Gitblit v1.8.0