vr-shopxo-source/app/index/view/default/safety/index.html

58 lines
1.9 KiB
HTML
Raw Normal View History

2018-12-28 10:58:37 +00:00
{{include file="public/header" /}}
<!-- header top nav -->
{{include file="public/header_top_nav" /}}
<!-- search -->
{{include file="public/nav_search" /}}
<!-- header nav -->
{{include file="public/header_nav" /}}
<!-- goods category -->
{{include file="public/goods_category" /}}
<!-- content -->
<div class="am-container user-main">
<!-- user menu start -->
{{include file="public/user_menu" /}}
<!-- user menu end -->
<!-- content start -->
<div class="user-content">
<div class="user-content-body">
{{foreach $safety_panel_list as $v}}
2022-11-20 13:29:44 +00:00
<section class="am-panel am-panel-default am-radius am-panel-{{if (empty($data[$v['type']]) and empty($v['msg'])) or ($v['type'] eq 'logout')}}danger{{else /}}default{{/if}}">
2018-12-28 10:58:37 +00:00
<header class="am-panel-hd">
<h3 class="am-panel-title">{{$v.title}}</h3>
</header>
<div class="am-panel-bd o-h">
<div class="am-fl panel-left">
{{if !empty($v.msg)}}
2023-01-26 09:06:20 +00:00
<p class="am-text-grey">{{$v.msg}}</p>
2018-12-28 10:58:37 +00:00
{{/if}}
{{if empty($data[$v['type']]) and !empty($v['tips'])}}
2022-11-20 13:29:44 +00:00
{{if !empty($v['no_msg'])}}
{{$v.no_msg}}
{{/if}}
2018-12-28 10:58:37 +00:00
{{else /}}
2022-11-20 13:29:44 +00:00
{{if !empty($v['ok_msg']) and !empty($data[$v['type']])}}
2018-12-28 10:58:37 +00:00
{{:str_replace('#accounts#', $data[$v['type']], $v['ok_msg'])}}
{{/if}}
{{/if}}
{{if !empty($v['tips'])}}
2023-01-26 09:06:20 +00:00
<p class="am-margin-top-xs am-text-grey">{{$v.tips}}</p>
2018-12-28 10:58:37 +00:00
{{/if}}
</div>
2023-01-26 09:06:20 +00:00
<a href="{{$v.url}}" class="am-btn am-btn-secondary am-radius am-btn-xs am-fr">{{if empty($v['submit_text'])}}{{if empty($data[$v['type']]) and empty($v['msg'])}}{{:MyLang('bind_title')}}{{else /}}{{:MyLang('modify_title')}}{{/if}}{{else /}}{{$v.submit_text}}{{/if}}</a>
2018-12-28 10:58:37 +00:00
</div>
</section>
{{/foreach}}
</div>
</div>
<!-- content end -->
</div>
<!-- footer start -->
{{include file="public/footer" /}}
<!-- footer end -->