前面是if 条件句的倒装,省略if ,把had 提前.
还原后的句子是,if the weather had been good,children could have gone out for a walk.