打包地址

This commit is contained in:
zoujiandong
2025-06-17 13:40:11 +08:00
parent 28065a3a18
commit 33b5e299da
532 changed files with 42087 additions and 1 deletions
@@ -0,0 +1,243 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const common_assets = require("../../common/assets.js");
const api_api = require("../../api/api.js");
const utils_navTo = require("../../utils/navTo.js");
if (!Array) {
const _easycom_navBarSearch2 = common_vendor.resolveComponent("navBarSearch");
const _easycom_up_dropdown_item2 = common_vendor.resolveComponent("up-dropdown-item");
const _easycom_up_dropdown2 = common_vendor.resolveComponent("up-dropdown");
const _easycom_up__image2 = common_vendor.resolveComponent("up--image");
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
const _easycom_z_paging2 = common_vendor.resolveComponent("z-paging");
(_easycom_navBarSearch2 + _easycom_up_dropdown_item2 + _easycom_up_dropdown2 + _easycom_up__image2 + _easycom_up_icon2 + _easycom_z_paging2)();
}
const _easycom_navBarSearch = () => "../../components/navBarSearch/navBarSearch.js";
const _easycom_up_dropdown_item = () => "../../node-modules/uview-plus/components/u-dropdown-item/u-dropdown-item.js";
const _easycom_up_dropdown = () => "../../node-modules/uview-plus/components/u-dropdown/u-dropdown.js";
const _easycom_up__image = () => "../../node-modules/uview-plus/components/u--image/u--image.js";
const _easycom_up_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
const _easycom_z_paging = () => "../../uni_modules/z-paging/components/z-paging/z-paging.js";
if (!Math) {
(_easycom_navBarSearch + _easycom_up_dropdown_item + _easycom_up_dropdown + _easycom_up__image + _easycom_up_icon + _easycom_z_paging)();
}
const _sfc_main = {
__name: "specialList",
setup(__props) {
const user_id = common_vendor.ref("");
const is_selected = common_vendor.ref(0);
const paging = common_vendor.ref(null);
const dataList = common_vendor.ref([]);
const total = common_vendor.ref(0);
const keyWord = common_vendor.ref("");
const showNum = common_vendor.ref(false);
const options = common_vendor.ref([
{
label: "正序",
value: "asc"
},
{
label: "倒序",
value: "desc"
}
]);
const order = common_vendor.reactive({
read_num: "",
push_date: ""
});
const formatdate = (date) => {
return common_vendor.dayjs(date).format("YYYY-MM-DD");
};
common_vendor.onLoad((options2) => {
if (options2.keyWord) {
keyWord.value = options2.keyWord;
}
if (options2.userId) {
user_id.value = options2.userId;
}
if (options2.is_selected) {
is_selected.value = options2.is_selected;
}
});
const videoErrorCallback = (e) => {
common_vendor.index.showModal({
content: e.target.errMsg,
showCancel: false
});
};
const changeWord = (val) => {
if (!val)
return false;
showNum.value = true;
keyWord.value = val;
paging.value.reload();
};
const goDetail = (id) => {
utils_navTo.navTo({
url: `/pages/detail/detail?id=${id}&type=exchange`
});
};
const queryList = (pageNo, pageSize) => {
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:218", 666666);
const params = {
page: pageNo,
page_size: pageSize
};
searchList(params);
};
const searchList = async (params) => {
let searchForm = {
keyword: keyWord.value,
user_id: user_id.value
};
if (Number(is_selected.value)) {
searchForm.is_selected = Number(is_selected.value);
}
if (!order.read_num) {
delete order.read_num;
}
if (!order.push_date) {
delete order.push_date;
}
if (order.read_num || order.push_date) {
searchForm.order = order;
}
api_api.api.searchExchage({
...searchForm,
...params
}).then((res) => {
paging.value.complete(res.data.data.data);
total.value = res.data.data.total;
}).catch((err) => {
paging.value.complete(false);
});
};
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.o(changeWord),
b: common_vendor.p({
navName: "肝胆相照精选病例交流"
}),
c: total.value > 0 && showNum.value
}, total.value > 0 && showNum.value ? common_vendor.e({
d: common_vendor.t(total.value),
e: keyWord.value
}, keyWord.value ? {
f: common_vendor.t(keyWord.value)
} : {}) : {}, {
g: common_vendor.o(_ctx.change),
h: common_vendor.o(($event) => order.push_date = $event),
i: common_vendor.p({
title: "发布时间",
options: options.value,
modelValue: order.push_date
}),
j: common_vendor.o(_ctx.change),
k: common_vendor.o(($event) => order.read_num = $event),
l: common_vendor.p({
title: "阅读量",
options: options.value,
modelValue: order.read_num
}),
m: common_vendor.sr("uDropdownRef", "b2cb78f4-2,b2cb78f4-0"),
n: 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-5-" + i0 + ",b2cb78f4-0",
d: 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
}, item.exchange_content_image && item.exchange_content_image.length > 0 ? {
k: common_vendor.f(item.exchange_content_image, (unit, k1, i1) => {
return {
a: "b2cb78f4-6-" + i0 + "-" + i1 + ",b2cb78f4-0",
b: common_vendor.p({
src: unit,
radius: "10",
width: "220rpx",
height: "220rpx"
})
};
}),
l: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id)
} : {}, {
m: 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) => {
return {
a: index,
b: videoCell,
c: common_vendor.o(videoErrorCallback, index)
};
})
} : {}, {
o: item.label && item.label.length > 0
}, item.label && item.label.length > 0 ? {
p: 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: "b2cb78f4-7-" + i0 + ",b2cb78f4-0",
s: common_vendor.t(item.read_num),
t: "b2cb78f4-8-" + i0 + ",b2cb78f4-0",
v: common_vendor.t(item.collect_num),
w: "b2cb78f4-9-" + i0 + ",b2cb78f4-0",
x: common_vendor.t(item.comment_num),
y: "b2cb78f4-10-" + 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
});
}),
o: common_vendor.p({
name: "eye",
color: "#4B5563",
size: "28rpx"
}),
p: common_vendor.p({
name: "heart",
color: "#4B5563",
size: "28rpx"
}),
q: common_vendor.p({
name: "chat",
color: "#4B5563",
size: "28rpx"
}),
r: common_vendor.p({
name: "clock",
color: "#4B5563",
size: "28rpx"
}),
s: common_vendor.sr(paging, "b2cb78f4-0", {
"k": "paging"
}),
t: common_vendor.o(queryList),
v: common_vendor.o(($event) => dataList.value = $event),
w: common_vendor.p({
["inside-more"]: true,
["loading-more-no-more-text"]: "咱也是有底线的!",
["auto-show-back-to-top"]: true,
modelValue: dataList.value
})
});
};
}
};
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-b2cb78f4"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/specialList/specialList.js.map
@@ -0,0 +1,12 @@
{
"navigationBarTitleText": "肝胆相照临床病例库",
"navigationStyle": "custom",
"usingComponents": {
"nav-bar-search": "../../components/navBarSearch/navBarSearch",
"up-dropdown-item": "../../node-modules/uview-plus/components/u-dropdown-item/u-dropdown-item",
"up-dropdown": "../../node-modules/uview-plus/components/u-dropdown/u-dropdown",
"up--image": "../../node-modules/uview-plus/components/u--image/u--image",
"up-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
}
}
@@ -0,0 +1 @@
<view class="upage data-v-b2cb78f4"><z-paging wx:if="{{w}}" class="r data-v-b2cb78f4" u-s="{{['top','d']}}" u-r="paging" bindquery="{{t}}" u-i="b2cb78f4-0" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"><view slot="top"><nav-bar-search wx:if="{{b}}" class="data-v-b2cb78f4" bindchangeWord="{{a}}" u-i="b2cb78f4-1,b2cb78f4-0" bind:__l="__l" u-p="{{b}}"></nav-bar-search><view wx:if="{{c}}" class="detail data-v-b2cb78f4"><view class="desc data-v-b2cb78f4">检索到:<text class="red data-v-b2cb78f4">{{d}}个病例</text></view><view wx:if="{{e}}" class="desc data-v-b2cb78f4">检索词:<text class="red data-v-b2cb78f4">{{f}}</text></view></view><view class="bar data-v-b2cb78f4"></view><view class="filterbox data-v-b2cb78f4"><up-dropdown u-s="{{['d']}}" class="u-dropdown r data-v-b2cb78f4" u-r="uDropdownRef" u-i="b2cb78f4-2,b2cb78f4-0" bind:__l="__l"><up-dropdown-item wx:if="{{i}}" class="data-v-b2cb78f4" bindchange="{{g}}" u-i="b2cb78f4-3,b2cb78f4-2" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"></up-dropdown-item><up-dropdown-item wx:if="{{l}}" class="data-v-b2cb78f4" bindchange="{{j}}" u-i="b2cb78f4-4,b2cb78f4-2" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"></up-dropdown-item></up-dropdown></view></view><view class="box data-v-b2cb78f4"><view class="record data-v-b2cb78f4"><view class="list data-v-b2cb78f4"><view wx:for="{{n}}" wx:for-item="item" wx:key="B" class="cell data-v-b2cb78f4"><view bindtap="{{item.b}}" class="title ellipsis-two-lines data-v-b2cb78f4">{{item.a}}</view><view class="doctor data-v-b2cb78f4" bindtap="{{item.g}}"><up--image wx:if="{{item.d}}" class="data-v-b2cb78f4" u-i="{{item.c}}" bind:__l="__l" u-p="{{item.d}}"></up--image><view class="name data-v-b2cb78f4">{{item.e}}({{item.f}})</view></view><view class="content data-v-b2cb78f4" bindtap="{{item.i}}">{{item.h}}</view><view wx:if="{{item.j}}" class="imgbox data-v-b2cb78f4" bindtap="{{item.l}}"><view wx:for="{{item.k}}" wx:for-item="unit" class="imgcell data-v-b2cb78f4"><up--image wx:if="{{unit.b}}" class="data-v-b2cb78f4" u-s="{{['d']}}" u-i="{{unit.a}}" bind:__l="__l" u-p="{{unit.b}}"><view class="data-v-b2cb78f4" slot="error" style="font-size:24rpx">加载失败</view></up--image></view></view><view class="videocon data-v-b2cb78f4"><view wx:if="{{item.m}}" class="imgbox data-v-b2cb78f4"><video wx:for="{{item.n}}" wx:for-item="videoCell" wx:key="a" class="myVideo data-v-b2cb78f4" src="{{videoCell.b}}" binderror="{{videoCell.c}}" controls></video></view></view><view wx:if="{{item.o}}" class="tagbox data-v-b2cb78f4" bindtap="{{item.q}}"><view wx:for="{{item.p}}" wx:for-item="cell" wx:key="b" class="tag data-v-b2cb78f4">{{cell.a}}</view></view><view class="deal data-v-b2cb78f4" bindtap="{{item.A}}"><view class="left data-v-b2cb78f4"><view class="eyebox item data-v-b2cb78f4"><up-icon wx:if="{{o}}" class="data-v-b2cb78f4" u-i="{{item.r}}" bind:__l="__l" u-p="{{o}}"></up-icon><view class="num data-v-b2cb78f4">{{item.s}}</view></view><view class="collect item data-v-b2cb78f4"><up-icon wx:if="{{p}}" class="data-v-b2cb78f4" u-i="{{item.t}}" bind:__l="__l" u-p="{{p}}"></up-icon><view class="num data-v-b2cb78f4">{{item.v}}</view></view><view class="chat item data-v-b2cb78f4"><up-icon wx:if="{{q}}" class="data-v-b2cb78f4" u-i="{{item.w}}" bind:__l="__l" u-p="{{q}}"></up-icon><view class="num data-v-b2cb78f4">{{item.x}}</view></view></view><view class="time data-v-b2cb78f4"><up-icon wx:if="{{r}}" class="data-v-b2cb78f4" u-i="{{item.y}}" bind:__l="__l" u-p="{{r}}"></up-icon><view class="num data-v-b2cb78f4">{{item.z}}</view></view></view></view></view></view></view></z-paging></view>
@@ -0,0 +1,237 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.filterbox.data-v-b2cb78f4 {
display: flex;
height: 128rpx;
align-items: center;
position: relative;
border-bottom: 2rpx solid #f3f4f6;
}
.filterbox.data-v-b2cb78f4 .u-dropdown__menu__item__text {
font-size: 14px !important;
}
.filterbox .type.data-v-b2cb78f4 {
color: #606266;
font-size: 14px;
position: absolute;
left: 30rpx;
top: 24rpx;
display: flex;
justify-content: center;
align-items: center;
background: #F3F4F6;
border-radius: 15rpx;
height: 74rpx;
padding: 0 25rpx;
z-index: 2;
}
.detail.data-v-b2cb78f4 {
background: #f9f9f9;
padding: 12rpx 30rpx;
}
.detail .desc.data-v-b2cb78f4 {
font-size: 26rpx;
color: #4b5563;
line-height: 40rpx;
}
.detail .red.data-v-b2cb78f4 {
color: #ff0000;
}
.upage.data-v-b2cb78f4 {
display: flex;
flex-direction: column;
height: calc(100vh - 100rpx);
}
.upage.data-v-b2cb78f4 .u-flex {
display: flex;
flex-direction: row;
overflow: hidden;
}
.upage.data-v-b2cb78f4 .u-dropdown__menu {
background: #fff;
z-index: 1;
margin-left: 0rpx;
}
.upage.data-v-b2cb78f4 .u-dropdown__menu__item {
height: 74rpx;
padding: 0 20rpx;
background: #F3F4F6;
border-radius: 15rpx;
flex: none;
margin-left: 30rpx;
}
.box.data-v-b2cb78f4 {
flex: 1;
padding-bottom: 30rpx;
overflow-y: scroll;
}
.myVideo.data-v-b2cb78f4 {
width: 100%;
border-radius: 15rpx;
}
.deal.data-v-b2cb78f4 {
padding-top: 20rpx;
display: flex;
color: #4b5563;
font-size: 24rpx;
justify-content: space-between;
}
.deal .left.data-v-b2cb78f4 {
display: flex;
align-items: center;
}
.deal .left .item.data-v-b2cb78f4 {
width: 100rpx;
}
.deal .collect.data-v-b2cb78f4 {
display: flex;
align-items: center;
}
.deal .eyebox.data-v-b2cb78f4,
.deal .chat.data-v-b2cb78f4 {
display: flex;
align-items: center;
}
.deal .time.data-v-b2cb78f4 {
display: flex;
align-items: center;
}
.deal .num.data-v-b2cb78f4 {
margin-left: 8rpx;
}
.tagbox.data-v-b2cb78f4 {
margin-top: 24rpx;
display: flex;
}
.tagbox .tag.data-v-b2cb78f4 {
height: 54rpx;
padding: 0 28rpx;
background: #ecfaf9;
border-radius: 30rpx;
font-size: 27rpx;
color: #3cc7c0;
margin-right: 12rpx;
display: flex;
align-items: center;
justify-content: center;
}
.doctor.data-v-b2cb78f4 {
display: flex;
align-items: center;
}
.record.data-v-b2cb78f4 {
padding-top: 30rpx;
}
.record .list.data-v-b2cb78f4 {
margin: 30rpx 30rpx;
}
.record .list .name.data-v-b2cb78f4 {
padding: 20rpx 0 20rpx 15rpx;
font-size: 27rpx;
color: #333333;
}
.record .list .content.data-v-b2cb78f4 {
font-size: 27rpx;
color: #666666;
line-height: 38rpx;
}
.record .list .imgbox.data-v-b2cb78f4 {
display: flex;
margin-top: 24rpx;
}
.record .list .imgbox .imgcell.data-v-b2cb78f4 {
width: 220rpx;
height: 220rpx;
margin-right: 20rpx;
}
.record .list .imgbox .imgcell.data-v-b2cb78f4:last-child {
margin-right: 0;
}
.record.data-v-b2cb78f4 {
padding-top: 30rpx;
}
.record .list.data-v-b2cb78f4 {
margin: 8rpx 0rpx 0;
}
.record .list .cell.data-v-b2cb78f4 {
padding: 22rpx 30rpx;
border-bottom: 2rpx solid #f3f4f6;
}
.record .list .cell .circle.data-v-b2cb78f4 {
margin-top: 15rpx;
width: 15rpx;
height: 15rpx;
background: #3cc7c0;
border-radius: 50%;
}
.record .list .cell .title.data-v-b2cb78f4 {
margin-left: 10rpx;
font-size: 32rpx;
color: #000000;
line-height: 46rpx;
}
.record .list .cell.data-v-b2cb78f4:last-child {
border-bottom: none;
}
.titlebox.data-v-b2cb78f4 {
margin: 0 30rpx;
display: flex;
justify-content: space-between;
}
.titlebox .more.data-v-b2cb78f4 {
display: flex;
align-items: center;
}
.titlebox .more .morename.data-v-b2cb78f4 {
margin-right: 10rpx;
font-size: 28rpx;
color: #3cc7c0;
}
.bar.data-v-b2cb78f4 {
height: 16rpx;
background: #f3f4f6;
}
.databox.data-v-b2cb78f4 {
height: 162rpx;
background: #ffffff;
display: flex;
padding: 0 30rpx;
justify-content: space-between;
}
.databox .cell.data-v-b2cb78f4 {
flex: 1;
padding: 35rpx 0;
text-align: center;
}
.databox .cell .num.data-v-b2cb78f4 {
font-size: 38rpx;
color: #3cc7c0;
}
.databox .cell .name.data-v-b2cb78f4 {
margin-top: 18rpx;
font-size: 28rpx;
color: #4b5563;
}