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.

83 lines
2.0 KiB
JavaScript

"use strict";
const common_vendor = require("../../common/vendor.js");
if (!Array) {
const _easycom_navigationStyle2 = common_vendor.resolveComponent("navigationStyle");
const _easycom_chepai2 = common_vendor.resolveComponent("chepai");
(_easycom_navigationStyle2 + _easycom_chepai2)();
}
const _easycom_navigationStyle = () => "../../components/navigationStyle/navigationStyle.js";
const _easycom_chepai = () => "../../components/chepai/chepai.js";
if (!Math) {
(_easycom_navigationStyle + _easycom_chepai)();
}
const _sfc_main = {
__name: "addValidate",
setup(__props) {
const titles = common_vendor.ref("添加车牌");
const bgcolor = common_vendor.ref("#fff");
const color = common_vendor.ref("#000");
const chepais = common_vendor.ref(null);
const isShows = common_vendor.ref(1);
const chuanzi = common_vendor.ref([
{
id: 1,
as: "京"
},
{
id: 2,
as: "A"
},
{
id: 3,
as: "6"
},
{
id: 4,
as: "6"
},
{
id: 5,
as: "6"
},
{
id: 6,
as: "6"
},
{
id: 7,
as: "6"
},
{
id: 8,
as: "6"
}
]);
const numString = (val) => {
isShows.value = 0;
chepais.value = val;
console.log(chepais.value);
};
const btns = () => {
common_vendor.index.navigateBack();
};
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.p({
titles: titles.value,
bgcolor: bgcolor.value,
color: color.value
}),
b: common_vendor.o(numString),
c: common_vendor.p({
chuanzi: chuanzi.value
}),
d: isShows.value === 0
}, isShows.value === 0 ? {
e: common_vendor.o(btns)
} : {});
};
}
};
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "D:/carwashingThree/pages/addValidate/addValidate.vue"]]);
wx.createPage(MiniProgramPage);