guyu/unpackage/dist/dev/mp-weixin/pages/bags/bags-page.js
2025-07-19 22:38:15 +08:00

120 lines
3.0 KiB
JavaScript

"use strict";
const common_vendor = require("../../common/vendor.js");
const common_assets = require("../../common/assets.js");
const _sfc_main = {
data() {
return {
checkNum: 1,
sumPrice: 20,
dataList: [
{
imgurl: "",
title: "坂本日常 吧唧",
name: "坂本",
price: "20",
num: "1",
isCheck: false,
type: "库存紧张"
},
{
imgurl: "",
title: "坂本日常 吧唧",
name: "坂本",
price: "20",
num: "1",
isCheck: false,
type: "库存紧张"
},
{
imgurl: "",
title: "坂本日常 吧唧",
name: "坂本",
price: "20",
num: "1",
isCheck: false,
type: "库存紧张"
},
{
imgurl: "",
title: "坂本日常 吧唧",
name: "坂本",
price: "20",
num: "1",
isCheck: false,
type: "库存紧张"
},
{
imgurl: "",
title: "坂本日常 吧唧",
name: "坂本",
price: "20",
num: "1",
isCheck: false,
type: "库存紧张"
},
{
imgurl: "",
title: "坂本日常 吧唧",
name: "坂本",
price: "20",
num: "1",
isCheck: false,
type: "库存紧张"
},
{
imgurl: "",
title: "坂本日常 吧唧",
name: "坂本",
price: "20",
num: "1",
isCheck: false,
type: "库存紧张"
},
{
imgurl: "",
title: "坂本日常 吧唧",
name: "坂本",
price: "20",
num: "1",
isCheck: false,
type: "库存紧张"
},
{
imgurl: "",
title: "坂本日常 吧唧",
name: "坂本",
price: "20",
num: "1",
isCheck: false,
type: "库存紧张"
}
]
};
},
methods: {}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.f($data.dataList, (item, index, i0) => {
return {
a: item.isCheck ? "/static/ic_check_s.png" : "/static/ic_check.png",
b: item.imgurl,
c: common_vendor.t(item.title),
d: common_vendor.t(item.name),
e: common_vendor.t(item.price),
f: common_vendor.t(item.num)
};
}),
b: common_assets._imports_0$1,
c: common_assets._imports_1$1,
d: common_assets._imports_2$1,
e: common_vendor.t($data.checkNum),
f: common_vendor.t($data.sumPrice),
g: common_vendor.t($data.checkNum),
h: common_assets._imports_3
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/bags/bags-page.js.map