Index.html 6.54 KB
<%include '../../common/__ui/header'%>
<%include '../../common/__partail/ListHeader'%>

<div class="contentpanel">
    <div class="panel panel-default" style="margin-bottom:10px;">
        <div class="panel-body" style="padding-bottom: 0">
            <a class="btn btn-success" id="addInfo"><i class="fa fa-plus"></i> 添加图标</a>
        </div>
        <div class="panel-body">
            <div class="row">
                <div class="panel-col">
                    <select name="status" id="status-filter" tabindex="-1" class="form-control">
                        <option value="">请选择状态</option>
                        <option value="0">关闭</option>
                        <option value="1">开启</option>
                    </select>
                </div>
                <div class="panel-col">
                    <select name="type" id="type-filter" class="form-control">
                        <option value="" selected="">请选择类别</option>
                        <option value="0">通用</option>
                        <option value="1">男生 BOYS</option>
                        <option value="2">女生 GIRLS</option>
                        <option value="3">潮童 KIDS</option>
                        <option value="4">创意生活 LIFE STYLE</option>
                    </select>
                </div>
                <div class="panel-col">
                    <a class="btn btn-info" id="filter-btn">筛选</a>
                    <a href="/operations/icon/index">
                        <button class="btn btn-info" type="button">全部</button>
                    </a>
                </div>
            </div>
        </div>
    </div>
    <div id="content-list"></div>
</div>

<script type="text/template" id="toast-template">
    <div class="panel-body" id="base-form">
        <div class="row">
            <div class="form-group">
                <label class="col-sm-2 control-label">名称</label>
                <div class="col-sm-10">
                    <input type="text" name="ico_name" class="form-control observe" placeholder="名称" required
                           value="[[icoName]]" data-field="icoName" maxlength="20">
                    <input type="hidden" name="id" class="form-control" value="[[id]]">
                    <p style="color:#999">注:名称不能超过20个字符</p>
                </div>
            </div><!-- form-group -->
            <div class="form-group">
                <label class="col-sm-2 control-label">默认图片名称</label>
                <div class="col-sm-10">
                    <input type="text" name="default_ico" placeholder="默认图片名称" value="[[defaultIco]]"
                           class="form-control observe" data-field="defaultIco" required>
                    <p style="color:#999">注:文件名一经设置,请谨慎修改。文件名示例:123.png</p>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">高亮图片名称</label>
                <div class="col-sm-10">
                    <input type="text" name="ico" placeholder="高亮图片名称" value="[[ico]]" class="form-control observe"
                           data-field="ico" required>
                    <p style="color:#999">注:文件名一经设置,请谨慎修改。文件名示例:123.png</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">频道</label>
                <div class="col-sm-10">
                    <select name="type" id="type" style="width:150px;height:40px;" class="form-control observe"
                            value="[[type]]" data-field="type" required>
                        <option value="" selected="">请选择频道</option>
                        <option value="0">通用</option>
                        <option value="1">男生 BOYS</option>
                        <option value="2">女生 GIRLS</option>
                        <option value="3">潮童 KIDS</option>
                        <option value="4">创意生活 LIFE STYLE</option>
                    </select>
                </div>
            </div><!-- form-group -->
            <div class="form-group">
                <label class="col-sm-2 control-label">key</label>
                <div class="col-sm-10">
                    <select name="ico_key" id="ico_key" class="form-control observe" style="width:150px;height:40px;"
                            value="[[icoKey]]" data-field="icoKey" required>
                        <option value="" selected="">请选择key</option>
                        <option value="home">首页</option>
                        <option value="category">分类</option>
                        <option value="guang"></option>
                        <option value="shoppingCart">购物车</option>
                        <option value="profile">我的</option>
                        <option value="logoCh">中文logo</option>
                        <option value="logoEn">英文logo</option>
                        <option value="setting">设置按钮</option>
                        <option value="message">消息中心</option>
                        <option value="address">地址管理</option>
                        <option value="myguang">我的逛</option>
                        <option value="yohoCoin">YOHO</option>
                        <option value="coupon">优惠券</option>
                        <option value="feedback">意见反馈</option>
                        <option value="invite">邀请好友</option>
                        <option value="online">在线客服</option>
                        <option value="willDeliver">待发货</option>
                        <option value="willPay">待付款</option>
                        <option value="willComment">待评价</option>
                        <option value="willReceived">待收货</option>
                        <option value="reback">退/换货</option>
                        <option value="vipBill">会员账单</option>
                        <option value="myList">我的晒单</option>
                        <option value="globalBuy">全球购</option>
                        <option value="myLimitCode">我的限购码</option>
                        <option value="suggestion">服务与反馈</option>
                        <option value="helpCenter"> 帮助中心</option>
                    </select>
                </div>
            </div><!-- form-group -->
        </div><!-- row -->
    </div>
</script>