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 common_vendor=require("../../common/vendor.js");const hooks_useNav=require("../../hooks/useNav.js");const api_api=require("../../api/api.js");if(!Array){const _easycom_up_swiper2=common_vendor.resolveComponent("up-swiper");const _easycom_up_divider2=common_vendor.resolveComponent("up-divider");(_easycom_up_swiper2+_easycom_up_divider2)()}const _easycom_up_swiper=()=>"../../uni_modules/uview-plus/components/u-swiper/u-swiper.js";const _easycom_up_divider=()=>"../../uni_modules/uview-plus/components/u-divider/u-divider.js";if(!Math){(_easycom_up_swiper+_easycom_up_divider)()}const _sfc_main={__name:"setMeal",setup(__props){let shop=common_vendor.ref({});const{nav:nav,navTo:navTo}=hooks_useNav.useNav();const headerBg=common_vendor.ref(false);common_vendor.index.getSystemInfoSync().statusBarHeight+"px";common_vendor.ref(["/static/图层 979.png"]);common_vendor.onLoad((async options=>{let _res=await api_api.selectGoodsInfo({id:options.id});shop.value=_res}));common_vendor.onPageScroll((e=>{if(e.scrollTop>common_vendor.index.getSystemInfoSync().statusBarHeight+44){headerBg.value=true}else{headerBg.value=false}}));return(_ctx,_cache)=>({a:common_vendor.p({list:JSON.parse(common_vendor.unref(shop).picture),height:"759rpx"}),b:common_vendor.t(common_vendor.unref(shop).salePrice),c:common_vendor.t(common_vendor.unref(shop).packagesName),d:common_vendor.p({text:"套餐包含"}),e:common_vendor.f(common_vendor.unref(shop).goodsVOList,((i,n,i0)=>({a:JSON.parse(i.picture)[0],b:common_vendor.t(i.goodsName),c:common_vendor.t(i.salePrice),d:n}))),f:common_vendor.f(JSON.parse(common_vendor.unref(shop).details),((item,index,i0)=>({a:item,b:index}))),g:common_vendor.o(($event=>common_vendor.unref(navTo)(`/pages/setMeal/affirm?id=${common_vendor.unref(shop).id}`,true)))})}};const MiniProgramPage=common_vendor._export_sfc(_sfc_main,[["__scopeId","data-v-b21ad1b5"]]);_sfc_main.__runtimeHooks=1;my.createPage(MiniProgramPage);