登陆框新增纯净模式

feat/task1-c-wallet
gongfuxiang 2021-11-12 10:34:05 +08:00
parent 8ad62c304c
commit d102c895cf
2 changed files with 33 additions and 24 deletions

View File

@ -325,6 +325,9 @@ class Common extends BaseController
// 底部信息 // 底部信息
MyViewAssign('home_theme_footer_bottom_powered', htmlspecialchars_decode(MyC('home_theme_footer_bottom_powered'))); MyViewAssign('home_theme_footer_bottom_powered', htmlspecialchars_decode(MyC('home_theme_footer_bottom_powered')));
// 纯净模式
MyViewAssign('page_pure', in_array($this->controller_name.$this->action_name, ['usermodallogininfo']) ? 1 : 0);
} }
/** /**

View File

@ -2,23 +2,25 @@
<textarea id="upload-editor-view" data-url="{{if isset($is_load_upload_editor) and $is_load_upload_editor eq 1}}{{:MyUrl('index/ueditor/index', ['path_type'=>empty($editor_path_type) ? 'common' : $editor_path_type])}}{{/if}}" style="display: none;"></textarea> <textarea id="upload-editor-view" data-url="{{if isset($is_load_upload_editor) and $is_load_upload_editor eq 1}}{{:MyUrl('index/ueditor/index', ['path_type'=>empty($editor_path_type) ? 'common' : $editor_path_type])}}{{/if}}" style="display: none;"></textarea>
<!-- footer start --> <!-- footer start -->
{{if !isset($is_footer) or $is_footer eq 1}} {{if (!isset($page_pure) or $page_pure neq 1) and (!isset($is_footer) or $is_footer eq 1)}}
{{include file="public/footer_nav" /}} {{include file="public/footer_nav" /}}
{{/if}} {{/if}}
<!-- footer end --> <!-- footer end -->
<!-- 公共底部钩子 --> <!-- 公共底部钩子 -->
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}} {{if !isset($page_pure) or $page_pure neq 1}}
<div class="plugins-tag"> {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
<span>plugins_view_common_bottom</span> <div class="plugins-tag">
</div> <span>plugins_view_common_bottom</span>
{{/if}} </div>
{{if !empty($plugins_view_common_bottom_data) and is_array($plugins_view_common_bottom_data)}} {{/if}}
{{foreach $plugins_view_common_bottom_data as $hook}} {{if !empty($plugins_view_common_bottom_data) and is_array($plugins_view_common_bottom_data)}}
{{if is_string($hook) or is_int($hook)}} {{foreach $plugins_view_common_bottom_data as $hook}}
{{$hook|raw}} {{if is_string($hook) or is_int($hook)}}
{{/if}} {{$hook|raw}}
{{/foreach}} {{/if}}
{{/foreach}}
{{/if}}
{{/if}} {{/if}}
</body> </body>
</html> </html>
@ -100,7 +102,9 @@
{{/if}} {{/if}}
<!-- 底部信息 --> <!-- 底部信息 -->
{{:MyC('home_footer_info')}} {{if !isset($page_pure) or $page_pure neq 1}}
{{:MyC('home_footer_info')}}
{{/if}}
<!-- js钩子 --> <!-- js钩子 -->
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}} {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
@ -131,15 +135,17 @@
{{/if}} {{/if}}
<!-- 公共页面底部钩子 --> <!-- 公共页面底部钩子 -->
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}} {{if !isset($page_pure) or $page_pure neq 1}}
<div class="plugins-tag"> {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
<span>plugins_common_page_bottom</span> <div class="plugins-tag">
</div> <span>plugins_common_page_bottom</span>
{{/if}} </div>
{{if !empty($plugins_common_page_bottom_data) and is_array($plugins_common_page_bottom_data)}} {{/if}}
{{foreach $plugins_common_page_bottom_data as $hook}} {{if !empty($plugins_common_page_bottom_data) and is_array($plugins_common_page_bottom_data)}}
{{if is_string($hook) or is_int($hook)}} {{foreach $plugins_common_page_bottom_data as $hook}}
{{$hook|raw}} {{if is_string($hook) or is_int($hook)}}
{{/if}} {{$hook|raw}}
{{/foreach}} {{/if}}
{{/foreach}}
{{/if}}
{{/if}} {{/if}}