bargainPrice.js
878 字节
"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+i)();const c=()=>"../../componets/searchBox.js",i=()=>"../../componets/shops.js",u={__name:"bargainPrice",setup(s){e.onShow(()=>{t()});let n=e.ref([]);const t=async()=>{try{const o=await a.getIndex();n.value=o.tjgoods}catch(o){e.index.showToast({title:o,icon:"none"}),console.log("getIndex",o)}};return(o,p)=>e.e({a:e.p({bgColor:"#F6F8FA",title:"特价专区",placeholder:!0,autoBack:!0}),b:e.p({list:e.unref(n),shopWidth:344,shopHeight:344,pointShop:!1,isTejia:!0}),c:!e.unref(n).length},e.unref(n).length?{}:{})}},_=e._export_sfc(u,[["__file","D:/vue/大健康商城/healthMall/pages/index/bargainPrice.vue"]]);wx.createPage(_);