수도 깃발 추가
This commit is contained in:
+14
-1
@@ -286,7 +286,7 @@
|
|||||||
height:12px;
|
height:12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.city_base .city_flag img{
|
.city_base .city_flag > img{
|
||||||
width:12px;
|
width:12px;
|
||||||
height:12px;
|
height:12px;
|
||||||
}
|
}
|
||||||
@@ -330,3 +330,16 @@
|
|||||||
right:-6px;
|
right:-6px;
|
||||||
top:-3px;
|
top:-3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.city_base .city_flag .city_capital{
|
||||||
|
position: absolute;
|
||||||
|
width:10px;
|
||||||
|
height:10px;
|
||||||
|
top:0;
|
||||||
|
right:-1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.city_base .city_flag .city_capital > img{
|
||||||
|
width:10px;
|
||||||
|
height:10px;
|
||||||
|
}
|
||||||
@@ -237,6 +237,10 @@ function reloadWorldMap(isDetailMap, clickableAll, selectCallback, hrefTemplate)
|
|||||||
if(city.nationId && city.nationId > 0){
|
if(city.nationId && city.nationId > 0){
|
||||||
var flagType = city.supply?'f':'d';
|
var flagType = city.supply?'f':'d';
|
||||||
var $flagObj = $('<div class="city_flag"><img src="/images/{0}{1}.gif"></div>'.format(flagType, convColorValue(city.color)));
|
var $flagObj = $('<div class="city_flag"><img src="/images/{0}{1}.gif"></div>'.format(flagType, convColorValue(city.color)));
|
||||||
|
if(city.isCapital){
|
||||||
|
var $capitalObj = $('<div class="city_capital"><img src="/images/event51.gif"></div>');
|
||||||
|
$flagObj.append($capitalObj);
|
||||||
|
}
|
||||||
$imgObj.append($flagObj);
|
$imgObj.append($flagObj);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -4,8 +4,8 @@
|
|||||||
"year":217,
|
"year":217,
|
||||||
"month":10,
|
"month":10,
|
||||||
"cityList":[
|
"cityList":[
|
||||||
[1, 8, 41, 1, 1, 0],
|
[1, 8, 41, 1, 1, 1],
|
||||||
[2, 8, 0, 2, 2, 1],
|
[2, 8, 0, 2, 2, 0],
|
||||||
[3, 8, 42, 3, 2, 1],
|
[3, 8, 42, 3, 2, 1],
|
||||||
[4, 8, 0, 0, 3, 1],
|
[4, 8, 0, 0, 3, 1],
|
||||||
[5, 8, 0, 0, 4, 1],
|
[5, 8, 0, 0, 4, 1],
|
||||||
|
|||||||
Reference in New Issue
Block a user