We present nonequilibrium Green function calculations for electronic transport through a laterally coupled carbon-nanotube quantum-dot system. In this system, a one-dimensional double carbon nanotube quantum dot attached to polarised electrodes forms a main channel for electronic tunnelling. Each carbon nanotube quantum dot in the main channel couples to a dangling carbon nanotube quantum dot. Then, the conductance spectrum is calculated. The insulating band and resonance peak in this spectrum, due to Fano antiresonance and Kondo resonance, are discussed. The intradot electron's Coulomb interaction effect on the insulating band is also investigated. By controlling the coupling coefficient between the quantum dots, we can realise mutual transformation between Kondo resonance and Fano antiresonance at the Fermi level. The spin-orbit coupling and magnetic field's influence on the Kondo resonance peak are discussed in detail. Finally, spin magnetic moment and orbital magnetic moment of electrons in the quantum dot by applying parallel magnetic field are also predicted.