暂存code

This commit is contained in:
hejiangming
2025-05-07 09:54:33 +08:00
parent 78270eeda0
commit 007b002b81
403 changed files with 14507 additions and 6320 deletions
@@ -1,12 +1,17 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const api_address = require("../../api/address.js");
const Header = () => "../../components/header.js";
const _sfc_main = {
data() {
return {
addressList: []
addressList: [],
options: [
{ text: "删除" }
]
};
},
components: { Header },
mounted() {
this.getAddressList();
},
@@ -36,7 +41,6 @@ const _sfc_main = {
},
// 删除地址
deleteAddressFun(item) {
common_vendor.index.__f__("log", "at pages/mine_address/mine_address.vue:79", "item", item);
const then = this;
common_vendor.index.showModal({
title: "提示",
@@ -67,9 +71,10 @@ const _sfc_main = {
}
};
if (!Array) {
const _component_Header = common_vendor.resolveComponent("Header");
const _easycom_up_checkbox2 = common_vendor.resolveComponent("up-checkbox");
const _easycom_up_image2 = common_vendor.resolveComponent("up-image");
(_easycom_up_checkbox2 + _easycom_up_image2)();
(_component_Header + _easycom_up_checkbox2 + _easycom_up_image2)();
}
const _easycom_up_checkbox = () => "../../uni_modules/uview-plus/components/u-checkbox/u-checkbox.js";
const _easycom_up_image = () => "../../uni_modules/uview-plus/components/u-image/u-image.js";
@@ -78,9 +83,14 @@ if (!Math) {
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: $data.addressList && $data.addressList.length !== 0
a: common_vendor.p({
leftTitle: _ctx.$t("address.title"),
["left-path-type"]: "switchTab",
["left-path"]: "/pages/mine/mine"
}),
b: $data.addressList && $data.addressList.length !== 0
}, $data.addressList && $data.addressList.length !== 0 ? {
b: common_vendor.f($data.addressList, (item, k0, i0) => {
c: common_vendor.f($data.addressList, (item, k0, i0) => {
return {
a: common_vendor.t(item.name),
b: common_vendor.t(item.phone),
@@ -90,7 +100,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
f: common_vendor.t(item.areaName),
g: common_vendor.t(item.address),
h: common_vendor.o(($event) => $options.isDefaultChange(item), item.id),
i: "1172d71f-0-" + i0,
i: "1172d71f-1-" + i0,
j: common_vendor.p({
customStyle: {},
label: "已默认",
@@ -106,14 +116,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
};
})
} : {
c: common_vendor.p({
d: common_vendor.p({
src: "/static/common/not_search.png",
width: "100",
height: "100",
bgColor: "#f1f6ff00"
})
}, {
d: common_vendor.o((...args) => $options.jumpAddAddress && $options.jumpAddAddress(...args))
e: common_vendor.o((...args) => $options.jumpAddAddress && $options.jumpAddAddress(...args))
});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-1172d71f"]]);