146 lines
3.2 KiB
JavaScript
146 lines
3.2 KiB
JavaScript
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const common_assets = require("../../common/assets.js");
|
|
const _sfc_main = {
|
|
data() {
|
|
return {
|
|
title: "Hello",
|
|
Gender: true,
|
|
// 列表数据
|
|
list: [
|
|
{
|
|
title: "极乐世界",
|
|
id: "9088",
|
|
gender: "男",
|
|
score: 8.8
|
|
},
|
|
{
|
|
title: "极乐世界2",
|
|
id: "9089",
|
|
gender: "女",
|
|
score: 7.8
|
|
},
|
|
{
|
|
title: "极乐世界3",
|
|
id: "9090",
|
|
gender: "男",
|
|
score: 9.8
|
|
},
|
|
{
|
|
title: "极乐世界3",
|
|
id: "9090",
|
|
gender: "男",
|
|
score: 9.8
|
|
},
|
|
{
|
|
title: "极乐世界3",
|
|
id: "9090",
|
|
gender: "男",
|
|
score: 9.8
|
|
},
|
|
{
|
|
title: "极乐世界3",
|
|
id: "9090",
|
|
gender: "男",
|
|
score: 9.8
|
|
},
|
|
{
|
|
title: "极乐世界3",
|
|
id: "9090",
|
|
gender: "男",
|
|
score: 9.8
|
|
},
|
|
{
|
|
title: "极乐世界3",
|
|
id: "9090",
|
|
gender: "男",
|
|
score: 9.8
|
|
},
|
|
{
|
|
title: "极乐世界3",
|
|
id: "9090",
|
|
gender: "男",
|
|
score: 9.8
|
|
},
|
|
{
|
|
title: "极乐世界3",
|
|
id: "9090",
|
|
gender: "男",
|
|
score: 9.8
|
|
},
|
|
{
|
|
title: "极乐世界3",
|
|
id: "9090",
|
|
gender: "男",
|
|
score: 9.8
|
|
},
|
|
{
|
|
title: "极乐世界3",
|
|
id: "9090",
|
|
gender: "男",
|
|
score: 9.8
|
|
},
|
|
{
|
|
title: "极乐世界3",
|
|
id: "9090",
|
|
gender: "男",
|
|
score: 9.8
|
|
},
|
|
{
|
|
title: "极乐世界3",
|
|
id: "9090",
|
|
gender: "男",
|
|
score: 9.8
|
|
},
|
|
{
|
|
title: "极乐世界3",
|
|
id: "9090",
|
|
gender: "男",
|
|
score: 9.8
|
|
},
|
|
{
|
|
title: "极乐世界3",
|
|
id: "9090",
|
|
gender: "男",
|
|
score: 9.8
|
|
}
|
|
]
|
|
// 列表数据结束
|
|
};
|
|
},
|
|
onLoad() {
|
|
},
|
|
methods: {
|
|
// 方法定义
|
|
}
|
|
};
|
|
if (!Array) {
|
|
const _component_uni_card = common_vendor.resolveComponent("uni-card");
|
|
_component_uni_card();
|
|
}
|
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
return {
|
|
a: common_vendor.f($data.list, (item, index, i0) => {
|
|
return common_vendor.e({
|
|
a: common_vendor.t(item.title)
|
|
}, $data.Gender ? {
|
|
b: common_assets._imports_1$1
|
|
} : {
|
|
c: common_assets._imports_1$1
|
|
}, {
|
|
d: common_vendor.t(item.gender),
|
|
e: common_vendor.t(item.id),
|
|
f: common_vendor.t(item.score),
|
|
g: "4813d59a-0-" + i0
|
|
});
|
|
}),
|
|
b: common_assets._imports_0$3,
|
|
c: $data.Gender,
|
|
d: $data.Gender ? 1 : "",
|
|
e: !$data.Gender ? 1 : ""
|
|
};
|
|
}
|
|
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4813d59a"]]);
|
|
wx.createComponent(Component);
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/contentList/contentList.js.map
|