first commit

This commit is contained in:
PC-202306242200\Administrator
2026-03-28 23:09:02 +08:00
commit dac42e3b0c
3512 changed files with 181637 additions and 0 deletions

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),t=require("../../api/api.js");if(!Array){(e.resolveComponent("mp-html")+e.resolveComponent("up-button"))()}Math||((()=>"../../uni_modules/mp-html/components/mp-html/mp-html.js")+(()=>"../../uni_modules/uview-plus/components/u-button/u-button.js"))();const n={__name:"detail813",setup(n){let r=e.ref({}),o=e.ref("");e.onLoad((async e=>{var n;o.value=e.type,n=2==e.type?await t.activityUserInfo({id:e.id}):await t.activityInfo({id:e.id}),r.value=n}));const a=e=>{const t=new Date;let n=t.getFullYear(),r=t.getMonth()+1,o=t.getDate();return"start"===e?n-=60:"end"===e&&(n+=2),r=r>9?r:"0"+r,o=o>9?o:"0"+o,`${n}-${r}-${o}`},u=e=>{l.value=e.detail.value};let i=e.computed((()=>a("start"))),s=e.computed((()=>a("end")));const c=a({format:!0});let l=e.ref(c),d=()=>{t.activityUserConfirm({id:r.value.id,orderDate:l.value}).then((t=>{e.index.showToast({title:"认领成功",icon:"none"})}))};return(t,n)=>e.e({a:e.p({content:e.unref(r).detail}),b:2==e.unref(o)},2==e.unref(o)?{c:e.t(e.unref(r).deviceId),d:e.t(e.unref(r).createTime)}:{},{e:2!=e.unref(o)},2!=e.unref(o)?e.e({f:!t.ac},t.ac?{}:{g:e.t(e.unref(l)),h:e.unref(i),i:e.unref(s),j:e.unref(l),k:e.o(u)},{l:e.o(e.unref(d)),m:e.p({color:"#4874e5",type:"primary"})}):{})}},r=e._export_sfc(n,[["__scopeId","data-v-0ecd3070"]]);wx.createPage(r);