diff --git a/App.vue b/App.vue
index 21d46f4..bd6c253 100644
--- a/App.vue
+++ b/App.vue
@@ -33,4 +33,70 @@
/* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
@import "uview-plus/index.scss";
@import '@/static/scss/index.scss';
+.mainContainer {
+ width: 100%;
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ /* 底部安全区 */
+ // padding-bottom: env(safe-area-inset-bottom);
+ box-sizing: border-box;
+ }
+
+ image {
+ width: 100%;
+ height: auto;
+ }
+
+ /* Flex布局 */
+
+ .flex{
+ display: flex;
+ }
+ .flexOne{
+ flex: 1;
+ }
+ .flexColumn{
+ flex-direction: column;
+ }
+ .wrap{
+ flex-wrap: wrap;
+ }
+ .noWrap{
+ flex-wrap: nowrap;
+ }
+ .alignCenter{
+ align-items: center;
+ }
+ .justifyCenter{
+ justify-content: center;
+ }
+ .alignBetween{
+ align-content: space-between;
+ }
+ .justifyBetween{
+ justify-content: space-between;
+ }
+ .alignStart{
+ align-items: flex-start;
+ }
+ .justifyStart{
+ justify-content: flex-start;
+ }
+ .alignEnd{
+ align-items: flex-end;
+ }
+ .justifyEnd{
+ justify-content: flex-end;
+ }
+ .justifyAround{
+ justify-content: space-around;
+ }
+
+
+
+ .qu{
+ width: 24rpx;
+ height: 24rpx;
+ }
diff --git a/config.js b/config.js
index a49d627..247c2da 100644
--- a/config.js
+++ b/config.js
@@ -1,8 +1,10 @@
// 应用全局配置
export default {
// baseUrl: 'https://vue.ruoyi.vip/prod-api',
- baseUrl: 'http://47.93.242.168:8080',
- // baseUrl: 'http://localhost:8080',
+ // baseUrl: 'http://47.93.242.168:8080',
+ // baseUrl: 'http://localhost:8080',
+ baseUrl: 'http://192.168.123.81:8080',
+ // baseUrl: 'http://47.93.242.168:8080',
// 应用信息
appInfo: {
// 应用名称
diff --git a/pages.json b/pages.json
index 9c9d2aa..a5ded61 100644
--- a/pages.json
+++ b/pages.json
@@ -8,6 +8,15 @@
}
},
"pages": [{
+ "path": "pages/index",
+ "style": {
+ "navigationBarTitleText": "若依移动端框架",
+ "navigationStyle": "custom",
+ "navigationBarTextStyle": "white"
+ }
+ }
+ ,
+ {
"path": "pages/loginInfo/login",
"style": {
"navigationBarTitleText": "登录"
@@ -19,13 +28,6 @@
"navigationBarTitleText": "注册"
}
}, {
- "path": "pages/index",
- "style": {
- "navigationBarTitleText": "若依移动端框架",
- "navigationStyle": "custom"
- }
- }
- , {
"path": "pages/work/index",
"style": {
"navigationBarTitleText": "工作台"
@@ -90,9 +92,9 @@
}, {
"path": "pages/search/index",
"style": {
-
+
"navigationStyle": "custom" ,
- "navigationBarTextStyle": "white"
+ "navigationBarTextStyle": "white"
}
}],
"tabBar": {
diff --git a/pages/index.vue b/pages/index.vue
index 87fccbb..78f594c 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -1,963 +1,561 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ postsousuotype }}
-
-
-
-
-
-
-
-
- 发布话题
- 发布活动
-
-
-
-
-
-
- 全部类目
+
+
+
+
- 点击选择类目,仅可选择一个
-
-
-
-
-
+ 1
+
+
+
+
+
+
+
+
+
+
+ 在食堂捡到一张饭卡
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ username.substring(0, 10) }}
-
-
- 置顶
- 审核中
- 已下架
-
-
-
-
-
-
- {{ createTime }}·{{ postaddress }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ '#' +
- tabItem }}
-
-
-
-
-
-
-
-
- {{ readCount }}
-
-
-
-
- {{ likeCount }}
-
-
-
-
- {{ likeCount }}
-
-
-
-
-
- {{ commentCount }}
-
-
-
-
-
-
-
-
-
-
- {{ favoriteCount }}
-
-
-
+
+ 热门
+
+
+
+
+
+
+
+ 我关注的人
+
+
+
+
+
+ {{item.uname}}
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ username.substring(0, 10) }}
-
-
- 置顶
- 审核中
- 已下架
-
-
-
-
-
-
- {{ createTime }}·{{ postaddress }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ '#' +
- tabItem }}
-
-
-
-
-
-
-
-
- {{ readCount }}
-
-
-
-
- {{ likeCount }}
-
-
-
-
- {{ likeCount }}
-
-
-
-
-
- {{ commentCount }}
-
-
-
-
-
-
-
-
-
-
- {{ favoriteCount }}
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.uname}}
+ {{item.createTime + '·' + item.address}}
+
+
+
+
+ 关注
+ 已关注
+
+
+ {{item.title}}
+ {{item.content}}
+
+
+
+ {{'#' + tabItem}}
+
+
+
+
+
+
+ {{ item.transmitCount }}
+
+
+
+
+
+
+ {{ item.likeCount }}
+
+
+
+
+
+ {{ item.likeCount }}
+
+
+
+
+
+ {{ item.commentCount }}
+
+
+
+
+
+ {{ item.favoriteCount }}
+
+
+
+
+
+ {{ item.favoriteCount }}
+
+
+
+
+
+
+
+
+
+
-
-
-
-
diff --git a/static/images/icon/tu1-1.png b/static/images/icon/tu1-1.png
new file mode 100644
index 0000000..98783a2
Binary files /dev/null and b/static/images/icon/tu1-1.png differ
diff --git a/static/images/icon/tu1-10.png b/static/images/icon/tu1-10.png
new file mode 100644
index 0000000..e8bd419
Binary files /dev/null and b/static/images/icon/tu1-10.png differ
diff --git a/static/images/icon/tu1-2.png b/static/images/icon/tu1-2.png
new file mode 100644
index 0000000..8a6b023
Binary files /dev/null and b/static/images/icon/tu1-2.png differ
diff --git a/static/images/icon/tu1-3.png b/static/images/icon/tu1-3.png
new file mode 100644
index 0000000..cb92c29
Binary files /dev/null and b/static/images/icon/tu1-3.png differ
diff --git a/static/images/icon/tu1-4.png b/static/images/icon/tu1-4.png
new file mode 100644
index 0000000..88d0c19
Binary files /dev/null and b/static/images/icon/tu1-4.png differ
diff --git a/static/images/icon/tu1-5.png b/static/images/icon/tu1-5.png
new file mode 100644
index 0000000..49c2685
Binary files /dev/null and b/static/images/icon/tu1-5.png differ
diff --git a/static/images/icon/tu1-6.png b/static/images/icon/tu1-6.png
new file mode 100644
index 0000000..be8fa4e
Binary files /dev/null and b/static/images/icon/tu1-6.png differ
diff --git a/static/images/icon/tu1-7.png b/static/images/icon/tu1-7.png
new file mode 100644
index 0000000..65b727a
Binary files /dev/null and b/static/images/icon/tu1-7.png differ
diff --git a/static/images/icon/tu1-8.png b/static/images/icon/tu1-8.png
new file mode 100644
index 0000000..bab0412
Binary files /dev/null and b/static/images/icon/tu1-8.png differ
diff --git a/static/images/icon/tu1-9.png b/static/images/icon/tu1-9.png
new file mode 100644
index 0000000..b26c090
Binary files /dev/null and b/static/images/icon/tu1-9.png differ
diff --git a/static/images/icon/tu2-1.png b/static/images/icon/tu2-1.png
new file mode 100644
index 0000000..6e7c2d6
Binary files /dev/null and b/static/images/icon/tu2-1.png differ
diff --git a/static/images/icon/tu2-2.png b/static/images/icon/tu2-2.png
new file mode 100644
index 0000000..bdee9b7
Binary files /dev/null and b/static/images/icon/tu2-2.png differ
diff --git a/static/images/icon/tu2-3.png b/static/images/icon/tu2-3.png
new file mode 100644
index 0000000..63574af
Binary files /dev/null and b/static/images/icon/tu2-3.png differ
diff --git a/static/images/icon/tu2-4.png b/static/images/icon/tu2-4.png
new file mode 100644
index 0000000..e56b6a4
Binary files /dev/null and b/static/images/icon/tu2-4.png differ
diff --git a/static/images/icon/tu2-5.png b/static/images/icon/tu2-5.png
new file mode 100644
index 0000000..9086e0a
Binary files /dev/null and b/static/images/icon/tu2-5.png differ
diff --git a/static/images/icon/tu2-6.png b/static/images/icon/tu2-6.png
new file mode 100644
index 0000000..ef49783
Binary files /dev/null and b/static/images/icon/tu2-6.png differ
diff --git a/static/images/icon/tu2-7.png b/static/images/icon/tu2-7.png
new file mode 100644
index 0000000..571b32e
Binary files /dev/null and b/static/images/icon/tu2-7.png differ
diff --git a/static/images/icon/tu2-8.png b/static/images/icon/tu2-8.png
new file mode 100644
index 0000000..a716d7d
Binary files /dev/null and b/static/images/icon/tu2-8.png differ
diff --git a/static/images/icon/tu2-9.png b/static/images/icon/tu2-9.png
new file mode 100644
index 0000000..ad3284f
Binary files /dev/null and b/static/images/icon/tu2-9.png differ
diff --git a/static/images/icon/tu3-1.png b/static/images/icon/tu3-1.png
new file mode 100644
index 0000000..f7fed16
Binary files /dev/null and b/static/images/icon/tu3-1.png differ
diff --git a/static/images/icon/tu3-2.png b/static/images/icon/tu3-2.png
new file mode 100644
index 0000000..5e0bb82
Binary files /dev/null and b/static/images/icon/tu3-2.png differ
diff --git a/static/images/icon/tu3-3.png b/static/images/icon/tu3-3.png
new file mode 100644
index 0000000..4690195
Binary files /dev/null and b/static/images/icon/tu3-3.png differ
diff --git a/static/images/icon/tu3-4.png b/static/images/icon/tu3-4.png
new file mode 100644
index 0000000..626f351
Binary files /dev/null and b/static/images/icon/tu3-4.png differ
diff --git a/static/images/icon/tu3-5.png b/static/images/icon/tu3-5.png
new file mode 100644
index 0000000..43d00ad
Binary files /dev/null and b/static/images/icon/tu3-5.png differ
diff --git a/static/images/icon/tu3-6.png b/static/images/icon/tu3-6.png
new file mode 100644
index 0000000..d5d9eb4
Binary files /dev/null and b/static/images/icon/tu3-6.png differ
diff --git a/static/images/icon/tu3-7.png b/static/images/icon/tu3-7.png
new file mode 100644
index 0000000..8ac3fcf
Binary files /dev/null and b/static/images/icon/tu3-7.png differ
diff --git a/static/images/icon/tu3-8.png b/static/images/icon/tu3-8.png
new file mode 100644
index 0000000..141a227
Binary files /dev/null and b/static/images/icon/tu3-8.png differ
diff --git a/static/images/icon/tu3-9.jpg b/static/images/icon/tu3-9.jpg
new file mode 100644
index 0000000..e7a8a26
Binary files /dev/null and b/static/images/icon/tu3-9.jpg differ
diff --git a/static/images/icon/tu4-1.jpg b/static/images/icon/tu4-1.jpg
new file mode 100644
index 0000000..743a40e
Binary files /dev/null and b/static/images/icon/tu4-1.jpg differ
diff --git a/static/images/icon/tu4-2.jpg b/static/images/icon/tu4-2.jpg
new file mode 100644
index 0000000..addbdec
Binary files /dev/null and b/static/images/icon/tu4-2.jpg differ
diff --git a/static/images/icon/tu4-3.jpg b/static/images/icon/tu4-3.jpg
new file mode 100644
index 0000000..db4149b
Binary files /dev/null and b/static/images/icon/tu4-3.jpg differ
diff --git a/static/images/icon/tu4-4.jpg b/static/images/icon/tu4-4.jpg
new file mode 100644
index 0000000..568eae7
Binary files /dev/null and b/static/images/icon/tu4-4.jpg differ
diff --git a/static/images/icon/tu4-5.jpg b/static/images/icon/tu4-5.jpg
new file mode 100644
index 0000000..2ffdd75
Binary files /dev/null and b/static/images/icon/tu4-5.jpg differ
diff --git a/static/images/icon/tu4-6.jpg b/static/images/icon/tu4-6.jpg
new file mode 100644
index 0000000..fe17b60
Binary files /dev/null and b/static/images/icon/tu4-6.jpg differ
diff --git a/static/images/icon/tu4-7.jpg b/static/images/icon/tu4-7.jpg
new file mode 100644
index 0000000..d791fe7
Binary files /dev/null and b/static/images/icon/tu4-7.jpg differ
diff --git a/static/images/icon/tu4-8.jpg b/static/images/icon/tu4-8.jpg
new file mode 100644
index 0000000..568eae7
Binary files /dev/null and b/static/images/icon/tu4-8.jpg differ
diff --git a/static/images/icon/tu4-9.png b/static/images/icon/tu4-9.png
new file mode 100644
index 0000000..802e3a2
Binary files /dev/null and b/static/images/icon/tu4-9.png differ