"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 L=Object.create;var h=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var W=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty;var S=(n,i)=>()=>(i||n((i={exports:{}}).exports,i),i.exports);var B=(n,i,t,r)=>{if(i&&typeof i=="object"||typeof i=="function")for(let a of k(i))!C.call(n,a)&&a!==t&&h(n,a,{get:()=>i[a],enumerable:!(r=w(i,a))||r.enumerable});return n};var d=(n,i,t)=>(t=n!=null?L(W(n)):{},B(i||!n||!n.__esModule?h(t,"default",{value:n,enumerable:!0}):t,n));var c=S((z,_)=>{_.exports=Vue});var s=d(c());var p=(n,i)=>{let t=n.__vccOpts||n;for(let[r,a]of i)t[r]=a;return t};var T={name:"u-link",props:{href:{type:String,default:""},text:{type:String,default:""},inWhiteList:{type:Boolean,default:!1}},methods:{openURL(){plus.runtime.openURL(this.href)}}};function D(n,i,t,r,a,u){return(0,s.openBlock)(),(0,s.createElementBlock)("u-text",{style:{"text-decoration":"underline"},href:t.href,onClick:i[0]||(i[0]=(...g)=>u.openURL&&u.openURL(...g)),inWhiteList:t.inWhiteList},(0,s.toDisplayString)(t.text),9,["href","inWhiteList"])}var v=p(T,[["render",D]]);var e=d(c());var U=d(c());function x(n,i){return typeof n=="string"?i:n}var A="/static/templateIndex.png",N={"uni-icon":{"":{fontFamily:"uniicons",fontWeight:"normal"}},"uni-container":{"":{paddingTop:15,paddingRight:15,paddingBottom:15,paddingLeft:15,backgroundColor:"#f8f8f8"}},"uni-header-logo":{"":{paddingTop:15,paddingRight:15,paddingBottom:15,paddingLeft:15,flexDirection:"column",justifyContent:"center",alignItems:"center",marginTop:"10rpx"}},"uni-header-image":{"":{width:80,height:80}},"uni-hello-text":{"":{marginBottom:20}},"hello-text":{"":{color:"#7A7E83",fontSize:14,lineHeight:20}},"hello-link":{"":{color:"#7A7E83",fontSize:14,lineHeight:20}},"uni-panel":{"":{marginBottom:12}},"uni-panel-h":{"":{backgroundColor:"#ffffff","!flexDirection":"row","!alignItems":"center",paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12}},"uni-panel-h-on":{"":{backgroundColor:"#f0f0f0"}},"uni-panel-text":{"":{flex:1,color:"#000000",fontSize:14,fontWeight:"normal"}},"uni-panel-icon":{"":{marginLeft:15,color:"#999999",fontSize:14,fontWeight:"normal",transform:"rotate(0deg)",transitionDuration:0,transitionProperty:"transform"}},"uni-panel-icon-on":{"":{transform:"rotate(180deg)"}},"uni-navigate-item":{"":{flexDirection:"row",alignItems:"center",backgroundColor:"#FFFFFF",borderTopStyle:"solid",borderTopColor:"#f0f0f0",borderTopWidth:1,paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,"backgroundColor:active":"#f8f8f8"}},"uni-navigate-text":{"":{flex:1,color:"#000000",fontSize:14,fontWeight:"normal"}},"uni-navigate-icon":{"":{marginLeft:15,color:"#999999",fontSize:14,fontWeight:"normal"}},"@TRANSITION":{"uni-panel-icon":{duration:0,property:"transform"}}},I={props:{hasLeftWin:{type:Boolean},leftWinActive:{type:String}},data(){return{hideList:["ucharts","nav-city-dropdown"],list:[{id:"navbar",name:"\u9876\u90E8\u539F\u751F\u5BFC\u822A\u6807\u9898\u680F",open:!1,pages:[{name:"\u5BFC\u822A\u680F\u5E26\u81EA\u5B9A\u4E49\u6309\u94AE",url:"nav-button"},{name:"\u5BFC\u822A\u680F\u5E26\u7EA2\u70B9\u548C\u89D2\u6807",url:"nav-dot"},{name:"\u5BFC\u822A\u680F\u5E26\u57CE\u5E02\u9009\u62E9",url:"nav-city-dropdown"},{name:"\u5BFC\u822A\u680F\u5E26\u641C\u7D22\u6846",url:"nav-search-input"},{name:"\u900F\u660E\u6E10\u53D8\u6837\u5F0F",url:"nav-transparent"},{name:"\u5BFC\u822A\u680F\u5E26\u56FE\u7247",url:"nav-image"}]},{name:"\u9876\u90E8\u9009\u9879\u5361",url:"tabbar"},{name:"\u7EC4\u4EF6\u901A\u8BAF",url:"component-communication"},{name:"\u5217\u8868\u5230\u8BE6\u60C5\u793A\u4F8B",url:"list2detail-list"},{name:"swiper-list",url:"swiper-list-nvue"},{name:"GlobalData\u548Cvuex",url:"global"},{name:"vuex-nvue",url:"vuex-nvue"},{name:"vuex-vue",url:"vuex-vue"},{name:"pinia",url:"pinia"},{name:"renderjs",url:"renderjs"},{name:"\u95EE\u9898\u53CD\u9988",url:"/platforms/app-plus/feedback/feedback"},{name:"\u6253\u5F00\u5916\u90E8\u5E94\u7528",url:"scheme"}]}},onShareAppMessage(){return{title:"\u6B22\u8FCE\u4F53\u9A8Cuni-app",path:"/pages/tabBar/template/template"}},onNavigationBarButtonTap(n){uni.navigateTo({url:"/pages/about/about"})},methods:{triggerCollapse(n,i){if(!this.list[n].pages){this.goDetailPage(this.list[n].url);return}for(var t=0;t<this.list.length;++t)n===t?this.list[t].open=!this.list[t].open:this.list[t].open=!1},goDetailPage(n){let i=n.url?n.url:n,t=~i.indexOf("platform")?i:"/pages/template/"+i+"/"+i;return this.hasLeftWin?uni.reLaunch({url:t}):uni.navigateTo({url:t}),!1}}};function R(n,i,t,r,a,u){let g=x((0,e.resolveDynamicComponent)("u-link"),v);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:"uni-container"},[t.hasLeftWin?(0,e.createCommentVNode)("",!0):((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:0,class:"uni-header-logo"},[(0,e.createElementVNode)("u-image",{class:"uni-header-image",src:A})])),t.hasLeftWin?(0,e.createCommentVNode)("",!0):((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:1,class:"uni-hello-text"},[(0,e.createElementVNode)("u-text",{class:"hello-text"},"\u4EE5\u4E0B\u662F\u90E8\u5206\u6A21\u677F\u793A\u4F8B\uFF0C\u66F4\u591A\u6A21\u677F\u89C1\u63D2\u4EF6\u5E02\u573A\uFF1A"),(0,e.createVNode)(g,{class:"hello-link",href:"https://ext.dcloud.net.cn",text:"https://ext.dcloud.net.cn",inWhiteList:!0},null,8,["text"])])),((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(a.list,(o,y)=>((0,e.openBlock)(),(0,e.createElementBlock)("view",{class:(0,e.normalizeClass)([{"pc-hide":a.hideList.indexOf(o.url)!==-1&&t.hasLeftWin},"uni-panel"]),key:o.id},[(0,e.createElementVNode)("view",{class:(0,e.normalizeClass)([{"left-win-active":t.leftWinActive===o.url&&t.hasLeftWin,"uni-panel-h-on":o.open},"uni-panel-h"]),onClick:l=>u.triggerCollapse(y,o.id)},[(0,e.createElementVNode)("u-text",{class:"uni-panel-text"},(0,e.toDisplayString)(o.name),1),(0,e.createElementVNode)("u-text",{class:(0,e.normalizeClass)(["uni-panel-icon uni-icon",o.open?"uni-panel-icon-on":""])},(0,e.toDisplayString)(o.pages?"\uE581":"\uE470"),3)],10,["onClick"]),o.open?((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:0,class:"uni-panel-c"},[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(o.pages,(l,b)=>((0,e.openBlock)(),(0,e.createElementBlock)("view",{class:(0,e.normalizeClass)([{"left-win-active":t.leftWinActive===l.url&&t.hasLeftWin,"pc-hide":a.hideList.indexOf(l.url)!==-1&&t.hasLeftWin},"uni-navigate-item"]),key:b,onClick:F=>u.goDetailPage(l)},[(0,e.createElementVNode)("u-text",{class:"uni-navigate-text"},(0,e.toDisplayString)(l.name?l.name:l),1),(0,e.createElementVNode)("u-text",{class:"uni-navigate-icon uni-icon"},"\uE470")],10,["onClick"]))),128))])):(0,e.createCommentVNode)("",!0)],2))),128))])])}var f=p(I,[["render",R],["styles",[N]]]);var m=plus.webview.currentWebview();if(m){let n=parseInt(m.id),i="pages/tabBar/template/template",t={};try{t=JSON.parse(m.__query__)}catch(a){}f.mpType="page";let r=Vue.createPageApp(f,{$store:getApp({allowDefault:!0}).$store,__pageId:n,__pagePath:i,__pageQuery:t});r.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...f.styles||[]])),r.mount("#root")}})();
