This commit is contained in:
2025-03-28 16:27:26 +08:00
parent f654e16c18
commit a3e6a6d8b8
494 changed files with 4072 additions and 47246 deletions
@@ -5,7 +5,7 @@
class="list-item"
>
<view class="main">
<text class="title">{{ data?.excerpt }}</text>
<text class="title">{{ data?.title }}</text>
<view class="info">
<text class="author">{{ data!.user_id!.length > 0 ? data!.user_id[0]!.nickname : '' }}</text>
<text class="publish_date">{{ publishTime(data?.publish_date ?? 0) }}</text>
@@ -6,7 +6,7 @@
>
<template v-slot:body>
<view class="main">
<text class="title">{{ data.excerpt }}</text>
<text class="title">{{ data.title }}</text>
<view class="info">
<text class="author">{{ data.user_id[0] ? data.user_id[0].nickname : '' }}</text>
<text class="publish_date">{{ publishTime(data.publish_date) }}</text>
@@ -7,7 +7,7 @@
>
<view class="main">
<view>
<text class="title">{{ data?.excerpt }}</text>
<text class="title">{{ data?.title }}</text>
</view>
<view class="info">
<text class="author">{{ data!.user_id!.length > 0 ? data!.user_id[0]!.nickname : '' }}</text>
@@ -8,7 +8,7 @@
<template v-slot:body>
<view class="main">
<view>
<text class="title">{{ data.excerpt }}</text>
<text class="title">{{ data.title }}</text>
</view>
<view class="info">
<text class="author">{{ data.user_id[0] ? data.user_id[0].nickname : '' }}</text>
@@ -5,7 +5,7 @@
class="list-item"
>
<view class="main">
<text class="title">{{ data?.excerpt }}</text>
<text class="title">{{ data?.title }}</text>
<view class="info">
<text class="author">{{ data!.user_id!.length > 0 ? data!.user_id[0]!.nickname : '' }}</text>
<text class="publish_date">{{ publishTime(data?.publish_date ?? 0) }}</text>
@@ -6,7 +6,7 @@
>
<template v-slot:body>
<view class="main">
<text class="title">{{ data.excerpt }}</text>
<text class="title">{{ data.title }}</text>
<view class="info">
<text class="author">{{ data.user_id[0] ? data.user_id[0].nickname : '' }}</text>
<text class="publish_date">{{ ctype==="historyList"?"最近访问于:" + publishTime(data.last_view_time): publishTime(data.publish_date) }}</text>
@@ -6,7 +6,7 @@
direction="column"
>
<view class="main">
<text class="title">{{ data?.excerpt }}</text>
<text class="title">{{ data?.title }}</text>
<view class="thumbnails">
<image
v-for="image in data?.thumbnail"
@@ -7,7 +7,7 @@
>
<template v-slot:body>
<view class="main">
<text class="title">{{ data.excerpt }}</text>
<text class="title">{{ data.title }}</text>
<view class="thumbnails">
<image
v-for="image in data.thumbnail"
@@ -96,7 +96,7 @@ export default {
if (this.watchByUser) {
// 登录跳转URL 请根据实际情况修改
const redirectUrl = '/uni_modules/uni-id-pages/pages/login/login-withoutpwd' + (this.currentPageRoute ? '?uniIdRedirectUrl=' + this.currentPageRoute + '?id=' + this.currentArticleId : '')
const redirectUrl = '/pages3/uni_modules/uni-id-pages/pages/login/login-withoutpwd' + (this.currentPageRoute ? '?uniIdRedirectUrl=' + this.currentPageRoute + '?id=' + this.currentArticleId : '')
//::TODO 支持设备与用户
// 如果用户未登录,则提示需要登录
Binary file not shown.
@@ -66,31 +66,31 @@
</view>
<view class="example-body" style="justify-content:center">
<image src="https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/static/center/avatar.png?expire_at=1741142218&er_sign=2f723854c2a07dcb5571d2ede5458f7f" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/static/center/avatar.png?expire_at=1741142218&er_sign=2f723854c2a07dcb5571d2ede5458f7f" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/static/center/avatar.png?expire_at=1741142218&er_sign=2f723854c2a07dcb5571d2ede5458f7f" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/static/center/avatar.png?expire_at=1741142218&er_sign=2f723854c2a07dcb5571d2ede5458f7f" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/static/center/avatar.png?expire_at=1741142218&er_sign=2f723854c2a07dcb5571d2ede5458f7f" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/static/center/avatar.png?expire_at=1741142218&er_sign=2f723854c2a07dcb5571d2ede5458f7f" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/static/center/avatar.png?expire_at=1741142218&er_sign=2f723854c2a07dcb5571d2ede5458f7f" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://qnycdn.mymoyu.top/static/avatar.jpg" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://qnycdn.mymoyu.top/static/avatar.jpg" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://qnycdn.mymoyu.top/static/avatar.jpg" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://qnycdn.mymoyu.top/static/avatar.jpg" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://qnycdn.mymoyu.top/static/avatar.jpg" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://qnycdn.mymoyu.top/static/avatar.jpg" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://qnycdn.mymoyu.top/static/avatar.jpg" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
</view>
<view class="example-body" style="justify-content:center">
<image src="https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/static/center/avatar.png?expire_at=1741142218&er_sign=2f723854c2a07dcb5571d2ede5458f7f" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/static/center/avatar.png?expire_at=1741142218&er_sign=2f723854c2a07dcb5571d2ede5458f7f" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/static/center/avatar.png?expire_at=1741142218&er_sign=2f723854c2a07dcb5571d2ede5458f7f" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/static/center/avatar.png?expire_at=1741142218&er_sign=2f723854c2a07dcb5571d2ede5458f7f" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/static/center/avatar.png?expire_at=1741142218&er_sign=2f723854c2a07dcb5571d2ede5458f7f" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/static/center/avatar.png?expire_at=1741142218&er_sign=2f723854c2a07dcb5571d2ede5458f7f" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/static/center/avatar.png?expire_at=1741142218&er_sign=2f723854c2a07dcb5571d2ede5458f7f" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://qnycdn.mymoyu.top/static/avatar.jpg" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://qnycdn.mymoyu.top/static/avatar.jpg" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://qnycdn.mymoyu.top/static/avatar.jpg" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://qnycdn.mymoyu.top/static/avatar.jpg" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://qnycdn.mymoyu.top/static/avatar.jpg" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://qnycdn.mymoyu.top/static/avatar.jpg" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://qnycdn.mymoyu.top/static/avatar.jpg" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
</view>
<view class="example-body" style="justify-content:center">
<image src="https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/static/center/avatar.png?expire_at=1741142218&er_sign=2f723854c2a07dcb5571d2ede5458f7f" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/static/center/avatar.png?expire_at=1741142218&er_sign=2f723854c2a07dcb5571d2ede5458f7f" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/static/center/avatar.png?expire_at=1741142218&er_sign=2f723854c2a07dcb5571d2ede5458f7f" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/static/center/avatar.png?expire_at=1741142218&er_sign=2f723854c2a07dcb5571d2ede5458f7f" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/static/center/avatar.png?expire_at=1741142218&er_sign=2f723854c2a07dcb5571d2ede5458f7f" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/static/center/avatar.png?expire_at=1741142218&er_sign=2f723854c2a07dcb5571d2ede5458f7f" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/static/center/avatar.png?expire_at=1741142218&er_sign=2f723854c2a07dcb5571d2ede5458f7f" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://qnycdn.mymoyu.top/static/avatar.jpg" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://qnycdn.mymoyu.top/static/avatar.jpg" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://qnycdn.mymoyu.top/static/avatar.jpg" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://qnycdn.mymoyu.top/static/avatar.jpg" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://qnycdn.mymoyu.top/static/avatar.jpg" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://qnycdn.mymoyu.top/static/avatar.jpg" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
<image src="https://qnycdn.mymoyu.top/static/avatar.jpg" style="width: 64rpx;height: 64rpx;border-radius: 50%;"></image>
</view>
<!-- comment_count -->
<view class="comment-eg">
@@ -126,7 +126,7 @@ const uniIdCo = uniCloud.importObject("uni-id-co")
import {
store,
mutations
} from '@/uni_modules/uni-id-pages/common/store.js'
} from '@/pages3/uni_modules/uni-id-pages/common/store.js'
const db = uniCloud.database()
@@ -276,7 +276,7 @@ checkLogin() {
// 优化提示交互(带图标和动画)
uni.showModal({
title: '🔐 登录提示',
title: '?? 登录提示',
content: '体验完整功能需要先登录哦~',
confirmText: '立即登录',
cancelText: '稍后再说',
File diff suppressed because it is too large Load Diff
Binary file not shown.
@@ -99,7 +99,7 @@
import {
store,
mutations
} from '@/uni_modules/uni-id-pages/common/store.js'
} from '@/pages3/uni_modules/uni-id-pages/common/store.js'
import statusBar from "@/uni_modules/uni-nav-bar/components/uni-nav-bar/uni-status-bar";
import translatePublishTime from "@/uni_modules/uni-cms-article/common/publish-time";
@@ -202,12 +202,12 @@
console.log(token);
if (!token) {
uni.navigateTo({
url:"/uni_modules/uni-id-pages/pages/login/login-withoutpwd?type=weixin"
url:"/pages3/uni_modules/uni-id-pages/pages/login/login-withoutpwd?type=weixin"
})
}
else {
uni.navigateTo({
url: "/uni_modules/uni-id-pages/pages/userinfo/userinfo?showLoginManage=true"
url: "/pages3/uni_modules/uni-id-pages/pages/userinfo/userinfo?showLoginManage=true"
})
}
}