{{switch $t.view_type}} {{case many_text}} {{if !empty($form_table_data_detail[$t['view_key']])}} {{if is_array($form_table_data_detail[$t['view_key']])}} {{if isset($form_table_data_detail[$t['view_key']][0]) and !is_array($form_table_data_detail[$t['view_key']][0])}}
{{$form_table_data_detail[$t['view_key']][0]}}
{{/if}} {{else /}}{{$form_table_data_detail[$t['view_key']]}}
{{/if}} {{:MyLang('view_title')}}{{if is_array($form_table_data_detail[$t['view_key']])}}({{:count($form_table_data_detail[$t['view_key']])}}){{/if}} >{{$form_table_data_detail[$t['view_key']]}}
{{/if}} {{else /}}{{if isset($t['is_first_tips']) and $t['is_first_tips'] eq 1 and ((!empty($t['first_tips_key']) and !empty($form_table_data_detail[$t['first_tips_key']])) or (!empty($t['first_tips_data'])))}} {{/if}} {{if isset($t['is_first_link']) and $t['is_first_link'] eq 1 and ((!empty($t['first_link_key']) and !empty($form_table_data_detail[$t['first_link_key']])) or (!empty($t['first_link_data'])))}} {{/if}} {{if isset($t['is_round_point']) and $t['is_round_point'] eq 1}} {{/if}} {{if isset($t['view_join_first'])}} {{$t.view_join_first}} {{/if}} {{if is_array($t['view_key'])}} {{foreach $t['view_key'] as $fk=>$fv}} {{if isset($form_table_data_detail[$fv])}} {{$form_table_data_detail[$fv]}} {{if isset($t['view_key_join']) and $fk lt count($t['view_key'])-1}} {{$t.view_key_join|raw}} {{/if}} {{/if}} {{/foreach}} {{else /}} {{if isset($form_table_data_detail[$t['view_key']])}} {{if !empty($t['view_data']) and is_array($t['view_data'])}} {{if isset($t['view_data'][$form_table_data_detail[$t['view_key']]])}} {{if !empty($t['view_data_key'])}} {{if isset($t['view_data'][$form_table_data_detail[$t['view_key']]][$t['view_data_key']])}} {{$t['view_data'][$form_table_data_detail[$t['view_key']]][$t['view_data_key']]}} {{if isset($t['is_copy']) and $t['is_copy'] eq 1 and !empty($t['view_data'][$form_table_data_detail[$t['view_key']]][$t['view_data_key']])}} {{/if}} {{/if}} {{else /}} {{$t['view_data'][$form_table_data_detail[$t['view_key']]]}} {{if isset($t['is_copy']) and $t['is_copy'] eq 1 and !empty($t['view_data'][$form_table_data_detail[$t['view_key']]])}} {{/if}} {{/if}} {{/if}} {{else /}} {{$form_table_data_detail[$t['view_key']]|raw}} {{if isset($t['is_copy']) and $t['is_copy'] eq 1 and !empty($form_table_data_detail[$t['view_key']])}} {{/if}} {{/if}} {{/if}} {{/if}} {{if isset($t['view_join_last'])}} {{$t.view_join_last}} {{/if}}
{{/case}} {{case module}} {{:ModuleInclude($t['view_key'], $form_table_data_detail, ['form_request_type'=>'detail'])}} {{/case}} {{case status}} {{if !empty($t['key_field']) and !empty($t['post_url'])}} {{/if}} {{/case}} {{/switch}} {{if isset($t['is_bottom_text_tips']) and $t['is_bottom_text_tips'] eq 1 and ( (!empty($t['bottom_text_tips_key']) and !empty($form_table_data_detail[$t['bottom_text_tips_key']])) or !empty($t['bottom_text_tips_data']) ) and ( (empty($t['bottom_text_tips_where_key']) or empty($t['bottom_text_tips_where_type']) or !isset($t['bottom_text_tips_where_value'])) or ( ($t['bottom_text_tips_where_type'] eq 'eq' and $form_table_data_detail[$t['bottom_text_tips_where_key']] eq $t['bottom_text_tips_where_value']) or ($t['bottom_text_tips_where_type'] eq 'gt' and $form_table_data_detail[$t['bottom_text_tips_where_key']] gt $t['bottom_text_tips_where_value']) or ($t['bottom_text_tips_where_type'] eq 'neq' and $form_table_data_detail[$t['bottom_text_tips_where_key']] neq $t['bottom_text_tips_where_value']) or ($t['bottom_text_tips_where_type'] eq 'lt' and $form_table_data_detail[$t['bottom_text_tips_where_key']] lt $t['bottom_text_tips_where_value']) or ($t['bottom_text_tips_where_type'] eq 'in' and is_array($t['bottom_text_tips_where_value']) and in_array($form_table_data_detail[$t['bottom_text_tips_where_key']], $t['bottom_text_tips_where_value'])) or ($t['bottom_text_tips_where_type'] eq 'notin' and is_array($t['bottom_text_tips_where_value']) and !in_array($form_table_data_detail[$t['bottom_text_tips_where_key']], $t['bottom_text_tips_where_value'])) ) ) }} {{/if}} {{if !empty($t['unique_key']) and $t['view_type'] neq 'operate'}} {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}