<!-- 地址信息 -->
{{if !empty($module_data) and in_array($module_data['order_model'], [0,2]) and !empty($module_data['address_data'])}}
    <div>
        {{if !empty($module_data['address_data']['alias'])}}
            <span class="am-badge am-badge-secondary-plain am-radius">{{$module_data.address_data.alias}}</span>
        {{/if}}
        <span>{{$module_data.address_data.name}}</span>
        <span class="am-margin-left-sm">{{$module_data.address_data.tel}}</span>
    </div>
    <div class="am-margin-top-xs">
        <span>{{$module_data.address_data.province_name}}</span>
        <span>{{$module_data.address_data.city_name}}</span>
        <span>{{$module_data.address_data.county_name}}</span>
        <span>{{$module_data.address_data.address}}</span>
        {{if !empty($module_data['address_data']['lng']) and !empty($module_data['address_data']['lat'])}}
            <div class="am-margin-top-xs">
                <button type="button" class="am-btn am-btn-success am-btn-xs am-radius am-icon-map-marker am-padding-xs submit-map-popup" data-lng="{{$module_data.address_data.lng}}" data-lat="{{$module_data.address_data.lat}}"> 查看位置</button>
            </div>
        {{/if}}
    </div>
{{/if}}