You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
1.6 KiB
1 lines
1.6 KiB
import{o as t,c as e,w as a,n as s,i as o,a as i,r}from"./index-ae8bbb19.js";import{P as n,d as p}from"./index.18ac7530.js";import{_ as l}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-icon.b463ad8a.js";import"./uni-app.es.ee1d5b08.js";import"./index.88bc1a11.js";import"./mp-html.c15e78a1.js";import"./myCoupon.f3c77da5.js";import"./index.0c0be40a.js";import"./index.002ef29d.js";import"./GoodsStatus.1f0790af.js";import"./u-tag.5476fd14.js";import"./color.813a9497.js";import"./ActiveStatus.281bae5f.js";const m=l({components:{Page:n},data:()=>({options:{},page:{},items:[]}),onLoad(t){this.options=t,this.getPageData()},methods:{getPageData(t){const e=this,a=e.options.pageId||0;p(a).then((t=>{const{data:{pageData:a}}=t;e.page=a.page,e.items=a.items,e.setPageBar()})).finally((()=>t&&t()))},setPageBar(){const{page:t}=this;uni.setNavigationBarTitle({title:t.params.title}),uni.setNavigationBarColor({frontColor:"white"===t.style.titleTextColor?"#ffffff":"#000000",backgroundColor:t.style.titleBackgroundColor})}},onPullDownRefresh(){this.getPageData((()=>{uni.stopPullDownRefresh()}))},onShareAppMessage(){const{page:t}=this;return{title:t.params.shareTitle,path:"/pages/index/index?"+this.$getShareUrlParams()}},onShareTimeline(){const{page:t}=this;return{title:t.params.shareTitle,path:"/pages/index/index?"+this.$getShareUrlParams()}}},[["render",function(n,p,l,m,g,d){const h=r("Page"),u=o;return t(),e(u,{class:"container",style:s(n.appThemeStyle)},{default:a((()=>[i(h,{items:g.items},null,8,["items"])])),_:1},8,["style"])}],["__scopeId","data-v-7dd9abf5"]]);export{m as default};
|
|
|