Commit f2c51ecc by liangjianmin

js

parent bbef98bd
......@@ -408,6 +408,9 @@ body {
}
#app .section .box .ranking dd .p2 {
width: 170px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
#app .section .box .ranking dd span {
font-size: 17px;
......@@ -457,5 +460,5 @@ body {
width: 100%;
height: 100%;
background: url("../../images/home/bg.png") #000c28 no-repeat center;
background-size: contain;
background-size: cover;
}
......@@ -240,6 +240,9 @@ body {
.p2 {
width: 170px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
span {
......@@ -304,6 +307,6 @@ body {
width: 100%;
height: 100%;
background: url("../../images/home/bg.png") #000c28 no-repeat center;
background-size: contain;
background-size: cover;
}
}
\ No newline at end of file
......@@ -434,7 +434,7 @@ body {
width: 100%;
height: 100%;
background: url("../../images/vis/map.png") no-repeat center;
background-size: contain;
background-size: cover;
}
#app .btn {
position: absolute;
......
......@@ -268,7 +268,7 @@ body {
width: 100%;
height: 100%;
background: url("../../images/vis/map.png") no-repeat center;
background-size: contain;
background-size: cover;
}
.btn {
......
! function () {
window.IndexController = {
apiUrl: window.location.host == "btv.ichunt.com" ? "https://api.ichunt.com" : "http://api.liexin.com",
apiUrl: window.location.host == "btv.liexin.com" ? "https://api.ichunt.com" : "http://api.liexin.com",
init: function () {
this.credted(this).map(this).handleBind(this);
},
......@@ -27,14 +27,15 @@
$.ajax({
type: "GET",
url: IndexController.apiUrl + "/bigtv/api/cityCoordinate",
data: {},
data: {
is_china: 0
},
dataType: 'json',
success: function (res) {
var geoCoordMap = res.geoCoordMap;
var BJData = res.BJData;
var convertData = function (data) {
var res = [];
for (var i = 0; i < data.length; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment