{{if !empty($module_data['common_theme_business_images_list']) and is_array($module_data['common_theme_business_images_list'])}}
    {{foreach $module_data.common_theme_business_images_list as $v}}
        {{if empty($module_data['appoint_business_images']) or (!empty($module_data['appoint_business_images']) and in_array($v['value'], $module_data['appoint_business_images']))}}
            <div class="am-form-group am-form-file">
                <label class="am-block">{{$v.name}}</label>
                <div class="am-input-group am-input-group-sm">
                    <div class="am-form-file-upload-container">
                        <ul class="plug-file-upload-view images-{{$v.value}}-view{{if isset($module_data['index'])}}-{{$module_data.index}}{{/if}}" data-form-name="{{if empty($module_data['appoint_form_name_first'])}}images_{{$v.value}}{{else /}}{{$module_data.appoint_form_name_first}}[images_{{$v.value}}]{{/if}}[value]" data-max-number="1" data-dialog-type="images" data-is-eye="1">
                            <li class="plug-file-upload-submit" data-view-tag="ul.images-{{$v.value}}-view{{if isset($module_data['index'])}}-{{$module_data.index}}{{/if}}">
                                {{if !empty($module_data['data']) and !empty($module_data['data']['data']) and !empty($module_data['data']['data']['images_'.$v['value']]) and !empty($module_data['data']['data']['images_'.$v['value']]['value'])}}
                                    <input type="text" name="{{if empty($module_data['appoint_form_name_first'])}}images_{{$v.value}}{{else /}}{{$module_data.appoint_form_name_first}}[images_{{$v.value}}]{{/if}}[value]" value="{{$module_data.data.data['images_'.$v['value']]['value']}}" />
                                    <img src="{{$module_data.data.data['images_'.$v['value']]['value']}}" />
                                    <i class="iconfont icon-close"></i>
                                    <i class="iconfont icon-eye"></i>
                                {{else /}}
                                    <i class="iconfont icon-add"></i>
                                {{/if}}
                            </li>
                        </ul>
                    </div>
                    <a href="javascript:;" class="am-input-group-label am-radius am-text-blue url-choice-event">
                        <input type="hidden" name="{{if empty($module_data['appoint_form_name_first'])}}images_{{$v.value}}{{else /}}{{$module_data.appoint_form_name_first}}[images_{{$v.value}}]{{/if}}[url_data]" value="{{if !empty($module_data['data']) and !empty($module_data['data']['data']) and !empty($module_data['data']['data']['images_'.$v['value']]) and !empty($module_data['data']['data']['images_'.$v['value']]['url_data'])}}{{:urlencode(base64_encode(json_encode($module_data.data.data['images_'.$v['value']]['url_data'])))}}{{/if}}" />
                        <span>
                            {{if !empty($module_data['data']) and !empty($module_data['data']['data']) and !empty($module_data['data']['data']['images_'.$v['value']]) and !empty($module_data['data']['data']['images_'.$v['value']]['url_data'])}}
                                {{:MyLang('common_service.themedata.form_item_url_already_choice_text')}}
                            {{else /}}
                                {{:MyLang('common_service.themedata.form_item_url_not_choice_text')}}
                            {{/if}}
                        </span>
                    </a>
                </div>
            </div>
        {{/if}}
    {{/foreach}}
{{/if}}