pointsDetaile.js
1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
"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);