In view of the imperious demand for efficient anode catalyst in direct methanol fuel cell(DMFE), Ca-Mg-Pd-M(M=Cu,Ag) metallic glasses were designed and synthesized as precursors to prepare nanoporous Pd-Cu/Pd-Ag alloys with ligament-pore bicontinuous structure through dealloying in this paper. The proportion of elements as well as the ligament size of nanoporous metals can be adjusted by changing the composition of presurors. Pd elements can form continuous solid solution with Cu and Ag in a wide range, which can reduce the diffusion rate of Cu and Ag elements in solution, and refine the ligament size of nanoporous metals dramatically(from 100 nm to 10 nm). Moreover, catalytic performance of nanoporous Pd-Cu/Pd-Ag alloys in methanol electro-oxidation was investigated. Compared to nanoporous Pd, nanoporous Pd-Cu/Pd-Ag alloys exhibit more excellent catalytic activity and anti-poisoning effect. The electric current density of nanoporous Pd-Cu alloy can reach 45 mA/mg, and the ratio of Jf/Jb is 1.56. As a result, the nanoporous Pd-Cu/Pd-Ag alloys with lower cost has favorable application prospect in DMFE.