text: (window.webpackJsonp=window.webpackJsonp||[]).push([[146],{572:function(t,e,a){"use strict";a.r(e);var l=a(25),s=Object(l.a)({},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"状态展示页-statusshow"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#状态展示页-statusshow"}},[t._v("#")]),t._v(" "),a("H2Icon"),t._v(" 状态展示页 StatusShow")],1),t._v(" "),a("blockquote",[a("p",[t._v("展示页面当前的状态。")])]),t._v(" "),a("h2",{attrs:{id:"展示与隐藏状态展示页"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#展示与隐藏状态展示页"}},[t._v("#")]),t._v(" 展示与隐藏状态展示页")]),t._v(" "),a("p",[t._v("设置"),a("code",[t._v("show")]),t._v("属性控制状态展示的隐藏与显示。默认值为"),a("code",[t._v("false")]),t._v("。")]),t._v(" "),a("h3",{attrs:{id:"示例代码"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#示例代码"}},[t._v("#")]),t._v(" 示例代码")]),t._v(" "),a("div",{staticClass:"language-wxml extra-class"},[a("pre",{pre:!0,attrs:{class:"language-text"}},[a("code",[t._v('<l-status-show show="{{true}}"></l-status-show>\n')])])]),a("h2",{attrs:{id:"状态展示类型"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#状态展示类型"}},[t._v("#")]),t._v(" 状态展示类型")]),t._v(" "),a("p",[t._v("通过"),a("code",[t._v("type")]),t._v("属性设置为"),a("code",[t._v("success")]),t._v("、"),a("code",[t._v("error")]),t._v("、"),a("code",[t._v("network")]),t._v("、"),a("code",[t._v("cart")]),t._v("、"),a("code",[t._v("order")]),t._v("、"),a("code",[t._v("address")]),t._v("、"),a("code",[t._v("data")]),t._v("、"),a("code",[t._v("product")]),t._v("创建不同类型状态展示页。默认值为"),a("code",[t._v("success")]),t._v("。")]),t._v(" "),a("h3",{attrs:{id:"示例代码-2"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#示例代码-2"}},[t._v("#")]),t._v(" 示例代码")]),t._v(" "),a("div",{staticClass:"language-wxml extra-class"},[a("pre",{pre:!0,attrs:{class:"language-text"}},[a("code",[t._v('<l-status-show show="{{true}}" type="success"></l-status-show>\n')])])]),a("h2",{attrs:{id:"按钮文案"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#按钮文案"}},[t._v("#")]),t._v(" 按钮文案")]),t._v(" "),a("p",[t._v("通过"),a("code",[t._v("button-text")]),t._v("属性设置按钮内的文案。")]),t._v(" "),a("div",{staticClass:"custom-block tip"},[a("p",{staticClass:"custom-block-title"},[t._v("注意事项")]),t._v(" "),a("p",[t._v("按钮文案存在时按钮才会显示。当"),a("code",[t._v("type")]),t._v("属性设置为"),a("code",[t._v("cart")]),t._v("、"),a("code",[t._v("network")]),t._v("时有默认按钮文案， 可通过"),a("code",[t._v("button-text")]),t._v("属性进行覆盖。")])]),t._v(" "),a("h3",{attrs:{id:"示例代码-3"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#示例代码-3"}},[t._v("#")]),t._v(" 示例代码")]),t._v(" "),a("div",{staticClass:"language-wxml extra-class"},[a("pre",{pre:!0,attrs:{class:"language-text"}},[a("code",[t._v('<l-status-show show="{{true}}" type="success" button-text="返回"></l-status-show>\n')])])]),a("h2",{attrs:{id:"自定义图标及文案描述"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#自定义图标及文案描述"}},[t._v("#")]),t._v(" 自定义图标及文案描述")]),t._v(" "),a("p",[t._v("通过设置"),a("code",[t._v("image")]),t._v("属性和"),a("code",[t._v("describe")]),t._v("属性设置图片和文案描述。")]),t._v(" "),a("h3",{attrs:{id:"示例代码-4"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#示例代码-4"}},[t._v("#")]),t._v(" 示例代码")]),t._v(" "),a("div",{staticClass:"language-wxml extra-class"},[a("pre",{pre:!0,attrs:{class:"language-text"}},[a("code",[t._v('<l-status-show show="{{true}}" image="../../image.png" describe="我是描述文案"></l-status-show>\n')])])]),a("h2",{attrs:{id:"自定义背景色"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#自定义背景色"}},[t._v("#")]),t._v(" 自定义背景色")]),t._v(" "),a("p",[t._v("通过设置"),a("code",[t._v("bg-color")]),t._v("属性设置状态展示页背景色。")]),t._v(" "),a("h3",{attrs:{id:"示例代码-5"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#示例代码-5"}},[t._v("#")]),t._v(" 示例代码")]),t._v(" "),a("div",{staticClass:"language-wxml extra-class"},[a("pre",{pre:!0,attrs:{class:"language-text"}},[a("code",[t._v('<l-status-show bg-color="f3f3f3" show="{{true}}"></l-status-show>\n')])])]),a("h2",{attrs:{id:"自定义状态展示页"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#自定义状态展示页"}},[t._v("#")]),t._v(" 自定义状态展示页")]),t._v(" "),a("p",[t._v("通过设置"),a("code",[t._v("custom")]),t._v("属性可设置自定义状态展示页。通过"),a("code",[t._v("slot")]),t._v("传入自定义的状态展示内容。")]),t._v(" "),a("h3",{attrs:{id:"示例代码-6"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#示例代码-6"}},[t._v("#")]),t._v(" 示例代码")]),t._v(" "),a("div",{staticClass:"language-wxml extra-class"},[a("pre",{pre:!0,attrs:{class:"language-text"}},[a("code",[t._v('<l-status-show show="{{true}}">\n  <image src="../../image.png" />\n</l-status-show>\n')])])]),a("h2",{attrs:{id:"状态展示页属性"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#状态展示页属性"}},[t._v("#")]),t._v(" 状态展示页属性")]),t._v(" "),a("table",[a("thead",[a("tr",[a("th",{staticStyle:{"text-align":"left"}},[t._v("参数")]),t._v(" "),a("th",{staticStyle:{"text-align":"left"}},[t._v("说明")]),t._v(" "),a("th",{staticStyle:{"text-align":"left"}},[t._v("类型")]),t._v(" "),a("th",{staticStyle:{"text-align":"left"}},[t._v("可选值")]),t._v(" "),a("th",{staticStyle:{"text-align":"left"}},[t._v("默认值")])])]),t._v(" "),a("tbody",[a("tr",[a("td",{staticStyle:{"text-align":"left"}},[t._v("show")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("显示与隐藏状态展示页")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("Boolean")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("----")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("fasle")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[t._v("type")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("状态展示页类型")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("String")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("success/error/network/cart/order/address/data")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("success")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[t._v("full-screen")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("是否全屏显示")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("Boolean")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("----")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("true")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[t._v("button-text")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("按钮文案")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("String")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("----")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("---")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[t._v("image")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("自定义图片")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("String")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("----")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("---")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[t._v("describe")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("自定义描述文案")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("String")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("----")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("---")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[t._v("custom")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("自定义状态展示页")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("Boolean")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("----")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("false")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[t._v("bg-color")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("自定义状态展示页背景色")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("String")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("----")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("#fff")])])])]),t._v(" "),a("h2",{attrs:{id:"状态展示页外部样式类"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#状态展示页外部样式类"}},[t._v("#")]),t._v(" 状态展示页外部样式类")]),t._v(" "),a("table",[a("thead",[a("tr",[a("th",{staticStyle:{"text-align":"left"}},[t._v("外部样式类名")]),t._v(" "),a("th",{staticStyle:{"text-align":"left"}},[t._v("说明")]),t._v(" "),a("th",{staticStyle:{"text-align":"left"}},[t._v("备注")])])]),t._v(" "),a("tbody",[a("tr",[a("td",{staticStyle:{"text-align":"left"}},[t._v("l-class")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("覆盖整体的外部样式类")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("---")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[t._v("l-image-class")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("覆盖图片部分的外部样式类")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("---")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[t._v("l-describe-class")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("覆盖文案描述部分的外部样式类")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("---")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[t._v("l-button-class")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("覆盖按钮部分的外部样式类")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("---")])])])]),t._v(" "),a("h2",{attrs:{id:"状态展示页事件"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#状态展示页事件"}},[t._v("#")]),t._v(" 状态展示页事件")]),t._v(" "),a("table",[a("thead",[a("tr",[a("th",{staticStyle:{"text-align":"left"}},[t._v("事件名称")]),t._v(" "),a("th",{staticStyle:{"text-align":"left"}},[t._v("说明")]),t._v(" "),a("th",{staticStyle:{"text-align":"left"}},[t._v("返回值")]),t._v(" "),a("th",{staticStyle:{"text-align":"left"}},[t._v("备注")])])]),t._v(" "),a("tbody",[a("tr",[a("td",{staticStyle:{"text-align":"left"}},[t._v("bind:lintap")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("点击按钮触发的事件")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("---")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("---")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[t._v("bind:lincovertap")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("点击状态页组件触发的事件")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("---")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("---")])])])]),t._v(" "),a("RightMenu")],1)}),[],!1,null,null,null);e.default=s.exports}}]);