```
function hideSubmitBtn(){
  const element = document.querySelector('.weapp-ebdf-distribute-layout-footer-submit');
  if (element) {
      element.style.display = 'none';
  }
}

function showSubmitBtn(){
  const element = document.querySelector('.weapp-ebdf-distribute-layout-footer-submit');
  if (element) {
      element.style.display = 'block';
  }
}
//默认隐藏
hideSubmitBtn();

pageSdk.on('formReady',(args)=>{
//  步骤条组件id：自行替换
    pageSdk.events.on('onAfterChangeStep', 'fdee8bd1c6294717a7aa86781bb62ad8', function (data) {
     // console.info(data, "步骤后回调")，步骤数字7 自行替换
      if(data.stepVal===7){
        showSubmitBtn()
      }else{
        hideSubmitBtn();
      }
    });

});
```

图：

[图片附件未整合: ../../../../../_assets/458371397110988800/001-127e13efcf.png]
