Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jueqing
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
7
Issues
7
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xhw
jueqing
Commits
b7eb9bd7
Commit
b7eb9bd7
authored
Aug 16, 2024
by
Ken Nakahira
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交更新代码
parent
ae3cfa0a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
131 additions
and
94 deletions
+131
-94
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
+0
-0
unpackage/dist/dev/mp-weixin/pages/index/index.js
+129
-92
unpackage/dist/dev/mp-weixin/pages/index/index.wxml
+2
-2
No files found.
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
View file @
b7eb9bd7
This source diff could not be displayed because it is too large. You can
view the blob
instead.
unpackage/dist/dev/mp-weixin/pages/index/index.js
View file @
b7eb9bd7
...
...
@@ -617,6 +617,8 @@ var recorderManager = uni.getRecorderManager();
var
_default
=
{
data
:
function
data
()
{
return
{
tools_money
:
true
,
tools_total
:
true
,
UI_show
:
true
,
normal
:
false
,
ttf
:
false
,
...
...
@@ -832,6 +834,21 @@ var _default = {
console
.
log
(
'this.worldParameter'
,
this
.
worldParameter
);
console
.
log
(
'currentPageData'
,
this
.
currentPageData
);
console
.
log
();
var
tool
=
JSON
.
parse
(
this
.
currentPageData
.
worldRules
).
tools
;
if
(
tool
.
length
==
0
)
{
//道具红包都不显示
this
.
tools_money
=
false
;
this
.
tools_total
=
false
;
}
else
if
(
tool
.
length
==
1
)
{
if
(
tool
[
0
]
==
"物品"
)
{
this
.
tools_money
=
false
;
}
else
if
(
tool
[
0
]
==
"红包"
)
{
this
.
tools_total
=
false
;
}
}
else
if
(
tool
.
length
==
2
)
{
//红包物品都显示
}
this
.
worldParameter
=
JSON
.
parse
(
this
.
currentPageData
.
worldParameter
);
this
.
worldParameter
=
this
.
worldParameter
.
filter
(
function
(
item
)
{
return
item
!=
'时间'
&&
item
!=
'地点'
&&
item
!=
'物品'
;
...
...
@@ -1113,7 +1130,7 @@ var _default = {
uni
.
hideLoading
();
//处理把数据添加至页面
var
backValue
=
JSON
.
parse
(
message
.
data
);
// console.log('----onMessage----',backValue)
console
.
log
(
'----onMessage----'
,
backValue
);
if
(
!
_this6
.
header
)
{
_this6
.
glod_dp
=
false
;
//先隐藏数字人对话框
}
...
...
@@ -1465,10 +1482,30 @@ var _default = {
console
.
log
(
err
);
});
},
reloadGetPhoto
:
function
reloadGetPhoto
()
{
var
_uni$request
,
_this9
=
this
;
uni
.
request
((
_uni$request
=
{
url
:
true
?
"https://admin.mindepoch.com:8089/worlds/"
.
concat
(
this
.
currentPageData
.
worldName
,
".png"
)
:
undefined
,
method
:
'GET'
,
responseType
:
'arraybuffer'
,
data
:
{
id
:
this
.
currentPageData
.
worldName
}
},
(
0
,
_defineProperty2
.
default
)(
_uni$request
,
"responseType"
,
'arraybuffer'
),
(
0
,
_defineProperty2
.
default
)(
_uni$request
,
"header"
,
{
'Cookie'
:
""
.
concat
(
uni
.
getStorageSync
(
'session_token'
)),
"Cache-Control"
:
"no-cache"
}),
_uni$request
)).
then
(
function
(
res
)
{
var
arrayBuffer
=
res
[
1
].
data
;
_this9
.
dpPhoto
=
'data:image/png;base64,'
+
uni
.
arrayBufferToBase64
(
arrayBuffer
);
}).
catch
(
function
(
err
)
{
console
.
log
(
err
);
});
},
getPhoto
:
function
getPhoto
()
{
var
_this
9
=
this
,
_uni$request
,
_uni$request
2
;
var
_this
10
=
this
,
_uni$request
2
,
_uni$request
3
;
//获取背景图
uni
.
request
({
url
:
true
?
"https://admin.mindepoch.com:8089/worlds/"
.
concat
(
this
.
currentPageData
.
worldName
,
".png"
)
:
undefined
,
...
...
@@ -1483,43 +1520,43 @@ var _default = {
}
}).
then
(
function
(
res
)
{
var
arrayBuffer
=
res
[
1
].
data
;
_this
9
.
codeUrl
=
'data:image/png;base64,'
+
uni
.
arrayBufferToBase64
(
arrayBuffer
);
_this
10
.
codeUrl
=
'data:image/png;base64,'
+
uni
.
arrayBufferToBase64
(
arrayBuffer
);
}).
catch
(
function
(
err
)
{
return
console
.
log
(
err
);
});
//获取数字人头像
uni
.
request
((
_uni$request
=
{
uni
.
request
((
_uni$request
2
=
{
url
:
true
?
"https://admin.mindepoch.com:8089/worlds/"
.
concat
(
this
.
currentPageData
.
worldName
,
".png"
)
:
undefined
,
method
:
'GET'
,
responseType
:
'arraybuffer'
,
data
:
{
id
:
this
.
currentPageData
.
worldName
}
},
(
0
,
_defineProperty2
.
default
)(
_uni$request
,
"responseType"
,
'arraybuffer'
),
(
0
,
_defineProperty2
.
default
)(
_uni$request
,
"header"
,
{
},
(
0
,
_defineProperty2
.
default
)(
_uni$request
2
,
"responseType"
,
'arraybuffer'
),
(
0
,
_defineProperty2
.
default
)(
_uni$request2
,
"header"
,
{
'Cookie'
:
""
.
concat
(
uni
.
getStorageSync
(
'session_token'
)),
"Cache-Control"
:
"no-cache"
}),
_uni$request
)).
then
(
function
(
res
)
{
}),
_uni$request
2
)).
then
(
function
(
res
)
{
var
arrayBuffer
=
res
[
1
].
data
;
_this
9
.
dpPhoto
=
'data:image/png;base64,'
+
uni
.
arrayBufferToBase64
(
arrayBuffer
);
_this
10
.
dpPhoto
=
'data:image/png;base64,'
+
uni
.
arrayBufferToBase64
(
arrayBuffer
);
}).
catch
(
function
(
err
)
{
console
.
log
(
err
);
});
//获取用户头像
uni
.
request
((
_uni$request
2
=
{
uni
.
request
((
_uni$request
3
=
{
url
:
true
?
"https://admin.mindepoch.com:8089/userFile/avatar"
.
concat
(
uni
.
getStorageSync
(
'wxUid'
),
".png"
)
:
undefined
,
method
:
'GET'
,
responseType
:
'arraybuffer'
,
data
:
{
// id: this.currentPageData.id,
}
},
(
0
,
_defineProperty2
.
default
)(
_uni$request
2
,
"responseType"
,
'arraybuffer'
),
(
0
,
_defineProperty2
.
default
)(
_uni$request2
,
"header"
,
{
},
(
0
,
_defineProperty2
.
default
)(
_uni$request
3
,
"responseType"
,
'arraybuffer'
),
(
0
,
_defineProperty2
.
default
)(
_uni$request3
,
"header"
,
{
'Cookie'
:
""
.
concat
(
uni
.
getStorageSync
(
'session_token'
)),
"Cache-Control"
:
"no-cache"
}),
_uni$request
2
)).
then
(
function
(
res
)
{
}),
_uni$request
3
)).
then
(
function
(
res
)
{
var
arrayBuffer
=
res
[
1
].
data
;
_this
9
.
userPhoto
=
'data:image/png;base64,'
+
uni
.
arrayBufferToBase64
(
arrayBuffer
);
_this
10
.
userPhoto
=
'data:image/png;base64,'
+
uni
.
arrayBufferToBase64
(
arrayBuffer
);
}).
catch
(
function
(
err
)
{
return
console
.
log
(
err
);
});
...
...
@@ -1586,7 +1623,7 @@ var _default = {
this
.
$refs
.
popup
.
open
(
'center'
);
},
clearISU
:
function
clearISU
()
{
var
_this1
0
=
this
;
var
_this1
1
=
this
;
this
.
historyRecord
=
[];
//清除页面显示的聊天记录
this
.
showResult
=
false
;
//隐藏底部的查看结局按钮
this
.
board
=
false
;
//隐藏弹窗
...
...
@@ -1613,12 +1650,12 @@ var _default = {
}).
then
(
function
(
res
)
{
console
.
log
(
'重置世界'
,
res
);
if
(
res
[
1
].
data
.
code
===
1
)
{
_this1
0
.
loading
=
false
;
//隐藏遮挡层
_this1
1
.
loading
=
false
;
//隐藏遮挡层
uni
.
hideLoading
();
// location.reload() //页面刷新
}
}).
catch
(
function
(
err
)
{
_this1
0
.
loading
=
false
;
//隐藏遮挡层
_this1
1
.
loading
=
false
;
//隐藏遮挡层
uni
.
hideLoading
();
});
},
...
...
@@ -1756,7 +1793,7 @@ var _default = {
});
},
handleSendMessage
:
function
handleSendMessage
()
{
var
_this1
1
=
this
;
var
_this1
2
=
this
;
// console.log('click')
if
(
this
.
inputVal
.
trim
()
===
''
)
{
uni
.
showToast
({
...
...
@@ -1768,7 +1805,7 @@ var _default = {
}
// 用户的每个输入需要立即回显,并回复一个[思考中...]的动画
this
.
timerConsider
=
setInterval
(
function
()
{
_this1
1
.
count
++
;
_this1
2
.
count
++
;
},
1000
);
this
.
historyRecord
.
push
({
Message
:
this
.
inputVal
,
...
...
@@ -1783,11 +1820,11 @@ var _default = {
// this.inputVal = ''
//滚动条触底
uni
.
createSelectorQuery
().
in
(
this
).
select
(
'#scroll-view-content'
).
boundingClientRect
(
function
(
res
)
{
console
.
log
(
'res'
,
res
,
_this1
1
.
historyRecord
.
length
);
console
.
log
(
'res'
,
res
,
_this1
2
.
historyRecord
.
length
);
if
(
res
)
{
_this1
1
.
scrollTop
=
res
.
height
;
_this1
2
.
scrollTop
=
res
.
height
;
}
else
{
_this1
1
.
scrollTop
=
_this11
.
historyRecord
.
length
*
1000
;
_this1
2
.
scrollTop
=
_this12
.
historyRecord
.
length
*
1000
;
}
}).
exec
();
this
.
socketTask
.
send
({
...
...
@@ -1797,7 +1834,7 @@ var _default = {
}),
success
:
function
success
()
{
console
.
log
(
'消息发送成功'
);
_this1
1
.
loading
=
true
;
_this1
2
.
loading
=
true
;
// uni.showLoading({
// title: '思考中...',
// mask: true // 是否显示透明蒙层,防止触摸穿透,默认为 false
...
...
@@ -1805,7 +1842,7 @@ var _default = {
var
str
=
'对方正在输入...'
;
var
i
=
6
;
_this1
1
.
timer
=
setInterval
(
function
()
{
_this1
2
.
timer
=
setInterval
(
function
()
{
if
(
i
<
10
)
{
i
+=
1
;
}
else
{
...
...
@@ -1819,7 +1856,7 @@ var _default = {
});
},
handleSendMessage2
:
function
handleSendMessage2
()
{
var
_this1
2
=
this
;
var
_this1
3
=
this
;
if
(
this
.
socketTask
==
null
)
{
this
.
socketConnect
();
}
...
...
@@ -1838,7 +1875,7 @@ var _default = {
// 用户的每个输入需要立即回显,并回复一个[思考中...]的动画
this
.
timerConsider
=
setInterval
(
function
()
{
_this1
2
.
count
++
;
_this1
3
.
count
++
;
},
1000
);
this
.
historyRecord
.
push
({
Message
:
this
.
inputVal
,
...
...
@@ -1853,11 +1890,11 @@ var _default = {
// this.inputVal = ''
//滚动条触底
uni
.
createSelectorQuery
().
in
(
this
).
select
(
'#scroll-view-content'
).
boundingClientRect
(
function
(
res
)
{
console
.
log
(
'res'
,
res
,
_this1
2
.
historyRecord
.
length
);
console
.
log
(
'res'
,
res
,
_this1
3
.
historyRecord
.
length
);
if
(
res
)
{
_this1
2
.
scrollTop
=
res
.
height
;
_this1
3
.
scrollTop
=
res
.
height
;
}
else
{
_this1
2
.
scrollTop
=
_this12
.
historyRecord
.
length
*
1000
;
_this1
3
.
scrollTop
=
_this13
.
historyRecord
.
length
*
1000
;
}
}).
exec
();
...
...
@@ -1875,15 +1912,15 @@ var _default = {
}),
success
:
function
success
()
{
console
.
log
(
'消息发送成功'
);
_this1
2
.
loading
=
true
;
_this1
2
.
inputVal_UI
=
_this12
.
inputVal
;
_this1
2
.
inputVal
=
''
;
_this1
2
.
glod_dp
=
false
;
_this1
3
.
loading
=
true
;
_this1
3
.
inputVal_UI
=
_this13
.
inputVal
;
_this1
3
.
inputVal
=
''
;
_this1
3
.
glod_dp
=
false
;
// this.glod_user = true
var
str
=
'对方正在输入...'
;
var
i
=
6
;
_this1
2
.
timer
=
setInterval
(
function
()
{
_this1
3
.
timer
=
setInterval
(
function
()
{
if
(
i
<
10
)
{
i
+=
1
;
}
else
{
...
...
@@ -1892,7 +1929,7 @@ var _default = {
uni
.
setNavigationBarTitle
({
title
:
str
.
substr
(
0
,
i
)
});
_this1
2
.
yyds_pangbai
=
str
.
substr
(
0
,
i
);
_this1
3
.
yyds_pangbai
=
str
.
substr
(
0
,
i
);
},
400
);
}
});
...
...
@@ -1921,7 +1958,7 @@ var _default = {
},
//假人音线
FetchAbuffer
:
function
FetchAbuffer
(
OriginObj
,
voicer
,
Sarry
,
CB
)
{
var
_this1
3
=
this
;
var
_this1
4
=
this
;
var
Cobj2
=
this
.
computeLen
(
OriginObj
);
// console.log('llllllllll',Cobj2)
var
Asr
=
Cobj2
.
Sr
;
...
...
@@ -1942,12 +1979,12 @@ var _default = {
S
:
Asr
});
// OriginObj = Cobj2
_this1
3
.
Cobj2
.
content
=
Cobj2
.
content
;
_this1
3
.
Cobj2
.
Sr
=
Cobj2
.
Sr
;
_this1
4
.
Cobj2
.
content
=
Cobj2
.
content
;
_this1
4
.
Cobj2
.
Sr
=
Cobj2
.
Sr
;
// console.log('OriginObj',OriginObj)
if
(
Cobj2
.
content
!=
""
)
{
setTimeout
(
function
()
{
_this1
3
.
FetchAbuffer
(
Cobj2
,
voicer
,
Sarry
);
_this1
4
.
FetchAbuffer
(
Cobj2
,
voicer
,
Sarry
);
},
500
);
}
}).
catch
(
function
(
err
)
{
...
...
@@ -1956,7 +1993,7 @@ var _default = {
},
//真人音线
FetchAbuffer_real
:
function
FetchAbuffer_real
(
OriginObj
,
voicer
,
Sarry
,
CB
)
{
var
_this1
4
=
this
;
var
_this1
5
=
this
;
var
Cobj
=
this
.
computeLen
(
OriginObj
);
var
Asr
=
Cobj
.
Sr
;
uni
.
request
({
...
...
@@ -1976,17 +2013,17 @@ var _default = {
S
:
Asr
});
// OriginObj = Cobj
_this1
4
.
Cobj
.
content
=
Cobj
.
content
;
_this1
4
.
Cobj
.
Sr
=
Cobj
.
Sr
;
_this1
5
.
Cobj
.
content
=
Cobj
.
content
;
_this1
5
.
Cobj
.
Sr
=
Cobj
.
Sr
;
if
(
Cobj
.
content
!=
""
)
{
setTimeout
(
function
()
{
_this1
4
.
FetchAbuffer_real
(
Cobj
,
voicer
,
Sarry
);
_this1
5
.
FetchAbuffer_real
(
Cobj
,
voicer
,
Sarry
);
},
500
);
}
});
},
execFile
:
function
execFile
(
data
,
ISLIU_content
)
{
var
_this1
5
=
this
;
var
_this1
6
=
this
;
// let arrObj = data;
// const content = arrObj[0].text;
// quoted为真 或为假 表示 真假音线
...
...
@@ -2006,31 +2043,31 @@ var _default = {
if
(
arrObj
[
0
].
quoted
)
{
if
(
text
!==
""
&&
!
falg
)
{
console
.
log
(
'Quote Added'
);
_this1
5
.
glod_dp
=
true
;
_this1
6
.
glod_dp
=
true
;
// this.glod_user = false
_this1
5
.
yyds_dp
=
text
;
_this1
5
.
yyds_pangbai
+=
" “ "
+
text
+
" ” "
;
_this1
6
.
yyds_dp
=
text
;
_this1
6
.
yyds_pangbai
+=
" “ "
+
text
+
" ” "
;
}
if
(
falg
)
{
console
.
log
(
'GoSound讲话完毕!'
);
arrObj
.
shift
();
console
.
log
(
'arrObj'
,
arrObj
);
if
(
arrObj
.
length
!==
0
)
{
_this1
5
.
execFile
(
arrObj
);
_this1
6
.
execFile
(
arrObj
);
}
}
}
else
{
if
(
text
!==
""
&&
!
falg
)
{
_this1
5
.
kill
=
false
;
_this1
5
.
delayText
(
text
);
_this1
6
.
kill
=
false
;
_this1
6
.
delayText
(
text
);
}
if
(
falg
)
{
console
.
log
(
'GoSay讲话完毕!'
);
_this1
5
.
kill
=
true
;
_this1
6
.
kill
=
true
;
arrObj
.
shift
();
console
.
log
(
'arrObj'
,
arrObj
);
if
(
arrObj
.
length
!==
0
)
{
_this1
5
.
execFile
(
arrObj
);
_this1
6
.
execFile
(
arrObj
);
}
}
}
...
...
@@ -2079,18 +2116,18 @@ var _default = {
return
matches
||
[];
},
delayText
:
function
delayText
(
text
)
{
var
_this1
6
=
this
;
var
_this1
7
=
this
;
var
count
=
text
.
split
(
""
);
clearInterval
(
this
.
Strem
);
this
.
Strem
=
setInterval
(
function
()
{
// let Nc = count.shift()
_this1
6
.
Nc
=
count
.
shift
();
_this1
7
.
Nc
=
count
.
shift
();
// console.log('this.Nc text',count,this.Nc)
_this1
6
.
yyds_pangbai
+=
_this16
.
Nc
;
_this1
6
.
str
=
count
.
join
(
""
);
_this1
6
.
scrollToBottom_pangbai
();
//滚动条到底部
_this1
7
.
yyds_pangbai
+=
_this17
.
Nc
;
_this1
7
.
str
=
count
.
join
(
""
);
_this1
7
.
scrollToBottom_pangbai
();
//滚动条到底部
if
(
count
.
length
==
0
)
{
clearInterval
(
_this1
6
.
Strem
);
clearInterval
(
_this1
7
.
Strem
);
}
},
50
);
},
...
...
@@ -2139,7 +2176,7 @@ var _default = {
data
:
arrayBuffer
[
1
].
data
,
encoding
:
'binary'
,
success
:
function
success
()
{
var
_this1
7
=
this
;
var
_this1
8
=
this
;
// 写入成功,使用小程序的背景音频播放器播放音频
if
(
that
.
EPlayer
)
{
// that.EPlayer.onended=null
...
...
@@ -2193,7 +2230,7 @@ var _default = {
Rfunc
();
}
else
{
console
.
log
(
'Checkpoint'
);
_this1
7
.
str
=
Sobj
.
S
;
_this1
8
.
str
=
Sobj
.
S
;
that
.
tempFilePath2
=
wx
.
env
.
USER_DATA_PATH
+
"/tempAudio_"
.
concat
(
new
Date
().
getTime
(),
".mp3"
);
FileSystemManager
.
writeFile
({
filePath
:
that
.
tempFilePath2
,
...
...
@@ -2232,7 +2269,7 @@ var _default = {
},
//假人音线
GoSay
:
function
GoSay
(
content
,
voicer
,
CB
)
{
var
_this1
8
=
this
;
var
_this1
9
=
this
;
if
(
!
this
.
soundVoice
[
voicer
])
{
//真人音线
this
.
GoSound
(
content
,
voicer
,
CB
);
...
...
@@ -2257,33 +2294,33 @@ var _default = {
}).
then
(
function
(
arrayBuffer
)
{
// console.log('arrayBuffer',arrayBuffer)
var
FileSystemManager
=
wx
.
getFileSystemManager
();
_this1
8
.
tempFilePath
=
wx
.
env
.
USER_DATA_PATH
+
"/tempAudio_"
.
concat
(
new
Date
().
getTime
(),
".mp3"
);
// 或者其他音频格式,根据实际情况而定
_this1
9
.
tempFilePath
=
wx
.
env
.
USER_DATA_PATH
+
"/tempAudio_"
.
concat
(
new
Date
().
getTime
(),
".mp3"
);
// 或者其他音频格式,根据实际情况而定
// console.log('tempFilePath:',this.tempFilePath);
FileSystemManager
.
writeFile
({
filePath
:
_this1
8
.
tempFilePath
,
filePath
:
_this1
9
.
tempFilePath
,
data
:
arrayBuffer
[
1
].
data
,
encoding
:
'binary'
,
success
:
function
success
()
{
// 写入成功,使用小程序的背景音频播放器播放音频
if
(
_this1
8
.
EPlayer
)
{
if
(
_this1
9
.
EPlayer
)
{
// this.EPlayer.onended=null
// this.EPlayer.onEnded()
_this1
8
.
EPlayer
.
stop
();
_this1
9
.
EPlayer
.
stop
();
// that.EPlayer.cb && that.EPlayer.cb(that.Cobj2.Sr, true, true)
}
if
(
CB
)
CB
(
_this1
8
.
Cobj2
.
Sr
);
_this1
8
.
EPlayer
=
wx
.
createInnerAudioContext
();
_this1
8
.
EPlayer
.
src
=
_this18
.
tempFilePath
;
_this1
8
.
EPlayer
.
play
();
if
(
CB
)
CB
(
_this1
9
.
Cobj2
.
Sr
);
_this1
9
.
EPlayer
=
wx
.
createInnerAudioContext
();
_this1
9
.
EPlayer
.
src
=
_this19
.
tempFilePath
;
_this1
9
.
EPlayer
.
play
();
console
.
log
(
'oooGoSayooo'
);
_this1
8
.
EPlayer
.
cb
=
CB
;
_this1
9
.
EPlayer
.
cb
=
CB
;
var
Rfunc
=
function
Rfunc
()
{
console
.
log
(
'Sarry'
,
Sarry
);
if
(
_this1
8
.
jumping
)
{
if
(
_this1
9
.
jumping
)
{
return
;
}
_this1
8
.
jumping
=
true
;
_this1
9
.
jumping
=
true
;
FileSystemManager
.
unlink
({
filePath
:
that
.
tempFilePath
,
success
:
function
success
(
res
)
{
...
...
@@ -2294,54 +2331,54 @@ var _default = {
}
});
if
(
Sarry
.
length
==
0
)
{
_this1
8
.
kill
=
true
;
if
(
_this1
8
.
Cobj2
.
content
!=
''
)
{
_this1
9
.
kill
=
true
;
if
(
_this1
9
.
Cobj2
.
content
!=
''
)
{
setTimeout
(
function
()
{
// this.EPlayer.onEnded(Rfunc)
_this1
8
.
EPlayer
.
onended
();
_this1
9
.
EPlayer
.
onended
();
},
1000
);
_this1
8
.
jumping
=
false
;
_this1
9
.
jumping
=
false
;
return
;
}
if
(
CB
)
{
CB
(
_this1
8
.
Cobj2
.
Sr
,
true
);
CB
(
_this1
9
.
Cobj2
.
Sr
,
true
);
}
_this1
8
.
jumping
=
false
;
_this1
9
.
jumping
=
false
;
return
;
}
var
Sobj
=
Sarry
.
shift
();
if
(
Sobj
.
A
==
null
)
{
CB
(
Sobj
.
S
);
_this1
8
.
jumping
=
false
;
_this1
9
.
jumping
=
false
;
Rfunc
();
}
else
{
console
.
log
(
'Checkpoint'
);
_this1
8
.
str
=
Sobj
.
S
;
_this1
8
.
tempFilePath2
=
wx
.
env
.
USER_DATA_PATH
+
"/tempAudio_"
.
concat
(
new
Date
().
getTime
(),
".mp3"
);
_this1
9
.
str
=
Sobj
.
S
;
_this1
9
.
tempFilePath2
=
wx
.
env
.
USER_DATA_PATH
+
"/tempAudio_"
.
concat
(
new
Date
().
getTime
(),
".mp3"
);
// const mark = that.Cobj2.Sr
FileSystemManager
.
writeFile
({
filePath
:
_this1
8
.
tempFilePath2
,
filePath
:
_this1
9
.
tempFilePath2
,
data
:
Sobj
.
A
,
encoding
:
'binary'
,
success
:
function
success
()
{
_this1
8
.
tempFilePath
=
_this18
.
tempFilePath2
;
_this1
9
.
tempFilePath
=
_this19
.
tempFilePath2
;
if
(
CB
)
CB
(
Sobj
.
S
);
_this1
8
.
EPlayer
=
wx
.
createInnerAudioContext
();
_this1
8
.
EPlayer
.
src
=
_this18
.
tempFilePath
;
_this1
8
.
EPlayer
.
play
();
_this1
8
.
EPlayer
.
onEnded
(
Rfunc
);
_this1
8
.
EPlayer
.
onended
=
Rfunc
;
_this1
9
.
EPlayer
=
wx
.
createInnerAudioContext
();
_this1
9
.
EPlayer
.
src
=
_this19
.
tempFilePath
;
_this1
9
.
EPlayer
.
play
();
_this1
9
.
EPlayer
.
onEnded
(
Rfunc
);
_this1
9
.
EPlayer
.
onended
=
Rfunc
;
},
fail
:
console
.
error
});
}
_this1
8
.
jumping
=
false
;
_this1
9
.
jumping
=
false
;
};
_this1
8
.
EPlayer
.
onEnded
(
Rfunc
);
_this1
8
.
EPlayer
.
onended
=
Rfunc
;
if
(
_this1
8
.
Cobj2
.
content
!=
""
)
{
_this1
9
.
EPlayer
.
onEnded
(
Rfunc
);
_this1
9
.
EPlayer
.
onended
=
Rfunc
;
if
(
_this1
9
.
Cobj2
.
content
!=
""
)
{
setTimeout
(
function
()
{
_this1
8
.
FetchAbuffer
(
_this18
.
Cobj2
,
voicer
,
Sarry
,
CB
);
_this1
9
.
FetchAbuffer
(
_this19
.
Cobj2
,
voicer
,
Sarry
,
CB
);
},
2000
);
}
},
...
...
unpackage/dist/dev/mp-weixin/pages/index/index.wxml
View file @
b7eb9bd7
<view class="chat data-v-57280228"><uni-popup vue-id="8dd740cc-1" type="center" animation="{{false}}" data-ref="popup" class="data-v-57280228 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="wrapper_inputMoney data-v-57280228"><view class="wrapper_inputMoney_item data-v-57280228"><input type="number" placeholder="请输入金额" data-event-opts="{{[['input',[['__set_model',['','inputMoney','$event',['number']]],['handleInput',['$event']]]],['blur',[['$forceUpdate']]]]}}" value="{{inputMoney}}" bindinput="__e" bindblur="__e" class="data-v-57280228"/></view><button data-event-opts="{{[['tap',[['handleSendMoney',['$event']]]]]}}" class="yty data-v-57280228" bindtap="__e">提交</button></view></uni-popup><block wx:if="{{ttf}}"><view class="reload_connect data-v-57280228"><view style="text-align:center;" class="data-v-57280228">已断开连接,是否重连!</view><button data-event-opts="{{[['tap',[['handlConnects',['$event']]]]]}}" class="connect_start data-v-57280228" bindtap="__e">连接</button></view></block><block wx:if="{{loading}}"><view class="full-screen-mask data-v-57280228"></view></block><block wx:if="{{loading2}}"><view class="full-screen-mask2 data-v-57280228"></view></block><block wx:if="{{loadingBG}}"><view data-event-opts="{{[['tap',[['handleBGHide',['$event']]]]]}}" class="full-screen-mask3 data-v-57280228" bindtap="__e"></view></block><block wx:if="{{ttf}}"><view class="full-screen-mask4 data-v-57280228"></view></block><view class="images data-v-57280228" style="{{'background-image:'+('url(https://admin.mindepoch.com:8089/worlds/'+currentPageData.name+'.png)')+';'}}"></view><block wx:if="{{showResult}}"><view data-event-opts="{{[['tap',[['getResults',['$event']]]]]}}" class="getResult data-v-57280228" style="{{'background-image:'+('url(https://admin.mindepoch.com:8089/worlds/查看结局.png)')+';'+('background-size:'+('100% 100%')+';')+('background-position:'+('center')+';')+('background-repeat:'+('no-repeat')+';')}}" bindtap="__e">查看结局</view></block><view class="menu data-v-57280228"><view data-event-opts="{{[['tap',[['handleShowBG',['$event']]]]]}}" class="sendMoney plg1 data-v-57280228" bindtap="__e"></view><view data-event-opts="{{[['tap',[['handleToggle',['$event']]]]]}}" class="sendMoney plg2 data-v-57280228" bindtap="__e"></view><view data-event-opts="{{[['tap',[['handleClearHistoryRecord',['$event']]]]]}}" class="sendMoney plg3 data-v-57280228" bindtap="__e"></view><view class="sendMoney plg4 data-v-57280228"><button class="shareWord data-v-57280228" open-type="share" data-event-opts="{{[['tap',[['shareToTimeline',['$event']]]]]}}" bindtap="__e"></button></view><view data-event-opts="{{[['tap',[['sendMoneyMethods',['$event']]]]]}}" class="sendMoney plg5 data-v-57280228" bindtap="__e"></view><view data-event-opts="{{[['tap',[['handleMore',['$event']]]]]}}" class="sendMoney plg6 data-v-57280228" bindtap="__e"></view></view><block wx:if="{{false}}"><view class="dialog data-v-57280228"><view class="dialogHeader data-v-57280228">请输入您的昵称</view><view class="dialogContent data-v-57280228"><input class="inputU data-v-57280228 vue-ref" placeholder="请输入..." data-ref="inputU" data-event-opts="{{[['input',[['__set_model',['','userInputName','$event',[]]]]]]}}" value="{{userInputName}}" bindinput="__e"/></view><view class="dialogFooter data-v-57280228"><button data-event-opts="{{[['tap',[['submitUserName',['$event']]]]]}}" bindtap="__e" class="data-v-57280228">提交</button></view></view></block><block wx:if="{{board}}"><view data-event-opts="{{[['tap',[['handleHiddenShadow',['$event']]]]]}}" class="shadow data-v-57280228" bindtap="__e"></view></block><block wx:if="{{board}}"><view class="board data-v-57280228"><view class="jk data-v-57280228"><view class="imageH data-v-57280228" style="{{'background-image:'+('url('+base64Img+')')+';'+('background-size:'+('contain')+';')+('background-repeat:'+('no-repeat')+';')}}"></view><view class="jklock data-v-57280228"></view><view class="data-v-57280228"><view class="contentHeader data-v-57280228">{{storyContent[0]}}</view><view class="contentMain data-v-57280228"><text class="data-v-57280228">{{storyContent[1]}}</text></view></view></view><view class="footer data-v-57280228"><button data-event-opts="{{[['tap',[['backHome',['$event']]]]]}}" class="home data-v-57280228" bindtap="__e">返回首页</button><button data-event-opts="{{[['tap',[['handleClearHistoryRecord',['$event']]]]]}}" class="reload data-v-57280228" bindtap="__e">重新来过</button></view></view></block><block wx:if="{{BG}}"><view class="boardBG data-v-57280228"><view class="jk2 data-v-57280228"><view class="contentHeader2 data-v-57280228">故事背景</view><view class="HHH data-v-57280228"><view class="wiik data-v-57280228"><text class="data-v-57280228">{{historyRecord[0].Message}}</text></view></view><view data-event-opts="{{[['tap',[['glb',['$event']]]]]}}" class="confirm data-v-57280228" bindtap="__e">确认</view></view></view></block><block wx:if="{{show}}"><view class="goods data-v-57280228"><view class="containerL data-v-57280228"><view class="hisd data-v-57280228"><image style="{{'height:'+('40rpx')+';'+('width:'+('40rpx')+';')+('position:'+('absolute')+';')+('right:'+('0')+';')+('top:'+('0')+';')}}" src="../../static/UI/退出.png" mode="scaleToFill" data-event-opts="{{[['tap',[['handleCloseDialog',['$event']]]]]}}" bindtap="__e" class="data-v-57280228"></image></view><view class="grid-container data-v-57280228"><block wx:for="{{imageList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="grid-item data-v-57280228"><view class="grid_item_box data-v-57280228"><image class="grid_item_box_image data-v-57280228" src="{{item.imgSrc}}"></image><view class="_br data-v-57280228"></view><text class="grid_item_box_image_text data-v-57280228">{{item.name}}</text></view></view></block></view></view></view></block><block wx:if="{{show}}"><view data-event-opts="{{[['tap',[['handleShow',['$event']]]]]}}" class="shadow data-v-57280228" bindtap="__e"></view></block><view class="shadows data-v-57280228"></view><block wx:if="{{$root.g0>0}}"><view class="outside data-v-57280228"><block wx:if="{{normal}}"><scroll-view class="container data-list-scroll data-v-57280228" style="{{'height:'+(scrollViewHeight)+';'}}" scroll-y="{{true}}" scroll-top="{{scrollTop}}" scroll-with-animation="{{true}}" scroll-into-view="{{bottomElement}}"><view id="scroll-view-content" class="data-v-57280228"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="historyListData data-v-57280228"><view class="historyListData_item parent-element data-v-57280228"><block wx:if="{{item.g1!==0}}"><view class="left distence leftPhoto data-v-57280228"><block wx:if="{{item.$orig.WObj.animaite}}"><view class="fuck data-v-57280228"><view class="photo data-v-57280228" style="{{'background-image:'+('url('+dpPhoto+')')+';'+('background-size:'+('cover')+';')+('background-repeat:'+('no-repeat')+';')+('background-position:'+('center center')+';')}}"></view><view class="allbody dealFloat li_left data-v-57280228"><view class="heartActive data-v-57280228"><view class="textStyle data-v-57280228">{{"正在思考中"+dots}}</view></view></view></view></block><block wx:else><view class="data-v-57280228"><view class="photo data-v-57280228" style="{{'background-image:'+('url('+dpPhoto+')')+';'+('background-size:'+('cover')+';')+('background-repeat:'+('no-repeat')+';')+('background-position:'+('center center')+';')}}"></view><view class="allbody dealFloat li_left data-v-57280228"><view class="heartActive doubleStatus data-v-57280228">{{'【时间】: '+item.$orig.WObj["时间"]+''}}</view><view class="_br data-v-57280228"></view><view class="heartActive doubleStatus data-v-57280228">{{'【地点】: '+item.$orig.WObj["地点"]+''}}</view><view class="heartActive data-v-57280228"><view class="textStyle data-v-57280228"><rich-text nodes="{{item.m0}}"></rich-text></view></view></view></view></block></view></block><block wx:else><view class="right distence rightPhoto data-v-57280228"><image class="photo data-v-57280228" src="{{userPhoto}}"></image><view class="li_right allbody dealFloat data-v-57280228"><view class="heartActive data-v-57280228">{{''+item.$orig.Message+''}}</view></view></view></block></view></view></block><view id="bottomElement" class="data-v-57280228"></view></view></scroll-view></block></view></block><block wx:if="{{false}}"><view class="formContainer data-v-57280228"><view class="itemContainer data-v-57280228"><view class="chat-window data-v-57280228"><view class="tongyi data-v-57280228" id="MyIn"></view><input class="{{['activeAnimaite','data-v-57280228',boxClass]}}" placeholder="请输入..." data-event-opts="{{[['focus',[['handleFocus',['$event']]]],['blur',[['hadnleBlur',['$event']]]],['input',[['__set_model',['','inputVal','$event',[]]]]]]}}" value="{{inputVal}}" bindfocus="__e" bindblur="__e" bindinput="__e"/><image class="{{['data-v-57280228',showSend]}}" id="Send" src="../../static/photo/Send.png" data-event-opts="{{[['tap',[['handleSendMessage',['$event']]]]]}}" bindtap="__e"></image><image class="{{['activeAnimaite','data-v-57280228',activeState,focus]}}" id="SendSound" src="../../static/photo/sound.png" data-event-opts="{{[['touchstart',[['startRecord',['$event']]]],['mousedown',[['startRecord',['$event']]]],['touchend',[['endRecord',['$event']]]],['mouseup',[['endRecord',['$event']]]]]}}" bindtouchstart="__e" bindmousedown="__e" bindtouchend="__e" bindmouseup="__e"></image></view></view></view></block><block wx:if="{{UI_show}}"><view class="UI data-v-57280228"><view class="UI_wrapper data-v-57280228"><view class="UI_head data-v-57280228"><view class="UI_head_title data-v-57280228">{{UITitle}}</view><view class="UI_head_timer data-v-57280228">{{UITimer}}</view></view><view class="UI_states data-v-57280228"><view class="UI_states_photo data-v-57280228"><view class="UI_states_photo_wrapper data-v-57280228"><view style="{{'width:'+('80%')+';'+('height:'+('80%')+';')+('border-radius:'+('50%')+';')+('background:'+('url('+userPhoto+')')+';')+('background-size:'+('100% 100%')+';')+('background-position:'+('center')+';')+('background-repeat:'+('no-repeat')+';')+('position:'+('absolute')+';')+('top:'+('10%')+';')+('left:'+('10%')+';')}}" class="data-v-57280228"></view></view></view><view class="icon_log data-v-57280228"></view><view class="UI_states_value data-v-57280228"><block wx:for="{{worldParameter}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="processLine data-v-57280228"><view class="data-v-57280228"><block wx:if="{{index==0}}"><view class="processLine_item jiegan data-v-57280228"><view class="no1 ksp data-v-57280228" style="{{'width:'+(UIStatus_jiegan+'%')+';'+('background-size:'+(UIStatus_jiegan<=93?'auto 100%':'contain')+';')}}"></view><view class="sameFonts data-v-57280228" style="{{'z-index:'+(10)+';'}}">{{''+item+":"+UIStatus_jiegan+' / 100'}}</view></view></block><block wx:if="{{index==1}}"><view class="processLine_item kongjugan data-v-57280228"><view class="no1 ogc data-v-57280228" style="{{'width:'+(UIStatus_kongjugan+'%')+';'+('background-size:'+(UIStatus_kongjugan<=93?'auto 100%':'contain')+';')}}"></view><view class="sameFonts data-v-57280228" style="{{'z-index:'+(10)+';'}}">{{''+item+":"+UIStatus_kongjugan+' / 100'}}</view></view></block></view></view></block></view></view><view class="UI_body data-v-57280228"><view class="UI_body_right data-v-57280228"><block wx:if="{{glod_user}}"><view class="UI_body_right_content data-v-57280228"><view class="UI_body_right_content_text data-v-57280228"><view style="{{'line-height:'+('100rpx')+';'+('margin:'+('10rpx 40rpx 0 20rpx')+';')+('height:'+('100rpx')+';')+('overflow-y:'+('scroll')+';')+('text-indent:'+(0)+';')}}" class="data-v-57280228">{{inputVal_UI+''}}</view></view><view class="UI_body_right_content_photo data-v-57280228"><view style="{{'width:'+('80%')+';'+('height:'+('80%')+';')+('margin:'+('10% 0 0 10%')+';')+('border-radius:'+('50%')+';')+('background:'+('url('+userPhoto+')')+';')+('background-size:'+('cover')+';')+('background-position:'+('center')+';')+('background-repeat:'+('no-repeat')+';')}}" class="data-v-57280228"></view></view></view></block><view class="UI_body_left data-v-57280228"><block wx:if="{{glod_dp}}"><view class="UI_body_left_content data-v-57280228"><view class="UI_body_left_content_photo data-v-57280228"><view style="{{'width:'+('80%')+';'+('height:'+('80%')+';')+('border-radius:'+('50%')+';')+('background:'+('url('+dpPhoto+')')+';')+('background-size:'+('cover')+';')+('background-position:'+('center')+';')+('background-repeat:'+('no-repeat')+';')+('position:'+('absolute')+';')+('top:'+('11%')+';')+('left:'+('9.5%')+';')}}" class="data-v-57280228"></view></view><view class="UI_body_left_content_text data-v-57280228"><view style="{{'line-height:'+('100rpx')+';'+('margin:'+('10rpx 10rpx 0 50rpx')+';')+('height:'+('100rpx')+';')+('overflow-y:'+('scroll')+';')+('text-indent:'+(0)+';')}}" class="data-v-57280228">{{''+yyds_dp+''}}</view></view></view></block></view><view class="UI_body_left_Pangbai_content data-v-57280228"><view class="pangbai_title data-v-57280228"><text class="data-v-57280228">旁白</text></view><scroll-view class="pangbai_content data-v-57280228" style="{{'height:'+(boxHeight+'rpx')+';'}}" scroll-y="{{true}}" scroll-top="{{scrollTop_pangbai}}" scroll-into-view="{{bottomElement_pangbai}}" id="pangbaiBox"><view id="scrollView" class="data-v-57280228"><view class="npc data-v-57280228" style="{{'font-size:'+(fontSize+'rpx')+';'}}" id="pangbaiCntainer">{{''+yyds_pangbai+''}}</view><view id="bottomElement_pangbai" class="data-v-57280228"></view></view></scroll-view><image class="tre data-v-57280228" src="../../static/UI/继续.png" mode="scaleToFill" data-event-opts="{{[['tap',[['debouncedNextTips',['$event']]]]]}}" bindtap="__e"></image></view></view></view><block wx:if="{{foot}}"><view class="UI_footer data-v-57280228"><view class="UI_footer_tool data-v-57280228"><view class="UI_footer_tool_wrapper data-v-57280228"><view data-event-opts="{{[['tap',[['handlSay',['$event']]]]]}}" class="{{['say','data-v-57280228',!userDoing?sayDoingClass:null]}}" bindtap="__e"></view><view data-event-opts="{{[['tap',[['handlDoing',['$event']]]]]}}" class="{{['doing','data-v-57280228',userDoing?sayDoingClass2:null]}}" bindtap="__e"></view><view class="input data-v-57280228"><input data-event-opts="{{[['input',[['__set_model',['','inputVal','$event',[]]]]]]}}" class="UI_input data-v-57280228" value="{{inputVal}}" bindinput="__e"/><view id="Send2" data-event-opts="{{[['tap',[['handleSendMessage2',['$event']]]]]}}" bindtap="__e" class="data-v-57280228"></view></view></view></view></view></block></view></view></block></view>
\ No newline at end of file
<view class="chat data-v-57280228"><uni-popup vue-id="8dd740cc-1" type="center" animation="{{false}}" data-ref="popup" class="data-v-57280228 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="wrapper_inputMoney data-v-57280228"><view class="wrapper_inputMoney_item data-v-57280228"><input type="number" placeholder="请输入金额" data-event-opts="{{[['input',[['__set_model',['','inputMoney','$event',['number']]],['handleInput',['$event']]]],['blur',[['$forceUpdate']]]]}}" value="{{inputMoney}}" bindinput="__e" bindblur="__e" class="data-v-57280228"/></view><button data-event-opts="{{[['tap',[['handleSendMoney',['$event']]]]]}}" class="yty data-v-57280228" bindtap="__e">提交</button></view></uni-popup><block wx:if="{{ttf}}"><view class="reload_connect data-v-57280228"><view style="text-align:center;" class="data-v-57280228">已断开连接,是否重连!</view><button data-event-opts="{{[['tap',[['handlConnects',['$event']]]]]}}" class="connect_start data-v-57280228" bindtap="__e">连接</button></view></block><block wx:if="{{loading}}"><view class="full-screen-mask data-v-57280228"></view></block><block wx:if="{{loading2}}"><view class="full-screen-mask2 data-v-57280228"></view></block><block wx:if="{{loadingBG}}"><view data-event-opts="{{[['tap',[['handleBGHide',['$event']]]]]}}" class="full-screen-mask3 data-v-57280228" bindtap="__e"></view></block><block wx:if="{{ttf}}"><view class="full-screen-mask4 data-v-57280228"></view></block><view class="images data-v-57280228" style="{{'background-image:'+('url(https://admin.mindepoch.com:8089/worlds/'+currentPageData.name+'.png)')+';'}}"></view><block wx:if="{{showResult}}"><view data-event-opts="{{[['tap',[['getResults',['$event']]]]]}}" class="getResult data-v-57280228" style="{{'background-image:'+('url(https://admin.mindepoch.com:8089/worlds/查看结局.png)')+';'+('background-size:'+('100% 100%')+';')+('background-position:'+('center')+';')+('background-repeat:'+('no-repeat')+';')}}" bindtap="__e">查看结局</view></block><view class="menu data-v-57280228"><view data-event-opts="{{[['tap',[['handleShowBG',['$event']]]]]}}" class="sendMoney plg1 data-v-57280228" bindtap="__e"></view><view data-event-opts="{{[['tap',[['handleToggle',['$event']]]]]}}" class="sendMoney plg2 data-v-57280228" bindtap="__e"></view><view data-event-opts="{{[['tap',[['handleClearHistoryRecord',['$event']]]]]}}" class="sendMoney plg3 data-v-57280228" bindtap="__e"></view><view class="sendMoney plg4 data-v-57280228"><button class="shareWord data-v-57280228" open-type="share" data-event-opts="{{[['tap',[['shareToTimeline',['$event']]]]]}}" bindtap="__e"></button></view><block wx:if="{{tools_money}}"><view data-event-opts="{{[['tap',[['sendMoneyMethods',['$event']]]]]}}" class="sendMoney plg5 data-v-57280228" bindtap="__e"></view></block><block wx:if="{{tools_total}}"><view data-event-opts="{{[['tap',[['handleMore',['$event']]]]]}}" class="sendMoney plg6 data-v-57280228" bindtap="__e"></view></block></view><block wx:if="{{false}}"><view class="dialog data-v-57280228"><view class="dialogHeader data-v-57280228">请输入您的昵称</view><view class="dialogContent data-v-57280228"><input class="inputU data-v-57280228 vue-ref" placeholder="请输入..." data-ref="inputU" data-event-opts="{{[['input',[['__set_model',['','userInputName','$event',[]]]]]]}}" value="{{userInputName}}" bindinput="__e"/></view><view class="dialogFooter data-v-57280228"><button data-event-opts="{{[['tap',[['submitUserName',['$event']]]]]}}" bindtap="__e" class="data-v-57280228">提交</button></view></view></block><block wx:if="{{board}}"><view data-event-opts="{{[['tap',[['handleHiddenShadow',['$event']]]]]}}" class="shadow data-v-57280228" bindtap="__e"></view></block><block wx:if="{{board}}"><view class="board data-v-57280228"><view class="jk data-v-57280228"><view class="imageH data-v-57280228" style="{{'background-image:'+('url('+base64Img+')')+';'+('background-size:'+('cover')+';')+('background-repeat:'+('no-repeat')+';')}}"></view><view class="jklock data-v-57280228"></view><view class="data-v-57280228"><view class="contentHeader data-v-57280228">{{storyContent[0]}}</view><view class="contentMain data-v-57280228"><text class="data-v-57280228">{{storyContent[1]}}</text></view></view></view><view class="footer data-v-57280228"><button data-event-opts="{{[['tap',[['backHome',['$event']]]]]}}" class="home data-v-57280228" bindtap="__e">返回首页</button><button data-event-opts="{{[['tap',[['handleClearHistoryRecord',['$event']]]]]}}" class="reload data-v-57280228" bindtap="__e">重新来过</button></view></view></block><block wx:if="{{BG}}"><view class="boardBG data-v-57280228"><view class="jk2 data-v-57280228"><view class="contentHeader2 data-v-57280228">故事背景</view><view class="HHH data-v-57280228"><view class="wiik data-v-57280228"><text class="data-v-57280228">{{historyRecord[0].Message}}</text></view></view><view data-event-opts="{{[['tap',[['glb',['$event']]]]]}}" class="confirm data-v-57280228" bindtap="__e">确认</view></view></view></block><block wx:if="{{show}}"><view class="goods data-v-57280228"><view class="containerL data-v-57280228"><view class="hisd data-v-57280228"><image style="{{'height:'+('40rpx')+';'+('width:'+('40rpx')+';')+('position:'+('absolute')+';')+('right:'+('0')+';')+('top:'+('0')+';')}}" src="../../static/UI/退出.png" mode="scaleToFill" data-event-opts="{{[['tap',[['handleCloseDialog',['$event']]]]]}}" bindtap="__e" class="data-v-57280228"></image></view><view class="grid-container data-v-57280228"><block wx:for="{{imageList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="grid-item data-v-57280228"><view class="grid_item_box data-v-57280228"><image class="grid_item_box_image data-v-57280228" src="{{item.imgSrc}}"></image><view class="_br data-v-57280228"></view><text class="grid_item_box_image_text data-v-57280228">{{item.name}}</text></view></view></block></view></view></view></block><block wx:if="{{show}}"><view data-event-opts="{{[['tap',[['handleShow',['$event']]]]]}}" class="shadow data-v-57280228" bindtap="__e"></view></block><view class="shadows data-v-57280228"></view><block wx:if="{{$root.g0>0}}"><view class="outside data-v-57280228"><block wx:if="{{normal}}"><scroll-view class="container data-list-scroll data-v-57280228" style="{{'height:'+(scrollViewHeight)+';'}}" scroll-y="{{true}}" scroll-top="{{scrollTop}}" scroll-with-animation="{{true}}" scroll-into-view="{{bottomElement}}"><view id="scroll-view-content" class="data-v-57280228"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="historyListData data-v-57280228"><view class="historyListData_item parent-element data-v-57280228"><block wx:if="{{item.g1!==0}}"><view class="left distence leftPhoto data-v-57280228"><block wx:if="{{item.$orig.WObj.animaite}}"><view class="fuck data-v-57280228"><view class="photo data-v-57280228" style="{{'background-image:'+('url('+dpPhoto+')')+';'+('background-size:'+('cover')+';')+('background-repeat:'+('no-repeat')+';')+('background-position:'+('center center')+';')}}"></view><view class="allbody dealFloat li_left data-v-57280228"><view class="heartActive data-v-57280228"><view class="textStyle data-v-57280228">{{"正在思考中"+dots}}</view></view></view></view></block><block wx:else><view class="data-v-57280228"><view class="photo data-v-57280228" style="{{'background-image:'+('url('+dpPhoto+')')+';'+('background-size:'+('cover')+';')+('background-repeat:'+('no-repeat')+';')+('background-position:'+('center center')+';')}}"></view><view class="allbody dealFloat li_left data-v-57280228"><view class="heartActive doubleStatus data-v-57280228">{{'【时间】: '+item.$orig.WObj["时间"]+''}}</view><view class="_br data-v-57280228"></view><view class="heartActive doubleStatus data-v-57280228">{{'【地点】: '+item.$orig.WObj["地点"]+''}}</view><view class="heartActive data-v-57280228"><view class="textStyle data-v-57280228"><rich-text nodes="{{item.m0}}"></rich-text></view></view></view></view></block></view></block><block wx:else><view class="right distence rightPhoto data-v-57280228"><image class="photo data-v-57280228" src="{{userPhoto}}"></image><view class="li_right allbody dealFloat data-v-57280228"><view class="heartActive data-v-57280228">{{''+item.$orig.Message+''}}</view></view></view></block></view></view></block><view id="bottomElement" class="data-v-57280228"></view></view></scroll-view></block></view></block><block wx:if="{{false}}"><view class="formContainer data-v-57280228"><view class="itemContainer data-v-57280228"><view class="chat-window data-v-57280228"><view class="tongyi data-v-57280228" id="MyIn"></view><input class="{{['activeAnimaite','data-v-57280228',boxClass]}}" placeholder="请输入..." data-event-opts="{{[['focus',[['handleFocus',['$event']]]],['blur',[['hadnleBlur',['$event']]]],['input',[['__set_model',['','inputVal','$event',[]]]]]]}}" value="{{inputVal}}" bindfocus="__e" bindblur="__e" bindinput="__e"/><image class="{{['data-v-57280228',showSend]}}" id="Send" src="../../static/photo/Send.png" data-event-opts="{{[['tap',[['handleSendMessage',['$event']]]]]}}" bindtap="__e"></image><image class="{{['activeAnimaite','data-v-57280228',activeState,focus]}}" id="SendSound" src="../../static/photo/sound.png" data-event-opts="{{[['touchstart',[['startRecord',['$event']]]],['mousedown',[['startRecord',['$event']]]],['touchend',[['endRecord',['$event']]]],['mouseup',[['endRecord',['$event']]]]]}}" bindtouchstart="__e" bindmousedown="__e" bindtouchend="__e" bindmouseup="__e"></image></view></view></view></block><block wx:if="{{UI_show}}"><view class="UI data-v-57280228"><view class="UI_wrapper data-v-57280228"><view class="UI_head data-v-57280228"><view class="UI_head_title data-v-57280228">{{UITitle}}</view><view class="UI_head_timer data-v-57280228">{{UITimer}}</view></view><view class="UI_states data-v-57280228"><view class="UI_states_photo data-v-57280228"><view class="UI_states_photo_wrapper data-v-57280228"><view style="{{'width:'+('80%')+';'+('height:'+('80%')+';')+('border-radius:'+('50%')+';')+('background:'+('url('+userPhoto+')')+';')+('background-size:'+('100% 100%')+';')+('background-position:'+('center')+';')+('background-repeat:'+('no-repeat')+';')+('position:'+('absolute')+';')+('top:'+('10%')+';')+('left:'+('10%')+';')}}" class="data-v-57280228"></view></view></view><view class="icon_log data-v-57280228"></view><view class="UI_states_value data-v-57280228"><block wx:for="{{worldParameter}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="processLine data-v-57280228"><view class="data-v-57280228"><block wx:if="{{index==0}}"><view class="processLine_item jiegan data-v-57280228"><view class="no1 ksp data-v-57280228" style="{{'width:'+(UIStatus_jiegan+'%')+';'+('background-size:'+(UIStatus_jiegan<=93?'auto 100%':'contain')+';')}}"></view><view class="sameFonts data-v-57280228" style="{{'z-index:'+(10)+';'}}">{{''+item+":"+UIStatus_jiegan+' / 100'}}</view></view></block><block wx:if="{{index==1}}"><view class="processLine_item kongjugan data-v-57280228"><view class="no1 ogc data-v-57280228" style="{{'width:'+(UIStatus_kongjugan+'%')+';'+('background-size:'+(UIStatus_kongjugan<=93?'auto 100%':'contain')+';')}}"></view><view class="sameFonts data-v-57280228" style="{{'z-index:'+(10)+';'}}">{{''+item+":"+UIStatus_kongjugan+' / 100'}}</view></view></block></view></view></block></view></view><view class="UI_body data-v-57280228"><view class="UI_body_right data-v-57280228"><block wx:if="{{glod_user}}"><view class="UI_body_right_content data-v-57280228"><view class="UI_body_right_content_text data-v-57280228"><view style="{{'line-height:'+('100rpx')+';'+('margin:'+('10rpx 40rpx 0 20rpx')+';')+('height:'+('100rpx')+';')+('overflow-y:'+('scroll')+';')+('text-indent:'+(0)+';')}}" class="data-v-57280228">{{inputVal_UI+''}}</view></view><view class="UI_body_right_content_photo data-v-57280228"><view style="{{'width:'+('80%')+';'+('height:'+('80%')+';')+('margin:'+('10% 0 0 10%')+';')+('border-radius:'+('50%')+';')+('background:'+('url('+userPhoto+')')+';')+('background-size:'+('cover')+';')+('background-position:'+('center')+';')+('background-repeat:'+('no-repeat')+';')}}" class="data-v-57280228"></view></view></view></block><view class="UI_body_left data-v-57280228"><block wx:if="{{glod_dp}}"><view class="UI_body_left_content data-v-57280228"><view class="UI_body_left_content_photo data-v-57280228"><view style="{{'width:'+('80%')+';'+('height:'+('80%')+';')+('border-radius:'+('50%')+';')+('background:'+('url('+dpPhoto+')')+';')+('background-size:'+('cover')+';')+('background-position:'+('center')+';')+('background-repeat:'+('no-repeat')+';')+('position:'+('absolute')+';')+('top:'+('11%')+';')+('left:'+('9.5%')+';')}}" class="data-v-57280228"></view></view><view class="UI_body_left_content_text data-v-57280228"><view style="{{'line-height:'+('100rpx')+';'+('margin:'+('10rpx 10rpx 0 50rpx')+';')+('height:'+('100rpx')+';')+('overflow-y:'+('scroll')+';')+('text-indent:'+(0)+';')}}" class="data-v-57280228">{{''+yyds_dp+''}}</view></view></view></block></view><view class="UI_body_left_Pangbai_content data-v-57280228"><view class="pangbai_title data-v-57280228"><text class="data-v-57280228">旁白</text></view><scroll-view class="pangbai_content data-v-57280228" style="{{'height:'+(boxHeight+'rpx')+';'}}" scroll-y="{{true}}" scroll-top="{{scrollTop_pangbai}}" scroll-into-view="{{bottomElement_pangbai}}" id="pangbaiBox"><view id="scrollView" class="data-v-57280228"><view class="npc data-v-57280228" style="{{'font-size:'+(fontSize+'rpx')+';'}}" id="pangbaiCntainer">{{''+yyds_pangbai+''}}</view><view id="bottomElement_pangbai" class="data-v-57280228"></view></view></scroll-view><image class="tre data-v-57280228" src="../../static/UI/继续.png" mode="scaleToFill" data-event-opts="{{[['tap',[['debouncedNextTips',['$event']]]]]}}" bindtap="__e"></image></view></view></view><block wx:if="{{foot}}"><view class="UI_footer data-v-57280228"><view class="UI_footer_tool data-v-57280228"><view class="UI_footer_tool_wrapper data-v-57280228"><view data-event-opts="{{[['tap',[['handlSay',['$event']]]]]}}" class="{{['say','data-v-57280228',!userDoing?sayDoingClass:null]}}" bindtap="__e"></view><view data-event-opts="{{[['tap',[['handlDoing',['$event']]]]]}}" class="{{['doing','data-v-57280228',userDoing?sayDoingClass2:null]}}" bindtap="__e"></view><view class="input data-v-57280228"><input data-event-opts="{{[['input',[['__set_model',['','inputVal','$event',[]]]]]]}}" class="UI_input data-v-57280228" value="{{inputVal}}" bindinput="__e"/><view id="Send2" data-event-opts="{{[['tap',[['handleSendMessage2',['$event']]]]]}}" bindtap="__e" class="data-v-57280228"></view></view></view></view></view></block></view></view></block></view>
\ No newline at end of file
Ken Nakahira
@kentobento
mentioned in commit
9860459b
Aug 16, 2024
mentioned in commit
9860459b
mentioned in commit 9860459b130c2a359a7f345962a004ebe17b5438
Toggle commit list
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