pointsDetaile.js 1.8 KB
"use strict";
var common_vendor = require("../../common/vendor.js");
if (!Array) {
  const _easycom_u_navbar2 = common_vendor.resolveComponent("u-navbar");
  _easycom_u_navbar2();
}
const _easycom_u_navbar = () => "../../uni_modules/uview-plus/components/u-navbar/u-navbar.js";
if (!Math) {
  (_easycom_u_navbar + shopInfo)();
}
const shopInfo = () => "../../componets/shopInfo.js";
const _sfc_main = {
  setup(__props) {
    const icList = common_vendor.reactive([
      { id: 1, name: "\u5E97\u94FA", icon: "/static/indexIc/shopIc.png" },
      { id: 2, name: "\u5BA2\u670D", icon: "/static/indexIc/service.png" }
    ]);
    const btns = (index) => {
      console.log(index);
    };
    const jump = () => {
      common_vendor.index.navigateTo({
        url: `/pages/shopCar/confirmOrder?shopType=${true}`
      });
    };
    return (_ctx, _cache) => {
      return {
        a: common_vendor.p({
          bgColor: "transparent",
          autoBack: true
        }),
        b: common_vendor.p({
          isPoints: true
        }),
        c: common_vendor.f(common_vendor.unref(icList), (item, index, i0) => {
          return common_vendor.e({
            a: item.icon,
            b: index != 1
          }, index != 1 ? {
            c: common_vendor.t(item.name)
          } : {}, {
            d: index == 1
          }, index == 1 ? {
            e: common_vendor.t(item.name)
          } : {}, {
            f: item.id,
            g: common_vendor.o(($event) => btns(index), item.id)
          });
        }),
        d: common_vendor.o(jump)
      };
    };
  }
};
var MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "D:/vue/\u5927\u5065\u5EB7\u5546\u57CE/healthMall/pages/pointsMall/pointsDetaile.vue"]]);
wx.createPage(MiniProgramPage);