暂存代码

This commit is contained in:
何江明
2025-05-23 18:03:45 +08:00
parent 8217069b9a
commit a2c87e47bf
313 changed files with 6157 additions and 1102 deletions
+59 -4
View File
@@ -88,7 +88,9 @@ const _sfc_main = {
},
loading: false,
// 加载状态标志
openShow: false
openShow: false,
afterShow: false
// 售后申请
};
},
onLoad(options) {
@@ -101,13 +103,17 @@ const _sfc_main = {
getValue: utils_enumUtils.getValue,
formatDate1: utils_index.formatDate1,
copyData: utils_index.copyData,
copyMobile(mobile) {
utils_index.copyData(mobile);
this.afterShow = false;
},
jumpLeft() {
common_vendor.index.switchTab({
url: "/pages/mine/mine"
});
},
searchFun(val) {
common_vendor.index.__f__("log", "at pages/mine_order/mine_order.vue:246", "searchFun", val);
common_vendor.index.__f__("log", "at pages/mine_order/mine_order.vue:296", "searchFun", val);
},
checkType(item) {
this.form.page = 1;
@@ -145,9 +151,10 @@ const _sfc_main = {
if (newData.entitys && newData.entitys.length !== 0) {
this.orderList = [...this.orderList, ...newData.entitys];
this.form.page++;
common_vendor.index.__f__("log", "at pages/mine_order/mine_order.vue:339", "this.orderList", this.orderList);
}
} catch (error) {
common_vendor.index.__f__("error", "at pages/mine_order/mine_order.vue:291", "加载数据失败:", error);
common_vendor.index.__f__("error", "at pages/mine_order/mine_order.vue:342", "加载数据失败:", error);
} finally {
this.loading = false;
}
@@ -338,7 +345,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
}, item.status === $options.ORDER_TYPE.NOT_RECEIVE ? {
p: common_vendor.o(($event) => $options.confirmReceiptOk(item), item.id)
} : {}, {
q: item.id
q: [$options.ORDER_TYPE.NOT_RECEIVE, $options.ORDER_TYPE.UNSHIPPED].includes(item.status)
}, [$options.ORDER_TYPE.NOT_RECEIVE, $options.ORDER_TYPE.UNSHIPPED].includes(item.status) ? {
r: common_vendor.o(($event) => {
$data.afterShow = true;
}, item.id)
} : {}, {
s: item.id
});
}),
h: this.form.type === $options.MINE_ORDER_TYPE.NOT_RECEIVE
@@ -404,6 +417,48 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
A: common_vendor.p({
show: $data.openShow,
showConfirmButton: false
}),
B: common_vendor.p({
src: "/static/common/close.png",
width: "20",
height: "20",
bgColor: "#f1f6ff00"
}),
C: common_vendor.o(($event) => {
$data.afterShow = false;
}),
D: common_vendor.p({
src: "/static/common/kf_dh.png",
width: "40",
height: "40",
bgColor: "#f1f6ff00"
}),
E: common_vendor.o(($event) => $options.copyMobile(13922786999)),
F: common_vendor.p({
src: "/static/common/copy_c.png",
width: "14",
height: "14",
bgColor: "#f1f6ff00"
}),
G: common_vendor.p({
src: "/static/common/kf_wx.png",
width: "40",
height: "40",
bgColor: "#f1f6ff00"
}),
H: common_vendor.o(($event) => $options.copyMobile(13922786999)),
I: common_vendor.p({
src: "/static/common/copy_c.png",
width: "14",
height: "14",
bgColor: "#f1f6ff00"
}),
J: common_vendor.o(($event) => {
$data.afterShow = false;
}),
K: common_vendor.p({
show: $data.afterShow,
showConfirmButton: false
})
});
}
File diff suppressed because one or more lines are too long
@@ -24,7 +24,7 @@
/* 垂直间距 */
.order_warp.data-v-abc152e3 {
height: calc(100vh - 130rpx);
background-color: #F5F5F5;
background-color: #F5F5F5FF;
padding: 100rpx 30rpx 30rpx;
overflow-y: hidden;
}
@@ -162,4 +162,45 @@
.content_item_yd_msg.data-v-abc152e3 {
font-weight: bold;
font-size: 18rpx;
}
.content_2.data-v-abc152e3 {
font-size: 26rpx;
color: rgba(0, 0, 0, 0.4);
margin-bottom: 40rpx;
}
.content_3.data-v-abc152e3 {
display: flex;
background: #FFFFFF;
box-shadow: 0rpx 4rpx 12rpx 0rpx rgba(0, 0, 0, 0.06);
border-radius: 12rpx;
}
.content_3 .content_info.data-v-abc152e3 {
display: grid;
margin-left: 20rpx;
text-align: left;
}
.content_3 .content_info_title.data-v-abc152e3 {
font-weight: 600;
font-size: 26rpx;
color: rgba(0, 0, 0, 0.9);
line-height: 38rpx;
}
.content_3 .content_info_mobile.data-v-abc152e3 {
font-size: 30rpx;
color: rgba(0, 0, 0, 0.4);
display: flex;
}
.but_.data-v-abc152e3 {
display: flex;
justify-content: center;
margin-top: 40rpx;
}
.but_close.data-v-abc152e3 {
background: #F24A00;
box-shadow: 0rpx 4rpx 8rpx 0rpx rgba(242, 74, 0, 0.5);
border-radius: 41rpx;
width: 60%;
padding: 20rpx 0;
font-size: 30rpx;
color: #FFFFFF;
}