优化页面

This commit is contained in:
pengxiaolong
2025-06-10 23:06:51 +08:00
parent 8c70c2c850
commit 3c2d7e5959
974 changed files with 353 additions and 87597 deletions

View File

@@ -1 +1 @@
"use strict";const o=require("../../common/vendor.js"),e=require("../../components/request.js"),t=require("../../components/formatDate.js"),n=require("../../components/TimeFormatting.js"),r=require("../../common/assets.js"),a={data:()=>({userinfo:{},pkInformationdata:[],myPkRecorddata:[]}),onShow(){o.index.getStorage({key:"userinfo",success:o=>{this.userinfo=o.data,console.log(this.userinfo),this.getpkInformation(),this.getmyPkRecord()}})},methods:{formatDate:t.formatDate,TimeFormatting:n.TimeFormatting,getpkInformation(){e.request({url:"user/queryMyAllPkData",method:"POST",data:{userId:this.userinfo.id,page:0,size:4},userInfo:!0}).then((o=>{200==o.code?(this.pkInformationdata=o.data,console.log(this.pkInformationdata)):console.log(o.msg)}))},getmyPkRecord(){e.request({url:"user/handlePkInfo",method:"POST",data:{type:1,userId:this.userinfo.id,page:0,size:4},userInfo:!1}).then((o=>{200==o.code?(this.myPkRecorddata=o.data,console.log(this.myPkRecorddata)):console.log(o.msg)}))},pkInformation(){o.index.navigateTo({url:"/pages/Mine/minecomponents/pkInformation"})},pkRecord(){o.index.navigateTo({url:"/pages/Mine/minecomponents/pkRecord"})},contact(){o.index.navigateTo({url:"/pages/Mine/minecomponents/contact"})},goSetting(){o.index.navigateTo({url:"/pages/Setting/Setting"})},serviceProtocol(){o.index.navigateTo({url:"/pages/Mine/minecomponents/serviceProtocol"})},logout(){o.index.clearStorage(),o.A.logout,o.index.reLaunch({url:"/pages/login/login"})}},components:{tabBar:()=>"../../components/tabBar/tabBar.js"}};if(!Array){o.resolveComponent("tabBar")()}Math;const i=o._export_sfc(a,[["render",function(e,t,n,a,i,s){return{a:r._imports_0$1,b:i.userinfo.headerIcon,c:o.t(i.userinfo.nickName),d:r._imports_1$1,e:o.o$1(((...o)=>s.goSetting&&s.goSetting(...o))),f:r._imports_2$1,g:o.o$1(((...o)=>s.pkInformation&&s.pkInformation(...o))),h:o.f(i.pkInformationdata,((e,t,n)=>({a:e.anchorIcon,b:o.t(s.formatDate(e.pkTime)),c:o.t(e.coin),d:t}))),i:r._imports_2$1,j:o.o$1(((...o)=>s.pkRecord&&s.pkRecord(...o))),k:o.f(i.myPkRecorddata,((e,t,n)=>o.e({a:e.anchorIconA,b:e.winnerAnchorId!==e.anchorIdA},(e.winnerAnchorId!==e.anchorIdA||(e.winnerAnchorId,e.anchorIdA),{}),{c:e.winnerAnchorId===e.anchorIdA,d:o.t(e.pkNumber),e:o.t(s.TimeFormatting(e.pkTime)),f:t}))),l:r._imports_3$1,m:o.o$1(((...o)=>s.contact&&s.contact(...o))),n:r._imports_4,o:o.o$1(((...o)=>s.serviceProtocol&&s.serviceProtocol(...o))),p:r._imports_5,q:o.o$1(((...o)=>s.logout&&s.logout(...o)))}}],["__scopeId","data-v-ff5e0741"]]);wx.createPage(i);
"use strict";const o=require("../../common/vendor.js"),e=require("../../components/request.js"),t=require("../../components/formatDate.js"),n=require("../../components/TimeFormatting.js"),a={data:()=>({userinfo:{},pkInformationdata:[],myPkRecorddata:[]}),onShow(){o.index.getStorage({key:"userinfo",success:o=>{this.userinfo=o.data,console.log(this.userinfo),this.getpkInformation(),this.getmyPkRecord()}})},methods:{formatDate:t.formatDate,TimeFormatting:n.TimeFormatting,getpkInformation(){e.request({url:"user/queryMyAllPkData",method:"POST",data:{userId:this.userinfo.id,page:0,size:4},userInfo:!0}).then((o=>{200==o.code?(this.pkInformationdata=o.data,console.log(this.pkInformationdata)):console.log(o.msg)}))},getmyPkRecord(){e.request({url:"user/handlePkInfo",method:"POST",data:{type:1,userId:this.userinfo.id,page:0,size:4},userInfo:!1}).then((o=>{200==o.code?(this.myPkRecorddata=o.data,console.log(this.myPkRecorddata)):console.log(o.msg)}))},pkInformation(){o.index.navigateTo({url:"/pages/Mine/minecomponents/pkInformation"})},pkRecord(){o.index.navigateTo({url:"/pages/Mine/minecomponents/pkRecord"})},contact(){o.index.navigateTo({url:"/pages/Mine/minecomponents/contact"})},goSetting(){o.index.navigateTo({url:"/pages/Setting/Setting"})},serviceProtocol(){o.index.navigateTo({url:"/pages/Mine/minecomponents/serviceProtocol"})},logout(){o.index.clearStorage(),o.A.logout,o.index.reLaunch({url:"/pages/login/login"})}},components:{tabBar:()=>"../../components/tabBar/tabBar.js"}};if(!Array){o.resolveComponent("tabBar")()}Math;const r=o._export_sfc(a,[["render",function(e,t,n,a,r,i){return o.e({a:r.userinfo.headerIcon,b:o.t(r.userinfo.nickName),c:o.o$1(((...o)=>i.goSetting&&i.goSetting(...o))),d:o.o$1(((...o)=>i.pkInformation&&i.pkInformation(...o))),e:0!==r.pkInformationdata.length},0!==r.pkInformationdata.length?{f:o.f(r.pkInformationdata,((e,t,n)=>({a:e.anchorIcon,b:o.t(i.formatDate(e.pkTime)),c:o.t(e.coin),d:t})))}:{},{g:0===r.pkInformationdata.length},(r.pkInformationdata.length,{}),{h:o.o$1(((...o)=>i.pkRecord&&i.pkRecord(...o))),i:0!==r.myPkRecorddata.length},0!==r.myPkRecorddata.length?{j:o.f(r.myPkRecorddata,((e,t,n)=>o.e({a:e.anchorIconA,b:e.winnerAnchorId!==e.anchorIdA},(e.winnerAnchorId!==e.anchorIdA||(e.winnerAnchorId,e.anchorIdA),{}),{c:e.winnerAnchorId===e.anchorIdA,d:o.t(e.pkNumber),e:o.t(i.TimeFormatting(e.pkTime)),f:t})))}:{},{k:0===r.myPkRecorddata.length},(r.myPkRecorddata.length,{}),{l:o.o$1(((...o)=>i.contact&&i.contact(...o))),m:o.o$1(((...o)=>i.serviceProtocol&&i.serviceProtocol(...o))),n:o.o$1(((...o)=>i.logout&&i.logout(...o)))})}],["__scopeId","data-v-d3016b18"]]);wx.createPage(r);