How do Mini Program web-view add buttons or customize the title bar?

the author is developing Mini Program and uses web-view to call the web page to sign an agreement.

you need to sign the agreement and tell Mini Program that the known web page cannot be transmitted through to Mini Program (the agreement page cannot be operated by us).

the subject then thinks of the way to trigger it actively, but adding a button will be overwritten by the web-view of Mini Program and give up.

thought of customizing and modifying the navigation bar, but found that the document said that the automatic navigation bar was not valid for web-view.

I would like to ask the gods if there is any better way.

Jul.10,2022

  • cannot operate the agreement page, how do I know if it has been signed?
  • what are you going to do with the added buttons? If you have a method to obtain whether it has been signed, can you do it in the return operation of the agreement page? you cannot operate the webview page, then it can only be operated by return in Mini Program. At this time, it must be the completion of the operation on the agreement page
  • .

webview can customize the head navigation. The boss hasn't saved time yet

Menu