Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
lumastoreapp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xieyishang
lumastoreapp
Commits
6ac6148c
Commit
6ac6148c
authored
Nov 12, 2021
by
xieyishang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
addxx
parent
e6d705b4
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
26 additions
and
12 deletions
+26
-12
manifest.json
manifest.json
+6
-6
pages/chat/chat/global.scss
pages/chat/chat/global.scss
+1
-1
static/chat/chaticon.png
static/chat/chaticon.png
+0
-0
static/chat/reporticon.png
static/chat/reporticon.png
+0
-0
static/chat/vieworder.png
static/chat/vieworder.png
+0
-0
store/Im_store.js
store/Im_store.js
+17
-4
utils/request.js
utils/request.js
+2
-1
No files found.
manifest.json
View file @
6ac6148c
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
"name"
:
"鹿马商家助手"
,
"name"
:
"鹿马商家助手"
,
"appid"
:
"__UNI__1EA80F1"
,
//这个是
web
的
"appid"
:
"__UNI__1EA80F1"
,
//这个是
web
的
"description"
:
"商家"
,
"description"
:
"商家"
,
"versionName"
:
"1.16
6
"
,
"versionName"
:
"1.16
8
"
,
"versionCode"
:
116
6
,
"versionCode"
:
116
8
,
"transformPx"
:
false
,
"transformPx"
:
false
,
"compatible"
:
{
"compatible"
:
{
"ignoreVersion"
:
true
//
true
表示忽略版本检查提示框,HBuilderX
1.9
.
0
及以上版本支持
"ignoreVersion"
:
true
//
true
表示忽略版本检查提示框,HBuilderX
1.9
.
0
及以上版本支持
...
@@ -188,14 +188,14 @@
...
@@ -188,14 +188,14 @@
},
},
"TX-TencentIM"
:
{
"TX-TencentIM"
:
{
"__plugin_info__"
:
{
"__plugin_info__"
:
{
"name"
:
"腾讯即时通信IM(完整版) qq群933785472
- [试用版,仅用于自定义调试基座]
"
,
"name"
:
"腾讯即时通信IM(完整版) qq群933785472"
,
"description"
:
"腾讯im插件致力于让用户轻松接入im功能"
,
"description"
:
"腾讯im插件致力于让用户轻松接入im功能"
,
"platforms"
:
"Android,iOS"
,
"platforms"
:
"Android,iOS"
,
"url"
:
"https://ext.dcloud.net.cn/plugin?id=2615"
,
"url"
:
"https://ext.dcloud.net.cn/plugin?id=2615"
,
"android_package_name"
:
""
,
"android_package_name"
:
"
com.app.lumastore
"
,
"ios_bundle_id"
:
""
,
"ios_bundle_id"
:
"
com.app.lumastore
"
,
"isCloud"
:
true
,
"isCloud"
:
true
,
"bought"
:
0
,
"bought"
:
1
,
"pid"
:
"2615"
,
"pid"
:
"2615"
,
"parameters"
:
{}
"parameters"
:
{}
}
}
...
...
pages/chat/chat/global.scss
View file @
6ac6148c
...
@@ -597,7 +597,7 @@ page{
...
@@ -597,7 +597,7 @@ page{
.navimgs
{
.navimgs
{
margin
:
0
auto
;
margin
:
0
auto
;
width
:
60upx
;
width
:
60upx
;
height
:
5
0upx
;
height
:
6
0upx
;
}
}
.navnames
{
.navnames
{
margin-top
:
10upx
;
margin-top
:
10upx
;
...
...
static/chat/chaticon.png
View replaced file @
e6d705b4
View file @
6ac6148c
4.07 KB
|
W:
|
H:
2.96 KB
|
W:
|
H:
2-up
Swipe
Onion skin
static/chat/reporticon.png
View replaced file @
e6d705b4
View file @
6ac6148c
7.04 KB
|
W:
|
H:
1.47 KB
|
W:
|
H:
2-up
Swipe
Onion skin
static/chat/vieworder.png
0 → 100644
View file @
6ac6148c
2.97 KB
store/Im_store.js
View file @
6ac6148c
...
@@ -126,10 +126,23 @@ const Im_store = {
...
@@ -126,10 +126,23 @@ const Im_store = {
// 1.刷新聊天界面里面的消息
// 1.刷新聊天界面里面的消息
// 2.刷新消息 页面里面的消息
// 2.刷新消息 页面里面的消息
//如果当前对话的人 和 给我发消息的人是一个人 就自动同步一波
//如果当前对话的人 和 给我发消息的人是一个人 就自动同步一波
if
(
store
.
state
.
dfuserId
==
result
.
msg
.
userId
)
{
if
(
result
.
type
==
'
onRecvNewMessage
'
){
store
.
dispatch
(
"
getC2CHistoryMessageList
"
,
{
msgId
:
""
}).
then
((
res
)
=>
{});
//去刷新聊天界面的消息
if
(
store
.
state
.
dfuserId
==
result
.
msg
.
userId
)
{
store
.
dispatch
(
"
getConversationList
"
,
{}).
then
(()
=>
{});
//刷新获取会话列表
store
.
dispatch
(
"
getC2CHistoryMessageList
"
,
{
msgId
:
""
}).
then
((
res
)
=>
{});
//去刷新聊天界面的消息
}
else
{
store
.
dispatch
(
"
getConversationList
"
,
{}).
then
(()
=>
{});
//刷新获取会话列表
}
else
{
store
.
dispatch
(
"
getConversationList
"
,
{}).
then
(()
=>
{});
//刷新获取会话列表
store
.
dispatch
(
"
messageTisfun
"
,
{});
//播放提醒消息
}
}
else
if
(
result
.
type
==
'
onRecvC2CReadReceipt
'
){
if
(
store
.
state
.
dfuserId
==
result
.
receiptList
[
0
].
userId
)
{
store
.
dispatch
(
"
getC2CHistoryMessageList
"
,
{
msgId
:
""
}).
then
((
res
)
=>
{});
//去刷新聊天界面的消息
store
.
dispatch
(
"
getConversationList
"
,
{}).
then
(()
=>
{});
//刷新获取会话列表
}
else
{
store
.
dispatch
(
"
getConversationList
"
,
{}).
then
(()
=>
{});
//刷新获取会话列表
store
.
dispatch
(
"
messageTisfun
"
,
{});
//播放提醒消息
}
}
else
{
store
.
dispatch
(
"
getConversationList
"
,
{}).
then
(()
=>
{});
//刷新获取会话列表
store
.
dispatch
(
"
getConversationList
"
,
{}).
then
(()
=>
{});
//刷新获取会话列表
store
.
dispatch
(
"
messageTisfun
"
,
{});
//播放提醒消息
store
.
dispatch
(
"
messageTisfun
"
,
{});
//播放提醒消息
}
}
...
...
utils/request.js
View file @
6ac6148c
...
@@ -119,7 +119,8 @@ export default function request(api, method, data, {noAuth = false, noVerify = f
...
@@ -119,7 +119,8 @@ export default function request(api, method, data, {noAuth = false, noVerify = f
header
:
header
,
header
:
header
,
data
:
data
||
{},
data
:
data
||
{},
success
:
(
res
)
=>
{
success
:
(
res
)
=>
{
// console.info("res",res);
console
.
info
(
"
data
"
,
data
);
console
.
info
(
"
res
"
,
res
);
// uni.hideLoading();
// uni.hideLoading();
if
(
noVerify
)
if
(
noVerify
)
reslove
(
res
.
data
,
res
);
reslove
(
res
.
data
,
res
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment