<!-- form_table_data_content_start -->
{{if !empty($form_table_data_list) and !empty($form_table['base']['key_field'])}}
    <!-- 处理数据数量小于默认数量 -->
    {{for start="0" end="count($form_table_data_list)"}}
        <!-- 1. tr 主键id名称 -->
        <!-- 2. 是否黄色选中class -->
        <tr
            {{if isset($form_table_data_list[$i][$form_table['base']['key_field']])}}
                id="data-list-{{$form_table_data_list[$i][$form_table['base']['key_field']]}}"
            {{/if}}
            {{if !empty($form_table['base']['status_field']) and isset($form_table_data_list[$i][$form_table['base']['status_field']]) and $form_table_data_list[$i][$form_table['base']['status_field']] eq 0}}
                class="am-active"
            {{/if}}
            {{if !empty($form_table_data_list[$i])}}
                data-original-form-table-item-data="{{:urlencode(base64_encode(json_encode($form_table_data_list[$i], JSON_UNESCAPED_UNICODE)))}}"
            {{/if}}
        >
            {{foreach $form_table['form'] as $t}}
                {{if !isset($t['is_list']) or $t['is_list'] eq 1}}
                    <!-- 1. 上下居中 -->
                    <!-- 2. 格子大小 -->
                    <!-- 3. 内容位置居（左|中|右） -->
                    <!-- 4. 格子是否固定（left|right 左|右） -->
                    <!-- 5. 是否操作列 -->
                    <td class="am-nowrap-initial
                        {{if isset($t['is_middle']) and $t['is_middle'] eq 1}}am-text-middle {{/if}}
                        {{if !empty($t['grid_size'])}}am-grid-{{$t.grid_size}} {{/if}}
                        {{if !empty($t['align'])}}am-text-{{$t.align}} {{/if}}
                        {{if !empty($t['fixed'])}}am-grid-fixed-{{$t.fixed}} {{/if}}
                        {{if !empty($t['view_type']) and $t['view_type'] eq 'operate'}}am-operate-grid {{/if}}
                    "
                    style="
                        {{if !empty($t['width'])}}
                            min-width: {{$t.width}}px;
                            max-width: {{$t.width}}px;
                        {{/if}}
                    "
                    >
                        {{if isset($form_table_data_list[$i]) and !empty($t['view_type']) and !empty($t['view_key'])}}
                            <!-- 数据匹配 -->
                            {{switch $t.view_type}}
                                {{case many_text}}
                                    {{if !empty($form_table_data_list[$i][$t['view_key']])}}
                                        {{if is_array($form_table_data_list[$i][$t['view_key']])}}
                                            {{if isset($form_table_data_list[$i][$t['view_key']][0]) and !is_array($form_table_data_list[$i][$t['view_key']][0])}}
                                                <p class="am-text-truncate">{{$form_table_data_list[$i][$t['view_key']][0]}}</p>
                                            {{/if}}                                            
                                        {{else /}}
                                            <p class="am-text-truncate">{{$form_table_data_list[$i][$t['view_key']]}}</p>
                                        {{/if}}
                                        <a href="javascript:;" class="am-text-blue" data-am-modal="{target: '#form-table-item-content-{{$t.view_key}}-{{$i}}', width: 420}">{{:MyLang('view_title')}}{{if is_array($form_table_data_list[$i][$t['view_key']])}}({{:count($form_table_data_list[$i][$t['view_key']])}}){{/if}} ></a>
                                        <div class="am-modal am-modal-no-btn" tabindex="-1" id="form-table-item-content-{{$t.view_key}}-{{$i}}">
                                            <div class="am-modal-dialog am-radius">
                                                <div class="am-modal-hd">
                                                    <span>{{$t.label}}</span>
                                                    <a href="javascript: void(0)" class="am-close am-close-spin" data-am-modal-close>&times;</a>
                                                </div>
                                                <div class="am-modal-bd am-text-left">
                                                    <ul class="am-padding-top-sm am-padding-horizontal-xs">
                                                        {{if is_array($form_table_data_list[$i][$t['view_key']])}}
                                                            {{foreach $form_table_data_list[$i][$t['view_key']] as $tlv}}
                                                                {{if !is_array($tlv)}}
                                                                    <li class="am-nbfc am-padding-xs">{{$tlv}}</li>
                                                                {{/if}}
                                                            {{/foreach}}
                                                        {{else /}}
                                                            <li class="am-nbfc am-padding-xs">{{$form_table_data_list[$i][$t['view_key']]}}</li>
                                                        {{/if}}
                                                    </ul>
                                                </div>
                                            </div>
                                        </div>
                                    {{/if}}
                                {{/case}}
                                {{case many_images}}
                                    {{if !empty($form_table_data_list[$i][$t['view_key']]) and is_array($form_table_data_list[$i][$t['view_key']])}}
                                        <div class="am-nbfc">
                                            <ul data-am-widget="gallery" class="am-gallery am-avg-sm-5 am-avg-md-5 am-avg-lg-5 am-gallery-default am-padding-0" data-am-gallery="{pureview: true}">
                                                {{foreach $form_table_data_list[$i][$t['view_key']] as $mik=>$miv}}
                                                    {{if !empty($miv)}}
                                                        {{if empty($t['view_data_key'])}}
                                                            {{if !is_array($miv)}}
                                                                <li class="am-padding-0">
                                                                    <div class="am-gallery-item am-nbfc am-padding-right-xs am-padding-bottom-xs">
                                                                        <img src="{{$miv}}" class="am-block am-radius" />
                                                                    </div>
                                                                </li>
                                                            {{/if}}
                                                        {{else /}}
                                                            {{if is_array($miv) and !empty($miv[$t['view_data_key']])}}
                                                                <li class="am-padding-0">
                                                                    <div class="am-gallery-item am-nbfc am-padding-right-xs am-padding-bottom-xs">
                                                                        <img src="{{$miv[$t['view_data_key']]}}" class="am-block am-radius" />
                                                                    </div>
                                                                </li>
                                                            {{/if}}
                                                        {{/if}}
                                                    {{/if}}
                                                {{/foreach}}
                                            </ul>
                                        </div>
                                    {{/if}}
                                {{/case}}
                                {{case images}}
                                    {{if !empty($form_table_data_list[$i][$t['view_key']])}}
                                        <img src="{{$form_table_data_list[$i][$t['view_key']]}}" class="am-img-thumbnail {{if !empty($t['images_shape'])}}am-{{$t.images_shape}}{{/if}} common-annex-view-event" data-is-download="1" data-value="{{$form_table_data_list[$i][$t['view_key']]}}" style="{{if !empty($t['images_width'])}}width:{{$t.images_width}}px;{{/if}}{{if !empty($t['images_height'])}}height:{{$t.images_height}}px;{{/if}}" />
                                    {{/if}}
                                {{/case}}
                                {{case video}}
                                    {{if !empty($form_table_data_list[$i][$t['view_key']])}}
                                        <video src="{{$form_table_data_list[$i][$t['view_key']]}}" class="am-img-thumbnail {{if !empty($t['video_shape'])}}am-{{$t.video_shape}}{{/if}} common-annex-view-event" data-type="video" data-is-download="1" data-value="{{$form_table_data_list[$i][$t['view_key']]}}" style="{{if !empty($t['video_width'])}}width:{{$t.video_width}}px;{{/if}}{{if !empty($t['video_height'])}}height:{{$t.video_height}}px;object-fit:fill;{{/if}}">your browser does not support the video tag</video>
                                    {{/if}}
                                {{/case}}
                                {{case qrcode}}
                                    {{if !empty($form_table_data_list[$i][$t['view_key']])}}
                                        {{if isset($t['qrcode_type']) and $t['qrcode_type'] eq 1}}
                                            <a href="javascript:;" class="text-copy-submit" data-value="{{$form_table_data_list[$i][$t['view_key']]}}">
                                                <div class="view-qrcode-init {{if !empty($t['images_shape'])}}am-{{$t.images_shape}}{{/if}}" data-width="{{if empty($t['images_width'])}}45{{else /}}{{$t.images_width}}{{/if}}" data-height="{{if empty($t['images_height'])}}45{{else /}}{{$t.images_height}}{{/if}}">{{$form_table_data_list[$i][$t['view_key']]}}</div>
                                                {{if isset($t['is_qrcode_text']) and $t['is_qrcode_text'] eq 1}}
                                                    <p>{{$form_table_data_list[$i][$t['view_key']]}}</p>
                                                {{/if}}
                                            </a>
                                        {{else /}}
                                            <div class="am-dropdown am-inline-block am-margin-left-xs text-copy-submit" data-value="{{$form_table_data_list[$i][$t['view_key']]}}" data-am-dropdown="{trigger: 'hover'}">
                                                <a href="javascript:;" class="am-icon-qrcode am-dropdown-toggle"> {{$form_table_data_list[$i][$t['view_key']]}}</a>
                                                <div class="am-dropdown-content am-radius am-padding-sm am-text-center">
                                                    <div class="view-qrcode-init" data-width="130" data-height="130">{{$form_table_data_list[$i][$t['view_key']]}}</div>
                                                </div>
                                            </div>
                                        {{/if}}
                                    {{/if}}
                                {{/case}}
                                {{case progress}}
                                    {{if (!empty($t['view_key']) and isset($form_table_data_list[$i][$t['view_key']])) or (!empty($t['progress_data_key']) and isset($form_table_data_list[$i][$t['progress_data_key']]))}}
                                        <div class="data-progress {{if !empty($t['progress_text_key'])}} data-progress-view-text{{/if}}">
                                            <div class="am-progress am-margin-bottom-0 am-inline-block am-vertical-align-middle {{if isset($t['is_striped']) and $t['is_striped'] eq 1}} am-progress-striped{{/if}} {{if !empty($t['progress_size'])}} am-progress-{{$t.progress_size}}{{/if}} {{if isset($t['is_radius']) and $t['is_radius'] eq 1}} am-radius{{/if}} {{if isset($t['is_active']) and $t['is_active'] eq 1}} am-active{{/if}}">
                                                <div class="am-progress-bar {{if !empty($t['color_style'])}} am-progress-bar-{{$t.color_style}}{{/if}}"  style="width: {{if !empty($t['progress_data_key']) and isset($form_table_data_detail[$t['progress_data_key']])}}{{$form_table_data_detail[$t['progress_data_key']]}}{{else /}}{{$form_table_data_detail[$t['view_key']]}}{{/if}}%"></div>
                                            </div>
                                            {{if !empty($t['progress_text_key'])}}
                                                <span class="am-text-grey am-margin-left-xs am-vertical-align-middle">{{if isset($form_table_data_list[$i][$t['progress_text_key']])}}{{$form_table_data_list[$i][$t['progress_text_key']]}}{{/if}}{{if isset($t['progress_text_unit'])}}{{$t.progress_text_unit}}{{/if}}</span>
                                            {{/if}}
                                        </div>
                                    {{/if}}
                                {{/case}}
                                {{case star}}
                                    {{php}}
                                        $temp_star_data_key_field = (!empty($t['view_key']) and isset($form_table_data_list[$i][$t['view_key']])) ? 'view_key' : 'star_data_key';
                                    {{/php}}
                                    {{if !empty($t[$temp_star_data_key_field]) and isset($form_table_data_list[$i][$t[$temp_star_data_key_field]])}}
                                        <div class="am-text-grey am-inline-block am-vertical-align-middle">
                                            {{for start="1" end="empty($t['star_max']) ? 5 : $t['star_max']" comparison="elt" name="star_i"}}
                                                {{if $star_i gt $form_table_data_list[$i][$t[$temp_star_data_key_field]]}}
                                                    <i class="am-icon-star-o"></i>
                                                {{else /}}
                                                    <i class="am-icon-star {{if !empty($t['color_style'])}} am-text-{{$t.color_style}}{{/if}}" {{if !empty($t['color_value'])}} style="color:{{$t.color_value}}"{{/if}}></i>
                                                {{/if}}
                                            {{/for}}
                                        </div>
                                        {{if !empty($t['star_text_key'])}}
                                            <span class="am-text-grey am-margin-left-xs am-vertical-align-middle">{{if isset($form_table_data_list[$i][$t['star_text_key']])}}{{$form_table_data_list[$i][$t['star_text_key']]}}{{/if}}{{if isset($t['star_text_unit'])}}{{$t.star_text_unit}}{{/if}}</span>
                                        {{/if}}
                                    {{/if}}
                                {{/case}}
                                {{case field}}
                                    <div class="richtext 
                                        {{if isset($t['is_badge']) and $t['is_badge'] eq 1}}
                                            am-badge {{if !empty($t['badge_key']) and !empty($t['badge_style']) and isset($form_table_data_list[$i][$t['badge_key']]) and isset($t['badge_style'][$form_table_data_list[$i][$t['badge_key']]]) and substr($t['badge_style'][$form_table_data_list[$i][$t['badge_key']]], 0, 1) neq '#'}}am-badge-{{$t['badge_style'][$form_table_data_list[$i][$t['badge_key']]]}} {{/if}} 
                                            {{if !empty($t['badge_shape'])}}am-{{$t.badge_shape}} {{/if}} 
                                        {{/if}} 
                                        {{if isset($t['is_color']) and $t['is_color'] eq 1 and !empty($t['color_key']) and !empty($t['color_style']) and isset($form_table_data_list[$i][$t['color_key']]) and isset($t['color_style'][$form_table_data_list[$i][$t['color_key']]]) and substr($t['color_style'][$form_table_data_list[$i][$t['color_key']]], 0, 1) neq '#'}}am-text-{{$t['color_style'][$form_table_data_list[$i][$t['color_key']]]}}{{/if}} 
                                        {{if !empty($t['text_truncate'])}}am-text-truncate{{if $t['text_truncate'] gt 1}}-{{$t.text_truncate}}{{/if}}{{/if}} 
                                        {{if isset($t['is_popup']) and $t['is_popup'] eq 1 and (!empty($t['popup_url']) or (!empty($t['popup_url_key']) and !empty($form_table_data_list[$i][$t['popup_url_key']])))}}submit-popup{{/if}} 
                                        {{if isset($t['is_modal']) and $t['is_modal'] eq 1 and (!empty($t['modal_url']) or (!empty($t['modal_url_key']) and !empty($form_table_data_list[$i][$t['modal_url_key']])))}}submit-modal{{/if}}" 
                                        style="
                                        {{if isset($t['is_badge']) and $t['is_badge'] eq 1 and !empty($t['badge_key']) and !empty($t['badge_style']) and is_array($t['badge_style']) and isset($form_table_data_list[$i][$t['badge_key']]) and isset($t['badge_style'][$form_table_data_list[$i][$t['badge_key']]]) and substr($t['badge_style'][$form_table_data_list[$i][$t['badge_key']]], 0, 1) eq '#'}}background: {{$t['badge_style'][$form_table_data_list[$i][$t['badge_key']]]}};{{/if}} 
                                        {{if isset($t['is_color']) and $t['is_color'] eq 1}}
                                            {{if !empty($t['color_key']) and !empty($t['color_style']) and is_array($t['color_style']) and isset($form_table_data_list[$i][$t['color_key']]) and isset($t['color_style'][$form_table_data_list[$i][$t['color_key']]]) and substr($t['color_style'][$form_table_data_list[$i][$t['color_key']]], 0, 1) eq '#'}}color: {{$t['color_style'][$form_table_data_list[$i][$t['color_key']]]}};{{/if}}
                                            {{if !empty($t['color_style']) and !is_array($t['color_style'])}}color: {{$t['color_style']}};{{/if}}
                                            {{if !empty($t['color_field_key']) and !empty($form_table_data_list[$i][$t['color_field_key']])}}color: {{$form_table_data_list[$i][$t['color_field_key']]}};{{/if}}
                                        {{/if}}" 
                                        {{if isset($t['is_popover']) and $t['is_popover'] eq 1 and !empty($t['popover_field']) and !empty($form_table_data_list[$i][$t['popover_field']])}}data-am-popover="{content: '{{:PopoverContentHandle($form_table_data_list[$i][$t['popover_field']])}}', trigger: 'hover focus', theme: 'sm'}"{{/if}} 
                                        {{if isset($t['is_popup']) and $t['is_popup'] eq 1 and (!empty($t['popup_url']) or (!empty($t['popup_url_key']) and !empty($form_table_data_list[$i][$t['popup_url_key']])))}}
                                            data-url="{{if !empty($t['popup_url_key']) and !empty($form_table_data_list[$i][$t['popup_url_key']])}}{{$form_table_data_list[$i][$t['popup_url_key']]}}{{else /}}{{if !empty($t['popup_url'])}}{{$t.popup_url}}{{/if}}{{/if}}" 
                                            {{if !empty($t['popup_title'])}}
                                                data-title="{{$t.popup_title}}" 
                                            {{/if}}
                                            {{if !empty($t['popup_class'])}}
                                                data-class="{{$t.popup_class}}" 
                                            {{/if}}
                                            {{if isset($t['popup_full'])}}
                                                data-full="{{$t.popup_full}}" 
                                            {{/if}}
                                            {{if isset($t['popup_full_max'])}}
                                                data-full-max="{{$t.popup_full_max}}" 
                                            {{/if}}
                                            {{if !empty($t['popup_full_max_size'])}}
                                                data-full-max="1" 
                                                data-full-max-size="{{$t.popup_full_max_size}}" 
                                            {{/if}}
                                            {{if !empty($t['popup_offcanvas'])}}
                                                data-offcanvas="{{$t.popup_offcanvas}}" 
                                            {{/if}}
                                        {{/if}} 
                                        {{if isset($t['is_modal']) and $t['is_modal'] eq 1 and (!empty($t['modal_url']) or (!empty($t['modal_url_key']) and !empty($form_table_data_list[$i][$t['modal_url_key']])))}}
                                            data-url="{{if !empty($t['modal_url_key']) and !empty($form_table_data_list[$i][$t['modal_url_key']])}}{{$form_table_data_list[$i][$t['modal_url_key']]}}{{else /}}{{if !empty($t['modal_url'])}}{{$t.modal_url}}{{/if}}{{/if}}" 
                                            {{if !empty($t['modal_width'])}}
                                                data-width="{{$t.modal_width}}" 
                                            {{/if}}
                                            {{if !empty($t['modal_height'])}}
                                                data-height="{{$t.modal_height}}" 
                                            {{/if}}
                                        {{/if}} 
                                    >
                                        <!-- 图标+提示 -->
                                        {{if isset($t['is_first_tips']) and $t['is_first_tips'] eq 1 and ((!empty($t['first_tips_key']) and !empty($form_table_data_list[$i][$t['first_tips_key']])) or (!empty($t['first_tips_data'])))}}
                                            <span class="am-margin-right-xs {{if !empty($t['first_tips_style'])}}am-text-{{$t.first_tips_style}}{{/if}} am-icon-{{if empty($t['first_tips_icon'])}}exclamation-circle{{else /}}{{$t.first_tips_icon}}{{/if}} {{if isset($t['is_first_tips_copy']) and $t['is_first_tips_copy'] eq 1}} text-copy-submit{{/if}}" data-value="{{if !empty($t['first_tips_key']) and !empty($form_table_data_list[$i][$t['first_tips_key']])}}{{:PopoverContentHandle($form_table_data_list[$i][$t['first_tips_key']])}}{{else /}}{{:PopoverContentHandle($t.first_tips_data)}}{{/if}}" data-am-popover="{content: '{{if !empty($t['first_tips_key']) and !empty($form_table_data_list[$i][$t['first_tips_key']])}}{{:PopoverContentHandle($form_table_data_list[$i][$t['first_tips_key']])}}{{else /}}{{:PopoverContentHandle($t.first_tips_data)}}{{/if}}', trigger: 'hover focus', theme: '{{if !empty($t['first_tips_style'])}}{{$t.first_tips_style}}{{/if}} sm'}"></span>
                                        {{/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_list[$i][$t['first_link_key']])) or (!empty($t['first_link_data'])))}}
                                            <a href="{{if !empty($t['first_link_key']) and !empty($form_table_data_list[$i][$t['first_link_key']])}}{{$form_table_data_list[$i][$t['first_link_key']]}}{{else /}}{{$t.first_link_data}}{{/if}}" class="am-margin-right-xs {{if !empty($t['first_link_style'])}}am-text-{{$t.first_link_style}}{{/if}} am-icon-{{if empty($t['first_link_icon'])}}external-link{{else /}}{{$t.first_link_icon}}{{/if}}" target="_blank" rel="noopener noreferrer" {{if !empty($t['first_link_popover'])}}data-am-popover="{content: '{{:PopoverContentHandle($t.first_link_popover)}}', trigger: 'hover focus', theme: 'sm'}"{{/if}}></a>
                                        {{/if}}

                                        <!-- 圆点 -->
                                        {{if isset($t['is_round_point']) and $t['is_round_point'] eq 1}}
                                            <i class="am-icon-circle am-margin-right-xs {{if !empty($t['round_point_key']) and !empty($t['round_point_style']) and is_array($t['round_point_style']) and isset($form_table_data_list[$i][$t['round_point_key']]) and isset($t['round_point_style'][$form_table_data_list[$i][$t['round_point_key']]]) and substr($t['round_point_style'][$form_table_data_list[$i][$t['round_point_key']]], 0, 1) neq '#'}}am-text-{{$t['round_point_style'][$form_table_data_list[$i][$t['round_point_key']]]}}{{/if}}" 
                                            style="{{if !empty($t['round_point_key']) and !empty($t['round_point_style']) and is_array($t['round_point_style']) and isset($form_table_data_list[$i][$t['round_point_key']]) and isset($t['round_point_style'][$form_table_data_list[$i][$t['round_point_key']]]) and substr($t['round_point_style'][$form_table_data_list[$i][$t['round_point_key']]], 0, 1) eq '#'}}color: {{$t['round_point_style'][$form_table_data_list[$i][$t['round_point_key']]]}};{{/if}}"></i>
                                        {{/if}}

                                        <!-- 前后固定拼接的值 前面 -->
                                        {{if isset($t['view_join_first'])}}
                                            <span>{{$t.view_join_first}}</span>
                                        {{/if}}

                                        <!-- 如果字段为数组则处理多个字段拼接数据 -->
                                        {{if is_array($t['view_key'])}}
                                            {{foreach $t['view_key'] as $fk=>$fv}}
                                                {{if isset($form_table_data_list[$i][$fv])}}
                                                    <span>{{$form_table_data_list[$i][$fv]}}</span>
                                                    <!-- 多个字段拼接数据的的拼接字符 -->
                                                    {{if isset($t['view_key_join']) and $fk lt count($t['view_key'])-1}}
                                                        <span>{{$t.view_key_join|raw}}</span>
                                                    {{/if}}
                                                {{/if}}
                                            {{/foreach}}
                                        {{else /}}
                                            <!-- 是否存在数据 key -->
                                            {{if isset($form_table_data_list[$i][$t['view_key']])}}
                                                <!-- 是否指定数据转换 -->
                                                {{if !empty($t['view_data']) and is_array($t['view_data'])}}
                                                    <!-- 不存在数组中则不显示 -->
                                                    {{if isset($t['view_data'][$form_table_data_list[$i][$t['view_key']]])}}
                                                        <!-- 是否指定二维数组key取值 -->
                                                        {{if !empty($t['view_data_key'])}}
                                                            {{if isset($t['view_data'][$form_table_data_list[$i][$t['view_key']]][$t['view_data_key']])}}
                                                                <span>{{$t['view_data'][$form_table_data_list[$i][$t['view_key']]][$t['view_data_key']]}}</span>
                                                                {{if isset($t['is_copy']) and $t['is_copy'] eq 1 and !empty($t['view_data'][$form_table_data_list[$i][$t['view_key']]][$t['view_data_key']])}}
                                                                    <i class="iconfont icon-copy am-margin-left-xs am-color-grey text-copy-submit" data-value="{{$t['view_data'][$form_table_data_list[$i][$t['view_key']]][$t['view_data_key']]}}"></i>
                                                                {{/if}}
                                                            {{/if}}
                                                        {{else /}}
                                                            <span>{{$t['view_data'][$form_table_data_list[$i][$t['view_key']]]}}</span>
                                                            {{if isset($t['is_copy']) and $t['is_copy'] eq 1 and !empty($t['view_data'][$form_table_data_list[$i][$t['view_key']]])}}
                                                                <i class="iconfont icon-copy am-margin-left-xs am-color-grey text-copy-submit" data-value="{{$t['view_data'][$form_table_data_list[$i][$t['view_key']]]}}"></i>
                                                            {{/if}}
                                                        {{/if}}
                                                    {{/if}}
                                                {{else /}}
                                                    <!-- 直接展示数据 -->
                                                    <span>{{$form_table_data_list[$i][$t['view_key']]|raw}}</span>
                                                    {{if isset($t['is_copy']) and $t['is_copy'] eq 1 and !empty($form_table_data_list[$i][$t['view_key']])}}
                                                        <i class="iconfont icon-copy am-margin-left-xs am-color-grey text-copy-submit" data-value="{{$form_table_data_list[$i][$t['view_key']]|raw}}"></i>
                                                    {{/if}}
                                                {{/if}}
                                            {{/if}}
                                        {{/if}}
                                        <!-- 前后固定拼接的值 后面 -->
                                        {{if isset($t['view_join_last'])}}
                                            <span>{{$t.view_join_last}}</span>
                                        {{/if}}
                                    </div>
                                {{/case}}
                                {{case module}}
                                    <!-- 从模块加载自定义模块数据 -->
                                    {{:ModuleInclude(empty($t['template']) ? $t['view_key'] : $t['template'], $form_table_data_list[$i], [
                                        'form'      => $t,
                                        'params'    => isset($form_params) ? $form_params : [],
                                    ])}}
                                {{/case}}
                                {{case status}}
                                    <!-- 数据状态操作按钮组件 -->
                                    {{if !empty($t['key_field']) and !empty($t['post_url']) and !empty($form_table_data_list[$i][$t['key_field']]) and array_key_exists($t['view_key'], $form_table_data_list[$i])}}
                                        <a href="javascript:;"
                                            class="am-icon-btn submit-state {{if $form_table_data_list[$i][$t['view_key']] eq 1}}am-success{{else /}}am-default{{/if}}"
                                            data-url="{{$t.post_url}}"
                                            data-id="{{if isset($form_table_data_list[$i][$t['key_field']])}}{{$form_table_data_list[$i][$t['key_field']]}}{{/if}}"
                                            data-state="{{$form_table_data_list[$i][$t['view_key']]}}"
                                            data-field="{{$t.view_key}}"
                                            data-is-update-status="{{if isset($t['is_form_su']) and $t['is_form_su'] eq 1}}1{{else /}}0{{/if}}"
                                            data-is-operate-reason="{{if isset($t['is_operate_reason']) and $t['is_operate_reason'] eq 1}}1{{else /}}0{{/if}}"
                                            data-operate-reason-where="{{if isset($t['operate_reason_where'])}}{{:is_array($t['operate_reason_where']) ? implode(',', $t['operate_reason_where']) : $t['operate_reason_where']}}{{/if}}"
                                            data-is-loading="{{if isset($t['is_loading']) and $t['is_loading'] eq 1}}1{{else /}}0{{/if}}"
                                            data-loading-msg="{{if !empty($t['loading_msg'])}}{{$t.loading_msg}}{{/if}}"
                                        >
                                            <i class="iconfont icon-enable"></i>
                                        </a>
                                    {{/if}}
                                {{/case}}
                                {{case operate}}
                                    <!-- 是否操作列 -->
                                    <!-- 模块数据 -->
                                    {{:ModuleInclude($t['view_key'], $form_table_data_list[$i], [
                                        'form'      => $t,
                                        'params'    => isset($form_params) ? $form_params : [],
                                    ])}}

                                    <!-- 列表操作钩子 -->
                                    {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
                                        <div class="plugins-tag">
                                            <span>{{$hook_name_form_list_operate}}</span>
                                        </div>
                                    {{/if}}
                                    {{php}}
                                        $hook_data = MyEventTrigger($hook_name_form_list_operate, [
                                            'hook_name'     => $hook_name_form_list_operate,
                                            'is_backend'    => true,
                                            'id'            => isset($form_table_data_list[$i][$form_table['base']['key_field']]) ? $form_table_data_list[$i][$form_table['base']['key_field']] : 0,
                                            'data'          => $form_table_data_list[$i],
                                        ]);
                                        if(!empty($hook_data) && is_array($hook_data))
                                        {
                                            foreach($hook_data as $hook)
                                            {
                                                if(is_string($hook) || is_int($hook))
                                                {
                                                    echo htmlspecialchars_decode($hook);
                                                }
                                            }
                                        }
                                    {{/php}}
                                {{/case}}
                                {{case radio}}
                                    {{if isset($form_table_data_list[$i][$form_table['base']['key_field']])}}
                                        <!-- 是否配置指定数据不显示控件 -->
                                        {{if
                                            !isset($t['not_show_data']) or 
                                            empty($t['not_show_key']) or 
                                            (is_array($t['not_show_data']) and isset($form_table_data_list[$i][$t['not_show_key']]) and !in_array($form_table_data_list[$i][$t['not_show_key']], $t['not_show_data'])) or 
                                            (isset($t['not_show_type']) and isset($form_table_data_list[$i][$t['not_show_key']]) and (
                                                ($t['not_show_type'] eq 0 and $form_table_data_list[$i][$t['not_show_key']] eq $t['not_show_data']) or 
                                                ($t['not_show_type'] eq 1 and $form_table_data_list[$i][$t['not_show_key']] gt $t['not_show_data']) or 
                                                ($t['not_show_type'] eq 2 and $form_table_data_list[$i][$t['not_show_key']] lt $t['not_show_data'])
                                            ))
                                        }}
                                            <div class="form-table-operate-radio">
                                                <label class="am-radio am-secondary am-radio-inline">
                                                    <input type="radio" name="{{$t.view_key}}" value="{{$form_table_data_list[$i][$form_table['base']['key_field']]}}" {{if isset($t['is_checked']) and $t['is_checked'] eq 1}}checked{{/if}} data-am-ucheck />
                                                </label>
                                            </div>
                                        {{/if}}
                                    {{/if}}
                                {{/case}}
                                {{case checkbox}}
                                    {{if isset($form_table_data_list[$i][$form_table['base']['key_field']])}}
                                        <!-- 是否配置指定数据不显示控件 -->
                                        {{if
                                            !isset($t['not_show_data']) or 
                                            empty($t['not_show_key']) or 
                                            (is_array($t['not_show_data']) and isset($form_table_data_list[$i][$t['not_show_key']]) and !in_array($form_table_data_list[$i][$t['not_show_key']], $t['not_show_data'])) or 
                                            (isset($t['not_show_type']) and isset($form_table_data_list[$i][$t['not_show_key']]) and (
                                                ($t['not_show_type'] eq 0 and $form_table_data_list[$i][$t['not_show_key']] eq $t['not_show_data']) or 
                                                ($t['not_show_type'] eq 1 and $form_table_data_list[$i][$t['not_show_key']] gt $t['not_show_data']) or 
                                                ($t['not_show_type'] eq 2 and $form_table_data_list[$i][$t['not_show_key']] lt $t['not_show_data'])
                                            ))
                                        }}
                                            <div class="form-table-operate-checkbox">
                                                <label class="am-checkbox am-checkbox-inline">
                                                    <input type="checkbox" name="{{$t.view_key}}" value="{{$form_table_data_list[$i][$form_table['base']['key_field']]}}" {{if isset($t['is_checked']) and $t['is_checked'] eq 1}}checked{{/if}} data-am-ucheck />
                                                </label>
                                            </div>
                                        {{/if}}
                                    {{/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_list[$i][$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_list[$i][$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_list[$i][$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_list[$i][$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_list[$i][$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_list[$i][$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_list[$i][$t['bottom_text_tips_where_key']], $t['bottom_text_tips_where_value']))
                                    )
                                )
                            }}
                                <p class="am-margin-top-xs {{if !empty($t['bottom_text_tips_style'])}}am-text-{{$t.bottom_text_tips_style}}{{/if}} {{if !empty($t['bottom_text_tips_icon'])}}am-icon-{{$t.bottom_text_tips_icon}}{{/if}}">{{if !empty($t['bottom_text_tips_key']) and !empty($form_table_data_list[$i][$t['bottom_text_tips_key']])}}{{$form_table_data_list[$i][$t['bottom_text_tips_key']]}}{{else /}}{{$t.bottom_text_tips_data}}{{/if}}</p>
                            {{/if}}

                            <!-- 列表格子钩子 -->
                            {{if !empty($t['unique_key']) and $t['view_type'] neq 'operate'}}
                                {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
                                    <div class="plugins-tag">
                                        <span>{{$hook_name_form_grid}}_{{$t.unique_key}}</span>
                                    </div>
                                {{/if}}
                                {{php}}
                                    $hook_data = MyEventTrigger($hook_name_form_grid.'_'.$t['unique_key'], [
                                        'hook_name'     => $hook_name_form_grid.'_'.$t['unique_key'],
                                        'is_backend'    => true,
                                        'id'            => isset($form_table_data_list[$i][$form_table['base']['key_field']]) ? $form_table_data_list[$i][$form_table['base']['key_field']] : 0,
                                        'data'          => $form_table_data_list[$i],
                                    ]);
                                    if(!empty($hook_data) && is_array($hook_data))
                                    {
                                        foreach($hook_data as $hook)
                                        {
                                            if(is_string($hook) || is_int($hook))
                                            {
                                                echo htmlspecialchars_decode($hook);
                                            }
                                        }
                                    }
                                {{/php}}
                            {{/if}}
                        {{/if}}
                    </td>
                {{/if}}
            {{/foreach}}
        </tr>
    {{/for}}
{{/if}}
<!-- form_table_data_content_end -->