"use weex:vue";

if (typeof Promise !== 'undefined' && !Promise.prototype.finally) {
  Promise.prototype.finally = function(callback) {
    const promise = this.constructor
    return this.then(
      value => promise.resolve(callback()).then(() => value),
      reason => promise.resolve(callback()).then(() => {
        throw reason
      })
    )
  }
};

if (typeof uni !== 'undefined' && uni && uni.requireGlobal) {
  const global = uni.requireGlobal()
  ArrayBuffer = global.ArrayBuffer
  Int8Array = global.Int8Array
  Uint8Array = global.Uint8Array
  Uint8ClampedArray = global.Uint8ClampedArray
  Int16Array = global.Int16Array
  Uint16Array = global.Uint16Array
  Int32Array = global.Int32Array
  Uint32Array = global.Uint32Array
  Float32Array = global.Float32Array
  Float64Array = global.Float64Array
  BigInt64Array = global.BigInt64Array
  BigUint64Array = global.BigUint64Array
};


(()=>{var d=Object.create;var p=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty;var _=(i,t)=>()=>(t||i((t={exports:{}}).exports,t),t.exports);var y=(i,t,s,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of v(t))!h.call(i,n)&&n!==s&&p(i,n,{get:()=>t[n],enumerable:!(a=f(t,n))||a.enumerable});return i};var x=(i,t,s)=>(s=i!=null?d(g(i)):{},y(t||!i||!i.__esModule?p(s,"default",{value:i,enumerable:!0}):s,i));var m=_((C,c)=>{c.exports=Vue});var e=x(m());var w=(i,t)=>{let s=i.__vccOpts||i;for(let[a,n]of t)s[a]=n;return s};var I={"nvue-page-root":{"":{backgroundColor:"#F8F8F8",paddingBottom:20}},"page-title":{"":{flexDirection:"row",justifyContent:"center",alignItems:"center",paddingTop:"35rpx",paddingRight:"35rpx",paddingBottom:"35rpx",paddingLeft:"35rpx"}},"page-title__wrapper":{"":{paddingTop:0,paddingRight:20,paddingBottom:0,paddingLeft:20,borderBottomColor:"#D8D8D8",borderBottomWidth:1}},"page-title__text":{"":{fontSize:16,height:48,lineHeight:48,color:"#BEBEBE"}},title:{"":{paddingTop:5,paddingRight:13,paddingBottom:5,paddingLeft:13}},"uni-form-item__title":{"":{fontSize:16,lineHeight:24}},"uni-input-wrapper":{"":{paddingTop:8,paddingRight:13,paddingBottom:8,paddingLeft:13,flexDirection:"row",flexWrap:"nowrap",backgroundColor:"#FFFFFF"}},"uni-input":{"":{height:28,lineHeight:28,fontSize:15,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,flex:1,backgroundColor:"#FFFFFF"}},"uni-icon":{"":{fontFamily:"uniicons",fontSize:24,fontWeight:"normal",fontStyle:"normal",width:24,height:24,lineHeight:24,color:"#999999"}},"uni-eye-active":{"":{color:"#007AFF"}}},F={data(){return{title:"input",focus:!1,inputValue:"",showClearIcon:!1,inputClearValue:"",changeValue:"",showPassword:!0,src:"../../../static/eye-1.png",platform:"",isNvue:!1}},methods:{onKeyInput:function(i){this.inputValue=i.detail.value},replaceInput:function(i){var t=i.detail.value;t==="11"&&(this.changeValue="2")},hideKeyboard:function(i){i.detail.value==="123"&&uni.hideKeyboard()},clearInput:function(i){this.inputClearValue=i.detail.value,i.detail.value.length>0?this.showClearIcon=!0:this.showClearIcon=!1},clearIcon:function(){this.inputClearValue="",this.showClearIcon=!1},changePassword:function(){this.showPassword=!this.showPassword},onFocus(){this.$mp.page.$getAppWebview().setStyle({softinputNavBar:"none"})},onBlur(){this.$mp.page.$getAppWebview().setStyle({softinputNavBar:"auto"})}},onLoad(){this.platform=uni.getSystemInfoSync().platform,this.isNvue=!0}};function b(i,t,s,a,n,u){return(0,e.openBlock)(),(0,e.createElementBlock)("scroll-view",{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:"true",style:{flexDirection:"column"}},[(0,e.createElementVNode)("view",{class:"nvue-page-root"},[(0,e.createElementVNode)("view",{class:"page-title"},[(0,e.createElementVNode)("view",{class:"page-title__wrapper"},[(0,e.createElementVNode)("u-text",{class:"page-title__text"},(0,e.toDisplayString)(n.title),1)])]),(0,e.createElementVNode)("view",{class:"uni-common-mt"},[(0,e.createElementVNode)("view",{class:"uni-form-item uni-column"},[(0,e.createElementVNode)("view",{class:"title"},[(0,e.createElementVNode)("u-text",{class:"uni-form-item__title"},"\u53EF\u81EA\u52A8\u805A\u7126\u7684 input")]),(0,e.createElementVNode)("view",{class:"uni-input-wrapper"},[(0,e.createElementVNode)("u-input",{class:"uni-input",focus:"",placeholder:"\u81EA\u52A8\u83B7\u5F97\u7126\u70B9"})])]),n.platform==="ios"&&!n.isNvue?((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:0,class:"uni-form-item uni-column"},[(0,e.createElementVNode)("view",{class:"title"},[(0,e.createElementVNode)("u-text",{class:"uni-form-item__title"},"\u9690\u85CF iOS \u8F6F\u952E\u76D8\u4E0A\u7684\u5BFC\u822A\u6761")]),(0,e.createElementVNode)("view",{class:"uni-input-wrapper"},[(0,e.createElementVNode)("u-input",{class:"uni-input",placeholder:"\u89E6\u6478\u5176\u4ED6\u5730\u65B9\u6536\u8D77\u952E\u76D8",onFocus:t[0]||(t[0]=(...l)=>u.onFocus&&u.onFocus(...l)),onBlur:t[1]||(t[1]=(...l)=>u.onBlur&&u.onBlur(...l))},null,32)])])):(0,e.createCommentVNode)("",!0),(0,e.createElementVNode)("view",{class:"uni-form-item uni-column"},[(0,e.createElementVNode)("view",{class:"title"},[(0,e.createElementVNode)("u-text",{class:"uni-form-item__title"},"\u952E\u76D8\u53F3\u4E0B\u89D2\u6309\u94AE\u663E\u793A\u4E3A\u641C\u7D22")]),(0,e.createElementVNode)("view",{class:"uni-input-wrapper"},[(0,e.createElementVNode)("u-input",{class:"uni-input",confirmType:"search",placeholder:"\u952E\u76D8\u53F3\u4E0B\u89D2\u6309\u94AE\u663E\u793A\u4E3A\u641C\u7D22"})])]),(0,e.createElementVNode)("view",{class:"uni-form-item uni-column"},[(0,e.createElementVNode)("view",{class:"title"},[(0,e.createElementVNode)("u-text",{class:"uni-form-item__title"},"\u952E\u76D8\u53F3\u4E0B\u89D2\u6309\u94AE\u663E\u793A\u4E3A\u53D1\u9001")]),(0,e.createElementVNode)("view",{class:"uni-input-wrapper"},[(0,e.createElementVNode)("u-input",{class:"uni-input",confirmType:"send",placeholder:"\u952E\u76D8\u53F3\u4E0B\u89D2\u6309\u94AE\u663E\u793A\u4E3A\u53D1\u9001"})])]),(0,e.createElementVNode)("view",{class:"uni-form-item uni-column"},[(0,e.createElementVNode)("view",{class:"title"},[(0,e.createElementVNode)("u-text",{class:"uni-form-item__title"},"\u63A7\u5236\u6700\u5927\u8F93\u5165\u957F\u5EA6\u7684 input")]),(0,e.createElementVNode)("view",{class:"uni-input-wrapper"},[(0,e.createElementVNode)("u-input",{class:"uni-input",maxlength:"10",placeholder:"\u6700\u5927\u8F93\u5165\u957F\u5EA6\u4E3A10"})])]),(0,e.createElementVNode)("view",{class:"uni-form-item uni-column"},[(0,e.createElementVNode)("view",{class:"title"},[(0,e.createElementVNode)("u-text",{class:"uni-form-item__title"},"\u5B9E\u65F6\u83B7\u53D6\u8F93\u5165\u503C\uFF1A"+(0,e.toDisplayString)(n.inputValue),1)]),(0,e.createElementVNode)("view",{class:"uni-input-wrapper"},[(0,e.createElementVNode)("u-input",{class:"uni-input",onInput:t[2]||(t[2]=(...l)=>u.onKeyInput&&u.onKeyInput(...l)),placeholder:"\u8F93\u5165\u540C\u6B65\u5230view\u4E2D"},null,32)])]),(0,e.createElementVNode)("view",{class:"uni-form-item uni-column"},[(0,e.createElementVNode)("view",{class:"title"},[(0,e.createElementVNode)("u-text",{class:"uni-form-item__title"},"\u63A7\u5236\u8F93\u5165\u7684 input")]),(0,e.createElementVNode)("view",{class:"uni-input-wrapper"},[(0,e.createElementVNode)("u-input",{class:"uni-input",onInput:[t[3]||(t[3]=(...l)=>u.replaceInput&&u.replaceInput(...l)),t[4]||(t[4]=l=>n.changeValue=l.detail.value)],modelValue:n.changeValue,placeholder:"\u8FDE\u7EED\u7684\u4E24\u4E2A1\u4F1A\u53D8\u62102"},null,40,["modelValue"])])]),(0,e.createElementVNode)("view",{class:"uni-form-item uni-column"},[(0,e.createElementVNode)("view",{class:"title"},[(0,e.createElementVNode)("u-text",{class:"uni-form-item__title"},"\u63A7\u5236\u952E\u76D8\u7684 input")]),(0,e.createElementVNode)("view",{class:"uni-input-wrapper"},[(0,e.createElementVNode)("u-input",{class:"uni-input",ref:"input1",onInput:t[5]||(t[5]=(...l)=>u.hideKeyboard&&u.hideKeyboard(...l)),placeholder:"\u8F93\u5165123\u81EA\u52A8\u6536\u8D77\u952E\u76D8"},null,544)])]),(0,e.createElementVNode)("view",{class:"uni-form-item uni-column"},[(0,e.createElementVNode)("view",{class:"title"},[(0,e.createElementVNode)("u-text",{class:"uni-form-item__title"},"\u6570\u5B57\u8F93\u5165\u7684 input")]),(0,e.createElementVNode)("view",{class:"uni-input-wrapper"},[(0,e.createElementVNode)("u-input",{class:"uni-input",type:"number",placeholder:"\u8FD9\u662F\u4E00\u4E2A\u6570\u5B57\u8F93\u5165\u6846"})])]),(0,e.createElementVNode)("view",{class:"uni-form-item uni-column"},[(0,e.createElementVNode)("view",{class:"title"},[(0,e.createElementVNode)("u-text",{class:"uni-form-item__title"},"\u5BC6\u7801\u8F93\u5165\u7684 input")]),(0,e.createElementVNode)("view",{class:"uni-input-wrapper"},[(0,e.createElementVNode)("u-input",{class:"uni-input",password:"",type:"text",placeholder:"\u8FD9\u662F\u4E00\u4E2A\u5BC6\u7801\u8F93\u5165\u6846"})])]),(0,e.createElementVNode)("view",{class:"uni-form-item uni-column"},[(0,e.createElementVNode)("view",{class:"title"},[(0,e.createElementVNode)("u-text",{class:"uni-form-item__title"},"\u5E26\u5C0F\u6570\u70B9\u7684 input")]),(0,e.createElementVNode)("view",{class:"uni-input-wrapper"},[(0,e.createElementVNode)("u-input",{class:"uni-input",type:"digit",placeholder:"\u5E26\u5C0F\u6570\u70B9\u7684\u6570\u5B57\u952E\u76D8"})])]),(0,e.createElementVNode)("view",{class:"uni-form-item uni-column"},[(0,e.createElementVNode)("view",{class:"title"},[(0,e.createElementVNode)("u-text",{class:"uni-form-item__title"},"\u8EAB\u4EFD\u8BC1\u8F93\u5165\u7684 input")]),(0,e.createElementVNode)("view",{class:"uni-input-wrapper"},[(0,e.createElementVNode)("u-input",{class:"uni-input",type:"idcard",placeholder:"\u8EAB\u4EFD\u8BC1\u8F93\u5165\u952E\u76D8"})])]),(0,e.createElementVNode)("view",{class:"uni-form-item uni-column"},[(0,e.createElementVNode)("view",{class:"title"},[(0,e.createElementVNode)("u-text",{class:"uni-form-item__title"},"\u63A7\u5236\u5360\u4F4D\u7B26\u989C\u8272\u7684 input")]),(0,e.createElementVNode)("view",{class:"uni-input-wrapper"},[(0,e.createElementVNode)("u-input",{class:"uni-input",placeholderStyle:"color:#F76260",placeholder:"\u5360\u4F4D\u7B26\u5B57\u4F53\u662F\u7EA2\u8272\u7684"})])]),(0,e.createElementVNode)("view",{class:"uni-form-item uni-column"},[(0,e.createElementVNode)("view",{class:"title"},[(0,e.createElementVNode)("u-text",{class:"uni-form-item__title"},"\u5E26\u6E05\u9664\u6309\u94AE\u7684\u8F93\u5165\u6846")]),(0,e.createElementVNode)("view",{class:"uni-input-wrapper"},[(0,e.createElementVNode)("u-input",{class:"uni-input",placeholder:"\u5E26\u6E05\u9664\u6309\u94AE\u7684\u8F93\u5165\u6846",value:n.inputClearValue,onInput:t[6]||(t[6]=(...l)=>u.clearInput&&u.clearInput(...l))},null,40,["value"]),n.showClearIcon?((0,e.openBlock)(),(0,e.createElementBlock)("u-text",{key:0,class:"uni-icon",onClick:t[7]||(t[7]=(...l)=>u.clearIcon&&u.clearIcon(...l))},"\uE434")):(0,e.createCommentVNode)("",!0)])]),(0,e.createElementVNode)("view",{class:"uni-form-item uni-column"},[(0,e.createElementVNode)("view",{class:"title"},[(0,e.createElementVNode)("u-text",{class:"uni-form-item__title"},"\u53EF\u67E5\u770B\u5BC6\u7801\u7684\u8F93\u5165\u6846")]),(0,e.createElementVNode)("view",{class:"uni-input-wrapper"},[(0,e.createElementVNode)("u-input",{class:"uni-input",placeholder:"\u8BF7\u8F93\u5165\u5BC6\u7801",password:n.showPassword},null,8,["password"]),(0,e.createElementVNode)("u-text",{class:(0,e.normalizeClass)(["uni-icon",[n.showPassword?"":"uni-eye-active"]]),onClick:t[8]||(t[8]=(...l)=>u.changePassword&&u.changePassword(...l))},"\uE568",2)])])])])])}var o=w(F,[["render",b],["styles",[I]]]);var r=plus.webview.currentWebview();if(r){let i=parseInt(r.id),t="pages/component/input/input",s={};try{s=JSON.parse(r.__query__)}catch(n){}o.mpType="page";let a=Vue.createPageApp(o,{$store:getApp({allowDefault:!0}).$store,__pageId:i,__pagePath:t,__pageQuery:s});a.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...o.styles||[]])),a.mount("#root")}})();
