<?php /*a:1:{s:64:"D:\phpstudy\WWW\12xz\app\admin\view/default\appconfig\index.html";i:1782629701;}*/ ?>
<?php echo ModuleInclude('public/header'); ?>

<!-- right content start  -->
<div class="content-right">
	<div class="content">
        <!-- table nav start -->
        <?php echo ModuleInclude('public/nav_switch_tabs', [
            'nav_data'  => $nav_data,
            'nav_type'  => $nav_type,
            'url'       => 'admin/appconfig/index'
        ]); ?>
        <!-- table nav end -->
        <!-- form start -->
        <form class="am-form form-validation am-form-popup-sticky" action="<?php echo MyUrl('admin/appconfig/save', ['nav_type'=>$nav_type]); ?>" method="POST" request-type="ajax-view">
            <div class="am-form-group">
                <label><?php echo htmlentities((string) $data['common_app_h5_url']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['common_app_h5_url']['describe']); ?></span></label>
                <input type="text" name="<?php echo htmlentities((string) $data['common_app_h5_url']['only_tag']); ?>" placeholder="<?php echo htmlentities((string) $data['common_app_h5_url']['name']); ?>" data-validation-message="<?php echo htmlentities((string) $data['common_app_h5_url']['error_tips']); ?>" class="am-radius" <?php if(!empty($data)): ?>value="<?php echo htmlentities((string) $data['common_app_h5_url']['value']); ?>"<?php endif; ?> />
            </div>
            <div class="am-form-group">
                <label><?php echo htmlentities((string) $data['common_is_mobile_concise_model']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['common_is_mobile_concise_model']['describe']); ?></span></label>
                <div class="am-radio-group">
                    <?php foreach(MyConst('common_is_text_list') as $v): ?>
                        <label class="am-radio-inline">
                            <input type="radio" value="<?php echo htmlentities((string) $v['id']); ?>" name="<?php echo htmlentities((string) $data['common_is_mobile_concise_model']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['common_is_mobile_concise_model']['error_tips']); ?>" required <?php if(isset($data['common_is_mobile_concise_model']['value']) and $data['common_is_mobile_concise_model']['value'] == $v['id']): ?>checked<?php endif; ?> data-am-ucheck><?php echo htmlentities((string) $v['name']); ?>
                        </label>
                    <?php endforeach; ?>
                </div>
            </div>

            <div class="am-form-group">
                <label><?php echo htmlentities((string) $data['common_shop_notice']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['common_shop_notice']['describe']); ?></span></label>
                <textarea rows="3" name="<?php echo htmlentities((string) $data['common_shop_notice']['only_tag']); ?>" class="am-radius" placeholder="<?php echo htmlentities((string) $data['common_shop_notice']['name']); ?>" data-validation-message="<?php echo htmlentities((string) $data['common_shop_notice']['error_tips']); ?>"><?php if(!empty($data)): ?><?php echo htmlentities((string) $data['common_shop_notice']['value']); ?><?php endif; ?></textarea>
            </div>
            <div class="am-form-group">
                <label><?php echo htmlentities((string) $data['common_user_center_notice']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['common_user_center_notice']['describe']); ?></span></label>
                <textarea rows="4" name="<?php echo htmlentities((string) $data['common_user_center_notice']['only_tag']); ?>" class="am-radius" placeholder="<?php echo htmlentities((string) $data['common_user_center_notice']['name']); ?>" data-validation-message="<?php echo htmlentities((string) $data['common_user_center_notice']['error_tips']); ?>"><?php if(!empty($data)): ?><?php echo htmlentities((string) $data['common_user_center_notice']['value']); ?><?php endif; ?></textarea>
            </div>
            
            <div class="am-form-popup-submit">
                <input type="hidden" name="type" value="<?php echo htmlentities((string) $nav_type); ?>" />
                <button type="submit" class="am-btn am-btn-primary am-radius am-btn-xs btn-loading-example" data-am-loading="{spinner: 'circle-o-notch', loadingText:'<?php echo MyLang('save_title'); ?>'}">
                    <i class="am-icon-save"></i>
                    <span><?php echo MyLang('save_title'); ?></span>
                </button>
            </div>
        </form>
        <!-- form end -->
	</div>
</div>
<!-- right content end  -->

<!-- footer start -->
<?php echo ModuleInclude('public/footer'); ?>