China's import and export earnings from textiles totaled $31.22bn in the first half of the year, a rise of 2.4 per cent on the same period last year, figures released by the General Administration of Customs show.