As essential equipment in rotating machinery, the fault diagnosis technology of rolling bearings has achieved great success. However, it still suffers from limitations in terms of generalization and noise resistance performance when operating under complex conditions. To accurately identify the fault types of rolling bearings under different loads and nosy environments, a novel intelligent fault diagnosis method is proposed. Firstly, the utilization of dilated convolution expands the network's receptive field, thereby effectively enhancing the scope of fault extraction. Then, by incorporating the Efficient Channel Attention (ECA) in different convolutional layers, the extracted features are adaptively recognized, highlighting important representation information and improving fault diagnosis performance. Finally, the proposed network is utilized for rolling bearing fault diagnosis under diverse operating and noise conditions, and its efficacy is evaluated on various datasets. The experimental results demonstrate that the proposed method exhibits good generalization performance and strong robustness, compared with other methods.