From b69b5f6329ca5f87932436b7a6c1ddfc3377e10f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 16 五月 2024 10:56:41 +0800 Subject: [PATCH] 2024-05-16 --- src/menu/components/card/doublecardcomponent/options.jsx | 30 ++++++++++++++++-------------- 1 files changed, 16 insertions(+), 14 deletions(-) diff --git a/src/menu/components/card/doublecardcomponent/options.jsx b/src/menu/components/card/doublecardcomponent/options.jsx index 16bd37f..e47a287 100644 --- a/src/menu/components/card/doublecardcomponent/options.jsx +++ b/src/menu/components/card/doublecardcomponent/options.jsx @@ -54,7 +54,7 @@ {value: 'collapse', label: '鍚堝苟'}, ], controlFields: [ - {field: 'position', values: ['default']}, + // {field: 'position', values: ['default']}, {field: 'controlIcon', values: ['unfold', 'collapse']}, ], forbid: type !== 'main' @@ -109,7 +109,6 @@ {field: 'menu', values: ['menu']}, {field: 'linkurl', values: ['link']}, {field: 'open', values: ['menu', 'link']}, - {field: 'joint', values: ['menu', 'link']}, {field: 'linkbtn', values: ['button']}, {field: 'clickType', values: ['button', 'unfold']}, ] @@ -119,6 +118,7 @@ field: 'menu', label: '鍏宠仈鑿滃崟', initval: setting.menu || (appType ? '' : []), + tooltip: `琛屼俊鎭�${appType ? '锛堝瓧娈甸泦涓墠40涓暱搴︿笉瓒呰繃256鐨勫瓧娈碉級' : ''}灏嗕紶閫掕嚦姝よ彍鍗曪紝鍙湪url鍙橀噺銆佽〃鍗曪紙鍏宠仈涓昏〃锛夈�侀潤鎬佸睘鎬у崱銆佹诞鍔ㄥ崱涓娇鐢ㄣ�俙, required: true, extendName: 'MenuNo', options: menulist, @@ -128,6 +128,8 @@ field: 'linkurl', label: '閾炬帴', initval: setting.linkurl || '', + tooltip: '鍦ㄩ摼鎺ヤ腑浠***@褰㈠紡鎷兼帴鐨勫瓧娈碉紙瀛楁鏉ユ簮浜庡瓧娈甸泦涓紝姝ゅ id銆乤ppkey銆乽serid銆丩oginUID 涓虹郴缁熷瓧娈碉級锛岃烦杞椂灏嗘浛鎹负瀵瑰簲鍊硷紝渚嬪锛歨ttp://sso.mk9h.cn/doc/index.html?appkey=@appkey@&LoginUID=@LoginUID@锛屽叾涓璦ppkey涓嶭oginUID灏嗚鏇挎崲銆�', + toolWidth: 350, required: true, options: [], span: 24 @@ -145,23 +147,23 @@ forbid: appType !== 'pc' && appType !== 'mob' }, { - type: 'radio', - field: 'joint', - label: '鍙傛暟鎷兼帴', - initval: setting.joint || 'true', - required: false, - options: [ - {value: 'true', label: '鏄�'}, - {value: 'false', label: '鍚�'}, - ], - }, - { type: 'select', field: 'linkbtn', label: '鍏宠仈鎸夐挳', initval: setting.linkbtn || '', required: true, options: buttons + }, + { + type: 'radio', + field: 'layout', + label: '鍏冪礌甯冨眬', + initval: setting.layout || 'grid', + required: false, + options: [ + {value: 'grid', label: '鏍呮牸甯冨眬'}, + {value: 'flex', label: '寮规�у竷灞�'}, + ] }, { type: 'radio', @@ -180,7 +182,7 @@ field: 'btnControl', label: '鎸夐挳鎺у埗', initval: setting.btnControl || 'show', - tooltip: '鍙缃寜閽樉绀鸿鍒欙紝涓�鐩存樉绀烘垨榧犳爣鎮诞鏃舵樉绀恒��', + tooltip: '鍙缃寜閽樉绀鸿鍒欙紝濮嬬粓鏄剧ず鎴栭紶鏍囨偓娴椂鏄剧ず銆�', required: false, options: [ {value: 'show', label: '姝e父鏄剧ず'}, -- Gitblit v1.8.0