56 lines
3.8 KiB
HTML
56 lines
3.8 KiB
HTML
{{if !empty($module_data['common_theme_business_images_list']) and is_array($module_data['common_theme_business_images_list'])}}
|
|
{{if !isset($module_data['is_ul']) or $module_data['is_ul'] eq 1}}
|
|
<ul class="am-list">
|
|
{{/if}}
|
|
{{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']))}}
|
|
<li class="am-padding-sm">
|
|
<label class="am-block">{{$v.name}}</label>
|
|
{{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'])}}
|
|
<a href="javascript:;" class="am-figure am-inline-block am-padding-0 am-margin-right" data-am-widget="figure" data-am-figure="{pureview: 'true'}">
|
|
<img src="{{$module_data.data.data['images_'.$v['value']]['value']}}" width="30" height="30" class="am-vertical-align-middle am-img-thumbnail am-radius" />
|
|
</a>
|
|
{{else /}}
|
|
<span class="am-text-grey am-margin-right">{{:MyLang('no_setup_tips')}}</span>
|
|
{{/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']]['url_data'])}}
|
|
<div class="am-dropdown" data-am-dropdown>
|
|
<a href="javascript:;" class="am-text-blue am-inline-block am-dropdown-toggle">
|
|
{{:MyLang('common_service.themedata.form_item_url_already_choice_text')}}
|
|
</a>
|
|
<div class="am-dropdown-content am-radius">
|
|
{{if !empty($common_platform_type)}}
|
|
<table class="am-table am-margin-bottom-0">
|
|
<thead>
|
|
<tr>
|
|
<th>{{:MyLang('platform_title')}}</th>
|
|
<th>{{:MyLang('link_title')}}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{foreach $common_platform_type as $pv}}
|
|
{{if !empty($module_data.data.data['images_'.$v['value']]['url_data'][$pv['value']])}}
|
|
<tr>
|
|
<td>{{$pv.name}}</td>
|
|
<td>
|
|
<span class="text-copy-submit">{{$module_data.data.data['images_'.$v['value']]['url_data'][$pv['value']]}}</span>
|
|
</td>
|
|
</tr>
|
|
{{/if}}
|
|
{{/foreach}}
|
|
</tbody>
|
|
</table>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
{{else /}}
|
|
<span class="am-text-grey am-margin-right">{{:MyLang('no_setup_tips')}}</span>
|
|
{{/if}}
|
|
</li>
|
|
{{/if}}
|
|
{{/foreach}}
|
|
{{if !isset($module_data['is_ul']) or $module_data['is_ul'] eq 1}}
|
|
</ul>
|
|
{{/if}}
|
|
{{/if}} |