From 75f28206cc1887bc6085647cfd424fa2733ed548 Mon Sep 17 00:00:00 2001
From: Xiaokang Lei <13281183@bjtu.edu.cn>
Date: Mon, 30 Jan 2023 14:27:22 +0800
Subject: [PATCH] add news template
---
app.json | 5 +-
pages/about/home/home.js | 6 +-
pages/index/component/card/card.wxml | 30 ++++-
pages/index/component/swiper/swiper.wxml | 2 +-
pages/template/home/home.js | 12 +-
pages/template/index/index01/index01.js | 6 -
pages/template/index/index01/index01.wxml | 5 +-
pages/template/index/index02/index02.js | 3 -
pages/template/index/index02/index02.wxml | 10 +-
pages/template/music/music01/music01.wxml | 2 +-
pages/template/news/home/home.js | 82 +++++++++++++
pages/template/news/home/home.json | 3 +
pages/template/news/home/home.wxml | 23 ++++
pages/template/news/home/home.wxss | 1 +
pages/template/news/news01/news01.js | 136 ++++++++++++++++++++++
pages/template/news/news01/news01.json | 3 +
pages/template/news/news01/news01.wxml | 59 ++++++++++
pages/template/news/news01/news01.wxss | 1 +
pages/template/news/news02/news02.js | 66 +++++++++++
pages/template/news/news02/news02.json | 3 +
pages/template/news/news02/news02.wxml | 2 +
pages/template/news/news02/news02.wxss | 1 +
pages/template/uitemplate/home/home.wxml | 2 +-
pages/template/user/user01/user01.wxml | 2 +-
pages/template/user/user02/user02.wxml | 10 +-
readme.md | 9 +-
26 files changed, 440 insertions(+), 44 deletions(-)
create mode 100644 pages/template/news/home/home.js
create mode 100644 pages/template/news/home/home.json
create mode 100644 pages/template/news/home/home.wxml
create mode 100644 pages/template/news/home/home.wxss
create mode 100644 pages/template/news/news01/news01.js
create mode 100644 pages/template/news/news01/news01.json
create mode 100644 pages/template/news/news01/news01.wxml
create mode 100644 pages/template/news/news01/news01.wxss
create mode 100644 pages/template/news/news02/news02.js
create mode 100644 pages/template/news/news02/news02.json
create mode 100644 pages/template/news/news02/news02.wxml
create mode 100644 pages/template/news/news02/news02.wxss
diff --git a/app.json b/app.json
index 6cebe3e..d9dd223 100644
--- a/app.json
+++ b/app.json
@@ -81,7 +81,10 @@
"pages/template/login/login02/login02",
"pages/index/component/stepper/stepper",
"pages/index/component/countdown/countdown",
- "pages/template/uitemplate/home/home"
+ "pages/template/uitemplate/home/home",
+ "pages/template/news/home/home",
+ "pages/template/news/news01/news01",
+ "pages/template/news/news02/news02"
],
"window": {
"backgroundTextStyle": "light",
diff --git a/pages/about/home/home.js b/pages/about/home/home.js
index bf36b8e..7fbd799 100644
--- a/pages/about/home/home.js
+++ b/pages/about/home/home.js
@@ -74,10 +74,10 @@ Component({
}, 20)
} else {
that.setData({
- templateCount: that.coutNum(16),
- usersCount: that.coutNum(1306),
+ templateCount: that.coutNum(17),
+ usersCount: that.coutNum(1411),
modelTotal: that.coutNum(46),
- visitTotal: that.coutNum(2264),
+ visitTotal: that.coutNum(2702),
})
}
}
diff --git a/pages/index/component/card/card.wxml b/pages/index/component/card/card.wxml
index 9bc29dc..20f955d 100644
--- a/pages/index/component/card/card.wxml
+++ b/pages/index/component/card/card.wxml
@@ -18,14 +18,14 @@
史诗
- 我已天理为凭,踏入这片荒芜,不再受凡人的枷锁遏制。我已天理为凭,踏入这片荒芜,不再受凡人的枷锁遏制。
+ 从自己的生活里找,先能打动自己,才有可能打动别人。