{layout admin/layout}

{lang community.settings_title}

{lang community.sec_basic}

{lang community.enable_community_hint}

{lang community.vip_only_hint}

{* 列表每页条数用 nv-form-item(label 在上、控件在下)而不是紧凑的 nv-form-row:页面里既有开关又有数字框时,统一竖排才不会出现 "开关压住文字 / 输入框悬空" 的错位(原 settings.html 的错位就源于此)。 *}

{lang community.sec_booking}

{lang community.enable_booking_hint}

{lang community.allow_guest_hint}

{lang community.show_submits_hint}

{lang community.sec_fields}

{lang community.fields_hint}

{loop $fields as $f} {if $f.is_core} {else} {/if} {/loop}
{lang community.col_field_name} {lang community.col_label} {lang community.col_type} {lang community.col_required} {lang community.col_hint_ph} {lang community.col_options}
{$f.name} {* 不能写两个 class 属性:HTML 只认第一个,第二个会被浏览器丢弃, 导致已有行的类型下拉丢失 .ftype 钩子、JS 联动失效。 *} {if $f.type=='select' && $f.name!='service' && $f.name!='appoint_time'} {else} {if $f.name=='service'}{lang community.sys_service}{elseif $f.name=='appoint_time'}{lang community.sys_time}{else}—{/if} {/if} {if !$f.is_core}{else}{lang community.core}{/if}