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
3195aa15
Commit
3195aa15
authored
Nov 13, 2021
by
xieyishang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
addxx
parent
6ac6148c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
10 deletions
+21
-10
pages/chat/chat/chat.vue
pages/chat/chat/chat.vue
+20
-9
pages/chat/chat/global.scss
pages/chat/chat/global.scss
+1
-1
No files found.
pages/chat/chat/chat.vue
View file @
3195aa15
...
...
@@ -360,7 +360,7 @@
name
:
"
你好,您的订单骑手已经取餐。
"
},
{
name
:
"
你
还
,店铺主页有优惠券可以领取。
"
name
:
"
你
好
,店铺主页有优惠券可以领取。
"
},
{
name
:
"
我们的店铺是支持配送的
"
...
...
@@ -501,13 +501,15 @@
//语音和文字输入切换
taggleisVoice
()
{
this
.
isVoice
=
!
this
.
isVoice
;
if
(
!
this
.
isVoice
)
{
if
(
this
.
isVoice
)
{
// this.tagglecamera();
this
.
showcamera
=
false
;
}
},
tagglecamera
(
type
)
{
this
.
showtype
=
type
;
this
.
showcamera
=
!
this
.
showcamera
;
// this.showcamera = !this.showcamera;
this
.
showcamera
=
true
;
if
(
this
.
showcamera
)
{
if
(
type
==
1
||
type
==
2
)
{
this
.
isVoice
=
false
;
...
...
@@ -528,6 +530,8 @@
textareaFocus
()
{
this
.
showcamera
=
false
;
this
.
imcleargoods
();
this
.
ToTheBottom
();
//置底
},
imcleargoods
()
{
this
.
isshowtisgoods
=
false
;
//关闭提示产品
...
...
@@ -548,12 +552,19 @@
//页面置底
ToTheBottom
()
{
console
.
info
(
"
置底
"
);
setTimeout
(()
=>
{
uni
.
pageScrollTo
({
scrollTop
:
9999999999
,
// 设置一个超大值,以保证滚动条滚动到底部
duration
:
0
});
},
1000
)
this
.
$nextTick
(()
=>
{
// dom元素更新后执行,因此这里能正确打印更改之后的值
let
curRoute
=
this
.
$mp
.
page
.
route
;
if
(
curRoute
==
'
pages/chat/chat/chat
'
){
uni
.
pageScrollTo
({
scrollTop
:
9999999999
,
// 设置一个超大值,以保证滚动条滚动到底部
duration
:
0
});
}
else
{
console
.
info
(
"
不在当前页面了 不能置底
"
);
}
})
},
// 获取历史消息
getHistoryMsg
()
{
...
...
pages/chat/chat/global.scss
View file @
3195aa15
...
...
@@ -246,7 +246,7 @@ page{
background-color
:
#fff
;
box-shadow
:
0px
1upx
30upx
0px
rgba
(
0
,
0
,
0
,
0
.1
);
top
:
-2
4
0upx
;
top
:
-2
8
0upx
;
left
:
0
;
.thumbnails
{
width
:
160upx
;
...
...
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