This commit is contained in:
zoujiandong
2025-07-22 09:40:54 +08:00
parent 89d55643f6
commit 89336f5621
24 changed files with 766 additions and 199 deletions
+120 -57
View File
@@ -13,7 +13,8 @@ if (!Array) {
const _easycom_up_radio2 = common_vendor.resolveComponent("up-radio");
const _easycom_up_radio_group2 = common_vendor.resolveComponent("up-radio-group");
const _easycom_up_popup2 = common_vendor.resolveComponent("up-popup");
(_easycom_navBarSearch2 + _easycom_up__image2 + _easycom_up_dropdown_item2 + _easycom_up_dropdown2 + _easycom_up_icon2 + _easycom_z_paging2 + _easycom_up_radio2 + _easycom_up_radio_group2 + _easycom_up_popup2)();
const _easycom_up_overlay2 = common_vendor.resolveComponent("up-overlay");
(_easycom_navBarSearch2 + _easycom_up__image2 + _easycom_up_dropdown_item2 + _easycom_up_dropdown2 + _easycom_up_icon2 + _easycom_z_paging2 + _easycom_up_radio2 + _easycom_up_radio_group2 + _easycom_up_popup2 + _easycom_up_overlay2)();
}
const _easycom_navBarSearch = () => "../../components/navBarSearch/navBarSearch.js";
const _easycom_up__image = () => "../../node-modules/uview-plus/components/u--image/u--image.js";
@@ -24,18 +25,23 @@ const _easycom_z_paging = () => "../../uni_modules/z-paging/components/z-paging/
const _easycom_up_radio = () => "../../node-modules/uview-plus/components/u-radio/u-radio.js";
const _easycom_up_radio_group = () => "../../node-modules/uview-plus/components/u-radio-group/u-radio-group.js";
const _easycom_up_popup = () => "../../node-modules/uview-plus/components/u-popup/u-popup.js";
const _easycom_up_overlay = () => "../../node-modules/uview-plus/components/u-overlay/u-overlay.js";
if (!Math) {
(_easycom_navBarSearch + _easycom_up__image + _easycom_up_dropdown_item + _easycom_up_dropdown + _easycom_up_icon + _easycom_z_paging + _easycom_up_radio + _easycom_up_radio_group + _easycom_up_popup)();
(_easycom_navBarSearch + _easycom_up__image + _easycom_up_dropdown_item + _easycom_up_dropdown + _easycom_up_icon + _easycom_z_paging + _easycom_up_radio + _easycom_up_radio_group + _easycom_up_popup + _easycom_up_overlay)();
}
const _sfc_main = {
__name: "specialList",
setup(__props) {
const user_id = common_vendor.ref("");
const showModal = common_vendor.ref(false);
const showDeal = common_vendor.ref(false);
const is_selected = common_vendor.ref(0);
const isMine = common_vendor.ref(false);
const paging = common_vendor.ref(null);
const dataList = common_vendor.ref([]);
const total = common_vendor.ref(0);
const keyWord = common_vendor.ref("");
const vote = common_vendor.ref(null);
const showNum = common_vendor.ref(true);
const options = common_vendor.ref([
{
@@ -58,11 +64,41 @@ const _sfc_main = {
const caseValue2 = common_vendor.ref("");
const caseValue3 = common_vendor.ref("");
const level = common_vendor.ref(1);
const dealId = common_vendor.ref("");
const labelObj = common_vendor.reactive({
list1: [],
list2: [],
list3: []
});
const openDeal = (id, voteObj) => {
showDeal.value = true;
dealId.value = id;
vote.value = voteObj;
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:324", id);
};
const alertDel = () => {
showDeal.value = false;
showModal.value = true;
};
const goEdit = () => {
showDeal.value = false;
if (vote.value && vote.value.is_have_voted != 1) {
common_vendor.index.showToast({
icon: "none",
title: "不可编辑"
});
return false;
}
utils_navTo.navTo({
url: "/pages/publish/publish?exchange_id=" + dealId.value
});
};
const confirmDel = () => {
showModal.value = false;
};
const closeDealPop = () => {
showDeal.value = false;
};
const getCaseLabel = (lev, pid = 0) => {
api_api.api.getCaseLabel({
pId: pid
@@ -142,18 +178,21 @@ const _sfc_main = {
if (options2.is_selected) {
is_selected.value = options2.is_selected;
}
if (options2.type == "mine") {
isMine.value = true;
}
});
common_vendor.onShow(() => {
var _a;
(_a = paging.value) == null ? void 0 : _a.refresh();
});
const changeDate = (e) => {
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:368", e);
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:444", e);
order.read_num = "";
paging.value.reload();
};
const changeRead = (e) => {
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:373", e);
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:449", e);
order.push_date = "";
paging.value.reload();
};
@@ -176,7 +215,7 @@ const _sfc_main = {
});
};
const queryList = (pageNo, pageSize) => {
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:395", 666666);
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:471", 666666);
const params = {
page: pageNo,
page_size: pageSize
@@ -251,22 +290,25 @@ const _sfc_main = {
p: common_vendor.f(dataList.value, (item, k0, i0) => {
return common_vendor.e({
a: common_vendor.t(item.exchange_title),
b: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
c: "b2cb78f4-6-" + i0 + ",b2cb78f4-0",
d: common_vendor.p({
b: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id)
}, isMine.value ? {
c: common_vendor.o(($event) => openDeal(item.exchange_id, item.case_exchange_vote), item.exchange_id)
} : {}, {
d: "b2cb78f4-6-" + i0 + ",b2cb78f4-0",
e: common_vendor.p({
src: item.avatar ? item.avatar : common_vendor.unref(common_assets.headImg),
width: "46rpx",
height: "46rpx",
radius: "50%"
}),
e: common_vendor.t(item.user_name),
f: common_vendor.t(item.hospital_name),
g: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
h: common_vendor.t(item.exchange_content),
i: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
j: item.exchange_content_image && item.exchange_content_image.length > 0
f: common_vendor.t(item.user_name),
g: common_vendor.t(item.hospital_name),
h: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
i: common_vendor.t(item.exchange_content),
j: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
k: item.exchange_content_image && item.exchange_content_image.length > 0
}, item.exchange_content_image && item.exchange_content_image.length > 0 ? {
k: common_vendor.f(item.exchange_content_image, (unit, k1, i1) => {
l: common_vendor.f(item.exchange_content_image, (unit, k1, i1) => {
return {
a: "b2cb78f4-7-" + i0 + "-" + i1 + ",b2cb78f4-0",
b: common_vendor.p({
@@ -277,11 +319,11 @@ const _sfc_main = {
})
};
}),
l: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id)
m: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id)
} : {}, {
m: item.exchange_content_video && item.exchange_content_video.length > 0
n: item.exchange_content_video && item.exchange_content_video.length > 0
}, item.exchange_content_video && item.exchange_content_video.length > 0 ? {
n: common_vendor.f(item.exchange_content_video, (videoCell, index, i1) => {
o: common_vendor.f(item.exchange_content_video, (videoCell, index, i1) => {
return {
a: index,
b: videoCell,
@@ -289,64 +331,65 @@ const _sfc_main = {
};
})
} : {}, {
o: item.label && item.label.length > 0
p: item.label && item.label.length > 0
}, item.label && item.label.length > 0 ? {
p: common_vendor.f(item.label, (cell, k1, i1) => {
q: common_vendor.f(item.label, (cell, k1, i1) => {
return {
a: common_vendor.t(cell.label_name),
b: cell.exchange_label_id
};
}),
q: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id)
r: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id)
} : {}, {
r: "b2cb78f4-8-" + i0 + ",b2cb78f4-0",
s: common_vendor.t(item.read_num),
t: "b2cb78f4-9-" + i0 + ",b2cb78f4-0",
v: common_vendor.t(item.collect_num),
w: "b2cb78f4-10-" + i0 + ",b2cb78f4-0",
x: common_vendor.t(item.comment_num),
y: "b2cb78f4-11-" + i0 + ",b2cb78f4-0",
z: common_vendor.t(formatdate(item.push_date)),
A: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
B: item.exchange_id
s: "b2cb78f4-8-" + i0 + ",b2cb78f4-0",
t: common_vendor.t(item.read_num),
v: "b2cb78f4-9-" + i0 + ",b2cb78f4-0",
w: common_vendor.t(item.collect_num),
x: "b2cb78f4-10-" + i0 + ",b2cb78f4-0",
y: common_vendor.t(item.comment_num),
z: "b2cb78f4-11-" + i0 + ",b2cb78f4-0",
A: common_vendor.t(formatdate(item.push_date)),
B: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
C: item.exchange_id
});
}),
q: common_vendor.p({
q: isMine.value,
r: common_vendor.p({
name: "eye",
color: "#4B5563",
size: "28rpx"
}),
r: common_vendor.p({
s: common_vendor.p({
name: "heart",
color: "#4B5563",
size: "28rpx"
}),
s: common_vendor.p({
t: common_vendor.p({
name: "chat",
color: "#4B5563",
size: "28rpx"
}),
t: common_vendor.p({
v: common_vendor.p({
name: "clock",
color: "#4B5563",
size: "28rpx"
}),
v: common_vendor.sr(paging, "b2cb78f4-0", {
w: common_vendor.sr(paging, "b2cb78f4-0", {
"k": "paging"
}),
w: common_vendor.o(queryList),
x: common_vendor.o(($event) => dataList.value = $event),
y: common_vendor.p({
x: common_vendor.o(queryList),
y: common_vendor.o(($event) => dataList.value = $event),
z: common_vendor.p({
["inside-more"]: true,
["loading-more-no-more-text"]: "咱也是有底线的!",
["auto-show-back-to-top"]: true,
modelValue: dataList.value
}),
z: common_vendor.o(($event) => showCase.value = false),
A: common_vendor.o(continueCase),
B: level.value != 3,
C: common_vendor.o(confirmCase),
D: common_vendor.f(labelObj.list1, (item, k0, i0) => {
A: common_vendor.o(($event) => showCase.value = false),
B: common_vendor.o(continueCase),
C: level.value != 3,
D: common_vendor.o(confirmCase),
E: common_vendor.f(labelObj.list1, (item, k0, i0) => {
return {
a: "b2cb78f4-14-" + i0 + ",b2cb78f4-13",
b: common_vendor.p({
@@ -357,14 +400,14 @@ const _sfc_main = {
c: item.app_iden
};
}),
E: common_vendor.o(($event) => caseValue1.value = $event),
F: common_vendor.p({
F: common_vendor.o(($event) => caseValue1.value = $event),
G: common_vendor.p({
iconPlacement: "right",
placement: "column",
modelValue: caseValue1.value
}),
G: level.value == 1,
H: common_vendor.f(labelObj.list2, (item, k0, i0) => {
H: level.value == 1,
I: common_vendor.f(labelObj.list2, (item, k0, i0) => {
return {
a: "b2cb78f4-16-" + i0 + ",b2cb78f4-15",
b: common_vendor.p({
@@ -375,14 +418,14 @@ const _sfc_main = {
c: item.app_iden
};
}),
I: common_vendor.o(($event) => caseValue2.value = $event),
J: common_vendor.p({
J: common_vendor.o(($event) => caseValue2.value = $event),
K: common_vendor.p({
iconPlacement: "right",
placement: "column",
modelValue: caseValue2.value
}),
K: level.value == 2,
L: common_vendor.f(labelObj.list3, (item, k0, i0) => {
L: level.value == 2,
M: common_vendor.f(labelObj.list3, (item, k0, i0) => {
return {
a: "b2cb78f4-18-" + i0 + ",b2cb78f4-17",
b: common_vendor.p({
@@ -393,19 +436,39 @@ const _sfc_main = {
c: item.app_iden
};
}),
M: common_vendor.o(($event) => caseValue3.value = $event),
N: common_vendor.p({
N: common_vendor.o(($event) => caseValue3.value = $event),
O: common_vendor.p({
iconPlacement: "right",
placement: "column",
modelValue: caseValue3.value
}),
O: level.value == 3,
P: common_vendor.o(closeCase),
Q: common_vendor.p({
P: level.value == 3,
Q: common_vendor.o(closeCase),
R: common_vendor.p({
round: 10,
zIndex: "9",
show: showCase.value,
mode: "bottom"
}),
S: common_vendor.o(goEdit),
T: common_vendor.o(alertDel),
U: common_vendor.o(closeDealPop),
V: common_vendor.o(_ctx.closeDeal),
W: common_vendor.p({
zIndex: 60,
overlayStyle: {
zIndex: 59
},
closeOnClickOverlay: false,
show: showDeal.value,
round: 10,
mode: "bottom"
}),
X: common_vendor.o(($event) => showModal.value = false),
Y: common_vendor.o(confirmDel),
Z: common_vendor.p({
show: showModal.value,
["mask-click-able"]: true
})
});
};
@@ -10,6 +10,7 @@
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging",
"up-radio": "../../node-modules/uview-plus/components/u-radio/u-radio",
"up-radio-group": "../../node-modules/uview-plus/components/u-radio-group/u-radio-group",
"up-popup": "../../node-modules/uview-plus/components/u-popup/u-popup"
"up-popup": "../../node-modules/uview-plus/components/u-popup/u-popup",
"up-overlay": "../../node-modules/uview-plus/components/u-overlay/u-overlay"
}
}
File diff suppressed because one or more lines are too long
@@ -23,6 +23,15 @@
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.dealbox .dealcell.data-v-b2cb78f4 {
display: flex;
align-items: center;
justify-content: center;
height: 112rpx;
font-size: 32rpx;
color: rgba(0, 0, 0, 0.9);
border-bottom: 2rpx solid #efefef;
}
.filterbox.data-v-b2cb78f4 {
display: flex;
height: 128rpx;
@@ -143,7 +152,7 @@
align-items: center;
}
.record.data-v-b2cb78f4 {
padding-top: 30rpx;
padding-top: 0rpx;
}
.record .list.data-v-b2cb78f4 {
margin: 30rpx 30rpx;
@@ -171,7 +180,7 @@
margin-right: 0;
}
.record.data-v-b2cb78f4 {
padding-top: 30rpx;
padding-top: 0rpx;
}
.record .list.data-v-b2cb78f4 {
margin: 8rpx 0rpx 0;
@@ -192,6 +201,19 @@
font-size: 32rpx;
color: #000000;
line-height: 46rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.record .list .cell .title .dot.data-v-b2cb78f4 {
height: 40rpx;
display: flex;
align-items: center;
line-height: 40rpx;
}
.record .list .cell .title .titlecon.data-v-b2cb78f4 {
flex: 1;
margin-right: 20rpx;
}
.record .list .cell.data-v-b2cb78f4:last-child {
border-bottom: none;
@@ -357,4 +379,135 @@
.casecon .column.data-v-b2cb78f4 {
padding: 0 30rpx;
border-bottom: 2rpx solid #e5e7eb;
}
.zanboxpop.data-v-b2cb78f4 {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
.zanboxpop .zanwraper.data-v-b2cb78f4 {
width: 630rpx;
margin: 0 auto;
padding-bottom: 50rpx;
background: #f5f6f9;
border-radius: 16rpx;
}
.zanboxpop .zanwraper .title.data-v-b2cb78f4 {
margin-top: 48rpx;
text-align: center;
font-weight: 500;
font-size: 36rpx;
color: rgba(0, 0, 0, 0.85);
}
.zanboxpop .zanwraper .content.data-v-b2cb78f4 {
padding: 30rpx 0;
background: #f5f6f9;
text-align: center;
}
.zanboxpop .zanwraper .content.data-v-b2cb78f4 .imgstyle {
max-width: 100% !important;
}
.zanboxpop .zanwraper .content.data-v-b2cb78f4 ._block {
text-align: left !important;
}
.zanboxpop .zanwraper .count.data-v-b2cb78f4 {
margin-top: 24rpx;
display: flex;
align-items: center;
text-align: center;
justify-content: center;
font-weight: 400;
font-size: 28rpx;
color: rgba(0, 0, 0, 0.65);
}
.zanboxpop .zanwraper .count .num.data-v-b2cb78f4 {
color: #ff0000;
font-size: 32rpx;
}
.zanboxpop .zanwraper .count .earn.data-v-b2cb78f4 {
font-size: 32rpx;
color: #3cc7c0;
}
.zanboxpop .zanwraper .countbox.data-v-b2cb78f4 {
display: flex;
width: 100%;
margin: 30rpx 0px 40rpx;
padding: 0 40rpx;
justify-content: center;
box-sizing: border-box;
}
.zanboxpop .zanwraper .countbox .minus.data-v-b2cb78f4 {
flex-shrink: 0;
margin-left: 10rp;
width: 90rpx;
height: 90rpx;
font-size: 60rpx;
color: #333;
display: flex;
justify-content: center;
align-items: center;
background: #ffffff;
border-radius: 12rpx;
border: 2rpx solid #e9e9e9;
}
.zanboxpop .zanwraper .countbox .add.data-v-b2cb78f4 {
flex-shrink: 0;
width: 90rpx;
margin-left: 10rpx;
height: 90rpx;
font-size: 60rpx;
color: #333;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
background: #3cc7c0;
border-radius: 12rpx;
border: 2rpx solid #3cc7c0;
}
.zanboxpop .zanwraper .countbox.data-v-b2cb78f4 .u-input__content__field-wrapper__field {
height: 60rpx;
font-size: 34rpx !important;
text-align: center !important;
}
.zanboxpop .zanwraper .countbox.data-v-b2cb78f4 .u-input {
background: #f2f2f2;
width: 200rpx !important;
flex: none;
}
.zanboxpop .zanwraper .countbox.data-v-b2cb78f4 .u-input--radius {
border-radius: 24rrpx;
}
.zanboxpop .zanwraper .btnbox.data-v-b2cb78f4 {
margin: 0px 40rpx 0px;
display: flex;
justify-content: space-between;
}
.zanboxpop .zanwraper .btnbox .cancle.data-v-b2cb78f4 {
color: rgba(0, 0, 0, 0.3);
width: 256rpx;
height: 88rpx;
background: #f5f6f9;
border-radius: 25px;
border: 2rpx solid rgba(0, 0, 0, 0.15);
font-weight: 500;
font-size: 32rpx;
color: rgba(0, 0, 0, 0.85);
display: flex;
justify-content: center;
align-items: center;
}
.zanboxpop .zanwraper .btnbox .ok.data-v-b2cb78f4 {
color: #fff;
width: 256rpx;
height: 88rpx;
background: #3cc7c0;
border-radius: 25px;
border: 2rpx solid #3cc7c0;
font-weight: 500;
font-size: 32rpx;
display: flex;
justify-content: center;
align-items: center;
}