资金明细
This commit is contained in:
@@ -397,10 +397,10 @@
|
||||
</button>
|
||||
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu2">
|
||||
<li role="presentation">
|
||||
<a role="menuitem" tabindex="-1" onclick="wjdxgd()" style="color: #FF9900;">高端版</a>
|
||||
<a role="menuitem" tabindex="-1" onclick="wjdxphone()" style="color: #FF9900;">安卓/苹果</a>
|
||||
</li>
|
||||
<li role="presentation">
|
||||
<a role="menuitem" tabindex="-1" onclick="wjdxpt()" style="color: #FFCC00;">普通版</a>
|
||||
<a role="menuitem" tabindex="-1" onclick="wjdxpc()" style="color: #FFCC00;">电脑</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -513,9 +513,6 @@
|
||||
" style="color: #000000;">查看详细地区 </span>
|
||||
</div> *@
|
||||
}
|
||||
@if(item.Product.Id == 6){
|
||||
<p class="youhuiNew">本产品目前所有地区都屏蔽QQ微信</p>
|
||||
}
|
||||
@if(item.Product.Id == 5){
|
||||
<p class="youhuiNew">购买须知:本产品目前所有地区都屏蔽QQ微信</p>
|
||||
}
|
||||
@@ -544,8 +541,8 @@
|
||||
@if(item.Product.Id == 20){
|
||||
<div style="padding-top:10px;">
|
||||
<ul class="nav nav-tabs nav-justified" style="margin-top:0;">
|
||||
<li class="active"><a style="width: 500px;" onclick="wjdxphone()">安卓-苹果</a></li>
|
||||
<li><a style="width: 500px;" onclick="wjdxpc()">电脑PC</a></li>
|
||||
<li class="active"><a style="width: 500px;" onclick="wjdxpt()">普通版</a></li>
|
||||
<li><a style="width: 500px;" onclick="wjdxgj()">高端版</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
}
|
||||
@@ -865,8 +862,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
//1 安卓、苹果 2 pc
|
||||
var wjdxtype = 1;
|
||||
function wjdxgd() {
|
||||
function wjdxphone() {
|
||||
wjdxtype = 1;
|
||||
for (var i=1048;i<1051;i++){
|
||||
$("#pkg"+i).show();
|
||||
}
|
||||
@@ -875,7 +874,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
function wjdxpt() {
|
||||
function wjdxpc() {
|
||||
wjdxtype = 2;
|
||||
for (var i=1048;i<1054;i++){
|
||||
$("#pkg"+i).hide();
|
||||
}
|
||||
@@ -886,32 +886,46 @@
|
||||
$("#pkg"+i).show();
|
||||
}
|
||||
}
|
||||
function wjdxphone() {
|
||||
for (var i=1052;i<1054;i++){
|
||||
$("#pkg"+i).hide();
|
||||
}
|
||||
for (var i=1057;i<1060;i++){
|
||||
$("#pkg"+i).hide();
|
||||
}
|
||||
for (var i=1054;i<1057;i++){
|
||||
$("#pkg"+i).show();
|
||||
}
|
||||
for (var i=1048;i<1051;i++){
|
||||
$("#pkg"+i).show();
|
||||
function wjdxpt() {
|
||||
if (wjdxtype == 1) {
|
||||
for (var i=1051;i<1060;i++){
|
||||
$("#pkg"+i).hide();
|
||||
}
|
||||
for (var i=1048;i<1051;i++){
|
||||
$("#pkg"+i).show();
|
||||
}
|
||||
} else if (wjdxtype == 2) {
|
||||
for (var i=1048;i<1054;i++){
|
||||
$("#pkg"+i).hide();
|
||||
}
|
||||
for (var i=1054;i<1057;i++){
|
||||
$("#pkg"+i).show();
|
||||
}
|
||||
|
||||
for (var i=1057;i<1060;i++){
|
||||
$("#pkg"+i).hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
function wjdxpc() {
|
||||
for (var i=1052;i<1054;i++){
|
||||
$("#pkg"+i).show();
|
||||
}
|
||||
for (var i=1057;i<1060;i++){
|
||||
$("#pkg"+i).show();
|
||||
}
|
||||
for (var i=1054;i<1057;i++){
|
||||
$("#pkg"+i).dide();
|
||||
}
|
||||
for (var i=1048;i<1051;i++){
|
||||
$("#pkg"+i).dide();
|
||||
function wjdxgj() {
|
||||
if (wjdxtype == 1) {
|
||||
for (var i=1048;i<1051;i++){
|
||||
$("#pkg"+i).hide();
|
||||
}
|
||||
for (var i=1051;i<1054;i++){
|
||||
$("#pkg"+i).show();
|
||||
}
|
||||
|
||||
for (var i=1054;i<1060;i++){
|
||||
$("#pkg"+i).hide();
|
||||
}
|
||||
} else if (wjdxtype == 2) {
|
||||
for (var i=1048;i<1057;i++){
|
||||
$("#pkg"+i).hide();
|
||||
}
|
||||
for (var i=1057;i<1060;i++){
|
||||
$("#pkg"+i).show();
|
||||
}
|
||||
}
|
||||
}
|
||||
$(function () {
|
||||
@@ -947,6 +961,7 @@
|
||||
}
|
||||
} else {
|
||||
$("#p14").removeClass("on");
|
||||
$("#p20").removeClass("on");
|
||||
}
|
||||
select(pid);
|
||||
});
|
||||
|
||||
@@ -27,6 +27,13 @@
|
||||
|
||||
var randomAccountMutil = ValidateCodeHelper.MakeCharCode(3).ToLower();
|
||||
|
||||
var product_id = Model.Product.Id;
|
||||
if (product_id == 20) {
|
||||
randomAccount1 = ValidateCodeHelper.MakeCharCode(2).ToLower() + ValidateCodeHelper.MakeNumCode(5).ToLower();
|
||||
randomAccountMutil = ValidateCodeHelper.MakeCharCode(6).ToLower();
|
||||
randomPwd = ValidateCodeHelper.MakeNumCode(6).ToLower();
|
||||
}
|
||||
|
||||
@* while (m_AccountService.Exist(m =>m.Account.StartsWith(randomAccountMutil)))
|
||||
{
|
||||
randomAccountMutil = ValidateCodeHelper.MakeCharCode(3).ToLower();
|
||||
@@ -582,7 +589,7 @@
|
||||
},
|
||||
'MoreBuyModel.CouponId': { //加引号监听对象里的属性
|
||||
handler: function (newValue, oldValue) {
|
||||
if( this.OneBuyModel.CouponId == 10000000){
|
||||
if( this.MoreBuyModel.CouponId == 10000000){
|
||||
return;
|
||||
}
|
||||
var totalAmount = this.MoreBuyModel.Price * this.MoreBuyModel.ConnectCount;
|
||||
@@ -675,6 +682,16 @@
|
||||
}
|
||||
},
|
||||
checkOneAccount() {
|
||||
if (productId == 20) {
|
||||
if (this.OneBuyModel.Account.length > 10 || this.OneBuyModel.Account.length < 7 || !this.hasNumAndChar(this.OneBuyModel.Account)) {
|
||||
alert("此产品账号必须大于6位");
|
||||
this.OneChecker.AccountOk = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
this.OneChecker.AccountOk = true;
|
||||
return true;
|
||||
}
|
||||
if (this.OneBuyModel.Account.length > 10 || this.OneBuyModel.Account.length < 4 || !this.hasNumAndChar(this.OneBuyModel.Account)) {
|
||||
this.OneChecker.AccountOk = false;
|
||||
return false;
|
||||
@@ -691,6 +708,16 @@
|
||||
return true;
|
||||
},
|
||||
checkMoreAccount() {
|
||||
if (productId == 20) {
|
||||
if (this.MoreBuyModel.Account.length < 6 || this.MoreBuyModel.Account.length > 8 || !this.hasNumAndChar(this.MoreBuyModel.Account)) {
|
||||
alert("此产品账号必须大于6位");
|
||||
this.MoreChecker.AccountOk = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
this.MoreChecker.AccountOk = true;
|
||||
return true;
|
||||
}
|
||||
if (this.MoreBuyModel.Account.length < 2 || this.MoreBuyModel.Account.length > 8 || !this.hasNumAndChar(this.MoreBuyModel.Account)) {
|
||||
this.MoreChecker.AccountOk = false;
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user