text: webpackJsonp([75],{856:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"DemoSelect",i18n:{messages:{"zh-CN":{title:"选择弹层",notice:"Select组件用于单类型数据但多选, 如果是多类型数据选择, 请选Picker组件.",choosePlease:"请选择",chosen:"已选择",currentState:"当前状态",priority:"Option中checked是NES/Nintendo64/PlayStation, 而v-model中的值是Option中checked是选中的是NES, 优先使用v-modal中的值"},"en-US":{title:"Select",notice:"The Select component is used for single-type data but multiple choices. If it is a multi-type data selection, select the Picker component.",choosePlease:"please choose",chosen:"Chosen",currentState:"Current state",priority:"Checked in Option is NES/Nintendo64/PlayStation, and the value in v-model is checked in Option is NES selected, and the value in v-modal is preferred"}}},data:function(){return{gaming:"saturn",gamingNoValue:"",currency:"EUR",hideCurrency:!0,currencies:[{symbol:"$",code:"USD",name:"US Dollar"},{symbol:"€",code:"EUR",name:"Euro"},{symbol:"£",code:"FKP",name:"Falkland Islands Pound"},{symbol:"¢",code:"GHS",name:"Ghana Cedi"}],currencies1:[{symbol:"$",code:"USD",name:"US Dollar"},{symbol:"€",code:"EUR",name:"Euro"},{symbol:"£",code:"FKP",name:"Falkland Islands Pound"},{symbol:"¢",code:"GHS",name:"Ghana Cedi"}],currencies2:[{symbol:"$",code:"USD",name:"US Dollar"},{symbol:"€",code:"EUR",name:"Euro"},{symbol:"£",code:"FKP",name:"Falkland Islands Pound"},{symbol:"¢",code:"GHS",name:"Ghana Cedi"},{symbol:"￥",code:"CN",name:"元"},{symbol:"€",code:"EUR",name:"Euro"}]}},methods:{onChange:function(e){console.debug("外部监听 onChange 事件, 返回值: "+e)},onSelect:function(e){console.debug("外部监听 onSelect 事件, 返回值: "+e)},onCancel:function(e){console.debug("外部监听 onCancel 事件, 返回值: "+e)},toggleData:function(){var e=this;this.hideCurrency=!1,setTimeout(function(){4===e.currencies.length?(e.currencies=e.currencies2,console.log(e.currencies),e.hideCurrency=!0):(e.currencies=e.currencies1,console.log(e.currencies),e.hideCurrency=!0)},0)}}}},857:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Page",[n("Header",[n("Navbar",[n("Title",{attrs:{title:e.$t("title")}})],1)],1),e._v(" "),n("Content",{staticClass:"outer-content"},[n("div",{attrs:{padding:""}},[n("strong",[e._v(e._s(e.$t("notice")))])]),e._v(" "),n("List",[n("ListHeader",[e._v("Demo")]),e._v(" "),n("Item",[n("Label",{attrs:{stacked:""}},[e._v("Gender(stacked)")]),e._v(" "),n("Select",{attrs:{"item-right":"",placeholder:"Select",interface:"action-sheet",selectOptions:{title:"Stacked Label"}},on:{onChange:e.onChange,onSelect:e.onSelect,onCancel:e.onCancel}},[n("SelectOption",{attrs:{value:"f"}},[e._v("Female")]),e._v(" "),n("SelectOption",{attrs:{value:"m"}},[e._v("Male")])],1)],1),e._v(" "),n("Item",[n("Label",[e._v("Gender")]),e._v(" "),n("Select",{attrs:{"item-right":"",placeholder:"Select",interface:"action-sheet",selectOptions:{title:"Normal Label"}},on:{onChange:e.onChange,onSelect:e.onSelect,onCancel:e.onCancel}},[n("SelectOption",{attrs:{value:"f"}},[e._v("Female")]),e._v(" "),n("SelectOption",{attrs:{value:"m"}},[e._v("Male")])],1)],1),e._v(" "),n("Item",[n("Label",[e._v("Gender")]),e._v(" "),n("Select",{attrs:{"item-right":"",placeholder:"Select",interface:"alert"},on:{onChange:e.onChange,onSelect:e.onSelect,onCancel:e.onCancel}},[n("SelectOption",{attrs:{value:"f",checked:""}},[e._v("Female")]),e._v(" "),n("SelectOption",{attrs:{value:"m"}},[e._v("Male")])],1)],1),e._v(" "),n("Item",[n("Label",[e._v("Gender")]),e._v(" "),n("Select",{attrs:{"item-right":"",placeholder:"Multi Select",interface:"alert",multiple:!0},on:{onChange:e.onChange,onSelect:e.onSelect,onCancel:e.onCancel}},[n("SelectOption",{attrs:{value:"f"}},[e._v("Female")]),e._v(" "),n("SelectOption",{attrs:{value:"m"}},[e._v("Male")])],1)],1),e._v(" "),n("Item",[n("Label",[e._v("Gender")]),e._v(" "),n("Select",{attrs:{"item-right":"",placeholder:"Disabled Select",disabled:!0,interface:"alert",multiple:!0},on:{onChange:e.onChange,onSelect:e.onSelect,onCancel:e.onCancel}},[n("SelectOption",{attrs:{value:"f"}},[e._v("Female")]),e._v(" "),n("SelectOption",{attrs:{value:"m"}},[e._v("Male")])],1)],1),e._v(" "),n("Item",[n("Label",[e._v("Customize Label")]),e._v(" "),n("Select",{attrs:{"item-right":"",placeholder:e.$t("choosePlease"),selectedText:e.$t("chosen"),interface:"alert",multiple:!0}},[n("SelectOption",{attrs:{value:"f"}},[e._v("Female")]),e._v(" "),n("SelectOption",{attrs:{value:"m"}},[e._v("Male")])],1)],1)],1),e._v(" "),n("List",[n("ListHeader",[n("span",[e._v("No Value(Special)")])]),e._v(" "),n("Item",[n("Label",[e._v("Gaming")]),e._v(" "),n("Select",{attrs:{multiple:!0},model:{value:e.gamingNoValue,callback:function(t){e.gamingNoValue=t},expression:"gamingNoValue"}},[n("SelectOption",[e._v("NES")]),e._v(" "),n("SelectOption",[e._v("Nintendo64")]),e._v(" "),n("SelectOption",[e._v("PlayStation")]),e._v(" "),n("SelectOption",[e._v("Sega Genesis")]),e._v(" "),n("SelectOption",[e._v("Sega Saturn")]),e._v(" "),n("SelectOption",[e._v("SNES")])],1)],1)],1),e._v(" "),n("div",{attrs:{"text-cente":"",padding:""}},[n("p",{attrs:{"text-center":""}},[e._v(e._s(e.$t("currentState"))+": "+e._s(e.gamingNoValue))])]),e._v(" "),n("List",[n("ListHeader",[e._v("v-model")]),e._v(" "),n("Item",[n("Label",[e._v("Gaming")]),e._v(" "),n("Select",{attrs:{multiple:!0},model:{value:e.gaming,callback:function(t){e.gaming=t},expression:"gaming"}},[n("SelectOption",{attrs:{value:"nes"}},[e._v("NES")]),e._v(" "),n("SelectOption",{attrs:{value:"n64"}},[e._v("Nintendo64")]),e._v(" "),n("SelectOption",{attrs:{value:"ps"}},[e._v("PlayStation")]),e._v(" "),n("SelectOption",{attrs:{value:"genesis"}},[e._v("Sega Genesis")]),e._v(" "),n("SelectOption",{attrs:{value:"saturn"}},[e._v("Sega Saturn")]),e._v(" "),n("SelectOption",{attrs:{value:"snes",disabled:""}},[e._v("SNES")])],1)],1)],1),e._v(" "),n("div",{attrs:{"text-cente":"",padding:""}},[n("p",{attrs:{"text-center":""}},[e._v(e._s(e.$t("currentState"))+": "+e._s(e.gaming))]),e._v(" "),n("small",[n("span",[e._v("  * "+e._s(e.$t("priority")))])])]),e._v(" "),n("List",[n("ListHeader",[n("span",[e._v("v-model && v-for")])]),e._v(" "),n("Item",[n("Label",[e._v("Currency")]),e._v(" "),e.hideCurrency?n("Select",{model:{value:e.currency,callback:function(t){e.currency=t},expression:"currency"}},e._l(e.currencies,function(t,a){return n("SelectOption",{key:a,attrs:{value:t.code}},[n("span",[e._v(e._s(t.symbol)+" ("+e._s(t.code)+") "+e._s(t.name))])])})):e._e()],1),e._v(" "),n("div",{attrs:{padding:""}},[n("Button",{attrs:{block:""},on:{click:e.toggleData}},[e._v("Toggle Data")])],1)],1),e._v(" "),n("div",{attrs:{"text-cente":"",padding:""}},[n("p",{attrs:{"text-center":""}},[e._v(e._s(e.$t("currentState"))+": "+e._s(e.currency))])])],1)],1)},staticRenderFns:[]}},976:function(e,t,n){var a=n(0)(n(856),n(857),null,null);e.exports=a.exports}});
  //# sourceMappingURL=75.2c2b42f437483514cf4b.js.map