pointsMall.js
895 字节
"use strict";const e=require("../../common/vendor.js"),a=require("../../api/index.js");require("../../utils/request.js");Array||e.resolveComponent("u-navbar")();const r=()=>"../../uni_modules/uview-plus/components/u-navbar/u-navbar.js";Math||(r+c+u)();const c=()=>"../../componets/searchBox.js",u=()=>"../../componets/shops.js",i={__name:"pointsMall",setup(s){e.onShow(()=>{n()});let t=e.ref([]);const n=async()=>{try{const o=await a.getCodegood();t.value=o,console.log("getCodegood",o)}catch(o){e.index.showToast({title:o,icon:"none"}),console.log("getCodegood",o)}};return(o,p)=>e.e({a:e.p({bgColor:"#F6F8FA",title:"积分商城",placeholder:!0,autoBack:!0}),b:e.p({list:e.unref(t),shopWidth:344,shopHeight:344,pointShop:!0}),c:!e.unref(t).length},e.unref(t).length?{}:{})}},l=e._export_sfc(i,[["__file","D:/vue/大健康商城/healthMall/pages/pointsMall/pointsMall.vue"]]);wx.createPage(l);