From 5046d0d13dc6a8563b8e54e31913bc44cfa1072f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 26 四月 2022 19:23:18 +0800 Subject: [PATCH] 2022-04-26 --- src/mob/components/search/single-search/options.jsx | 65 ++++++++++++++++++++++++++++++++ 1 files changed, 64 insertions(+), 1 deletions(-) diff --git a/src/mob/components/search/single-search/options.jsx b/src/mob/components/search/single-search/options.jsx index 843e3ef..7acafab 100644 --- a/src/mob/components/search/single-search/options.jsx +++ b/src/mob/components/search/single-search/options.jsx @@ -38,6 +38,48 @@ required: false }, { + type: 'text', + field: 'initval', + label: '鍒濆鍊�', + initval: wrap.initval || '', + required: false + }, + { + type: 'radio', + field: 'focus', + label: '鑷姩鑱氱劍', + initval: wrap.focus || 'false', + tooltip: '娉細ios绯荤粺涓棤鏁堛��', + required: false, + options: [ + {value: 'true', label: '鏄�'}, + {value: 'false', label: '鍚�'}, + ] + }, + { + type: 'radio', + field: 'required', + label: '蹇呭~', + initval: wrap.required || 'false', + required: false, + options: [ + {value: 'true', label: '鏄�'}, + {value: 'false', label: '鍚�'}, + ] + }, + { + type: 'radio', + field: 'match', + label: '鍖归厤鏂瑰紡', + initval: wrap.match || 'like', + required: true, + options: [ + {value: 'like', label: 'like'}, + {value: 'not like', label: 'not like'}, + {value: '=', label: '='}, + ] + }, + { type: 'radio', field: 'show', label: '鎼滅储鏍峰紡', @@ -68,7 +110,28 @@ precision: 0, initval: wrap.borderRadius || 0, required: false - } + }, + { + type: 'number', + field: 'height', + label: '楂樺害', + min: 28, + max: 150, + precision: 0, + initval: wrap.height || 32, + required: false + }, + { + type: 'radio', + field: 'permission', + label: '鏉冮檺楠岃瘉', + initval: wrap.permission || 'false', + required: false, + options: [ + {value: 'true', label: '鍚敤'}, + {value: 'false', label: '绂佺敤'}, + ] + }, ] return wrapForm -- Gitblit v1.8.0