diff --git a/pages.json b/pages.json
index a5ded61..4b720b5 100644
--- a/pages.json
+++ b/pages.json
@@ -1,129 +1,150 @@
{
"easycom": {
- "autoscan": true,
- "custom": {
- "^u--(.*)": "uview-plus/components/u-$1/u-$1.vue",
- "^up-(.*)": "uview-plus/components/u-$1/u-$1.vue",
- "^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue"
+ "autoscan": true,
+ "custom": {
+ "^u--(.*)": "uview-plus/components/u-$1/u-$1.vue",
+ "^up-(.*)": "uview-plus/components/u-$1/u-$1.vue",
+ "^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue"
+ }
+ },
+ "pages": [
+
+ {
+ "path": "pages/signln/signiddetails",
+ "style": {
+ "navigationBarTitleText": "签到明细",
+ "navigationStyle": "custom"
+ }
+
+ },
+
+ {
+ "path": "pages/index",
+ "style": {
+ "navigationBarTitleText": "若依移动端框架",
+ "navigationStyle": "custom",
+ "navigationBarTextStyle": "white"
}
},
- "pages": [{
- "path": "pages/index",
- "style": {
- "navigationBarTitleText": "若依移动端框架",
- "navigationStyle": "custom",
- "navigationBarTextStyle": "white"
- }
- }
- ,
- {
- "path": "pages/loginInfo/login",
- "style": {
- "navigationBarTitleText": "登录"
- }
- },
- {
- "path": "pages/register",
- "style": {
- "navigationBarTitleText": "注册"
- }
- }, {
- "path": "pages/work/index",
- "style": {
- "navigationBarTitleText": "工作台"
- }
- }, {
- "path": "pages/mine/index",
- "style": {
- "navigationBarTitleText": "我的"
- }
- }, {
- "path": "pages/mine/avatar/index",
- "style": {
- "navigationBarTitleText": "修改头像"
- }
- }, {
- "path": "pages/mine/info/index",
- "style": {
- "navigationBarTitleText": "个人信息"
- }
- }, {
- "path": "pages/mine/info/edit",
- "style": {
- "navigationBarTitleText": "编辑资料"
- }
- },
- {
- "path": "pages/mine/info/userInfo",
- "style": {
- "navigationBarTitleText": "编辑资料"
- }
- },
- {
- "path": "pages/mine/pwd/index",
- "style": {
- "navigationBarTitleText": "修改密码"
- }
- }, {
- "path": "pages/mine/setting/index",
- "style": {
- "navigationBarTitleText": "应用设置"
- }
- }, {
- "path": "pages/mine/help/index",
- "style": {
- "navigationBarTitleText": "常见问题"
- }
- }, {
- "path": "pages/mine/about/index",
- "style": {
- "navigationBarTitleText": "关于我们"
- }
- }, {
- "path": "pages/common/webview/index",
- "style": {
- "navigationBarTitleText": "浏览网页"
- }
- }, {
- "path": "pages/common/textview/index",
- "style": {
- "navigationBarTitleText": "浏览文本"
- }
- }, {
- "path": "pages/search/index",
- "style": {
+ {
+ "path": "pages/loginInfo/login",
+ "style": {
+ "navigationBarTitleText": "登录"
+ }
+ },
+ {
+ "path": "pages/register",
+ "style": {
+ "navigationBarTitleText": "注册"
+ }
+ }, {
+ "path": "pages/work/index",
+ "style": {
+ "navigationBarTitleText": "工作台"
+ }
+ }, {
+ "path": "pages/mine/index",
+ "style": {
+ "navigationBarTitleText": "我的"
+ }
+ }, {
+ "path": "pages/mine/avatar/index",
+ "style": {
+ "navigationBarTitleText": "修改头像"
+ }
+ }, {
+ "path": "pages/mine/info/index",
+ "style": {
+ "navigationBarTitleText": "个人信息"
+ }
+ }, {
+ "path": "pages/mine/info/edit",
+ "style": {
+ "navigationBarTitleText": "编辑资料"
+ }
+ },
+ {
+ "path": "pages/mine/info/userInfo",
+ "style": {
+ "navigationBarTitleText": "编辑资料"
+ }
+ },
+ {
+ "path": "pages/mine/pwd/index",
+ "style": {
+ "navigationBarTitleText": "修改密码"
+ }
+ }, {
+ "path": "pages/mine/setting/index",
+ "style": {
+ "navigationBarTitleText": "应用设置"
+ }
+ }, {
+ "path": "pages/mine/help/index",
+ "style": {
+ "navigationBarTitleText": "常见问题"
+ }
+ }, {
+ "path": "pages/mine/about/index",
+ "style": {
+ "navigationBarTitleText": "关于我们"
+ }
+ }, {
+ "path": "pages/common/webview/index",
+ "style": {
+ "navigationBarTitleText": "浏览网页"
+ }
+ }, {
+ "path": "pages/common/textview/index",
+ "style": {
+ "navigationBarTitleText": "浏览文本"
+ }
+ }, {
+ "path": "pages/search/index",
+ "style": {
+ "navigationBarTitleText": "搜索"
+ }
+ },
+ {
+ "path": "pages/communication/addfriends",
+ "style": {
+ "navigationBarTitleText": "添加好友"
+ }
+ }
+ // {
+ // "path": "pages/signln/signiddetails",
+ // "style": {
+ // "navigationBarTitleText": "签到明细",
+ // "navigationStyle": "custom"
+ // }
- "navigationStyle": "custom" ,
- "navigationBarTextStyle": "white"
- }
- }],
- "tabBar": {
- "color": "#000000",
- "selectedColor": "#000000",
- "borderStyle": "white",
- "backgroundColor": "#ffffff",
- "list": [{
- "pagePath": "pages/index",
- "iconPath": "static/images/tabbar/home.png",
- "selectedIconPath": "static/images/tabbar/home_.png",
- "text": "首页"
- }
- , {
- "pagePath": "pages/work/index",
- "iconPath": "static/images/tabbar/work.png",
- "selectedIconPath": "static/images/tabbar/work_.png",
- "text": "工作台"
- }, {
- "pagePath": "pages/mine/index",
- "iconPath": "static/images/tabbar/mine.png",
- "selectedIconPath": "static/images/tabbar/mine_.png",
- "text": "我的"
- }
- ]
- },
- "globalStyle": {
- "navigationBarTextStyle": "black",
- "navigationBarTitleText": "RuoYi",
- "navigationBarBackgroundColor": "#FFFFFF"
- }
+ // }
+ ],
+ "tabBar": {
+ "color": "#000000",
+ "selectedColor": "#000000",
+ "borderStyle": "white",
+ "backgroundColor": "#ffffff",
+ "list": [{
+ "pagePath": "pages/index",
+ "iconPath": "static/images/tabbar/home.png",
+ "selectedIconPath": "static/images/tabbar/home_.png",
+ "text": "首页"
+ }, {
+ "pagePath": "pages/work/index",
+ "iconPath": "static/images/tabbar/work.png",
+ "selectedIconPath": "static/images/tabbar/work_.png",
+ "text": "工作台"
+ }, {
+ "pagePath": "pages/mine/index",
+ "iconPath": "static/images/tabbar/mine.png",
+ "selectedIconPath": "static/images/tabbar/mine_.png",
+ "text": "我的"
+ }]
+ },
+ "globalStyle": {
+ "navigationBarTextStyle": "black",
+ "navigationBarTitleText": "RuoYi",
+ "navigationBarBackgroundColor": "#FFFFFF"
+ }
}
diff --git a/pages/communication/addfriends.vue b/pages/communication/addfriends.vue
new file mode 100644
index 0000000..98a0244
--- /dev/null
+++ b/pages/communication/addfriends.vue
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
diff --git a/pages/index.vue b/pages/index.vue
index 7d11e1f..ab30ab4 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -4,33 +4,44 @@
-
-
+
+
+
+
+
+
+ {{item}}
+
+
+
+
-
-
+
-
-
+
+
在食堂捡到一张饭卡
-
+
-
- 热门
-
+
+ {{searchPrerequisite}}
+
+
+
@@ -68,21 +79,43 @@
-
+
+
+
+
+
+
{{item.uname}}
{{item.createTime + '·' + item.address}}
-
+
关注
已关注
{{item.title}}
{{item.content}}
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
+
+
+
+
+
+
+
+ 全部类目
+
+
+
+
+
+ 点击选择类目,仅可选择一个
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -148,7 +235,15 @@
data() {
return {
viewIndex: 0,
+ searchOpen: false,
+ lefther: 0,
+ searchPrerequisite: '热门',
+ postTypeOpen: false,
+ postTypeList: ['发布话题', '发布活动'],
bgColor: 'rgba(170, 0, 0, 0)',
+ searchPrerequisiteList: [
+ '热门', '最新', '筛选3', '筛选4', '筛选5', '筛选6', '筛选7', '筛选8', '筛选9'
+ ],
list1: [{
name: '关注',
}, {
@@ -173,12 +268,14 @@
createTime: '11分钟前',
address: '南开大学',
isFocus: false,
+ isOfficial: true,
title: '怎么评论爱德华·艾尔加这位音乐家及其他的作品,欢迎大家发表自己的看法?',
content: '八年前,学弟在工地上杀了一个工友,杀人前,他给警察打了电话,预告杀人的时间和地点,并......',
type: '1',
media: [
'https://tu.sioe.cn/gj/qiege/image.jpg',
'https://picx.zhimg.com/v2-3b4fc7e3a1195a081d0259246c38debc_720w.jpg?source=172ae18b',
+ 'https://bpic.51yuansu.com/backgd/cover/00/63/09/64b52b1426fff_800.jpg?x-oss-process=image/resize,w_780/sharpen,100',
'https://tu.sioe.cn/gj/qiege/image.jpg',
],
tab: [
@@ -197,6 +294,7 @@
createTime: '2024-5-5',
address: '南开大学',
isFocus: false,
+ isOfficial: false,
// title: '怎么评论爱德华·艾尔加这位音乐家及其他的作品,欢迎大家发表自己的看法?',
content: '是一个中文互联网高质量问答社区和创作者聚集的原创内容平台,于2011年1月正式上线',
type: '1',
@@ -212,6 +310,29 @@
commentCount: 13,
ifFavorite: true,
favoriteCount: 13
+ },{
+ avatar: 'https://picx.zhimg.com/v2-02f89d05a781ffed9fd2e32654d93135_720w.jpg?source=172ae18b',
+ uname: '恋爱60秒',
+ createTime: '2024-5-4',
+ address: '理工大学',
+ isFocus: false,
+ isOfficial: false,
+ title: '怎么评论爱德华·艾尔加这位音乐家及其他的作品,欢迎大家发表自己的看法?',
+ content: '是一个中文互联网高质量问答社区和创作者聚集的原创内容平台,于2011年1月正式上线',
+ type: '1',
+ media: [
+ 'https://tu.sioe.cn/gj/qiege/image.jpg',
+ 'https://picx.zhimg.com/v2-3b4fc7e3a1195a081d0259246c38debc_720w.jpg?source=172ae18b'
+ ],
+ tab: [
+ '校园风景'
+ ],
+ transmitCount: 13,
+ isLike: false,
+ likeCount: 99,
+ commentCount: 13,
+ ifFavorite: false,
+ favoriteCount: 13
}]
}
},
@@ -219,6 +340,24 @@
console.log(this.$store.state.user.QNDomain);
},
methods: {
+ previewImage(url, urls) {
+ uni.previewImage({
+ current: url, // 当前显示图片的http链接
+ urls: urls // 需要预览的图片http链接列表
+ });
+ },
+ toScanCode() {
+ // 允许从相机和相册扫码
+ uni.scanCode({
+ success: function (res) {
+ console.log('条码类型:' + res.scanType);
+ console.log('条码内容:' + res.result);
+ }
+ });
+ },
+ togglePostType() {
+ this.postTypeOpen = !this.postTypeOpen;
+ },
toEarch() {
console.log()
this.$tab.navigateTo('/pages/search/index')
@@ -261,12 +400,24 @@
addFocus(index) {
console.log(111,index)
this.postList[index].isFocus = !this.postList[index].isFocus;
+ },
+ handerLi(res) {
+ this.lefther = res;
+ console.log(res)
+ this.searchPrerequisite = this.searchPrerequisiteList[res]
+ setTimeout(() => {
+ this.searchOpen = !this.searchOpen
+ }, 350);
+
+ },
+ handerShowHand() {
+ this.searchOpen = !this.searchOpen
}
}
}
-
diff --git a/pages/search/index.vue b/pages/search/index.vue
index eb4e402..26688dd 100644
--- a/pages/search/index.vue
+++ b/pages/search/index.vue
@@ -1,241 +1,239 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- 在食堂捡到一张饭卡
-
-
-
+
+
+
+
+
+
+
+
+
+
- 搜索
-
+
+
+
+ 搜索
+
-
-
-
-
-
- 搜索历史
-
-
-
-
-
- {{ item }}
-
-
-
-
-
-
-
+
+
+
+ 搜索历史
+
+
+
+
+ {{ item }}
+
+
+
+
+
-
+
没有找到相关内容奥,换个词试试吧!
-
-
-
-
\ No newline at end of file
diff --git a/pages/signln/signiddetails.vue b/pages/signln/signiddetails.vue
new file mode 100644
index 0000000..ca62781
--- /dev/null
+++ b/pages/signln/signiddetails.vue
@@ -0,0 +1,136 @@
+
+
+
+
+
+
+
+ {{item.text}}
+ {{item.type}}{{item.count}}
+ {{item.time}}
+
+
+
+
+
+
+
+
+
diff --git a/project.config.json b/project.config.json
new file mode 100644
index 0000000..2a4c444
--- /dev/null
+++ b/project.config.json
@@ -0,0 +1,28 @@
+{
+ "appid": "wx892c075ce610e20f",
+ "compileType": "miniprogram",
+ "libVersion": "3.4.5",
+ "packOptions": {
+ "ignore": [],
+ "include": []
+ },
+ "setting": {
+ "coverView": true,
+ "es6": true,
+ "postcss": true,
+ "minified": true,
+ "enhance": true,
+ "showShadowRootInWxmlPanel": true,
+ "packNpmRelationList": [],
+ "babelSetting": {
+ "ignore": [],
+ "disablePlugins": [],
+ "outputPath": ""
+ }
+ },
+ "condition": {},
+ "editorSetting": {
+ "tabIndent": "insertSpaces",
+ "tabSize": 2
+ }
+}
\ No newline at end of file
diff --git a/project.private.config.json b/project.private.config.json
new file mode 100644
index 0000000..d78fa4d
--- /dev/null
+++ b/project.private.config.json
@@ -0,0 +1,7 @@
+{
+ "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
+ "projectname": "talk_app",
+ "setting": {
+ "compileHotReLoad": true
+ }
+}
\ No newline at end of file
diff --git a/static/images/sign/金币.png b/static/images/sign/金币.png
new file mode 100644
index 0000000..44cb6bc
Binary files /dev/null and b/static/images/sign/金币.png differ