This commit is contained in:
zoujiandong
2025-07-22 15:56:22 +08:00
parent 89336f5621
commit 1d598d149b
28 changed files with 881 additions and 509 deletions
+11 -4
View File
@@ -26,7 +26,7 @@ const _sfc_main = {
const total = common_vendor.ref(0);
common_vendor.ref("");
const keyWord = common_vendor.ref("");
const isArticle = common_vendor.ref(true);
common_vendor.ref(true);
const isSearch = common_vendor.ref(false);
const navName = common_vendor.ref("肝胆相照临床病例库");
const type1 = common_vendor.ref(0);
@@ -82,9 +82,16 @@ const _sfc_main = {
return common_vendor.dayjs(date).format("YYYY-MM-DD");
};
const goDetail = (id) => {
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:135", 11111);
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:135", type1.value);
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:136", id);
let type = isArticle.value ? "article" : "video";
let type = "article";
if (type2.value == 1) {
type = "article";
} else if (type2.value == 2) {
type = "video";
} else if (type2.value == 3) {
type = "exchange";
}
utils_navTo.navTo({
url: `/pages/detail/detail?id=${id}&type=${type}`
});
@@ -177,7 +184,7 @@ const _sfc_main = {
f: common_vendor.t(item.data.collect_num),
g: "1cf734f5-7-" + i0 + ",1cf734f5-0",
h: common_vendor.t(formatdate(item.data.push_date)),
i: common_vendor.o(($event) => goDetail(), item.collect_id),
i: common_vendor.o(($event) => goDetail(item.data.id), item.collect_id),
j: item.collect_id
};
}),
@@ -1 +1 @@
<view class="u-page data-v-1cf734f5"><z-paging wx:if="{{v}}" class="r data-v-1cf734f5" u-s="{{['top','d']}}" u-r="paging" bindquery="{{s}}" u-i="1cf734f5-0" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"><view slot="top"><nav-bar-search wx:if="{{b}}" class="data-v-1cf734f5" bindchangeWord="{{a}}" u-i="1cf734f5-1,1cf734f5-0" bind:__l="__l" u-p="{{b}}"></nav-bar-search><view wx:if="{{c}}" class="detail data-v-1cf734f5"><view class="desc data-v-1cf734f5">检索到:<text class="red data-v-1cf734f5">{{d}}篇</text></view><view wx:if="{{e}}" class="desc data-v-1cf734f5">检索词:<text class="red data-v-1cf734f5">{{f}}</text></view></view><view class="filterbox data-v-1cf734f5"><up-dropdown u-s="{{['d']}}" class="u-dropdown r data-v-1cf734f5" u-r="uDropdownRef" u-i="1cf734f5-2,1cf734f5-0" bind:__l="__l"><up-dropdown-item wx:if="{{i}}" class="data-v-1cf734f5" bindchange="{{g}}" u-i="1cf734f5-3,1cf734f5-2" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"></up-dropdown-item><up-dropdown-item wx:if="{{l}}" class="data-v-1cf734f5" bindchange="{{j}}" u-i="1cf734f5-4,1cf734f5-2" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"></up-dropdown-item></up-dropdown></view></view><view wx:for="{{n}}" wx:for-item="item" wx:key="j" class="item data-v-1cf734f5" bindtap="{{item.i}}"><view class="title ellipsis data-v-1cf734f5">{{item.a}}</view><view class="tagsbox data-v-1cf734f5"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-1cf734f5">{{tag.a}}</view></view><view class="deal data-v-1cf734f5"><view class="left data-v-1cf734f5"><view class="eyebox data-v-1cf734f5"><up-icon wx:if="{{o}}" class="data-v-1cf734f5" u-i="{{item.c}}" bind:__l="__l" u-p="{{o}}"></up-icon><view class="num data-v-1cf734f5">{{item.d}}</view></view><view class="collect data-v-1cf734f5"><up-icon wx:if="{{p}}" class="data-v-1cf734f5" u-i="{{item.e}}" bind:__l="__l" u-p="{{p}}"></up-icon><view class="num data-v-1cf734f5">{{item.f}}</view></view></view><view class="time data-v-1cf734f5"><up-icon wx:if="{{q}}" class="data-v-1cf734f5" u-i="{{item.g}}" bind:__l="__l" u-p="{{q}}"></up-icon><view class="num data-v-1cf734f5">{{item.h}}</view></view></view></view></z-paging></view>
<view class="u-page data-v-1cf734f5"><z-paging wx:if="{{v}}" class="r data-v-1cf734f5" u-s="{{['top','d']}}" u-r="paging" bindquery="{{s}}" u-i="1cf734f5-0" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"><view slot="top"><nav-bar-search wx:if="{{b}}" class="data-v-1cf734f5" bindchangeWord="{{a}}" u-i="1cf734f5-1,1cf734f5-0" bind:__l="__l" u-p="{{b}}"></nav-bar-search><view wx:if="{{c}}" class="detail data-v-1cf734f5"><view class="desc data-v-1cf734f5">检索到:<text class="red data-v-1cf734f5">{{d}}篇</text></view><view wx:if="{{e}}" class="desc data-v-1cf734f5">检索词:<text class="red data-v-1cf734f5">{{f}}</text></view></view><view class="filterbox data-v-1cf734f5"><up-dropdown u-s="{{['d']}}" class="u-dropdown r data-v-1cf734f5" u-r="uDropdownRef" u-i="1cf734f5-2,1cf734f5-0" bind:__l="__l"><up-dropdown-item wx:if="{{i}}" class="data-v-1cf734f5" bindchange="{{g}}" u-i="1cf734f5-3,1cf734f5-2" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"></up-dropdown-item><up-dropdown-item wx:if="{{l}}" class="data-v-1cf734f5" bindchange="{{j}}" u-i="1cf734f5-4,1cf734f5-2" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"></up-dropdown-item></up-dropdown></view></view><view wx:for="{{n}}" wx:for-item="item" wx:key="j" class="item data-v-1cf734f5" bindtap="{{item.i}}"><view class="title ellipsis-two-lines data-v-1cf734f5">{{item.a}}</view><view class="tagsbox data-v-1cf734f5"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-1cf734f5">{{tag.a}}</view></view><view class="deal data-v-1cf734f5"><view class="left data-v-1cf734f5"><view class="eyebox data-v-1cf734f5"><up-icon wx:if="{{o}}" class="data-v-1cf734f5" u-i="{{item.c}}" bind:__l="__l" u-p="{{o}}"></up-icon><view class="num data-v-1cf734f5">{{item.d}}</view></view><view class="collect data-v-1cf734f5"><up-icon wx:if="{{p}}" class="data-v-1cf734f5" u-i="{{item.e}}" bind:__l="__l" u-p="{{p}}"></up-icon><view class="num data-v-1cf734f5">{{item.f}}</view></view></view><view class="time data-v-1cf734f5"><up-icon wx:if="{{q}}" class="data-v-1cf734f5" u-i="{{item.g}}" bind:__l="__l" u-p="{{q}}"></up-icon><view class="num data-v-1cf734f5">{{item.h}}</view></view></view></view></z-paging></view>