entrance.html 7.62 KB
<div class="pageheader">
    <div class="media">
        <div class="pageicon pull-left">
            <i class="fa fa-th-list"></i>
        </div>
        <div class="media-body">
            <ul class="breadcrumb">
                <li><a href=""><i class="glyphicon glyphicon-home"></i></a></li>
                <li><a href="">入口信息管理</a></li>
                <li>入口信息管理</li>
            </ul>

            <div>
                <div style="width: 30%;float: left;">
                    <h4>入口信息管理</h4>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="panel panel-default" style="margin-bottom:10px;">
    <div class="panel-heading">
        <a class="btn btn-success " id="add-entry"><i class="fa fa-plus"></i> 添加信息</a>
    </div>
    <div class="panel-body">
        <div class="row">
            <div class="panel-col">
                <select id="entrance-status" tabindex="-1" title="" class="select2-offscreen brandBtn-group">
                    <option value="">请选择状态</option>
                    <option value="0">关闭</option>
                    <option value="1">开启</option>
                </select>
            </div>
            <div class="panel-col">
                <select id="entrance-platform" title="" class="select2-offscreen brandBtn-group">
                    <option value="" selected="">请选择类别</option>
                    <option value="1">手机</option>
                    <option value="2">ipad</option>
                </select>
            </div>
            <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
            <a id="filter-all" href="/operations/entrance/index" class="btn btn-info">全部</a>
        </div>
    </div>
    <div id="entrance-list"></div>
</div>

<script type="text/template" id="template-add">
    <div class="row" id="base-form">
        <div class="form-group">
            <label class="col-sm-2 control-label">入口名称</label>
            <div class="col-sm-10">
                <input type="hidden" id="id" value="{id}" />
                <input type="text" id="entryName" value="{entryName}" class="form-control" placeholder="入口名称" required="required">
            </div>
        </div><!-- form-group -->
        <div class="form-group">
            <label class="col-sm-2 control-label">点击前图片名</label>
            <div class="col-sm-10">
                <input type="text" value="{clickBeforeImg}" id="clickBeforeImg" placeholder="点击前的图片名称" class="form-control" required="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" value="{clickAfterImg}" id="clickAfterImg" placeholder="点击后的图片名称" class="form-control" required="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 id="zipUrl" value="{zipUrl}" class="form-control" type="text" disabled="disabled" style="cursor:default">
                <div class="col-sm-4" style="position: relative">
                    <input id="zip" name="zip" extend="zip" type="file" style="position: absolute; top: 0;left: 0;">
                    <div class="file-name btn btn-default">请选择文件</div>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">url地址</label>
            <div class="col-sm-4">
                <select id="intent" name="goTo" class="form-control" >
                    <option value="">选择跳转目标</option>
                    <option value="brand">品牌列表页</option>
                    <option value="productDetail">商品详情页</option>
                    <option value="coupon">优惠券页</option>
                    <option value="fav">收藏列表页</option>
                    <option value="mine">我的页面</option>
                    <option value="list">列表或搜索页</option>
                    <option value="attention">关注页</option>
                    <option value="plus">plus</option>
                    <option value="star">star</option>
                    <option value="new">新品到着页</option>
                    <option value="sale">折扣页</option>
                    <option value="h5">h5网页</option>
                    <option value="guangchannel">逛频道</option>
                    <option value="gender">男女首页</option>
                    <option value="activity">app活动页</option>
                    <option value="home">频道首页</option>
                    <option value="yohood">YOHOOD</option>
                    <option value="top100">热销排行</option>
                    <option value="activitytemplate">活动模板</option>
                    <option value="globalpurchase">全球购</option>
                    <option value="subchannel">二级频道</option>
                    <option value="guangchannel">逛频道或SHOW晒单页</option>
                    <option value="showgoods">去晒单</option>
                    <option value="limitpurchase">尖货频道</option>
                    <option value="vippro">会员商品</option>
                    <option value="shortsize">断码页</option>
                    <option value="discountmarket">折扣专区</option>
                    <option value="discountmarketpro">折扣专区详情页</option>
                </select>
            </div>
            <div class="col-sm-4">
                <input id="url" value="{url}" class="form-control" placeholder="URL地址" required="required" />
                <p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label">类别</label>
            <div class="col-sm-10">
                <select value="{platform}" id="platform" style="width:150px;" tabindex="-1">
                    <option value="1">手机</option>
                    <option value="2">ipad</option>
                </select> &nbsp;&nbsp;
            </div>
        </div><!-- form-group -->
        <div class="form-group">
            <label class="col-sm-2 control-label">排序</label>
            <div class="col-sm-10">
                <input type="text" value="{orderBy}" id="orderBy" class="form-control" placeholder="排序"/>
            </div>
        </div><!-- form-group -->
        <div class="form-group">
            <label class="col-sm-2 control-label">频道ID</label>
            <div class="col-sm-10">
                <input id="channelId" class="form-control" type="text" placeholder="频道ID" value="{channelId}"/>
            </div>
        </div><!-- form-group -->
        <div class="form-group">
            <label class="col-sm-2 control-label">性别</label>
            <div class="col-sm-10">
                <select value="{gender}" id="gender" style="width:150px;" tabindex="-1" title="" class="select2-offscreen">
                    <option value="1,3"></option>
                    <option value="2,3"></option>
                    <option value="1,2,3">通用</option>
                </select> &nbsp;&nbsp;
            </div>
        </div><!-- form-group -->
    </div>
</script>