"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const pages_mixins_pullRefreshMixin = require("../mixins/pullRefreshMixin.js");
|
|
const _sfc_main = {
|
|
mixins: [pages_mixins_pullRefreshMixin.pullRefreshMixin],
|
|
data() {
|
|
return {
|
|
showPopup: false,
|
|
currentItem: null,
|
|
ruleList: [
|
|
{
|
|
title: "破损衣服",
|
|
desc: "品相较好的旧衣更适合进行二次流转或制作其他产品",
|
|
detailDesc: "品相较好的旧衣更适合进行二次流转制作成其他产品。破损衣物可能无法满足是利用的标准,还请您谅解。",
|
|
icon: "/static/rules/broken-clothes.png",
|
|
detailImage: "/static/rules/broken-clothes-detail.png"
|
|
},
|
|
{
|
|
title: "潮湿异味",
|
|
desc: "这类衣物易滋生细菌霉菌,可能传播疾病",
|
|
icon: "/static/rules/wet-clothes.png",
|
|
detailImage: "/static/rules/wet-clothes-detail.png",
|
|
detailDesc: "这类衣物易滋生细菌霉菌,可能传播疾病。"
|
|
},
|
|
{
|
|
title: "单只鞋靴",
|
|
desc: "这类衣物易滋生细菌霉菌,可能传播疾病",
|
|
icon: "/static/rules/single-shoe.png",
|
|
detailImage: "/static/rules/single-shoe-detail.png",
|
|
detailDesc: "这类衣物易滋生细菌霉菌,可能传播疾病。"
|
|
},
|
|
{
|
|
title: "单只鞋靴",
|
|
desc: "这类衣物易滋生细菌霉菌,可能传播疾病",
|
|
icon: "/static/rules/single-shoe.png",
|
|
detailImage: "/static/rules/single-shoe-detail.png",
|
|
detailDesc: "这类衣物易滋生细菌霉菌,可能传播疾病。"
|
|
},
|
|
{
|
|
title: "单只鞋靴",
|
|
desc: "这类衣物易滋生细菌霉菌,可能传播疾病",
|
|
icon: "/static/rules/single-shoe.png",
|
|
detailImage: "/static/rules/single-shoe-detail.png",
|
|
detailDesc: "这类衣物易滋生细菌霉菌,可能传播疾病。"
|
|
},
|
|
{
|
|
title: "单只鞋靴",
|
|
desc: "这类衣物易滋生细菌霉菌,可能传播疾病",
|
|
icon: "/static/rules/single-shoe.png",
|
|
detailImage: "/static/rules/single-shoe-detail.png",
|
|
detailDesc: "这类衣物易滋生细菌霉菌,可能传播疾病。"
|
|
},
|
|
{
|
|
title: "单只鞋靴",
|
|
desc: "这类衣物易滋生细菌霉菌,可能传播疾病",
|
|
icon: "/static/rules/single-shoe.png",
|
|
detailImage: "/static/rules/single-shoe-detail.png",
|
|
detailDesc: "这类衣物易滋生细菌霉菌,可能传播疾病。"
|
|
},
|
|
{
|
|
title: "单只鞋靴",
|
|
desc: "这类衣物易滋生细菌霉菌,可能传播疾病",
|
|
icon: "/static/rules/single-shoe.png",
|
|
detailImage: "/static/rules/single-shoe-detail.png",
|
|
detailDesc: "这类衣物易滋生细菌霉菌,可能传播疾病。"
|
|
},
|
|
{
|
|
title: "单只鞋靴",
|
|
desc: "这类衣物易滋生细菌霉菌,可能传播疾病",
|
|
icon: "/static/rules/single-shoe.png",
|
|
detailImage: "/static/rules/single-shoe-detail.png",
|
|
detailDesc: "这类衣物易滋生细菌霉菌,可能传播疾病。"
|
|
},
|
|
{
|
|
title: "单只鞋靴",
|
|
desc: "这类衣物易滋生细菌霉菌,可能传播疾病",
|
|
icon: "/static/rules/single-shoe.png",
|
|
detailImage: "/static/rules/single-shoe-detail.png",
|
|
detailDesc: "这类衣物易滋生细菌霉菌,可能传播疾病。"
|
|
},
|
|
{
|
|
title: "单只鞋靴",
|
|
desc: "这类衣物易滋生细菌霉菌,可能传播疾病",
|
|
icon: "/static/rules/single-shoe.png",
|
|
detailImage: "/static/rules/single-shoe-detail.png",
|
|
detailDesc: "这类衣物易滋生细菌霉菌,可能传播疾病。"
|
|
},
|
|
{
|
|
title: "单只鞋靴",
|
|
desc: "这类衣物易滋生细菌霉菌,可能传播疾病",
|
|
icon: "/static/rules/single-shoe.png",
|
|
detailImage: "/static/rules/single-shoe-detail.png",
|
|
detailDesc: "这类衣物易滋生细菌霉菌,可能传播疾病。"
|
|
},
|
|
{
|
|
title: "单只鞋靴",
|
|
desc: "这类衣物易滋生细菌霉菌,可能传播疾病",
|
|
icon: "/static/rules/single-shoe.png",
|
|
detailImage: "/static/rules/single-shoe-detail.png",
|
|
detailDesc: "这类衣物易滋生细菌霉菌,可能传播疾病。"
|
|
}
|
|
]
|
|
};
|
|
},
|
|
methods: {
|
|
async onRefresh() {
|
|
await new Promise((resolve) => setTimeout(resolve, 1e3));
|
|
common_vendor.index.stopPullRefresh();
|
|
},
|
|
goBack() {
|
|
common_vendor.index.navigateBack();
|
|
},
|
|
showDetail(item) {
|
|
this.currentItem = item;
|
|
this.showPopup = true;
|
|
},
|
|
closePopup() {
|
|
this.showPopup = false;
|
|
}
|
|
}
|
|
};
|
|
if (!Array) {
|
|
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
|
|
_easycom_uni_icons2();
|
|
}
|
|
const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
|
|
if (!Math) {
|
|
_easycom_uni_icons();
|
|
}
|
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
return common_vendor.e({
|
|
a: common_vendor.p({
|
|
type: "left",
|
|
size: "25"
|
|
}),
|
|
b: common_vendor.o((...args) => $options.goBack && $options.goBack(...args)),
|
|
c: common_vendor.p({
|
|
type: "close",
|
|
size: "25"
|
|
}),
|
|
d: common_vendor.f($data.ruleList, (item, index, i0) => {
|
|
return {
|
|
a: item.icon,
|
|
b: common_vendor.t(item.title),
|
|
c: common_vendor.t(item.desc),
|
|
d: "a363b673-2-" + i0,
|
|
e: index,
|
|
f: common_vendor.o(($event) => $options.showDetail(item), index)
|
|
};
|
|
}),
|
|
e: common_vendor.p({
|
|
type: "right",
|
|
size: "25"
|
|
}),
|
|
f: $data.showPopup
|
|
}, $data.showPopup ? {
|
|
g: common_vendor.t($data.currentItem.title),
|
|
h: common_vendor.t($data.currentItem.detailDesc),
|
|
i: $data.currentItem.detailImage,
|
|
j: common_vendor.o((...args) => $options.closePopup && $options.closePopup(...args)),
|
|
k: common_vendor.o(() => {
|
|
}),
|
|
l: common_vendor.o((...args) => $options.closePopup && $options.closePopup(...args))
|
|
} : {});
|
|
}
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-a363b673"]]);
|
|
wx.createPage(MiniProgramPage);
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/subcomponent/recycle_rules.js.map
|