You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
2.3 KiB
JavaScript
75 lines
2.3 KiB
JavaScript
|
1 year ago
|
"use strict";
|
||
|
|
const common_vendor = require("../../common/vendor.js");
|
||
|
|
if (!Array) {
|
||
|
|
const _easycom_navigationStyle2 = common_vendor.resolveComponent("navigationStyle");
|
||
|
|
_easycom_navigationStyle2();
|
||
|
|
}
|
||
|
|
const _easycom_navigationStyle = () => "../../components/navigationStyle/navigationStyle.js";
|
||
|
|
if (!Math) {
|
||
|
|
_easycom_navigationStyle();
|
||
|
|
}
|
||
|
|
const _sfc_main = {
|
||
|
|
__name: "networkDetail",
|
||
|
|
setup(__props) {
|
||
|
|
const titles = common_vendor.ref("网点详情");
|
||
|
|
const bgcolor = common_vendor.ref("#aaa");
|
||
|
|
const color = common_vendor.ref("#000");
|
||
|
|
common_vendor.onLoad(() => {
|
||
|
|
titles.value = "网点详情";
|
||
|
|
bgcolor.value = "#fff";
|
||
|
|
color.value = "#000";
|
||
|
|
});
|
||
|
|
const banners = common_vendor.ref([
|
||
|
|
"https://www.jiubaotongxue.love/image/bannas.png",
|
||
|
|
"https://ts1.cn.mm.bing.net/th/id/R-C.c1c536c60766315effcf7473734265c8?rik=BJnvGw%2fMafvL5w&riu=http%3a%2f%2fdesk.fd.zol-img.com.cn%2ft_s960x600c5%2fg2%2fM00%2f0E%2f09%2fCg-4WlVsB-GII_QDACASGpf7ol4AAEeNQPDq30AIBIy241.jpg&ehk=rmAXHBKBoEX%2bHmHxwM1UvcjGF3rxRv5booeLLpySEys%3d&risl=&pid=ImgRaw&r=0",
|
||
|
|
"https://pic1.zhimg.com/v2-9db7bf3b825f2db103a534ca59c75481_r.jpg?source=1940ef5c"
|
||
|
|
]);
|
||
|
|
const status = common_vendor.ref([
|
||
|
|
{
|
||
|
|
id: 1,
|
||
|
|
msg: "空闲中",
|
||
|
|
msgCode: 1,
|
||
|
|
num: 1
|
||
|
|
},
|
||
|
|
{
|
||
|
|
id: 2,
|
||
|
|
msg: "使用中",
|
||
|
|
msgCode: 2,
|
||
|
|
num: 2
|
||
|
|
},
|
||
|
|
{
|
||
|
|
id: 3,
|
||
|
|
msg: "损坏",
|
||
|
|
msgCode: 3,
|
||
|
|
num: 3
|
||
|
|
}
|
||
|
|
]);
|
||
|
|
return (_ctx, _cache) => {
|
||
|
|
return {
|
||
|
|
a: common_vendor.p({
|
||
|
|
titles: titles.value,
|
||
|
|
bgcolor: bgcolor.value,
|
||
|
|
color: color.value
|
||
|
|
}),
|
||
|
|
b: common_vendor.f(banners.value, (item, index, i0) => {
|
||
|
|
return {
|
||
|
|
a: item,
|
||
|
|
b: index
|
||
|
|
};
|
||
|
|
}),
|
||
|
|
c: common_vendor.f(status.value, (item, index, i0) => {
|
||
|
|
return {
|
||
|
|
a: common_vendor.t(item.num),
|
||
|
|
b: common_vendor.t(item.msg),
|
||
|
|
c: item.msgCode === 2 ? 1 : "",
|
||
|
|
d: item.msgCode === 3 ? 1 : "",
|
||
|
|
e: item.id
|
||
|
|
};
|
||
|
|
})
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|
||
|
|
};
|
||
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "D:/carwashingThree/pages/networkDetail/networkDetail.vue"]]);
|
||
|
|
wx.createPage(MiniProgramPage);
|