$('div :first-of-type')
$('div :last-of-type')
$('div span:first-of-type')
$('div span:last-of-type')
还原
1.1
1.2
2.1
2.2
3.1
3.2