"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 z=Object.create;var k=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var F=Object.getPrototypeOf,L=Object.prototype.hasOwnProperty;var D=(n,i)=>()=>(i||n((i={exports:{}}).exports,i),i.exports);var W=(n,i,t,d)=>{if(i&&typeof i=="object"||typeof i=="function")for(let c of I(i))!L.call(n,c)&&c!==t&&k(n,c,{get:()=>i[c],enumerable:!(d=R(i,c))||d.enumerable});return n};var g=(n,i,t)=>(t=n!=null?z(F(n)):{},W(i||!n||!n.__esModule?k(t,"default",{value:n,enumerable:!0}):t,n));var _=D((ae,C)=>{C.exports=Vue});var se=g(_());function b(n,i,...t){uni.__log__?uni.__log__(n,i,...t):console[n].apply(console,[...t,i])}function h(n,i){return typeof n=="string"?i:n}var f=g(_());var u=(n,i)=>{let t=n.__vccOpts||n;for(let[d,c]of i)t[d]=c;return t};var N=[{font_class:"arrow-down",unicode:"\uE6BE"},{font_class:"arrow-left",unicode:"\uE6BC"},{font_class:"arrow-right",unicode:"\uE6BB"},{font_class:"arrow-up",unicode:"\uE6BD"},{font_class:"auth",unicode:"\uE6AB"},{font_class:"auth-filled",unicode:"\uE6CC"},{font_class:"back",unicode:"\uE6B9"},{font_class:"bars",unicode:"\uE627"},{font_class:"calendar",unicode:"\uE6A0"},{font_class:"calendar-filled",unicode:"\uE6C0"},{font_class:"camera",unicode:"\uE65A"},{font_class:"camera-filled",unicode:"\uE658"},{font_class:"cart",unicode:"\uE631"},{font_class:"cart-filled",unicode:"\uE6D0"},{font_class:"chat",unicode:"\uE65D"},{font_class:"chat-filled",unicode:"\uE659"},{font_class:"chatboxes",unicode:"\uE696"},{font_class:"chatboxes-filled",unicode:"\uE692"},{font_class:"chatbubble",unicode:"\uE697"},{font_class:"chatbubble-filled",unicode:"\uE694"},{font_class:"checkbox",unicode:"\uE62B"},{font_class:"checkbox-filled",unicode:"\uE62C"},{font_class:"checkmarkempty",unicode:"\uE65C"},{font_class:"circle",unicode:"\uE65B"},{font_class:"circle-filled",unicode:"\uE65E"},{font_class:"clear",unicode:"\uE66D"},{font_class:"close",unicode:"\uE673"},{font_class:"closeempty",unicode:"\uE66C"},{font_class:"cloud-download",unicode:"\uE647"},{font_class:"cloud-download-filled",unicode:"\uE646"},{font_class:"cloud-upload",unicode:"\uE645"},{font_class:"cloud-upload-filled",unicode:"\uE648"},{font_class:"color",unicode:"\uE6CF"},{font_class:"color-filled",unicode:"\uE6C9"},{font_class:"compose",unicode:"\uE67F"},{font_class:"contact",unicode:"\uE693"},{font_class:"contact-filled",unicode:"\uE695"},{font_class:"down",unicode:"\uE6B8"},{font_class:"bottom",unicode:"\uE6B8"},{font_class:"download",unicode:"\uE68D"},{font_class:"download-filled",unicode:"\uE681"},{font_class:"email",unicode:"\uE69E"},{font_class:"email-filled",unicode:"\uE69A"},{font_class:"eye",unicode:"\uE651"},{font_class:"eye-filled",unicode:"\uE66A"},{font_class:"eye-slash",unicode:"\uE6B3"},{font_class:"eye-slash-filled",unicode:"\uE6B4"},{font_class:"fire",unicode:"\uE6A1"},{font_class:"fire-filled",unicode:"\uE6C5"},{font_class:"flag",unicode:"\uE65F"},{font_class:"flag-filled",unicode:"\uE660"},{font_class:"folder-add",unicode:"\uE6A9"},{font_class:"folder-add-filled",unicode:"\uE6C8"},{font_class:"font",unicode:"\uE6A3"},{font_class:"forward",unicode:"\uE6BA"},{font_class:"gear",unicode:"\uE664"},{font_class:"gear-filled",unicode:"\uE661"},{font_class:"gift",unicode:"\uE6A4"},{font_class:"gift-filled",unicode:"\uE6C4"},{font_class:"hand-down",unicode:"\uE63D"},{font_class:"hand-down-filled",unicode:"\uE63C"},{font_class:"hand-up",unicode:"\uE63F"},{font_class:"hand-up-filled",unicode:"\uE63E"},{font_class:"headphones",unicode:"\uE630"},{font_class:"heart",unicode:"\uE639"},{font_class:"heart-filled",unicode:"\uE641"},{font_class:"help",unicode:"\uE679"},{font_class:"help-filled",unicode:"\uE674"},{font_class:"home",unicode:"\uE662"},{font_class:"home-filled",unicode:"\uE663"},{font_class:"image",unicode:"\uE670"},{font_class:"image-filled",unicode:"\uE678"},{font_class:"images",unicode:"\uE650"},{font_class:"images-filled",unicode:"\uE64B"},{font_class:"info",unicode:"\uE669"},{font_class:"info-filled",unicode:"\uE649"},{font_class:"left",unicode:"\uE6B7"},{font_class:"link",unicode:"\uE6A5"},{font_class:"list",unicode:"\uE644"},{font_class:"location",unicode:"\uE6AE"},{font_class:"location-filled",unicode:"\uE6AF"},{font_class:"locked",unicode:"\uE66B"},{font_class:"locked-filled",unicode:"\uE668"},{font_class:"loop",unicode:"\uE633"},{font_class:"mail-open",unicode:"\uE643"},{font_class:"mail-open-filled",unicode:"\uE63A"},{font_class:"map",unicode:"\uE667"},{font_class:"map-filled",unicode:"\uE666"},{font_class:"map-pin",unicode:"\uE6AD"},{font_class:"map-pin-ellipse",unicode:"\uE6AC"},{font_class:"medal",unicode:"\uE6A2"},{font_class:"medal-filled",unicode:"\uE6C3"},{font_class:"mic",unicode:"\uE671"},{font_class:"mic-filled",unicode:"\uE677"},{font_class:"micoff",unicode:"\uE67E"},{font_class:"micoff-filled",unicode:"\uE6B0"},{font_class:"minus",unicode:"\uE66F"},{font_class:"minus-filled",unicode:"\uE67D"},{font_class:"more",unicode:"\uE64D"},{font_class:"more-filled",unicode:"\uE64E"},{font_class:"navigate",unicode:"\uE66E"},{font_class:"navigate-filled",unicode:"\uE67A"},{font_class:"notification",unicode:"\uE6A6"},{font_class:"notification-filled",unicode:"\uE6C1"},{font_class:"paperclip",unicode:"\uE652"},{font_class:"paperplane",unicode:"\uE672"},{font_class:"paperplane-filled",unicode:"\uE675"},{font_class:"person",unicode:"\uE699"},{font_class:"person-filled",unicode:"\uE69D"},{font_class:"personadd",unicode:"\uE69F"},{font_class:"personadd-filled",unicode:"\uE698"},{font_class:"personadd-filled-copy",unicode:"\uE6D1"},{font_class:"phone",unicode:"\uE69C"},{font_class:"phone-filled",unicode:"\uE69B"},{font_class:"plus",unicode:"\uE676"},{font_class:"plus-filled",unicode:"\uE6C7"},{font_class:"plusempty",unicode:"\uE67B"},{font_class:"pulldown",unicode:"\uE632"},{font_class:"pyq",unicode:"\uE682"},{font_class:"qq",unicode:"\uE680"},{font_class:"redo",unicode:"\uE64A"},{font_class:"redo-filled",unicode:"\uE655"},{font_class:"refresh",unicode:"\uE657"},{font_class:"refresh-filled",unicode:"\uE656"},{font_class:"refreshempty",unicode:"\uE6BF"},{font_class:"reload",unicode:"\uE6B2"},{font_class:"right",unicode:"\uE6B5"},{font_class:"scan",unicode:"\uE62A"},{font_class:"search",unicode:"\uE654"},{font_class:"settings",unicode:"\uE653"},{font_class:"settings-filled",unicode:"\uE6CE"},{font_class:"shop",unicode:"\uE62F"},{font_class:"shop-filled",unicode:"\uE6CD"},{font_class:"smallcircle",unicode:"\uE67C"},{font_class:"smallcircle-filled",unicode:"\uE665"},{font_class:"sound",unicode:"\uE684"},{font_class:"sound-filled",unicode:"\uE686"},{font_class:"spinner-cycle",unicode:"\uE68A"},{font_class:"staff",unicode:"\uE6A7"},{font_class:"staff-filled",unicode:"\uE6CB"},{font_class:"star",unicode:"\uE688"},{font_class:"star-filled",unicode:"\uE68F"},{font_class:"starhalf",unicode:"\uE683"},{font_class:"trash",unicode:"\uE687"},{font_class:"trash-filled",unicode:"\uE685"},{font_class:"tune",unicode:"\uE6AA"},{font_class:"tune-filled",unicode:"\uE6CA"},{font_class:"undo",unicode:"\uE64F"},{font_class:"undo-filled",unicode:"\uE64C"},{font_class:"up",unicode:"\uE6B6"},{font_class:"top",unicode:"\uE6B6"},{font_class:"upload",unicode:"\uE690"},{font_class:"upload-filled",unicode:"\uE68E"},{font_class:"videocam",unicode:"\uE68C"},{font_class:"videocam-filled",unicode:"\uE689"},{font_class:"vip",unicode:"\uE6A8"},{font_class:"vip-filled",unicode:"\uE6C6"},{font_class:"wallet",unicode:"\uE6B1"},{font_class:"wallet-filled",unicode:"\uE6C2"},{font_class:"weibo",unicode:"\uE68B"},{font_class:"weixin",unicode:"\uE691"}],E="/assets/uniicons.32e978a5.ttf",H={"uni-icons":{"":{fontFamily:"uniicons",textDecoration:"none",textAlign:"center"}}},V=n=>typeof n=="number"||/^[0-9]*$/g.test(n)?n+"px":n,j=weex.requireModule("dom");j.addRule("fontFace",{fontFamily:"uniicons",src:"url('"+E+"')"});var q={name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},customPrefix:{type:String,default:""},fontFamily:{type:String,default:""}},data(){return{icons:N}},computed:{unicode(){let n=this.icons.find(i=>i.font_class===this.type);return n?n.unicode:""},iconSize(){return V(this.size)},styleObj(){return this.fontFamily!==""?`color: ${this.color}; font-size: ${this.iconSize}; font-family: ${this.fontFamily};`:`color: ${this.color}; font-size: ${this.iconSize};`}},methods:{_onClick(){this.$emit("click")}}};function P(n,i,t,d,c,l){return(0,f.openBlock)(),(0,f.createElementBlock)("u-text",{style:(0,f.normalizeStyle)(l.styleObj),class:"uni-icons",onClick:i[0]||(i[0]=(...s)=>l._onClick&&l._onClick(...s))},(0,f.toDisplayString)(l.unicode),5)}var y=u(q,[["render",P],["styles",[H]]]);var e=g(_());var o=g(_());var U={"uni-card":{"":{marginTop:10,marginRight:10,marginBottom:10,marginLeft:10,paddingTop:0,paddingRight:8,paddingBottom:0,paddingLeft:8,borderRadius:4,overflow:"hidden",fontFamily:"Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, SimSun, sans-serif",backgroundColor:"#ffffff",flex:1}},"uni-card__cover":{".uni-card ":{position:"relative",marginTop:10,flexDirection:"row",overflow:"hidden",borderRadius:4}},"uni-card__cover-image":{".uni-card .uni-card__cover ":{flex:1}},"uni-card__header":{".uni-card ":{display:"flex",borderBottomWidth:1,borderBottomStyle:"solid",borderBottomColor:"#EBEEF5",flexDirection:"row",alignItems:"center",paddingTop:10,paddingRight:10,paddingBottom:10,paddingLeft:10,overflow:"hidden"}},"uni-card__header-box":{".uni-card .uni-card__header ":{flex:1,flexDirection:"row",alignItems:"center",overflow:"hidden"}},"uni-card__header-avatar":{".uni-card .uni-card__header ":{width:40,height:40,overflow:"hidden",borderRadius:5,marginRight:10}},"uni-card__header-avatar-image":{".uni-card .uni-card__header .uni-card__header-avatar ":{flex:1,width:40,height:40}},"uni-card__header-content":{".uni-card .uni-card__header ":{flexDirection:"column",justifyContent:"center",flex:1,overflow:"hidden"}},"uni-card__header-content-title":{".uni-card .uni-card__header .uni-card__header-content ":{fontSize:15,color:"#3a3a3a"}},"uni-card__header-content-subtitle":{".uni-card .uni-card__header .uni-card__header-content ":{fontSize:12,marginTop:5,color:"#909399"}},"uni-card__header-extra":{".uni-card .uni-card__header ":{lineHeight:12}},"uni-card__header-extra-text":{".uni-card .uni-card__header .uni-card__header-extra ":{fontSize:12,color:"#909399"}},"uni-card__content":{".uni-card ":{paddingTop:10,paddingRight:10,paddingBottom:10,paddingLeft:10,fontSize:14,color:"#6a6a6a",lineHeight:22}},"uni-card__actions":{".uni-card ":{fontSize:12}},"uni-card--border":{"":{borderWidth:1,borderStyle:"solid",borderColor:"#EBEEF5"}},"uni-card--shadow":{"":{position:"relative"}},"uni-card--full":{"":{marginTop:0,marginRight:0,marginBottom:0,marginLeft:0,borderLeftWidth:0,borderRadius:0}},"uni-ellipsis":{"":{lines:1}}},A={name:"UniCard",emits:["click"],props:{title:{type:String,default:""},subTitle:{type:String,default:""},padding:{type:String,default:"10px"},margin:{type:String,default:"15px"},spacing:{type:String,default:"0 10px"},extra:{type:String,default:""},cover:{type:String,default:""},thumbnail:{type:String,default:""},isFull:{type:Boolean,default:!1},isShadow:{type:Boolean,default:!0},shadow:{type:String,default:"0px 0px 3px 1px rgba(0, 0, 0, 0.08)"},border:{type:Boolean,default:!0}},methods:{onClick(n){this.$emit("click",n)}}};function M(n,i,t,d,c,l){return(0,o.openBlock)(),(0,o.createElementBlock)("view",{class:(0,o.normalizeClass)(["uni-card",{"uni-card--full":t.isFull,"uni-card--shadow":t.isShadow,"uni-card--border":t.border}]),style:(0,o.normalizeStyle)({margin:t.isFull?0:t.margin,padding:t.spacing,"box-shadow":t.isShadow?t.shadow:""}),renderWhole:!0},[(0,o.renderSlot)(n.$slots,"cover",{},()=>[t.cover?((0,o.openBlock)(),(0,o.createElementBlock)("view",{key:0,class:"uni-card__cover"},[(0,o.createElementVNode)("u-image",{class:"uni-card__cover-image",mode:"widthFix",onClick:i[0]||(i[0]=s=>l.onClick("cover")),src:t.cover},null,8,["src"])])):(0,o.createCommentVNode)("",!0)]),(0,o.renderSlot)(n.$slots,"title",{},()=>[t.title||t.extra?((0,o.openBlock)(),(0,o.createElementBlock)("view",{key:0,class:"uni-card__header"},[(0,o.createElementVNode)("view",{class:"uni-card__header-box",onClick:i[1]||(i[1]=s=>l.onClick("title"))},[t.thumbnail?((0,o.openBlock)(),(0,o.createElementBlock)("view",{key:0,class:"uni-card__header-avatar"},[(0,o.createElementVNode)("u-image",{class:"uni-card__header-avatar-image",src:t.thumbnail,mode:"aspectFit"},null,8,["src"])])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("view",{class:"uni-card__header-content"},[(0,o.createElementVNode)("u-text",{class:"uni-card__header-content-title uni-ellipsis"},(0,o.toDisplayString)(t.title),1),t.title&&t.subTitle?((0,o.openBlock)(),(0,o.createElementBlock)("u-text",{key:0,class:"uni-card__header-content-subtitle uni-ellipsis"},(0,o.toDisplayString)(t.subTitle),1)):(0,o.createCommentVNode)("",!0)])]),(0,o.createElementVNode)("view",{class:"uni-card__header-extra",onClick:i[2]||(i[2]=s=>l.onClick("extra"))},[(0,o.createElementVNode)("u-text",{class:"uni-card__header-extra-text"},(0,o.toDisplayString)(t.extra),1)])])):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("view",{class:"uni-card__content",style:(0,o.normalizeStyle)({padding:t.padding}),onClick:i[3]||(i[3]=s=>l.onClick("content"))},[(0,o.renderSlot)(n.$slots,"default")],4),(0,o.createElementVNode)("view",{class:"uni-card__actions",onClick:i[4]||(i[4]=s=>l.onClick("actions"))},[(0,o.renderSlot)(n.$slots,"actions")])],6)}var S=u(A,[["render",M],["styles",[U]]]);var a=g(_());var O={"uni-section":{"":{backgroundColor:"#ffffff"}},"uni-section-header":{".uni-section ":{position:"relative",flexDirection:"row",alignItems:"center",paddingTop:12,paddingRight:10,paddingBottom:12,paddingLeft:10,fontWeight:"normal"}},"uni-section-header__decoration":{".uni-section ":{marginRight:6,backgroundColor:"#2979ff"},".uni-section .line":{width:4,height:12,borderRadius:10},".uni-section .circle":{width:8,height:8,borderTopRightRadius:50,borderTopLeftRadius:50,borderBottomLeftRadius:50,borderBottomRightRadius:50},".uni-section .square":{width:8,height:8}},"uni-section-header__content":{".uni-section ":{flexDirection:"column",flex:1,color:"#333333"}},distraction:{".uni-section .uni-section-header__content ":{flexDirection:"row",alignItems:"center"}},"uni-section-header__content-sub":{".uni-section ":{marginTop:2}},"uni-section-header__slot-right":{".uni-section ":{fontSize:14}},"uni-section-content":{".uni-section ":{fontSize:14}}},Y={name:"UniSection",emits:["click"],props:{type:{type:String,default:""},title:{type:String,required:!0,default:""},titleFontSize:{type:String,default:"14px"},titleColor:{type:String,default:"#333"},subTitle:{type:String,default:""},subTitleFontSize:{type:String,default:"12px"},subTitleColor:{type:String,default:"#999"},padding:{type:[Boolean,String],default:!1}},computed:{_padding(){return typeof this.padding=="string"?this.padding:this.padding?"10px":""}},watch:{title(n){uni.report&&n!==""&&uni.report("title",n)}},methods:{onClick(){this.$emit("click")}}};function G(n,i,t,d,c,l){return(0,a.openBlock)(),(0,a.createElementBlock)("view",{class:"uni-section",renderWhole:!0},[(0,a.createElementVNode)("view",{class:"uni-section-header",onClick:i[0]||(i[0]=(...s)=>l.onClick&&l.onClick(...s))},[t.type?((0,a.openBlock)(),(0,a.createElementBlock)("view",{key:0,class:(0,a.normalizeClass)(["uni-section-header__decoration",t.type])},null,2)):(0,a.renderSlot)(n.$slots,"decoration",{key:1}),(0,a.createElementVNode)("view",{class:"uni-section-header__content"},[(0,a.createElementVNode)("u-text",{style:(0,a.normalizeStyle)({"font-size":t.titleFontSize,color:t.titleColor}),class:(0,a.normalizeClass)(["uni-section__content-title",{distraction:!t.subTitle}])},(0,a.toDisplayString)(t.title),7),t.subTitle?((0,a.openBlock)(),(0,a.createElementBlock)("u-text",{key:0,style:(0,a.normalizeStyle)({"font-size":t.subTitleFontSize,color:t.subTitleColor}),class:"uni-section-header__content-sub"},(0,a.toDisplayString)(t.subTitle),5)):(0,a.createCommentVNode)("",!0)]),(0,a.createElementVNode)("view",{class:"uni-section-header__slot-right"},[(0,a.renderSlot)(n.$slots,"right")])]),(0,a.createElementVNode)("view",{class:"uni-section-content",style:(0,a.normalizeStyle)({padding:l._padding})},[(0,a.renderSlot)(n.$slots,"default")],4)])}var T=u(Y,[["render",G],["styles",[O]]]);var J={"uni-status-bar":{"":{height:20}}},Q={name:"UniStatusBar",data(){return{statusBarHeight:uni.getSystemInfoSync().statusBarHeight+"px"}}};function K(n,i,t,d,c,l){return(0,e.openBlock)(),(0,e.createElementBlock)("view",{style:(0,e.normalizeStyle)({height:c.statusBarHeight}),class:"uni-status-bar",renderWhole:!0},[(0,e.renderSlot)(n.$slots,"default")],4)}var X=u(Q,[["render",K],["styles",[J]]]),Z={"uni-nvue-fixed":{"":{position:"sticky"}},"uni-nav-bar-text":{"":{fontSize:"34rpx"}},"uni-nav-bar-right-text":{"":{fontSize:12}},"uni-navbar__content":{"":{position:"relative",backgroundColor:"rgba(0,0,0,0)"}},"uni-navbar-btn-text":{"":{flexDirection:"column",justifyContent:"flex-start",alignItems:"center",lineHeight:12}},"uni-navbar__header":{"":{paddingTop:0,paddingRight:10,paddingBottom:0,paddingLeft:10,flexDirection:"row",height:44,fontSize:12}},"uni-navbar__header-btns":{"":{flexWrap:"nowrap",flexDirection:"row",width:"120rpx",justifyContent:"center",alignItems:"center"}},"uni-navbar__header-btns-left":{"":{width:"120rpx",justifyContent:"flex-start",alignItems:"center"}},"uni-navbar__header-btns-right":{"":{flexDirection:"row",justifyContent:"flex-end",alignItems:"center"}},"uni-navbar__header-container":{"":{flex:1,paddingTop:0,paddingRight:10,paddingBottom:0,paddingLeft:10,overflow:"hidden"}},"uni-navbar__header-container-inner":{"":{flex:1,flexDirection:"row",alignItems:"center",justifyContent:"center",fontSize:12,overflow:"hidden"}},"uni-navbar__placeholder-view":{"":{height:44}},"uni-navbar--fixed":{"":{position:"fixed",zIndex:99,left:0,right:0}},"uni-navbar--shadow":{"":{boxShadow:"0 1px 6px #ccc"}},"uni-navbar--border":{"":{borderBottomWidth:"1rpx",borderBottomStyle:"solid",borderBottomColor:"#eeeeee"}},"uni-ellipsis-1":{"":{overflow:"hidden",lines:1,textOverflow:"ellipsis"}}},x=n=>typeof n=="number"?n+"px":n,$={name:"UniNavBar",components:{statusBar:X},emits:["clickLeft","clickRight","clickTitle"],props:{dark:{type:Boolean,default:!1},title:{type:String,default:""},leftText:{type:String,default:""},rightText:{type:String,default:""},leftIcon:{type:String,default:""},rightIcon:{type:String,default:""},fixed:{type:[Boolean,String],default:!1},color:{type:String,default:""},backgroundColor:{type:String,default:""},statusBar:{type:[Boolean,String],default:!1},shadow:{type:[Boolean,String],default:!1},border:{type:[Boolean,String],default:!0},height:{type:[Number,String],default:44},leftWidth:{type:[Number,String],default:60},rightWidth:{type:[Number,String],default:60},stat:{type:[Boolean,String],default:""}},computed:{themeBgColor(){return this.dark?this.backgroundColor?this.backgroundColor:this.dark?"#333":"#FFF":this.backgroundColor||"#FFF"},themeColor(){return this.dark?this.color?this.color:this.dark?"#fff":"#333":this.color||"#333"},navbarHeight(){return x(this.height)},leftIconWidth(){return x(this.leftWidth)},rightIconWidth(){return x(this.rightWidth)}},mounted(){uni.report&&this.stat&&this.title!==""&&uni.report("title",this.title)},methods:{onClickLeft(){this.$emit("clickLeft")},onClickRight(){this.$emit("clickRight")},onClickTitle(){this.$emit("clickTitle")}}};function ee(n,i,t,d,c,l){let s=(0,e.resolveComponent)("status-bar"),m=h((0,e.resolveDynamicComponent)("uni-icons"),y);return(0,e.openBlock)(),(0,e.createElementBlock)("view",{class:(0,e.normalizeClass)(["uni-navbar",{"uni-dark":t.dark,"uni-nvue-fixed":t.fixed}]),renderWhole:!0},[(0,e.createElementVNode)("view",{class:(0,e.normalizeClass)(["uni-navbar__content",{"uni-navbar--fixed":t.fixed,"uni-navbar--shadow":t.shadow,"uni-navbar--border":t.border}]),style:(0,e.normalizeStyle)({"background-color":l.themeBgColor,"border-bottom-color":l.themeColor})},[t.statusBar?((0,e.openBlock)(),(0,e.createBlock)(s,{key:0})):(0,e.createCommentVNode)("",!0),(0,e.createElementVNode)("view",{style:(0,e.normalizeStyle)({color:l.themeColor,backgroundColor:l.themeBgColor,height:l.navbarHeight}),class:"uni-navbar__header"},[(0,e.createElementVNode)("view",{onClick:i[0]||(i[0]=(...r)=>l.onClickLeft&&l.onClickLeft(...r)),class:"uni-navbar__header-btns uni-navbar__header-btns-left",style:(0,e.normalizeStyle)({width:l.leftIconWidth})},[(0,e.renderSlot)(n.$slots,"left",{},()=>[t.leftIcon.length>0?((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:0,class:"uni-navbar__content_view"},[(0,e.createVNode)(m,{color:l.themeColor,type:t.leftIcon,size:"20"},null,8,["color","type"])])):(0,e.createCommentVNode)("",!0),t.leftText.length?((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:1,class:(0,e.normalizeClass)([{"uni-navbar-btn-icon-left":!t.leftIcon.length>0},"uni-navbar-btn-text"])},[(0,e.createElementVNode)("u-text",{style:(0,e.normalizeStyle)({color:l.themeColor,fontSize:"12px"})},(0,e.toDisplayString)(t.leftText),5)],2)):(0,e.createCommentVNode)("",!0)])],4),(0,e.createElementVNode)("view",{class:"uni-navbar__header-container",onClick:i[1]||(i[1]=(...r)=>l.onClickTitle&&l.onClickTitle(...r))},[(0,e.renderSlot)(n.$slots,"default",{},()=>[t.title.length>0?((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:0,class:"uni-navbar__header-container-inner"},[(0,e.createElementVNode)("u-text",{class:"uni-nav-bar-text uni-ellipsis-1",style:(0,e.normalizeStyle)({color:l.themeColor})},(0,e.toDisplayString)(t.title),5)])):(0,e.createCommentVNode)("",!0)])]),(0,e.createElementVNode)("view",{onClick:i[2]||(i[2]=(...r)=>l.onClickRight&&l.onClickRight(...r)),class:"uni-navbar__header-btns uni-navbar__header-btns-right",style:(0,e.normalizeStyle)({width:l.rightIconWidth})},[(0,e.renderSlot)(n.$slots,"right",{},()=>[t.rightIcon.length?((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:0},[(0,e.createVNode)(m,{color:l.themeColor,type:t.rightIcon,size:"22"},null,8,["color","type"])])):(0,e.createCommentVNode)("",!0),t.rightText.length&&!t.rightIcon.length?((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:1,class:"uni-navbar-btn-text"},[(0,e.createElementVNode)("u-text",{class:"uni-nav-bar-right-text",style:(0,e.normalizeStyle)({color:l.themeColor})},(0,e.toDisplayString)(t.rightText),5)])):(0,e.createCommentVNode)("",!0)])],4)],4)],6)],2)}var te=u($,[["render",ee],["styles",[Z]]]),ne={"box-bg":{"":{backgroundColor:"#F5F5F5",paddingTop:5,paddingRight:0,paddingBottom:5,paddingLeft:0}},city:{"":{flexDirection:"row",alignItems:"center",justifyContent:"flex-start",marginLeft:4}},"input-view":{"":{flexDirection:"row",flex:1,backgroundColor:"#f8f8f8",height:30,borderRadius:15,paddingTop:0,paddingRight:15,paddingBottom:0,paddingLeft:15,flexWrap:"nowrap",marginTop:7,marginRight:0,marginBottom:7,marginLeft:0,lineHeight:30}},"input-uni-icon":{"":{lineHeight:30}},"nav-bar-input":{"":{height:30,lineHeight:30,width:"370rpx",paddingTop:0,paddingRight:5,paddingBottom:0,paddingLeft:5,fontSize:12,backgroundColor:"#f8f8f8"}}},ie={components:{},data(){return{city:"\u5317\u4EAC"}},methods:{back(){uni.navigateBack({delta:1})},showMenu(){uni.showToast({title:"\u83DC\u5355"})},clickLeft(){uni.showToast({title:"\u5DE6\u4FA7\u6309\u94AE"})},search(){uni.showToast({title:"\u641C\u7D22"})},showCity(){uni.showToast({title:"\u9009\u62E9\u57CE\u5E02"})},scan(){uni.showToast({title:"\u626B\u7801"})},confirm(){uni.showToast({title:"\u641C\u7D22"})}},onPullDownRefresh(){b("log","at pages/extUI/nav-bar/nav-bar.nvue:128","onPullDownRefresh"),setTimeout(function(){uni.stopPullDownRefresh(),b("log","at pages/extUI/nav-bar/nav-bar.nvue:131","stopPullDownRefresh")},1e3)}};function oe(n,i,t,d,c,l){let s=h((0,e.resolveDynamicComponent)("uni-nav-bar"),te),m=h((0,e.resolveDynamicComponent)("uni-card"),S),r=h((0,e.resolveDynamicComponent)("uni-section"),T),w=h((0,e.resolveDynamicComponent)("uni-icons"),y);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:"container"},[(0,e.createVNode)(s,{dark:"",fixed:!0,shadow:"","background-color":"#007AFF","status-bar":"","left-icon":"left","left-text":"\u8FD4\u56DE",title:"\u81EA\u5B9A\u4E49\u5BFC\u822A\u680F",onClickLeft:l.back},null,8,["onClickLeft"]),(0,e.createVNode)(m,{"is-full":"",isShadow:!1},{default:(0,e.withCtx)(()=>[(0,e.createElementVNode)("u-text",{class:"uni-h6"},"\u672C\u5BFC\u822A\u680F\u4E3A\u81EA\u5B9A\u4E49\u7EC4\u4EF6\uFF0C\u5E76\u975E\u539F\u751F\u5BFC\u822A\u680F\u3002\u9664\u975E\u539F\u751F\u5BFC\u822A\u680F\u65E0\u6CD5\u6EE1\u8DB3\u9700\u6C42\uFF0C\u5426\u5219\u4E0D\u63A8\u8350\u4F7F\u7528\u81EA\u5B9A\u4E49\u5BFC\u822A\u680F\u7EC4\u4EF6\u3002\u5177\u4F53\u53C2\u8003https://ask.dcloud.net.cn/article/34921")]),_:1}),(0,e.createVNode)(r,{title:"\u57FA\u672C\u7528\u6CD5",subTitle:"\u4F7F\u7528 title \u5C5E\u6027\u8BBE\u7F6E\u5BFC\u822A\u680F\u6807\u9898",type:"line",style:{"margin-bottom":"3px"}},{default:(0,e.withCtx)(()=>[(0,e.createElementVNode)("view",{class:"box-bg"},[(0,e.createVNode)(s,{title:"\u6807\u9898"})])]),_:1}),(0,e.createVNode)(r,{title:"\u5F00\u542F\u9634\u5F71",subTitle:"\u4F7F\u7528 shadow \u5C5E\u6027\u542F\u7528\u9634\u5F71",type:"line",style:{"margin-bottom":"3px"}},{default:(0,e.withCtx)(()=>[(0,e.createElementVNode)("view",{class:"box-bg"},[(0,e.createVNode)(s,{shadow:"","left-icon":"left",title:"\u5F00\u542F\u9634\u5F71",onClickLeft:l.back},null,8,["onClickLeft"])])]),_:1}),(0,e.createVNode)(r,{title:"\u5F00\u542F\u6697\u9ED1\u6A21\u5F0F",subTitle:"\u4F7F\u7528 dark \u5C5E\u6027\u8BBE\u7F6E\u6697\u9ED1\u6A21\u5F0F",type:"line",style:{"margin-bottom":"3px"}},{default:(0,e.withCtx)(()=>[(0,e.createElementVNode)("view",{class:"box-bg"},[(0,e.createVNode)(s,{shadow:"","left-icon":"left",dark:"",title:"\u6697\u9ED1\u6A21\u5F0F",onClickLeft:l.back},null,8,["onClickLeft"])])]),_:1}),(0,e.createVNode)(r,{title:"\u5E26\u8FD4\u56DE\u7BAD\u5934+\u53F3\u4FA7\u56FE\u6807",subTitle:"\u4F7F\u7528 left-icon/right-icon \u8BBE\u7F6E\u5DE6\u53F3\u56FE\u6807",type:"line",style:{"margin-bottom":"3px"}},{default:(0,e.withCtx)(()=>[(0,e.createElementVNode)("view",{class:"box-bg"},[(0,e.createVNode)(s,{shadow:"","left-icon":"left","right-icon":"cart",title:"\u6807\u9898"})])]),_:1}),(0,e.createVNode)(r,{title:"\u5DE6\u4FA7\u6587\u5B57+\u53F3\u4FA7\u6587\u5B57",subTitle:"\u4F7F\u7528 left-text/right-text \u8BBE\u7F6E\u5DE6\u53F3\u6587\u5B57",type:"line",style:{"margin-bottom":"3px"}},{default:(0,e.withCtx)(()=>[(0,e.createElementVNode)("view",{class:"box-bg"},[(0,e.createVNode)(s,{shadow:"","left-icon":"left",leftText:"\u8FD4\u56DE",rightText:"\u8BBE\u7F6E",title:"\u6807\u9898"})])]),_:1}),(0,e.createVNode)(r,{title:"\u81EA\u5B9A\u4E49\u989C\u8272",subTitle:"\u4F7F\u7528 color/background-color \u5C5E\u6027\u8BBE\u7F6E\u524D\u666F\u80CC\u666F\u8272",type:"line",style:{"margin-bottom":"3px"}},{default:(0,e.withCtx)(()=>[(0,e.createElementVNode)("view",{class:"box-bg"},[(0,e.createElementVNode)("view",{class:"box-bg"},[(0,e.createVNode)(s,{dark:"",color:"#999",backgroundColor:"#f5f5f5",shadow:"","left-icon":"left",leftText:"\u8FD4\u56DE",rightText:"\u8BBE\u7F6E",title:"\u81EA\u5B9A\u4E49\u989C\u8272"})])])]),_:1}),(0,e.createVNode)(r,{title:"\u81EA\u5B9A\u4E49\u9AD8\u5EA6",subTitle:"\u4F7F\u7528 height \u4FEE\u6539\u7EC4\u4EF6\u9AD8\u5EA6",type:"line",style:{"margin-bottom":"3px"}},{default:(0,e.withCtx)(()=>[(0,e.createElementVNode)("view",{class:"box-bg"},[(0,e.createElementVNode)("view",{class:"box-bg"},[(0,e.createVNode)(s,{height:"65px",dark:"",shadow:"","left-icon":"left",leftText:"\u8FD4\u56DE",rightText:"\u8BBE\u7F6E",title:"\u81EA\u5B9A\u4E49\u9AD8\u5EA6"})])])]),_:1}),(0,e.createVNode)(r,{title:"\u81EA\u5B9A\u4E49\u5185\u5BB9",subTitle:"\u4F7F\u7528 left/right/default \u63D2\u69FD\u81EA\u5B9A\u4E49\u5185\u5BB9",type:"line",style:{"margin-bottom":"3px"}},{default:(0,e.withCtx)(()=>[(0,e.createElementVNode)("view",{class:"box-bg"},[(0,e.createVNode)(s,null,{left:(0,e.withCtx)(()=>[(0,e.createElementVNode)("view",{class:"city"},[(0,e.createElementVNode)("view",null,[(0,e.createElementVNode)("u-text",{class:"uni-nav-bar-text"},(0,e.toDisplayString)(c.city),1)]),(0,e.createVNode)(w,{type:"arrowdown",color:"#666",size:"18"})])]),right:(0,e.withCtx)(()=>[(0,e.createElementVNode)("view",{class:"city"},[(0,e.createElementVNode)("u-text",null," \u641C\u7D22 ")])]),default:(0,e.withCtx)(()=>[(0,e.createElementVNode)("view",{class:"input-view"},[(0,e.createVNode)(w,{class:"input-uni-icon",type:"search",size:"18",color:"#999"}),(0,e.createElementVNode)("u-input",{confirmType:"search",class:"nav-bar-input",type:"text",placeholder:"\u8F93\u5165\u641C\u7D22\u5173\u952E\u8BCD",onConfirm:i[0]||(i[0]=(...B)=>l.confirm&&l.confirm(...B))},null,32)])]),_:1})])]),_:1})])])}var p=u(ie,[["render",oe],["styles",[ne]]]);var v=plus.webview.currentWebview();if(v){let n=parseInt(v.id),i="pages/extUI/nav-bar/nav-bar",t={};try{t=JSON.parse(v.__query__)}catch(c){}p.mpType="page";let d=Vue.createPageApp(p,{$store:getApp({allowDefault:!0}).$store,__pageId:n,__pagePath:i,__pageQuery:t});d.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...p.styles||[]])),d.mount("#root")}})();
