|
@@ -5,7 +5,8 @@
|
|
|
<title>超级会员套餐配置管理</title>
|
|
|
<meta name="decorator" content="default"/>
|
|
|
<script type="text/javascript">
|
|
|
- $(document).ready(function () {
|
|
|
+
|
|
|
+ /*$(document).ready(function () {
|
|
|
//$("#name").focus();
|
|
|
$("#inputForm").validate({
|
|
|
submitHandler: function (form) {
|
|
@@ -19,11 +20,11 @@
|
|
|
alert("套餐2售价应为正整数且不能为0,如100");
|
|
|
return false;
|
|
|
}
|
|
|
- /*var places3 = $(".input-xlarge3").val();
|
|
|
+ /!*var places3 = $(".input-xlarge3").val();
|
|
|
if (!(/(^[1-9]\d*$)/.test(places3))) {
|
|
|
alert("套餐3售价应为正整数且不能为0,如100");
|
|
|
return false;
|
|
|
- }*/
|
|
|
+ }*!/
|
|
|
var places4 = $(".input-xlarge4").val();
|
|
|
if (!(/(^[1-9]\d*$)/.test(places4))) {
|
|
|
alert("美豆比例应为正整数且不能为0,如100");
|
|
@@ -55,21 +56,31 @@
|
|
|
alert("套餐2售价应为正整数且不能为0,如100");
|
|
|
return false;
|
|
|
}
|
|
|
- /*var places3 = $(".input-xlarge3").val();
|
|
|
+ /!*var places3 = $(".input-xlarge3").val();
|
|
|
if (!(/(^[1-9]\d*$)/.test(places3))) {
|
|
|
alert("套餐3售价应为正整数且不能为0,如100");
|
|
|
return false;
|
|
|
- }*/
|
|
|
+ }*!/
|
|
|
var places4 = $(".input-xlarge4").val();
|
|
|
if (!(/(^[1-9]\d*$)/.test(places4))) {
|
|
|
alert("美豆比例应为正整数且不能为0,如100");
|
|
|
return false;
|
|
|
}
|
|
|
+ }*/
|
|
|
+ function getNewManager() {
|
|
|
+ var link = "";
|
|
|
+ $.get("${ctx}/jump/link", function (data) {
|
|
|
+ link = "https://manager.caimei365.com/#/member/meal/edit?token=" + data;
|
|
|
+ window.open(link, "_blank");
|
|
|
+ });
|
|
|
}
|
|
|
</script>
|
|
|
</head>
|
|
|
<body>
|
|
|
-<ul class="nav nav-tabs">
|
|
|
+<h1>
|
|
|
+ <input type="button" onclick="getNewManager()" value="点此前往新后台"></input>
|
|
|
+</h1>
|
|
|
+<%--<ul class="nav nav-tabs">
|
|
|
<li class="active"><a href="${ctx}/super/cmSvipPackage/">超级会员套餐配置</a></li>
|
|
|
</ul>
|
|
|
<br/>
|
|
@@ -77,12 +88,12 @@
|
|
|
class="form-horizontal">
|
|
|
<form:hidden path="id"/>
|
|
|
<sys:message content="${message}"/>
|
|
|
- <%-- <div class="control-group">--%>
|
|
|
- <%-- <label class="control-label">套餐名称:</label>--%>
|
|
|
- <%-- <div class="controls">--%>
|
|
|
- <%-- <form:input path="name" htmlEscape="false" maxlength="50" class="input-lab"/>--%>
|
|
|
- <%-- </div>--%>
|
|
|
- <%-- </div>--%>
|
|
|
+ <%– <div class="control-group">–%>
|
|
|
+ <%– <label class="control-label">套餐名称:</label>–%>
|
|
|
+ <%– <div class="controls">–%>
|
|
|
+ <%– <form:input path="name" htmlEscape="false" maxlength="50" class="input-lab"/>–%>
|
|
|
+ <%– </div>–%>
|
|
|
+ <%– </div>–%>
|
|
|
<div class="control-group">
|
|
|
<label class="control-label"><span class="help-inline"><font color="red">*</font> </span>套餐1:</label>
|
|
|
<div class="controls">
|
|
@@ -97,12 +108,12 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <%--<div class="control-group">
|
|
|
+ <%–<div class="control-group">
|
|
|
<label class="control-label"><span class="help-inline"><font color="red">*</font> </span>套餐3:</label>
|
|
|
<div class="controls">
|
|
|
1个月超级会员,售价:<form:input path="price3" htmlEscape="false" class="input-xlarge3" style="width: 60px" onblur="checkNum()"/>
|
|
|
</div>
|
|
|
- </div>--%>
|
|
|
+ </div>–%>
|
|
|
<div class="control-group">
|
|
|
<label class="control-label"><span class="help-inline"><font color="red">*</font> </span>采美豆兑换套餐:</label>
|
|
|
<div class="controls">
|
|
@@ -112,6 +123,6 @@
|
|
|
<div class="form-actions">
|
|
|
<input id="btnSubmit" class="btn btn-primary" type="submit" value="保 存"/>
|
|
|
</div>
|
|
|
-</form:form>
|
|
|
+</form:form>--%>
|
|
|
</body>
|
|
|
</html>
|