From 28abaed5c17c7e31f262f7c930b3d48fcaf59eb2 Mon Sep 17 00:00:00 2001 From: liutong <836164388@qq.com> Date: Wed, 2 Apr 2025 10:56:16 +0800 Subject: [PATCH] =?UTF-8?q?feat(common):=20=E6=96=B0=E5=A2=9E=E6=88=91?= =?UTF-8?q?=E7=9A=84=E6=B6=88=E6=81=AF=E5=92=8C=E7=B3=BB=E7=BB=9F=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加我的消息页面组件,用于展示用户消息列表 - 实现系统消息页面组件,展示系统通知列表 - 在线索页面添加跳转到我的消息的功能 - 新增拨打电话功能 - 更新页面配置,添加新的消息相关页面 --- pages.json | 18 +++ pages/common/my_message.vue | 209 +++++++++++++++++++++++++++++++ pages/common/sys_msg_list.vue | 206 ++++++++++++++++++++++++++++++ pages/market/clue/index.vue | 20 ++- static/images/common/yong_hu.png | Bin 0 -> 625 bytes 5 files changed, 451 insertions(+), 2 deletions(-) create mode 100644 pages/common/my_message.vue create mode 100644 pages/common/sys_msg_list.vue create mode 100644 static/images/common/yong_hu.png diff --git a/pages.json b/pages.json index b229dba..1563cc0 100644 --- a/pages.json +++ b/pages.json @@ -99,6 +99,24 @@ "navigationBarTextStyle": "black" } }, + { + "path" : "pages/common/my_message", + "style": { + "navigationBarTitleText": "我的消息", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path" : "pages/common/sys_msg_list", + "style": { + "navigationBarTitleText": "系统消息", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, { "path" : "pages/student/my/update_pass", "style": { diff --git a/pages/common/my_message.vue b/pages/common/my_message.vue new file mode 100644 index 0000000..189da0b --- /dev/null +++ b/pages/common/my_message.vue @@ -0,0 +1,209 @@ + + + + + + \ No newline at end of file diff --git a/pages/common/sys_msg_list.vue b/pages/common/sys_msg_list.vue new file mode 100644 index 0000000..48f8097 --- /dev/null +++ b/pages/common/sys_msg_list.vue @@ -0,0 +1,206 @@ + + + + + + \ No newline at end of file diff --git a/pages/market/clue/index.vue b/pages/market/clue/index.vue index ac96fa8..dfbd933 100644 --- a/pages/market/clue/index.vue +++ b/pages/market/clue/index.vue @@ -61,10 +61,10 @@ - + - + @@ -308,6 +308,22 @@ export default { await this.getList() }, + //跳转页面-我的消息 + openViewMyMessage(item) { + let user_id = item.user_id + uni.navigateTo({ + url: `/pages/common/my_message?user_id=${user_id}` + }) + }, + + //拨打电话 + dialTel(item) { + let tel = item.phone + uni.makePhoneCall({ + phoneNumber: tel + }) + }, + clue_info() { uni.navigateTo({ url: '/pages/market/clue/clue_info' diff --git a/static/images/common/yong_hu.png b/static/images/common/yong_hu.png new file mode 100644 index 0000000000000000000000000000000000000000..82a925a7c1298f1c78c9fac6dd3e539cdb3a5f8c GIT binary patch literal 625 zcmV-%0*?KOP)Px%D@jB_R9HvFn1NBlFbqYN4YUDd66hq*Nq|X!NoXgbY~T%m@3V4_YgtlC58w4@ zOYA&LU-C~U+Ax^;woJp{J0kijpHC^J!-gek@=hu@e;}g!@)}J&5z!kFy{DA$-W(=K z1@LUHc7A~yXb8g0k3{sk0id0dfl^8@+FB|IGXnr1e>t8tm@Wu2e>ilo6%c}++sS7j zSBgY?U!-YYf4Kq)Y69XtqFk$TMpb!5y-HIH^6iK>gtyoFMS((UrPpXnVx66o_W}|~ z2__Gl7Bi#Q0LB_iifRx~G|qCX-N`BVCAt|Tpbex19n&1l{N&V2){205%XRj)>_B=B zDW#o&c+!F>nEH@V1)@y95t*g{Iqso$#x_@h)Z`5UByyf~yJAl;%>3ynVVN2R!9=ri zoE1~^@1qfs$><}fpq1As%?yVn`bcDC5O4Eo7Y0QA@)#x!?jn%Lj;(8FLK?J-ta`~qUN-M)YC{S)=~}=Zgqp8F`=&00000 LNkvXXu0mjf^~(zC literal 0 HcmV?d00001