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.
2 lines
1.6 KiB
2 lines
1.6 KiB
11 months ago
|
import{o as t,c as e,w as a,n as s,i as o,a as i,r}from"./index-4ddb689d.js";import{P as n,d as p}from"./index.92be63a9.js";import{_ as l}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-icon.e981d1c2.js";import"./uni-app.es.24af5d4f.js";import"./index.cdfc996d.js";import"./mp-html.2b6407c3.js";import"./myCoupon.49a23600.js";import"./index.1169d7d7.js";import"./index.994d85b2.js";import"./GoodsStatus.54b07d63.js";import"./u-tag.99b09b77.js";import"./color.813a9497.js";import"./ActiveStatus.2bcdf502.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};
|