# Feature Page of Recipient Addresses

The feature page of recipient addresses displays a list of recipient addresses of users, allowing users to select recipient addresses from them. It is supported in the base library 2.4.0 and later.

# Call Parameters

When functional-page-navigator is used for redirection to the feature page of user information, the corresponding parameter name should be set to the fixed value chooseAddress. The return parameters are the same as those for wx.chooseAddress.

Description of Return Parameters for bindsuccess:

Property Type Description Minimum Version
userName string Recipient name
postalCode string Postal code
provinceName string Tier-1 address of national standard recipient address
cityName string Tier-1 address of national standard recipient address
countyName string Tier-1 address of national standard recipient address
detailInfo string Detailed recipient address
nationalCode string Country code of the recipient address
telNumber string Mobile number of the recipient
errMsg string Error message

Code example:

<!--plugin/components/hello-component.wxml-->
  <functional-page-navigator
    name="chooseAddress"
    version="develop"
    bind:success="onSuccess"
    bind:fail="onFail"
  >
    <button>Select the recipient address</button>
  </functional-page-navigator>
// plugin/components/hello-component.js
Component({
  methods: {
    onSuccess: function (res) {
      console.log(res.detail);
    },
    onFail: function (res) {
      console.log(res);
    }
  }
});