Таблица с колонками
<table class="rspn">
<tr>
<th colspan="3"><a class="days">Понедельник</a></th>
<th colspan="3"><a class="days">Вторник</a></th>
<th colspan="3"><a class="days">Среда</a></th>
<th colspan="3"><a class="days">Четверг</a></th>
<th colspan="3"><a class="days">Пятница</a></th>
<th colspan="3"><a class="days">Суббота</a></th>
<th colspan="3"><a class="days">Воскресенье</a></th>
</tr>
<tr v-for="n in 21">
<td v-for="k in 7">
<td class="time">{{n}}:00</td>
<td>
<select class="program">
<option v-for="s in 4" value="value">Значение {{s}}</option>
</select>
</td>
<td>
<select class="timecat">
<option v-for="d in 4" value="value">{{d}}</option>
</select>
</td>
</td>
</tr>
</table>
Подскажите пожалуйста что не так ? Как мне добиться такого результата как на фото ?
Ответы (1 шт):
Автор решения: Sergey
→ Ссылка
Замените <td v-for="k in 7">...</td> на <template v-for="k in 7">...</template>
Должно получиться более похоже на фотографию сразу же.
