"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 x=Object.create;var v=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty;var z=(i,r)=>()=>(r||i((r={exports:{}}).exports,r),r.exports);var B=(i,r,t,c)=>{if(r&&typeof r=="object"||typeof r=="function")for(let d of k(r))!T.call(i,d)&&d!==t&&v(i,d,{get:()=>r[d],enumerable:!(c=S(r,d))||c.enumerable});return i};var p=(i,r,t)=>(t=i!=null?x(C(i)):{},B(r||!i||!i.__esModule?v(t,"default",{value:i,enumerable:!0}):t,i));var g=z((U,h)=>{h.exports=Vue});var a=p(g());var f=(i,r)=>{let t=i.__vccOpts||i;for(let[c,d]of r)t[c]=d;return t};var R={"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}}},L={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(i){this.$emit("click",i)}}};function D(i,r,t,c,d,l){return(0,a.openBlock)(),(0,a.createElementBlock)("view",{class:(0,a.normalizeClass)(["uni-card",{"uni-card--full":t.isFull,"uni-card--shadow":t.isShadow,"uni-card--border":t.border}]),style:(0,a.normalizeStyle)({margin:t.isFull?0:t.margin,padding:t.spacing,"box-shadow":t.isShadow?t.shadow:""}),renderWhole:!0},[(0,a.renderSlot)(i.$slots,"cover",{},()=>[t.cover?((0,a.openBlock)(),(0,a.createElementBlock)("view",{key:0,class:"uni-card__cover"},[(0,a.createElementVNode)("u-image",{class:"uni-card__cover-image",mode:"widthFix",onClick:r[0]||(r[0]=s=>l.onClick("cover")),src:t.cover},null,8,["src"])])):(0,a.createCommentVNode)("",!0)]),(0,a.renderSlot)(i.$slots,"title",{},()=>[t.title||t.extra?((0,a.openBlock)(),(0,a.createElementBlock)("view",{key:0,class:"uni-card__header"},[(0,a.createElementVNode)("view",{class:"uni-card__header-box",onClick:r[1]||(r[1]=s=>l.onClick("title"))},[t.thumbnail?((0,a.openBlock)(),(0,a.createElementBlock)("view",{key:0,class:"uni-card__header-avatar"},[(0,a.createElementVNode)("u-image",{class:"uni-card__header-avatar-image",src:t.thumbnail,mode:"aspectFit"},null,8,["src"])])):(0,a.createCommentVNode)("",!0),(0,a.createElementVNode)("view",{class:"uni-card__header-content"},[(0,a.createElementVNode)("u-text",{class:"uni-card__header-content-title uni-ellipsis"},(0,a.toDisplayString)(t.title),1),t.title&&t.subTitle?((0,a.openBlock)(),(0,a.createElementBlock)("u-text",{key:0,class:"uni-card__header-content-subtitle uni-ellipsis"},(0,a.toDisplayString)(t.subTitle),1)):(0,a.createCommentVNode)("",!0)])]),(0,a.createElementVNode)("view",{class:"uni-card__header-extra",onClick:r[2]||(r[2]=s=>l.onClick("extra"))},[(0,a.createElementVNode)("u-text",{class:"uni-card__header-extra-text"},(0,a.toDisplayString)(t.extra),1)])])):(0,a.createCommentVNode)("",!0)]),(0,a.createElementVNode)("view",{class:"uni-card__content",style:(0,a.normalizeStyle)({padding:t.padding}),onClick:r[3]||(r[3]=s=>l.onClick("content"))},[(0,a.renderSlot)(i.$slots,"default")],4),(0,a.createElementVNode)("view",{class:"uni-card__actions",onClick:r[4]||(r[4]=s=>l.onClick("actions"))},[(0,a.renderSlot)(i.$slots,"actions")])],6)}var w=f(L,[["render",D],["styles",[R]]]);var e=p(g());var G=p(g());function _(i,r){return typeof i=="string"?r:i}var n=p(g());var E={"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}}},F={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(i){uni.report&&i!==""&&uni.report("title",i)}},methods:{onClick(){this.$emit("click")}}};function I(i,r,t,c,d,l){return(0,n.openBlock)(),(0,n.createElementBlock)("view",{class:"uni-section",renderWhole:!0},[(0,n.createElementVNode)("view",{class:"uni-section-header",onClick:r[0]||(r[0]=(...s)=>l.onClick&&l.onClick(...s))},[t.type?((0,n.openBlock)(),(0,n.createElementBlock)("view",{key:0,class:(0,n.normalizeClass)(["uni-section-header__decoration",t.type])},null,2)):(0,n.renderSlot)(i.$slots,"decoration",{key:1}),(0,n.createElementVNode)("view",{class:"uni-section-header__content"},[(0,n.createElementVNode)("u-text",{style:(0,n.normalizeStyle)({"font-size":t.titleFontSize,color:t.titleColor}),class:(0,n.normalizeClass)(["uni-section__content-title",{distraction:!t.subTitle}])},(0,n.toDisplayString)(t.title),7),t.subTitle?((0,n.openBlock)(),(0,n.createElementBlock)("u-text",{key:0,style:(0,n.normalizeStyle)({"font-size":t.subTitleFontSize,color:t.subTitleColor}),class:"uni-section-header__content-sub"},(0,n.toDisplayString)(t.subTitle),5)):(0,n.createCommentVNode)("",!0)]),(0,n.createElementVNode)("view",{class:"uni-section-header__slot-right"},[(0,n.renderSlot)(i.$slots,"right")])]),(0,n.createElementVNode)("view",{class:"uni-section-content",style:(0,n.normalizeStyle)({padding:l._padding})},[(0,n.renderSlot)(i.$slots,"default")],4)])}var b=f(F,[["render",I],["styles",[E]]]);var N={"uni-tag":{"":{lineHeight:14,fontSize:12,fontWeight:"200",paddingTop:4,paddingRight:7,paddingBottom:4,paddingLeft:7,color:"#ffffff",borderRadius:3,backgroundColor:"#8f939c",borderWidth:"1rpx",borderStyle:"solid",borderColor:"#8f939c"}},"uni-tag--default":{"":{fontSize:12}},"uni-tag--default--inverted":{"":{color:"#8f939c",borderColor:"#8f939c"}},"uni-tag--small":{"":{paddingTop:2,paddingRight:5,paddingBottom:2,paddingLeft:5,fontSize:12,borderRadius:2}},"uni-tag--mini":{"":{paddingTop:1,paddingRight:3,paddingBottom:1,paddingLeft:3,fontSize:12,borderRadius:2}},"uni-tag--primary":{"":{backgroundColor:"#2979ff",borderColor:"#2979ff",color:"#ffffff"}},"uni-tag--success":{"":{color:"#ffffff",backgroundColor:"#18bc37",borderColor:"#18bc37"}},"uni-tag--warning":{"":{color:"#ffffff",backgroundColor:"#f3a73f",borderColor:"#f3a73f"}},"uni-tag--error":{"":{color:"#ffffff",backgroundColor:"#e43d33",borderColor:"#e43d33"}},"uni-tag--primary--inverted":{"":{color:"#2979ff",borderColor:"#2979ff"}},"uni-tag--success--inverted":{"":{color:"#18bc37",borderColor:"#18bc37"}},"uni-tag--warning--inverted":{"":{color:"#f3a73f",borderColor:"#f3a73f"}},"uni-tag--error--inverted":{"":{color:"#e43d33",borderColor:"#e43d33"}},"uni-tag--inverted":{"":{backgroundColor:"#ffffff"}},"uni-tag--circle":{"":{"!borderRadius":15}},"uni-tag--mark":{"":{"!borderTopLeftRadius":0,"!borderBottomLeftRadius":0,"!borderTopRightRadius":15,"!borderBottomRightRadius":15}},"uni-tag--disabled":{"":{opacity:.5}},"uni-tag-text":{"":{color:"#ffffff",fontSize:14}},"uni-tag-text--primary":{"":{color:"#2979ff"}},"uni-tag-text--success":{"":{color:"#18bc37"}},"uni-tag-text--warning":{"":{color:"#f3a73f"}},"uni-tag-text--error":{"":{color:"#e43d33"}},"uni-tag-text--small":{"":{fontSize:12}}},V={name:"UniTag",emits:["click"],props:{type:{type:String,default:"default"},size:{type:String,default:"normal"},text:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},inverted:{type:[Boolean,String],default:!1},circle:{type:[Boolean,String],default:!1},mark:{type:[Boolean,String],default:!1},customStyle:{type:String,default:""}},computed:{classes(){let{type:i,disabled:r,inverted:t,circle:c,mark:d,size:l,isTrue:s}=this;return["uni-tag--"+i,"uni-tag--"+l,s(r)?"uni-tag--disabled":"",s(t)?"uni-tag--"+i+"--inverted":"",s(c)?"uni-tag--circle":"",s(d)?"uni-tag--mark":"",s(t)?"uni-tag--inverted uni-tag-text--"+i:"",l==="small"?"uni-tag-text--small":""].join(" ")}},methods:{isTrue(i){return i===!0||i==="true"},onClick(){this.isTrue(this.disabled)||this.$emit("click")}}};function W(i,r,t,c,d,l){return t.text?((0,e.openBlock)(),(0,e.createElementBlock)("u-text",{key:0,class:(0,e.normalizeClass)(["uni-tag",l.classes]),style:(0,e.normalizeStyle)(t.customStyle),onClick:r[0]||(r[0]=(...s)=>l.onClick&&l.onClick(...s))},(0,e.toDisplayString)(t.text),7)):(0,e.createCommentVNode)("",!0)}var H=f(V,[["render",W],["styles",[N]]]),A={"example-body":{"":{flexDirection:"row",justifyContent:"flex-start",alignItems:"flex-end",flexWrap:"wrap"}},"tag-view":{"":{marginRight:10}}},q={components:{},data(){return{type:"default",inverted:!1}},methods:{setType(){let i=["default","primary","success","warning","error"],r=i.indexOf(this.type);i.splice(r,1);let t=Math.floor(Math.random()*4);this.type=i[t]},setInverted(){this.inverted=!this.inverted}}};function M(i,r,t,c,d,l){let s=_((0,e.resolveDynamicComponent)("uni-card"),w),o=_((0,e.resolveDynamicComponent)("uni-tag"),H),u=_((0,e.resolveDynamicComponent)("uni-section"),b);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,{"is-full":""},{default:(0,e.withCtx)(()=>[(0,e.createElementVNode)("u-text",{class:"uni-h6"},"\u6807\u7B7E\u7EC4\u4EF6\u591A\u7528\u4E8E\u5546\u54C1\u5206\u7C7B\u3001\u91CD\u70B9\u5185\u5BB9\u663E\u793A\u7B49\u573A\u666F\u3002")]),_:1}),(0,e.createVNode)(u,{title:"\u5B9E\u5FC3\u6807\u7B7E",type:"line",padding:""},{default:(0,e.withCtx)(()=>[(0,e.createElementVNode)("view",{class:"example-body"},[(0,e.createElementVNode)("view",{class:"tag-view"},[(0,e.createVNode)(o,{text:"\u6807\u7B7E",type:"primary"})]),(0,e.createElementVNode)("view",{class:"tag-view"},[(0,e.createVNode)(o,{text:"\u6807\u7B7E",type:"success"})]),(0,e.createElementVNode)("view",{class:"tag-view"},[(0,e.createVNode)(o,{text:"\u6807\u7B7E",type:"warning"})]),(0,e.createElementVNode)("view",{class:"tag-view"},[(0,e.createVNode)(o,{text:"\u6807\u7B7E",type:"error"})]),(0,e.createElementVNode)("view",{class:"tag-view"},[(0,e.createVNode)(o,{text:"\u6807\u7B7E"})])])]),_:1}),(0,e.createVNode)(u,{title:"\u7A7A\u5FC3\u6807\u7B7E",subTitle:"\u4F7F\u7528 inverted \u5C5E\u6027\u663E\u793A\u7A7A\u5FC3\u8868\u7B7E",type:"line",padding:""},{default:(0,e.withCtx)(()=>[(0,e.createElementVNode)("view",{class:"example-body"},[(0,e.createElementVNode)("view",{class:"tag-view"},[(0,e.createVNode)(o,{inverted:!0,text:"\u6807\u7B7E",type:"primary"})]),(0,e.createElementVNode)("view",{class:"tag-view"},[(0,e.createVNode)(o,{inverted:!0,text:"\u6807\u7B7E",type:"success"})]),(0,e.createElementVNode)("view",{class:"tag-view"},[(0,e.createVNode)(o,{inverted:!0,text:"\u6807\u7B7E",type:"warning"})]),(0,e.createElementVNode)("view",{class:"tag-view"},[(0,e.createVNode)(o,{inverted:!0,text:"\u6807\u7B7E",type:"error"})]),(0,e.createElementVNode)("view",{class:"tag-view"},[(0,e.createVNode)(o,{inverted:!0,text:"\u6807\u7B7E"})])])]),_:1}),(0,e.createVNode)(u,{title:"\u6807\u7B7E\u5C3A\u5BF8",subTitle:"\u4F7F\u7528 size \u5C5E\u6027\u63A7\u5236\u6807\u7B7E\u5927\u5C0F",type:"line",padding:""},{default:(0,e.withCtx)(()=>[(0,e.createElementVNode)("view",{class:"example-body"},[(0,e.createElementVNode)("view",{class:"tag-view"},[(0,e.createVNode)(o,{text:"\u6807\u7B7E",type:"primary",size:"normal"})]),(0,e.createElementVNode)("view",{class:"tag-view"},[(0,e.createVNode)(o,{text:"\u6807\u7B7E",type:"primary",size:"small"})]),(0,e.createElementVNode)("view",{class:"tag-view"},[(0,e.createVNode)(o,{text:"\u6807\u7B7E",type:"primary",size:"mini"})])])]),_:1}),(0,e.createVNode)(u,{title:"\u5706\u89D2\u6837\u5F0F",subTitle:"\u4F7F\u7528 circle \u5C5E\u6027\u63A7\u5236\u6807\u7B7E\u5706\u89D2",type:"line",padding:""},{default:(0,e.withCtx)(()=>[(0,e.createElementVNode)("view",{class:"example-body"},[(0,e.createElementVNode)("view",{class:"tag-view"},[(0,e.createVNode)(o,{circle:!0,text:"\u6807\u7B7E",type:"primary"})]),(0,e.createElementVNode)("view",{class:"tag-view"},[(0,e.createVNode)(o,{circle:!0,text:"\u6807\u7B7E",type:"primary",size:"small"})]),(0,e.createElementVNode)("view",{class:"tag-view"},[(0,e.createVNode)(o,{circle:!0,text:"\u6807\u7B7E",type:"primary",size:"mini"})])])]),_:1}),(0,e.createVNode)(u,{title:"\u6807\u8BB0\u6837\u5F0F",subTitle:"\u4F7F\u7528 mark \u5C5E\u6027\u663E\u793A\u6807\u8BB0\u6837\u5F0F",type:"line",padding:""},{default:(0,e.withCtx)(()=>[(0,e.createElementVNode)("view",{class:"example-body"},[(0,e.createElementVNode)("view",{class:"tag-view"},[(0,e.createVNode)(o,{mark:!0,text:"\u6807\u7B7E",type:"primary",size:"default"})]),(0,e.createElementVNode)("view",{class:"tag-view"},[(0,e.createVNode)(o,{mark:!0,text:"\u6807\u7B7E",type:"primary",size:"small"})]),(0,e.createElementVNode)("view",{class:"tag-view"},[(0,e.createVNode)(o,{mark:!0,text:"\u6807\u7B7E",type:"primary",size:"mini"})])])]),_:1}),(0,e.createVNode)(u,{title:"\u4E0D\u53EF\u70B9\u51FB\u72B6\u6001",subTitle:"\u4F7F\u7528 disabled \u5C5E\u6027 \u663E\u793A\u7981\u7528\u6837\u5F0F",type:"line",padding:""},{default:(0,e.withCtx)(()=>[(0,e.createElementVNode)("view",{class:"example-body"},[(0,e.createElementVNode)("view",{class:"tag-view"},[(0,e.createVNode)(o,{disabled:"",text:"\u6807\u7B7E",type:"primary"})])])]),_:1}),(0,e.createVNode)(u,{title:"\u81EA\u5B9A\u4E49\u6837\u5F0F",subTitle:"\u4F7F\u7528 custom-style \u5C5E\u6027\u81EA\u5B9A\u4E49\u6837\u5F0F",type:"line",padding:""},{default:(0,e.withCtx)(()=>[(0,e.createElementVNode)("view",{class:"example-body"},[(0,e.createElementVNode)("view",{class:"tag-view"},[(0,e.createVNode)(o,{text:"\u81EA\u5B9A\u4E49\u6807\u7B7E\u6837\u5F0F","custom-style":"background-color: #4335d6; border-color: #4335d6; color: #fff;"})])])]),_:1}),(0,e.createVNode)(u,{title:"\u70B9\u51FB\u4E8B\u4EF6",type:"line",padding:""},{default:(0,e.withCtx)(()=>[(0,e.createElementVNode)("view",{class:"example-body"},[(0,e.createElementVNode)("view",{class:"tag-view"},[(0,e.createVNode)(o,{type:d.type,text:"\u6807\u7B7E",onClick:l.setType},null,8,["type","onClick"])]),(0,e.createElementVNode)("view",{class:"tag-view"},[(0,e.createVNode)(o,{circle:!0,inverted:d.inverted,text:"\u6807\u7B7E",type:"primary",onClick:l.setInverted},null,8,["inverted","onClick"])])])]),_:1})])])}var m=f(q,[["render",M],["styles",[A]]]);var y=plus.webview.currentWebview();if(y){let i=parseInt(y.id),r="pages/extUI/tag/tag",t={};try{t=JSON.parse(y.__query__)}catch(d){}m.mpType="page";let c=Vue.createPageApp(m,{$store:getApp({allowDefault:!0}).$store,__pageId:i,__pagePath:r,__pageQuery:t});c.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...m.styles||[]])),c.mount("#root")}})();
