1 |
- import{_ as e}from"./u-loading-page.6e8b6450.js";import{d as a,r as o,a as t,c as s,w as l,b as n,e as r,f as p,v as u,g as i,n as d,k as f,h as _,i as m,j as g}from"./index-65a0752a.js";import{u as c,d as j,f as h}from"./index.7f5ed1ea.js";import{_ as y}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-loading-icon.8860be91.js";import"./u-transition.4a1deb0f.js";import"./u-icon.086befcc.js";import"./u-avatar.0b633ead.js";import"./u-popup.861e9cb5.js";import"./u-popup.vue_vue_type_style_index_0_scoped_ca966c1e_lang.345278f5.js";import"./u-safe-bottom.ed5ce7c3.js";/* empty css */import"./u-parse.2a5ce958.js";import"./tabbar.2bf8dc03.js";import"./manifest.b04774ad.js";const v=y(a({__name:"index",setup(a){const{setShare:y,onShareAppMessage:v,onShareTimeline:x}=f(),w=c({name:"DIY_SITE_INDEX"}),D=o(null);return y(),v(),x(),w.onLoad(),w.onShow((e=>{var a;null==(a=D.value)||a.refresh()})),w.onHide(),w.onPullDownRefresh(),w.onPageScroll(),(a,o)=>{const f=_(m("u-loading-page"),e),c=g;return t(),s(c,{style:d(a.themeColor())},{default:l((()=>[n(f,{loading:r(w).getLoading(),loadingText:"","bg-color":"#f7f7f7"},null,8,["loading"]),p(n(c,null,{default:l((()=>[i(" 自定义模板渲染 "),"fixed"!=r(w).data.pageMode?(t(),s(c,{key:0,class:"diy-template-wrap bg-index",style:d(r(w).pageStyle())},{default:l((()=>[n(j,{ref_key:"diyGroupRef",ref:D,data:r(w).data,pullDownRefreshCount:r(w).pullDownRefreshCount},null,8,["data","pullDownRefreshCount"])])),_:1},8,["style"])):i("v-if",!0),i(" 固定模板渲染 "),"fixed"==r(w).data.pageMode?(t(),s(c,{key:1,class:"fixed-template-wrap"},{default:l((()=>[n(h,{data:r(w).data,pullDownRefreshCount:r(w).pullDownRefreshCount},null,8,["data","pullDownRefreshCount"])])),_:1})):i("v-if",!0)])),_:1},512),[[u,!r(w).getLoading()]])])),_:1},8,["style"])}}}),[["__scopeId","data-v-c8724a01"]]);export{v as default};
|