This commit is contained in:
zoujiandong
2025-07-18 13:30:14 +08:00
parent 293b3e6a35
commit 9b4734acc5
58 changed files with 1790 additions and 311 deletions
+19 -13
View File
@@ -120,14 +120,20 @@ const _sfc_main = {
}),
c: isSearch.value
}, isSearch.value ? common_vendor.e({
d: common_vendor.t(numInfo.search_article_num),
e: common_vendor.t(numInfo.search_video_num),
f: keyWord.value
d: tab.value == 0
}, tab.value == 0 ? {
e: common_vendor.t(total.value)
} : {}, {
f: tab.value == 1
}, tab.value == 1 ? {
g: common_vendor.t(total.value)
} : {}, {
h: keyWord.value
}, keyWord.value ? {
g: common_vendor.t(keyWord.value)
i: common_vendor.t(keyWord.value)
} : {}) : {}, {
h: common_vendor.o(switchTab),
i: common_vendor.p({
j: common_vendor.o(switchTab),
k: common_vendor.p({
activeStyle: {
color: "#3CC7C0"
},
@@ -139,7 +145,7 @@ const _sfc_main = {
lineHeight: "2",
list: tabList.value
}),
j: common_vendor.f(dataList.value, (item, index, i0) => {
l: common_vendor.f(dataList.value, (item, index, i0) => {
return {
a: common_vendor.t(tab.value == 0 ? item.article_title : item.video_title),
b: common_vendor.f(item.author, (tag, k1, i1) => {
@@ -155,22 +161,22 @@ const _sfc_main = {
g: common_vendor.o(($event) => goDetail(item.cert_image), index)
};
}),
k: common_vendor.p({
m: common_vendor.p({
src: common_vendor.unref(common_assets.certImg),
width: "39rpx",
height: "39rpx"
}),
l: common_vendor.p({
n: common_vendor.p({
name: "clock",
color: "#6B7280",
size: "28rpx"
}),
m: common_vendor.sr(paging, "24ff958c-0", {
o: common_vendor.sr(paging, "24ff958c-0", {
"k": "paging"
}),
n: common_vendor.o(queryList),
o: common_vendor.o(($event) => dataList.value = $event),
p: common_vendor.p({
p: common_vendor.o(queryList),
q: common_vendor.o(($event) => dataList.value = $event),
r: common_vendor.p({
["inside-more"]: true,
["loading-more-no-more-text"]: "咱也是有底线的!",
["auto-show-back-to-top"]: true,
+1 -1
View File
@@ -1 +1 @@
<view class="u-page data-v-24ff958c"><z-paging wx:if="{{p}}" class="r data-v-24ff958c" u-s="{{['top','d']}}" u-r="paging" bindquery="{{n}}" u-i="24ff958c-0" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"><view slot="top"><nav-bar-search wx:if="{{b}}" class="data-v-24ff958c" bindchangeWord="{{a}}" u-i="24ff958c-1,24ff958c-0" bind:__l="__l" u-p="{{b}}"></nav-bar-search><view wx:if="{{c}}" class="detail data-v-24ff958c"><view class="desc data-v-24ff958c">检索到:<text class="red data-v-24ff958c">{{d}}篇文章</text></view><view class="desc data-v-24ff958c">检索到:<text class="red data-v-24ff958c">{{e}}个视频</text></view><view wx:if="{{f}}" class="desc data-v-24ff958c">检索词:<text class="red data-v-24ff958c">{{g}}</text></view></view><view class="tabcon data-v-24ff958c"><up-tabs wx:if="{{i}}" class="data-v-24ff958c" bindclick="{{h}}" u-i="24ff958c-2,24ff958c-0" bind:__l="__l" u-p="{{i}}"></up-tabs></view></view><view wx:for="{{j}}" wx:for-item="item" wx:key="f" class="item data-v-24ff958c" bindtap="{{item.g}}"><view class="title ellipsis data-v-24ff958c">{{item.a}}</view><view class="tagsbox data-v-24ff958c"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-24ff958c">{{tag.a}}</view></view><view class="deal data-v-24ff958c"><view class="left data-v-24ff958c"><view class="recored data-v-24ff958c"><up--image wx:if="{{k}}" class="data-v-24ff958c" u-i="{{item.c}}" bind:__l="__l" u-p="{{k}}"></up--image> 收录证书 </view></view><view class="time data-v-24ff958c"><up-icon wx:if="{{l}}" class="data-v-24ff958c" u-i="{{item.d}}" bind:__l="__l" u-p="{{l}}"></up-icon><view class="num data-v-24ff958c">{{item.e}}</view></view></view></view></z-paging></view>
<view class="u-page data-v-24ff958c"><z-paging wx:if="{{r}}" class="r data-v-24ff958c" u-s="{{['top','d']}}" u-r="paging" bindquery="{{p}}" u-i="24ff958c-0" bind:__l="__l" bindupdateModelValue="{{q}}" u-p="{{r}}"><view slot="top"><nav-bar-search wx:if="{{b}}" class="data-v-24ff958c" bindchangeWord="{{a}}" u-i="24ff958c-1,24ff958c-0" bind:__l="__l" u-p="{{b}}"></nav-bar-search><view wx:if="{{c}}" class="detail data-v-24ff958c"><view wx:if="{{d}}" class="desc data-v-24ff958c">检索到:<text class="red data-v-24ff958c">{{e}}篇文章</text></view><view wx:if="{{f}}" class="desc data-v-24ff958c">检索到:<text class="red data-v-24ff958c">{{g}}个视频</text></view><view wx:if="{{h}}" class="desc data-v-24ff958c">检索词:<text class="red data-v-24ff958c">{{i}}</text></view></view><view class="tabcon data-v-24ff958c"><up-tabs wx:if="{{k}}" class="data-v-24ff958c" bindclick="{{j}}" u-i="24ff958c-2,24ff958c-0" bind:__l="__l" u-p="{{k}}"></up-tabs></view></view><view wx:for="{{l}}" wx:for-item="item" wx:key="f" class="item data-v-24ff958c" bindtap="{{item.g}}"><view class="title ellipsis data-v-24ff958c">{{item.a}}</view><view class="tagsbox data-v-24ff958c"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-24ff958c">{{tag.a}}</view></view><view class="deal data-v-24ff958c"><view class="left data-v-24ff958c"><view class="recored data-v-24ff958c"><up--image wx:if="{{m}}" class="data-v-24ff958c" u-i="{{item.c}}" bind:__l="__l" u-p="{{m}}"></up--image> 收录证书 </view></view><view class="time data-v-24ff958c"><up-icon wx:if="{{n}}" class="data-v-24ff958c" u-i="{{item.d}}" bind:__l="__l" u-p="{{n}}"></up-icon><view class="num data-v-24ff958c">{{item.e}}</view></view></view></view></z-paging></view>