Authored by weiqingting

Merge branch 'yohobuy_portak_dev_v4.8_20160620' of http://git.yoho.cn/fe/yohobuy…

…-portal-fe2 into yohobuy_portak_dev_v4.8_20160620
<%include '../../common/__ui/header'%>
<%include '../../common/__partail/ListHeader'%>
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">添加活动模板</h4>
</div><!-- panel-heading -->
<div class="panel-body" role="<%type%>" id="wrap-content" data-id="<%id%>" url="<%url%>">
<div class="row" id="content-template">
</div><!-- row -->
</div><!-- panel-body -->
<div class="panel-footer">
<div class="row">
<div class="col-sm-9 col-sm-offset-3">
<a id="save_btn" class="btn btn-primary mr5">保存</a>
<a href="/operations/activitytemplate/index" class="btn btn-primary mr5">取消</a>
</div>
</div>
</div><!-- panel-footer -->
</div>
<script type="text/template" id="template">
<div class="form-group">
<label class="col-sm-1 control-label">模板标题</label>
<div class="col-sm-4">
<input type="text" name="title" class="form-control observe" placeholder="模板标题" required="" value="[[title]]" data-field="title">
</div>
</div><!-- form-group -->
<div class="form-group">
<label class="col-sm-1 control-label">上传图片</label>
<div class="col-sm-8">
<input type="text" name="image" id="image" class="form-control observe" placeholder="图片地址" value="[[image]]" data-field="image">
<input id="uploadBox" name="图片" type="file" style="position: absolute; top: 0;left: 0;z-index: -999">
<div id="chooseFile" class="file-name btn btn-success">请选择文件</div>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-1 control-label">跳转链接</label>
<div class="col-sm-9">
<input type="text" name="url" id="url" class="form-control observe" placeholder="跳转链接" value="[[url.replace(/"/g, "&quot;")]]" data-field="url">
<button type="button" class="btn btn-info" id="addUrl">添加链接</button>
<p style="color:#999">注:链接中不能有英文单引号</p>
</div>
</div><!-- form-group -->
<div class="form-group">
<label class="col-sm-1 control-label">分享ID</label>
<div class="col-sm-2">
<input type="text" name="share_id" class="form-control observe" placeholder="分享ID" required="" value="[[shareId]]" data-field="shareId">
</div>
</div><!-- form-group -->
</script>
<script type="text/template" id="template2">
<div id="action-row" class="rows">
<div class="form-group">
<label class="col-sm-2 control-label">选择跳转目的地:</label>
<div class="col-sm-8">
<select name="goTo" id="goTo" class="form-control" value="[[action]]">
[[layout action_template]]
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">跳转地址:</label>
<div class="col-sm-8">
<textarea rows="2" id="goToUrl" class="form-control" placeholder="跳转地址">[[url]]</textarea>
</div>
</div>
</div>
</script>
<%include '../../resource/__partail/actions'%>
\ No newline at end of file
... ...
<%include '../../common/__ui/header'%>
<%include '../../common/__partail/ListHeader'%>
<div class="contentpanel">
<div style="margin-bottom: 20px">
<a href="/operations/activitytemplate/add" class="btn btn-success"><i class="fa fa-plus"></i> 添加活动模板</a>
</div>
<div class="panel">
<div class="panel-body nopadding">
<div class="basicTable_wrapper" id="content-list"></div>
</div>
</div>
</div>
\ No newline at end of file
... ...
<%include '../../common/__ui/header'%>
<%include '../../common/__partail/ListHeader'%>
<div class="contentpanel">
<div class="panel panel-default" style="margin-bottom:10px;">
<div class="panel-heading">
<div id="basicForm" class="form-horizontal form-bordered form-inline" data-id="<%id%>">
<div class="form-group">
<input id="uploadBox" name="file" type="file" style="position: absolute; top: 0;left: 0;z-index: -999">
<div id="chooseFile" class="file-name btn btn-success">上传商品</div>
<p style="color: #999">注:上传.xls文件</p>
</div>
</div>
</div>
<div class="panel-body" id="condition">
<div class="panel-col">
<input type="text" class="form-control" name="product_skn" placeholder="输入SKN查询" id="productSkn">
</div>
<a id="filter-btn" class="btn btn-info">筛选</a>
<a href="<%url%>" class="btn btn-info">全部</a>
</div>
</div>
<div class="panel panel-primary-head" id="product-list">
</div>
</div>
\ No newline at end of file
... ...
<%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">
<input type="hidden" name="id" class="form-control" value="[[id]]">
</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>
\ No newline at end of file
... ...
<%include '../../common/__ui/header'%>
<%include '../../common/__partail/ListHeader'%>
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title"><%pageName%></h4>
</div><!-- panel-heading -->
<div class="panel-body">
<div class="row" id="edit-content" data-id="<%id%>" url="<%url%>">
</div><!-- row -->
</div><!-- panel-body -->
<div class="panel-footer">
<div class="row">
<div class="col-sm-9 col-sm-offset-3">
<a id="save_btn" class="btn btn-primary mr5">保存</a>
<a href="/operations/webshare/index" class="btn btn-primary mr5">取消</a>
</div>
</div>
</div><!-- panel-footer -->
</div>
<script type="text/template" id="edit-template">
<div class="form-group">
<label class="col-sm-1 control-label">分享名称</label>
<div class="col-sm-9">
<input type="text" name="title" class="form-control observe" placeholder="活动分享名称" required="" value="[[title]]" data-field="title">
<p style="color:#999">注:分享名称必填</p>
</div>
</div>
<div class="form-group">
<label class="col-sm-1 control-label">分享主标题</label>
<div class="col-sm-9">
<input type="text" name="share_title_main" class="form-control observe" placeholder="分享主标题" value="[[shareTitleMain]]" data-field="shareTitleMain">
</div>
</div>
<div class="form-group">
<label class="col-sm-1 control-label">分享副标题</label>
<div class="col-sm-9">
<input type="text" name="share_title_sub" class="form-control observe" placeholder="分享副标题" value="[[shareTitleSub]]" data-field="shareTitleSub">
</div>
</div>
<div class="form-group">
<label class="col-sm-1 control-label">分享图片</label>
<div class="col-sm-9">
<input type="file" name="shareImage" data-field="shareImage" value="[[shareImage]]" />
</div>
</div>
<div class="form-group">
<label class="col-sm-1 control-label">跳转链接</label>
<div class="col-sm-9">
<input type="text" name="share_url" class="form-control observe" placeholder="跳转链接" required="" value="[[shareUrl]]" data-field="shareUrl">
<p style="color:#999">注:必填,链接中不能有英文单引号</p>
</div>
</div><!-- form-group -->
<div class="form-group" hidden id="choose-status">
<label class="col-sm-1 control-label">状态</label>
<div class="col-sm-9">
<select name="status" id="status" style="width:120px;" tabindex="-1" value="[[status]]" class="form-control observe" data-field="status">
<option value="">选择状态</option>
<option value="0">关闭</option>
<option value="1">开启</option>
</select>
</div>
</div>
</script>
\ No newline at end of file
... ...
<%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">
<div id="basicForm" class="form-horizontal form-bordered form-inline" data-id="<%id%>">
<div class="form-group" style="padding: 0">
<a href="/operations/webshare/add" class="btn btn-success"><i class="fa fa-plus"></i> 添加活动分享</a>
</div>
</div>
</div>
<div class="panel-body" id="condition">
<div class="row">
<div class="panel-col">
<input type="text" class="form-control" name="product_skn" placeholder="分享id" id="shareId-filter">
</div>
<div class="panel-col">
<input type="text" class="form-control" name="product_skn" placeholder="标题" id="title-filter">
</div>
<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">
<a id="filter-btn" class="btn btn-info">筛选</a>
<a href="<%url%>" class="btn btn-info">全部</a>
</div>
</div>
</div>
</div>
<div class="panel panel-primary-head" id="content-list"></div>
</div>
\ No newline at end of file
... ...
<%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="uploadZip"><span class="glyphicon glyphicon-arrow-up"></span> 上传图片包</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="platform" id="platform-filter" tabindex="-1" class="form-control">
<option value="" selected="">请选择平台</option>
<option value="iphone">IOS手机</option>
<option value="ipad">IOS Pad</option>
<option value="android">安卓手机</option>
<option value="androidpad">安卓Pad</option>
<option value="h5">手机网站</option>
<option value="web">网站</option>
<option value="platform">平台</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="zip" id="zip" class="form-control" required prompt="图片包">
<input id="uploadBox" name="图片包" type="file"
style="position: absolute; top: 0;left: 0;z-index: -999">
<div id="chooseFile" class="file-name btn btn-success">上传图片包</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">类别</label>
<div class="col-sm-10">
<select name="platform" id="platform" style="width:150px;" tabindex="-1" title=""
class="form-control">
<option value="iphone">IOS手机</option>
<option value="ipad">IOS Pad</option>
<option value="android">安卓手机</option>
<option value="androidpad">安卓Pad</option>
<option value="h5">手机网站</option>
<option value="web">网站</option>
<option value="platform">平台</option>
</select>
</div>
</div><!-- form-group -->
</div><!-- row -->
</div>
</script>
\ No newline at end of file
... ...