address.js
949 字节
"use strict";
var common_vendor = require("../common/vendor.js");
const _sfc_main = {
props: {
adress: {
type: Object,
default: {}
},
isOrder: {
type: Boolean,
default: false
}
},
setup(__props) {
return (_ctx, _cache) => {
return {
a: common_vendor.t(!__props.isOrder ? __props.adress.diqu + __props.adress.address : __props.adress.sh_diqu + __props.adress.sh_address),
b: common_vendor.t(!__props.isOrder ? __props.adress.name : __props.adress.sh_name),
c: common_vendor.t(!__props.isOrder ? __props.adress.mobile.slice(0, 3) + "****" + __props.adress.mobile.slice(-4) : __props.adress.sh_mobile.slice(0, 3) + "****" + __props.adress.sh_mobile.slice(-4))
};
};
}
};
var Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "D:/vue/\u5927\u5065\u5EB7\u5546\u57CE/healthMall/componets/address.vue"]]);
wx.createComponent(Component);