Compare commits
2 Commits
3deda52df4
...
a1a270f5f0
| Author | SHA1 | Date | |
|---|---|---|---|
| a1a270f5f0 | |||
| d257ffc775 |
@@ -6,8 +6,8 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th width="100%" >Objets de {{ player }}</th>
|
<th width="100%" >Objets de {{ player }}</th>
|
||||||
<th v-if="canGrab"></th>
|
<th v-if="canGrab"></th>
|
||||||
<th v-if="canSell">
|
<th v-if="canSell" style="min-width: 120px">
|
||||||
<button class="button"
|
<button class="button is-fullwidth"
|
||||||
:class="is_selling ? 'is-danger' : 'is-warning'"
|
:class="is_selling ? 'is-danger' : 'is-warning'"
|
||||||
@click="is_selling = !is_selling"
|
@click="is_selling = !is_selling"
|
||||||
>
|
>
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
<i class="fas fa-coins"></i>
|
<i class="fas fa-coins"></i>
|
||||||
</span>
|
</span>
|
||||||
<p v-if="!is_selling">Vendre</p>
|
<p v-if="!is_selling">Vendre</p>
|
||||||
<p v-else>{{ totalSellValue }}</p>
|
<p v-else>{{ totalSellValue ? totalSellValue : 'Annuler' }}</p>
|
||||||
</button>
|
</button>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -33,9 +33,12 @@
|
|||||||
</button>
|
</button>
|
||||||
</td>
|
</td>
|
||||||
<td v-if="canSell">
|
<td v-if="canSell">
|
||||||
<label class="checkbox">
|
<label class="checkbox" v-show="is_selling">
|
||||||
<input type="checkbox">
|
<input type="checkbox"
|
||||||
{{item.sell_value}}
|
id="`item-${idx}`"
|
||||||
|
:value="item.id"
|
||||||
|
v-model="sell_selected">
|
||||||
|
{{item.sell_value}} GP
|
||||||
</label>
|
</label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user