Skip to content
On this page

VResultPage

Result page components for different ending page.

It is recommended to set the parent element filled with windows for centering. The corresponding default value of picture on the page will be set according to the type.

Import

javascript
import { VResultPage } from 'vui-vc-next'

app.component(VResultPage.name, VResultPage)

API

ResultPage Props

PropsDescriptionTypeDefaultNote
typepage typeStringemptythree optional vaules: lost, network and empty, represent missing page, network error and empty information respectively. The default images and texts of component differ according to the category
img-urlimage linkStringemptythe default images of component differ according to the category
textmain copyString-the main texts of component differ according to the category
sub-textassistant copyString-show as a smaller font and lighter color under the main copy
buttonsbutton listArray-array of button objects, the structure can be referred to Button

Button Props

PropsDescriptionTypeDefaultNote
textbutton textString--
typebutton styleStringdefaultrefer to Button
handlercallback of click operationFunction-callback function invoked after clicking
plain-Booleanfalse for the last one and true for the others-
round-Booleanfalse-
iconicon nameString--
iconSvguse svg iconBooleanfalse-
inactive-Booleanfalse-
loading-Booleanfalse-