From 2572f8273f035ad3ea405713052d1e72237654d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BC=A0=E6=96=87=E6=B6=9B?= <1909118034@qq.com>
Date: Tue, 22 Oct 2024 22:55:08 +0800
Subject: [PATCH] =?UTF-8?q?UI=E6=9B=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages.json | 6 +-
pages/home/cpns/info-list.vue | 25 +-
pages/home/detail.vue | 16 +-
pages/home/home.vue | 358 ++++++++++++++--------------
pages/mine/mine.vue | 34 +--
pages/mine/set.vue | 62 ++---
pages/news/cpns/news-topic-nav.vue | 60 +++--
pages/news/cpns/topic-list.vue | 31 ++-
pages/news/news-topic-cate.vue | 2 +-
pages/news/news.vue | 359 ++++++++++++++---------------
pages/paper/cpns/paper-list.vue | 48 +++-
pages/paper/paper.vue | 10 +-
12 files changed, 547 insertions(+), 464 deletions(-)
diff --git a/pages.json b/pages.json
index 2ccd3f9..5683f97 100644
--- a/pages.json
+++ b/pages.json
@@ -142,7 +142,7 @@
{ // 新鲜事/话题/分类
"path": "pages/news/news-topic-cate",
"style": {
- "navigationBarTitleText": "话题分类",
+ "navigationBarTitleText": "分类",
"app-plus": {
"bounce": "none"
}
@@ -373,13 +373,13 @@
"iconWidth": "24px",
"list": [{
"pagePath": "pages/home/home",
- "text": "招聘",
+ "text": "首页",
"iconPath": "/static/img/tabbar/home.png",
"selectedIconPath": "/static/img/tabbar/home-ed.png"
},
{
"pagePath": "pages/news/news",
- "text": "培训",
+ "text": "课程",
"iconPath": "/static/img/tabbar/news.png",
"selectedIconPath": "/static/img/tabbar/news-ed.png"
},
diff --git a/pages/home/cpns/info-list.vue b/pages/home/cpns/info-list.vue
index abb7ce4..99803cd 100644
--- a/pages/home/cpns/info-list.vue
+++ b/pages/home/cpns/info-list.vue
@@ -35,7 +35,8 @@
-
+
@@ -47,7 +48,7 @@
-
+
@@ -153,7 +154,23 @@
goDetail() {
if (this.isDetail) return // 详情页,不跳转
this.$u.route('pages/home/detail', {
- data: JSON.stringify(this.info)
+ data: JSON.stringify({
+ age: 30,
+ commentNum: 388,
+ coverPic: "/static/img/list/01.jpg",
+ infoNum: {
+ cryNum: 2,
+ index: 0,
+ smileNum: 13
+ },
+ isFollow: false,
+ sex: 1,
+ shareNum: 32,
+ title: "做一件有价值的事情,坚持下去等待时间的回报吧!",
+ type: "img",
+ userPic: "/static/img/header/a.svg",
+ username: "芒种"
+ })
})
}
}
diff --git a/pages/home/detail.vue b/pages/home/detail.vue
index bcc419e..313da2a 100644
--- a/pages/home/detail.vue
+++ b/pages/home/detail.vue
@@ -12,13 +12,12 @@
@click="handlePreview(index)">
-
+
-