Commit f2c51ecc by liangjianmin

js

parent bbef98bd
...@@ -408,6 +408,9 @@ body { ...@@ -408,6 +408,9 @@ body {
} }
#app .section .box .ranking dd .p2 { #app .section .box .ranking dd .p2 {
width: 170px; width: 170px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
} }
#app .section .box .ranking dd span { #app .section .box .ranking dd span {
font-size: 17px; font-size: 17px;
...@@ -457,5 +460,5 @@ body { ...@@ -457,5 +460,5 @@ body {
width: 100%; width: 100%;
height: 100%; height: 100%;
background: url("../../images/home/bg.png") #000c28 no-repeat center; background: url("../../images/home/bg.png") #000c28 no-repeat center;
background-size: contain; background-size: cover;
} }
...@@ -240,6 +240,9 @@ body { ...@@ -240,6 +240,9 @@ body {
.p2 { .p2 {
width: 170px; width: 170px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
} }
span { span {
...@@ -304,6 +307,6 @@ body { ...@@ -304,6 +307,6 @@ body {
width: 100%; width: 100%;
height: 100%; height: 100%;
background: url("../../images/home/bg.png") #000c28 no-repeat center; 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 { ...@@ -434,7 +434,7 @@ body {
width: 100%; width: 100%;
height: 100%; height: 100%;
background: url("../../images/vis/map.png") no-repeat center; background: url("../../images/vis/map.png") no-repeat center;
background-size: contain; background-size: cover;
} }
#app .btn { #app .btn {
position: absolute; position: absolute;
......
...@@ -268,7 +268,7 @@ body { ...@@ -268,7 +268,7 @@ body {
width: 100%; width: 100%;
height: 100%; height: 100%;
background: url("../../images/vis/map.png") no-repeat center; background: url("../../images/vis/map.png") no-repeat center;
background-size: contain; background-size: cover;
} }
.btn { .btn {
......
! function () { ! function () {
window.IndexController = { 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 () { init: function () {
this.credted(this).map(this).handleBind(this); this.credted(this).map(this).handleBind(this);
}, },
...@@ -27,14 +27,15 @@ ...@@ -27,14 +27,15 @@
$.ajax({ $.ajax({
type: "GET", type: "GET",
url: IndexController.apiUrl + "/bigtv/api/cityCoordinate", url: IndexController.apiUrl + "/bigtv/api/cityCoordinate",
data: {}, data: {
is_china: 0
},
dataType: 'json', dataType: 'json',
success: function (res) { success: function (res) {
var geoCoordMap = res.geoCoordMap; var geoCoordMap = res.geoCoordMap;
var BJData = res.BJData; var BJData = res.BJData;
var convertData = function (data) { var convertData = function (data) {
var res = []; var res = [];
for (var i = 0; i < data.length; i++) { 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