javascript - How to display the quantity based on the size - Stack Overflow

javascript - How to display the quantity based on the size - Stack Overflow