This demo on the basis of weinxin popupwindow.