极客西瓜选择地区
This commit is contained in:
@@ -58,7 +58,8 @@
|
||||
<div id="app" >
|
||||
<div class="checkbox">
|
||||
<div id="jike">
|
||||
<h4>最多选择20条线路 <span style="color: red;">标红</span>为线路正在维护中 <span v-if="productId==13"><a v-on:click="checkLine(1)">线路1</a> <a v-on:click="checkLine(2)">线路2</a></span> 该线路服务器地址:{{address_url}}</h4>
|
||||
<h4 v-if="productId==13">请点击☞<a style="cursor:pointer" v-on:click="checkLine(1)">入口一</a> <a style="cursor:pointer" v-on:click="checkLine(2)">入口二</a></h4>
|
||||
<h4><span style="color:#FF6666">{{line_text}}</span>统一服务器地址为:<span style="color:#FF6666">{{address_url}}</span> 换地区时无需在设备上更换服务器,只需在此页面选择需要的地区即可,可实现任意城市组合的混拨。<span style="color: red;">标红</span>为此线路正在维护中,最多可选择20个线路</h4>
|
||||
<label style="width: 90%;margin-left: 0.3rem;" v-for="(item,index) in assign_add_list">
|
||||
<input type="checkbox" v-model="assign_list" style="left:-13px;" :value="item.name+'-'+item.id"/><span v-if="item.status ==2">{{item.name}}</span><span v-if="item.status ==1" style="color: red;">{{item.name}}</span>
|
||||
</label>
|
||||
@@ -92,6 +93,7 @@
|
||||
assign_list:[],
|
||||
assign_account:'',
|
||||
assign_pass:'',
|
||||
line_text:'入口一',
|
||||
address_url:'',
|
||||
productId:getQueryVariable('productId')
|
||||
},
|
||||
@@ -115,6 +117,7 @@
|
||||
that.assign_add_list = res.data;
|
||||
that.assign_list =res.list;
|
||||
that.address_url = 'a.jkip.com'
|
||||
that.line_text = '入口一'
|
||||
//if (res.Code == 10000) {
|
||||
// that.onLineData = res.Data;
|
||||
// for (var i = 0; i < that.onLineData.length; i++) {
|
||||
@@ -136,6 +139,7 @@
|
||||
that.assign_add_list = res.data;
|
||||
that.assign_list =res.list;
|
||||
that.address_url = 'a.xgip.vip'
|
||||
that.line_text = ''
|
||||
//if (res.Code == 10000) {
|
||||
// that.onLineData = res.Data;
|
||||
// for (var i = 0; i < that.onLineData.length; i++) {
|
||||
@@ -154,7 +158,7 @@
|
||||
dataType: "json",
|
||||
contentType: "application/json",
|
||||
success: function (res) {
|
||||
$("#huohu").html('<p style="font-size:30px;">统一服务器地址:1.hhip.vip</p>');
|
||||
$("#huohu").html('<p style="font-size:30px;">统一服务器地址:1.hhip.vip </p><p>换地区时无需在设备上更换服务器,只需在此页面选择需要的地区即可,可实现任意城市组合的混拨。</p>');
|
||||
$("#huohu").append(res.ipmodel);
|
||||
$("#huohu").append("<hr>");
|
||||
$("#huohu").append(res.city);
|
||||
@@ -175,6 +179,7 @@
|
||||
that.assign_add_list = res.data;
|
||||
that.assign_list =res.list;
|
||||
that.address_url = 'a.jkip.com'
|
||||
that.line_text = '入口一'
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -188,6 +193,7 @@
|
||||
that.assign_add_list = res.data;
|
||||
that.assign_list =res.list;
|
||||
that.address_url = 'b.jkip.com'
|
||||
that.line_text = '入口二'
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user