mirror of
https://github.com/exane/not-gwent-online
synced 2024-10-31 10:36:53 +00:00
fix image for IE
This commit is contained in:
parent
ddd168b2dd
commit
3a40824fcc
@ -20,16 +20,9 @@ module.exports = {
|
|||||||
$.map(deck, (n, i) => {
|
$.map(deck, (n, i) => {
|
||||||
if(i == 'northern_realm') {
|
if(i == 'northern_realm') {
|
||||||
for(var m in n) {
|
for(var m in n) {
|
||||||
//console.log(this.cards[m].type);
|
|
||||||
this.deck.push(this.cards[m]);
|
this.deck.push(this.cards[m]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
|
||||||
|
|
||||||
filters: {
|
|
||||||
leader: function(deck) {
|
|
||||||
//return deck.type == 3 ? deck : 'ne';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<div class="card-wrap" v-repeat="card: cards">
|
<div class="card-wrap" v-repeat="card: cards">
|
||||||
<div class="bla ani"></div>
|
<div class="bla ani"></div>
|
||||||
<div class="card-img card" style="background-image: url(http://80.240.132.120/gwent/assets/cards/{{ card.img }}.png)"></div>
|
<div class="card-img card" v-style="background-image: 'url(http://80.240.132.120/gwent/assets/cards/' + card.img + '.png)'"></div>
|
||||||
<div class="shadow"></div>
|
<div class="shadow"></div>
|
||||||
<div class="overlay-card"></div>
|
<div class="overlay-card"></div>
|
||||||
</div>
|
</div>
|
||||||
@ -19,8 +19,6 @@
|
|||||||
|
|
||||||
<!--div class="line"></div-->
|
<!--div class="line"></div-->
|
||||||
|
|
||||||
<p>{{ leader.name }}</p>
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.container-content {
|
.container-content {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user