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
9860459b
Commit
9860459b
authored
Aug 16, 2024
by
Ken Nakahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "提交更新代码"
This reverts commit
b7eb9bd7
parent
b7eb9bd7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
94 additions
and
131 deletions
+94
-131
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
+0
-0
unpackage/dist/dev/mp-weixin/pages/index/index.js
+92
-129
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 @
9860459b
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 @
9860459b
...
@@ -617,8 +617,6 @@ var recorderManager = uni.getRecorderManager();
...
@@ -617,8 +617,6 @@ var recorderManager = uni.getRecorderManager();
var
_default
=
{
var
_default
=
{
data
:
function
data
()
{
data
:
function
data
()
{
return
{
return
{
tools_money
:
true
,
tools_total
:
true
,
UI_show
:
true
,
UI_show
:
true
,
normal
:
false
,
normal
:
false
,
ttf
:
false
,
ttf
:
false
,
...
@@ -834,21 +832,6 @@ var _default = {
...
@@ -834,21 +832,6 @@ var _default = {
console
.
log
(
'this.worldParameter'
,
this
.
worldParameter
);
console
.
log
(
'this.worldParameter'
,
this
.
worldParameter
);
console
.
log
(
'currentPageData'
,
this
.
currentPageData
);
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
=
JSON
.
parse
(
this
.
currentPageData
.
worldParameter
);
this
.
worldParameter
=
this
.
worldParameter
.
filter
(
function
(
item
)
{
this
.
worldParameter
=
this
.
worldParameter
.
filter
(
function
(
item
)
{
return
item
!=
'时间'
&&
item
!=
'地点'
&&
item
!=
'物品'
;
return
item
!=
'时间'
&&
item
!=
'地点'
&&
item
!=
'物品'
;
...
@@ -1130,7 +1113,7 @@ var _default = {
...
@@ -1130,7 +1113,7 @@ var _default = {
uni
.
hideLoading
();
uni
.
hideLoading
();
//处理把数据添加至页面
//处理把数据添加至页面
var
backValue
=
JSON
.
parse
(
message
.
data
);
var
backValue
=
JSON
.
parse
(
message
.
data
);
console
.
log
(
'----onMessage----'
,
backValue
);
// console.log('----onMessage----',backValue)
if
(
!
_this6
.
header
)
{
if
(
!
_this6
.
header
)
{
_this6
.
glod_dp
=
false
;
//先隐藏数字人对话框
_this6
.
glod_dp
=
false
;
//先隐藏数字人对话框
}
}
...
@@ -1482,30 +1465,10 @@ var _default = {
...
@@ -1482,30 +1465,10 @@ var _default = {
console
.
log
(
err
);
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
()
{
getPhoto
:
function
getPhoto
()
{
var
_this
10
=
this
,
var
_this
9
=
this
,
_uni$request
2
,
_uni$request
,
_uni$request
3
;
_uni$request
2
;
//获取背景图
//获取背景图
uni
.
request
({
uni
.
request
({
url
:
true
?
"https://admin.mindepoch.com:8089/worlds/"
.
concat
(
this
.
currentPageData
.
worldName
,
".png"
)
:
undefined
,
url
:
true
?
"https://admin.mindepoch.com:8089/worlds/"
.
concat
(
this
.
currentPageData
.
worldName
,
".png"
)
:
undefined
,
...
@@ -1520,43 +1483,43 @@ var _default = {
...
@@ -1520,43 +1483,43 @@ var _default = {
}
}
}).
then
(
function
(
res
)
{
}).
then
(
function
(
res
)
{
var
arrayBuffer
=
res
[
1
].
data
;
var
arrayBuffer
=
res
[
1
].
data
;
_this
10
.
codeUrl
=
'data:image/png;base64,'
+
uni
.
arrayBufferToBase64
(
arrayBuffer
);
_this
9
.
codeUrl
=
'data:image/png;base64,'
+
uni
.
arrayBufferToBase64
(
arrayBuffer
);
}).
catch
(
function
(
err
)
{
}).
catch
(
function
(
err
)
{
return
console
.
log
(
err
);
return
console
.
log
(
err
);
});
});
//获取数字人头像
//获取数字人头像
uni
.
request
((
_uni$request
2
=
{
uni
.
request
((
_uni$request
=
{
url
:
true
?
"https://admin.mindepoch.com:8089/worlds/"
.
concat
(
this
.
currentPageData
.
worldName
,
".png"
)
:
undefined
,
url
:
true
?
"https://admin.mindepoch.com:8089/worlds/"
.
concat
(
this
.
currentPageData
.
worldName
,
".png"
)
:
undefined
,
method
:
'GET'
,
method
:
'GET'
,
responseType
:
'arraybuffer'
,
responseType
:
'arraybuffer'
,
data
:
{
data
:
{
id
:
this
.
currentPageData
.
worldName
id
:
this
.
currentPageData
.
worldName
}
}
},
(
0
,
_defineProperty2
.
default
)(
_uni$request
2
,
"responseType"
,
'arraybuffer'
),
(
0
,
_defineProperty2
.
default
)(
_uni$request2
,
"header"
,
{
},
(
0
,
_defineProperty2
.
default
)(
_uni$request
,
"responseType"
,
'arraybuffer'
),
(
0
,
_defineProperty2
.
default
)(
_uni$request
,
"header"
,
{
'Cookie'
:
""
.
concat
(
uni
.
getStorageSync
(
'session_token'
)),
'Cookie'
:
""
.
concat
(
uni
.
getStorageSync
(
'session_token'
)),
"Cache-Control"
:
"no-cache"
"Cache-Control"
:
"no-cache"
}),
_uni$request
2
)).
then
(
function
(
res
)
{
}),
_uni$request
)).
then
(
function
(
res
)
{
var
arrayBuffer
=
res
[
1
].
data
;
var
arrayBuffer
=
res
[
1
].
data
;
_this
10
.
dpPhoto
=
'data:image/png;base64,'
+
uni
.
arrayBufferToBase64
(
arrayBuffer
);
_this
9
.
dpPhoto
=
'data:image/png;base64,'
+
uni
.
arrayBufferToBase64
(
arrayBuffer
);
}).
catch
(
function
(
err
)
{
}).
catch
(
function
(
err
)
{
console
.
log
(
err
);
console
.
log
(
err
);
});
});
//获取用户头像
//获取用户头像
uni
.
request
((
_uni$request
3
=
{
uni
.
request
((
_uni$request
2
=
{
url
:
true
?
"https://admin.mindepoch.com:8089/userFile/avatar"
.
concat
(
uni
.
getStorageSync
(
'wxUid'
),
".png"
)
:
undefined
,
url
:
true
?
"https://admin.mindepoch.com:8089/userFile/avatar"
.
concat
(
uni
.
getStorageSync
(
'wxUid'
),
".png"
)
:
undefined
,
method
:
'GET'
,
method
:
'GET'
,
responseType
:
'arraybuffer'
,
responseType
:
'arraybuffer'
,
data
:
{
data
:
{
// id: this.currentPageData.id,
// id: this.currentPageData.id,
}
}
},
(
0
,
_defineProperty2
.
default
)(
_uni$request
3
,
"responseType"
,
'arraybuffer'
),
(
0
,
_defineProperty2
.
default
)(
_uni$request3
,
"header"
,
{
},
(
0
,
_defineProperty2
.
default
)(
_uni$request
2
,
"responseType"
,
'arraybuffer'
),
(
0
,
_defineProperty2
.
default
)(
_uni$request2
,
"header"
,
{
'Cookie'
:
""
.
concat
(
uni
.
getStorageSync
(
'session_token'
)),
'Cookie'
:
""
.
concat
(
uni
.
getStorageSync
(
'session_token'
)),
"Cache-Control"
:
"no-cache"
"Cache-Control"
:
"no-cache"
}),
_uni$request
3
)).
then
(
function
(
res
)
{
}),
_uni$request
2
)).
then
(
function
(
res
)
{
var
arrayBuffer
=
res
[
1
].
data
;
var
arrayBuffer
=
res
[
1
].
data
;
_this
10
.
userPhoto
=
'data:image/png;base64,'
+
uni
.
arrayBufferToBase64
(
arrayBuffer
);
_this
9
.
userPhoto
=
'data:image/png;base64,'
+
uni
.
arrayBufferToBase64
(
arrayBuffer
);
}).
catch
(
function
(
err
)
{
}).
catch
(
function
(
err
)
{
return
console
.
log
(
err
);
return
console
.
log
(
err
);
});
});
...
@@ -1623,7 +1586,7 @@ var _default = {
...
@@ -1623,7 +1586,7 @@ var _default = {
this
.
$refs
.
popup
.
open
(
'center'
);
this
.
$refs
.
popup
.
open
(
'center'
);
},
},
clearISU
:
function
clearISU
()
{
clearISU
:
function
clearISU
()
{
var
_this1
1
=
this
;
var
_this1
0
=
this
;
this
.
historyRecord
=
[];
//清除页面显示的聊天记录
this
.
historyRecord
=
[];
//清除页面显示的聊天记录
this
.
showResult
=
false
;
//隐藏底部的查看结局按钮
this
.
showResult
=
false
;
//隐藏底部的查看结局按钮
this
.
board
=
false
;
//隐藏弹窗
this
.
board
=
false
;
//隐藏弹窗
...
@@ -1650,12 +1613,12 @@ var _default = {
...
@@ -1650,12 +1613,12 @@ var _default = {
}).
then
(
function
(
res
)
{
}).
then
(
function
(
res
)
{
console
.
log
(
'重置世界'
,
res
);
console
.
log
(
'重置世界'
,
res
);
if
(
res
[
1
].
data
.
code
===
1
)
{
if
(
res
[
1
].
data
.
code
===
1
)
{
_this1
1
.
loading
=
false
;
//隐藏遮挡层
_this1
0
.
loading
=
false
;
//隐藏遮挡层
uni
.
hideLoading
();
uni
.
hideLoading
();
// location.reload() //页面刷新
// location.reload() //页面刷新
}
}
}).
catch
(
function
(
err
)
{
}).
catch
(
function
(
err
)
{
_this1
1
.
loading
=
false
;
//隐藏遮挡层
_this1
0
.
loading
=
false
;
//隐藏遮挡层
uni
.
hideLoading
();
uni
.
hideLoading
();
});
});
},
},
...
@@ -1793,7 +1756,7 @@ var _default = {
...
@@ -1793,7 +1756,7 @@ var _default = {
});
});
},
},
handleSendMessage
:
function
handleSendMessage
()
{
handleSendMessage
:
function
handleSendMessage
()
{
var
_this1
2
=
this
;
var
_this1
1
=
this
;
// console.log('click')
// console.log('click')
if
(
this
.
inputVal
.
trim
()
===
''
)
{
if
(
this
.
inputVal
.
trim
()
===
''
)
{
uni
.
showToast
({
uni
.
showToast
({
...
@@ -1805,7 +1768,7 @@ var _default = {
...
@@ -1805,7 +1768,7 @@ var _default = {
}
}
// 用户的每个输入需要立即回显,并回复一个[思考中...]的动画
// 用户的每个输入需要立即回显,并回复一个[思考中...]的动画
this
.
timerConsider
=
setInterval
(
function
()
{
this
.
timerConsider
=
setInterval
(
function
()
{
_this1
2
.
count
++
;
_this1
1
.
count
++
;
},
1000
);
},
1000
);
this
.
historyRecord
.
push
({
this
.
historyRecord
.
push
({
Message
:
this
.
inputVal
,
Message
:
this
.
inputVal
,
...
@@ -1820,11 +1783,11 @@ var _default = {
...
@@ -1820,11 +1783,11 @@ var _default = {
// this.inputVal = ''
// this.inputVal = ''
//滚动条触底
//滚动条触底
uni
.
createSelectorQuery
().
in
(
this
).
select
(
'#scroll-view-content'
).
boundingClientRect
(
function
(
res
)
{
uni
.
createSelectorQuery
().
in
(
this
).
select
(
'#scroll-view-content'
).
boundingClientRect
(
function
(
res
)
{
console
.
log
(
'res'
,
res
,
_this1
2
.
historyRecord
.
length
);
console
.
log
(
'res'
,
res
,
_this1
1
.
historyRecord
.
length
);
if
(
res
)
{
if
(
res
)
{
_this1
2
.
scrollTop
=
res
.
height
;
_this1
1
.
scrollTop
=
res
.
height
;
}
else
{
}
else
{
_this1
2
.
scrollTop
=
_this12
.
historyRecord
.
length
*
1000
;
_this1
1
.
scrollTop
=
_this11
.
historyRecord
.
length
*
1000
;
}
}
}).
exec
();
}).
exec
();
this
.
socketTask
.
send
({
this
.
socketTask
.
send
({
...
@@ -1834,7 +1797,7 @@ var _default = {
...
@@ -1834,7 +1797,7 @@ var _default = {
}),
}),
success
:
function
success
()
{
success
:
function
success
()
{
console
.
log
(
'消息发送成功'
);
console
.
log
(
'消息发送成功'
);
_this1
2
.
loading
=
true
;
_this1
1
.
loading
=
true
;
// uni.showLoading({
// uni.showLoading({
// title: '思考中...',
// title: '思考中...',
// mask: true // 是否显示透明蒙层,防止触摸穿透,默认为 false
// mask: true // 是否显示透明蒙层,防止触摸穿透,默认为 false
...
@@ -1842,7 +1805,7 @@ var _default = {
...
@@ -1842,7 +1805,7 @@ var _default = {
var
str
=
'对方正在输入...'
;
var
str
=
'对方正在输入...'
;
var
i
=
6
;
var
i
=
6
;
_this1
2
.
timer
=
setInterval
(
function
()
{
_this1
1
.
timer
=
setInterval
(
function
()
{
if
(
i
<
10
)
{
if
(
i
<
10
)
{
i
+=
1
;
i
+=
1
;
}
else
{
}
else
{
...
@@ -1856,7 +1819,7 @@ var _default = {
...
@@ -1856,7 +1819,7 @@ var _default = {
});
});
},
},
handleSendMessage2
:
function
handleSendMessage2
()
{
handleSendMessage2
:
function
handleSendMessage2
()
{
var
_this1
3
=
this
;
var
_this1
2
=
this
;
if
(
this
.
socketTask
==
null
)
{
if
(
this
.
socketTask
==
null
)
{
this
.
socketConnect
();
this
.
socketConnect
();
}
}
...
@@ -1875,7 +1838,7 @@ var _default = {
...
@@ -1875,7 +1838,7 @@ var _default = {
// 用户的每个输入需要立即回显,并回复一个[思考中...]的动画
// 用户的每个输入需要立即回显,并回复一个[思考中...]的动画
this
.
timerConsider
=
setInterval
(
function
()
{
this
.
timerConsider
=
setInterval
(
function
()
{
_this1
3
.
count
++
;
_this1
2
.
count
++
;
},
1000
);
},
1000
);
this
.
historyRecord
.
push
({
this
.
historyRecord
.
push
({
Message
:
this
.
inputVal
,
Message
:
this
.
inputVal
,
...
@@ -1890,11 +1853,11 @@ var _default = {
...
@@ -1890,11 +1853,11 @@ var _default = {
// this.inputVal = ''
// this.inputVal = ''
//滚动条触底
//滚动条触底
uni
.
createSelectorQuery
().
in
(
this
).
select
(
'#scroll-view-content'
).
boundingClientRect
(
function
(
res
)
{
uni
.
createSelectorQuery
().
in
(
this
).
select
(
'#scroll-view-content'
).
boundingClientRect
(
function
(
res
)
{
console
.
log
(
'res'
,
res
,
_this1
3
.
historyRecord
.
length
);
console
.
log
(
'res'
,
res
,
_this1
2
.
historyRecord
.
length
);
if
(
res
)
{
if
(
res
)
{
_this1
3
.
scrollTop
=
res
.
height
;
_this1
2
.
scrollTop
=
res
.
height
;
}
else
{
}
else
{
_this1
3
.
scrollTop
=
_this13
.
historyRecord
.
length
*
1000
;
_this1
2
.
scrollTop
=
_this12
.
historyRecord
.
length
*
1000
;
}
}
}).
exec
();
}).
exec
();
...
@@ -1912,15 +1875,15 @@ var _default = {
...
@@ -1912,15 +1875,15 @@ var _default = {
}),
}),
success
:
function
success
()
{
success
:
function
success
()
{
console
.
log
(
'消息发送成功'
);
console
.
log
(
'消息发送成功'
);
_this1
3
.
loading
=
true
;
_this1
2
.
loading
=
true
;
_this1
3
.
inputVal_UI
=
_this13
.
inputVal
;
_this1
2
.
inputVal_UI
=
_this12
.
inputVal
;
_this1
3
.
inputVal
=
''
;
_this1
2
.
inputVal
=
''
;
_this1
3
.
glod_dp
=
false
;
_this1
2
.
glod_dp
=
false
;
// this.glod_user = true
// this.glod_user = true
var
str
=
'对方正在输入...'
;
var
str
=
'对方正在输入...'
;
var
i
=
6
;
var
i
=
6
;
_this1
3
.
timer
=
setInterval
(
function
()
{
_this1
2
.
timer
=
setInterval
(
function
()
{
if
(
i
<
10
)
{
if
(
i
<
10
)
{
i
+=
1
;
i
+=
1
;
}
else
{
}
else
{
...
@@ -1929,7 +1892,7 @@ var _default = {
...
@@ -1929,7 +1892,7 @@ var _default = {
uni
.
setNavigationBarTitle
({
uni
.
setNavigationBarTitle
({
title
:
str
.
substr
(
0
,
i
)
title
:
str
.
substr
(
0
,
i
)
});
});
_this1
3
.
yyds_pangbai
=
str
.
substr
(
0
,
i
);
_this1
2
.
yyds_pangbai
=
str
.
substr
(
0
,
i
);
},
400
);
},
400
);
}
}
});
});
...
@@ -1958,7 +1921,7 @@ var _default = {
...
@@ -1958,7 +1921,7 @@ var _default = {
},
},
//假人音线
//假人音线
FetchAbuffer
:
function
FetchAbuffer
(
OriginObj
,
voicer
,
Sarry
,
CB
)
{
FetchAbuffer
:
function
FetchAbuffer
(
OriginObj
,
voicer
,
Sarry
,
CB
)
{
var
_this1
4
=
this
;
var
_this1
3
=
this
;
var
Cobj2
=
this
.
computeLen
(
OriginObj
);
var
Cobj2
=
this
.
computeLen
(
OriginObj
);
// console.log('llllllllll',Cobj2)
// console.log('llllllllll',Cobj2)
var
Asr
=
Cobj2
.
Sr
;
var
Asr
=
Cobj2
.
Sr
;
...
@@ -1979,12 +1942,12 @@ var _default = {
...
@@ -1979,12 +1942,12 @@ var _default = {
S
:
Asr
S
:
Asr
});
});
// OriginObj = Cobj2
// OriginObj = Cobj2
_this1
4
.
Cobj2
.
content
=
Cobj2
.
content
;
_this1
3
.
Cobj2
.
content
=
Cobj2
.
content
;
_this1
4
.
Cobj2
.
Sr
=
Cobj2
.
Sr
;
_this1
3
.
Cobj2
.
Sr
=
Cobj2
.
Sr
;
// console.log('OriginObj',OriginObj)
// console.log('OriginObj',OriginObj)
if
(
Cobj2
.
content
!=
""
)
{
if
(
Cobj2
.
content
!=
""
)
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
_this1
4
.
FetchAbuffer
(
Cobj2
,
voicer
,
Sarry
);
_this1
3
.
FetchAbuffer
(
Cobj2
,
voicer
,
Sarry
);
},
500
);
},
500
);
}
}
}).
catch
(
function
(
err
)
{
}).
catch
(
function
(
err
)
{
...
@@ -1993,7 +1956,7 @@ var _default = {
...
@@ -1993,7 +1956,7 @@ var _default = {
},
},
//真人音线
//真人音线
FetchAbuffer_real
:
function
FetchAbuffer_real
(
OriginObj
,
voicer
,
Sarry
,
CB
)
{
FetchAbuffer_real
:
function
FetchAbuffer_real
(
OriginObj
,
voicer
,
Sarry
,
CB
)
{
var
_this1
5
=
this
;
var
_this1
4
=
this
;
var
Cobj
=
this
.
computeLen
(
OriginObj
);
var
Cobj
=
this
.
computeLen
(
OriginObj
);
var
Asr
=
Cobj
.
Sr
;
var
Asr
=
Cobj
.
Sr
;
uni
.
request
({
uni
.
request
({
...
@@ -2013,17 +1976,17 @@ var _default = {
...
@@ -2013,17 +1976,17 @@ var _default = {
S
:
Asr
S
:
Asr
});
});
// OriginObj = Cobj
// OriginObj = Cobj
_this1
5
.
Cobj
.
content
=
Cobj
.
content
;
_this1
4
.
Cobj
.
content
=
Cobj
.
content
;
_this1
5
.
Cobj
.
Sr
=
Cobj
.
Sr
;
_this1
4
.
Cobj
.
Sr
=
Cobj
.
Sr
;
if
(
Cobj
.
content
!=
""
)
{
if
(
Cobj
.
content
!=
""
)
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
_this1
5
.
FetchAbuffer_real
(
Cobj
,
voicer
,
Sarry
);
_this1
4
.
FetchAbuffer_real
(
Cobj
,
voicer
,
Sarry
);
},
500
);
},
500
);
}
}
});
});
},
},
execFile
:
function
execFile
(
data
,
ISLIU_content
)
{
execFile
:
function
execFile
(
data
,
ISLIU_content
)
{
var
_this1
6
=
this
;
var
_this1
5
=
this
;
// let arrObj = data;
// let arrObj = data;
// const content = arrObj[0].text;
// const content = arrObj[0].text;
// quoted为真 或为假 表示 真假音线
// quoted为真 或为假 表示 真假音线
...
@@ -2043,31 +2006,31 @@ var _default = {
...
@@ -2043,31 +2006,31 @@ var _default = {
if
(
arrObj
[
0
].
quoted
)
{
if
(
arrObj
[
0
].
quoted
)
{
if
(
text
!==
""
&&
!
falg
)
{
if
(
text
!==
""
&&
!
falg
)
{
console
.
log
(
'Quote Added'
);
console
.
log
(
'Quote Added'
);
_this1
6
.
glod_dp
=
true
;
_this1
5
.
glod_dp
=
true
;
// this.glod_user = false
// this.glod_user = false
_this1
6
.
yyds_dp
=
text
;
_this1
5
.
yyds_dp
=
text
;
_this1
6
.
yyds_pangbai
+=
" “ "
+
text
+
" ” "
;
_this1
5
.
yyds_pangbai
+=
" “ "
+
text
+
" ” "
;
}
}
if
(
falg
)
{
if
(
falg
)
{
console
.
log
(
'GoSound讲话完毕!'
);
console
.
log
(
'GoSound讲话完毕!'
);
arrObj
.
shift
();
arrObj
.
shift
();
console
.
log
(
'arrObj'
,
arrObj
);
console
.
log
(
'arrObj'
,
arrObj
);
if
(
arrObj
.
length
!==
0
)
{
if
(
arrObj
.
length
!==
0
)
{
_this1
6
.
execFile
(
arrObj
);
_this1
5
.
execFile
(
arrObj
);
}
}
}
}
}
else
{
}
else
{
if
(
text
!==
""
&&
!
falg
)
{
if
(
text
!==
""
&&
!
falg
)
{
_this1
6
.
kill
=
false
;
_this1
5
.
kill
=
false
;
_this1
6
.
delayText
(
text
);
_this1
5
.
delayText
(
text
);
}
}
if
(
falg
)
{
if
(
falg
)
{
console
.
log
(
'GoSay讲话完毕!'
);
console
.
log
(
'GoSay讲话完毕!'
);
_this1
6
.
kill
=
true
;
_this1
5
.
kill
=
true
;
arrObj
.
shift
();
arrObj
.
shift
();
console
.
log
(
'arrObj'
,
arrObj
);
console
.
log
(
'arrObj'
,
arrObj
);
if
(
arrObj
.
length
!==
0
)
{
if
(
arrObj
.
length
!==
0
)
{
_this1
6
.
execFile
(
arrObj
);
_this1
5
.
execFile
(
arrObj
);
}
}
}
}
}
}
...
@@ -2116,18 +2079,18 @@ var _default = {
...
@@ -2116,18 +2079,18 @@ var _default = {
return
matches
||
[];
return
matches
||
[];
},
},
delayText
:
function
delayText
(
text
)
{
delayText
:
function
delayText
(
text
)
{
var
_this1
7
=
this
;
var
_this1
6
=
this
;
var
count
=
text
.
split
(
""
);
var
count
=
text
.
split
(
""
);
clearInterval
(
this
.
Strem
);
clearInterval
(
this
.
Strem
);
this
.
Strem
=
setInterval
(
function
()
{
this
.
Strem
=
setInterval
(
function
()
{
// let Nc = count.shift()
// let Nc = count.shift()
_this1
7
.
Nc
=
count
.
shift
();
_this1
6
.
Nc
=
count
.
shift
();
// console.log('this.Nc text',count,this.Nc)
// console.log('this.Nc text',count,this.Nc)
_this1
7
.
yyds_pangbai
+=
_this17
.
Nc
;
_this1
6
.
yyds_pangbai
+=
_this16
.
Nc
;
_this1
7
.
str
=
count
.
join
(
""
);
_this1
6
.
str
=
count
.
join
(
""
);
_this1
7
.
scrollToBottom_pangbai
();
//滚动条到底部
_this1
6
.
scrollToBottom_pangbai
();
//滚动条到底部
if
(
count
.
length
==
0
)
{
if
(
count
.
length
==
0
)
{
clearInterval
(
_this1
7
.
Strem
);
clearInterval
(
_this1
6
.
Strem
);
}
}
},
50
);
},
50
);
},
},
...
@@ -2176,7 +2139,7 @@ var _default = {
...
@@ -2176,7 +2139,7 @@ var _default = {
data
:
arrayBuffer
[
1
].
data
,
data
:
arrayBuffer
[
1
].
data
,
encoding
:
'binary'
,
encoding
:
'binary'
,
success
:
function
success
()
{
success
:
function
success
()
{
var
_this1
8
=
this
;
var
_this1
7
=
this
;
// 写入成功,使用小程序的背景音频播放器播放音频
// 写入成功,使用小程序的背景音频播放器播放音频
if
(
that
.
EPlayer
)
{
if
(
that
.
EPlayer
)
{
// that.EPlayer.onended=null
// that.EPlayer.onended=null
...
@@ -2230,7 +2193,7 @@ var _default = {
...
@@ -2230,7 +2193,7 @@ var _default = {
Rfunc
();
Rfunc
();
}
else
{
}
else
{
console
.
log
(
'Checkpoint'
);
console
.
log
(
'Checkpoint'
);
_this1
8
.
str
=
Sobj
.
S
;
_this1
7
.
str
=
Sobj
.
S
;
that
.
tempFilePath2
=
wx
.
env
.
USER_DATA_PATH
+
"/tempAudio_"
.
concat
(
new
Date
().
getTime
(),
".mp3"
);
that
.
tempFilePath2
=
wx
.
env
.
USER_DATA_PATH
+
"/tempAudio_"
.
concat
(
new
Date
().
getTime
(),
".mp3"
);
FileSystemManager
.
writeFile
({
FileSystemManager
.
writeFile
({
filePath
:
that
.
tempFilePath2
,
filePath
:
that
.
tempFilePath2
,
...
@@ -2269,7 +2232,7 @@ var _default = {
...
@@ -2269,7 +2232,7 @@ var _default = {
},
},
//假人音线
//假人音线
GoSay
:
function
GoSay
(
content
,
voicer
,
CB
)
{
GoSay
:
function
GoSay
(
content
,
voicer
,
CB
)
{
var
_this1
9
=
this
;
var
_this1
8
=
this
;
if
(
!
this
.
soundVoice
[
voicer
])
{
if
(
!
this
.
soundVoice
[
voicer
])
{
//真人音线
//真人音线
this
.
GoSound
(
content
,
voicer
,
CB
);
this
.
GoSound
(
content
,
voicer
,
CB
);
...
@@ -2294,33 +2257,33 @@ var _default = {
...
@@ -2294,33 +2257,33 @@ var _default = {
}).
then
(
function
(
arrayBuffer
)
{
}).
then
(
function
(
arrayBuffer
)
{
// console.log('arrayBuffer',arrayBuffer)
// console.log('arrayBuffer',arrayBuffer)
var
FileSystemManager
=
wx
.
getFileSystemManager
();
var
FileSystemManager
=
wx
.
getFileSystemManager
();
_this1
9
.
tempFilePath
=
wx
.
env
.
USER_DATA_PATH
+
"/tempAudio_"
.
concat
(
new
Date
().
getTime
(),
".mp3"
);
// 或者其他音频格式,根据实际情况而定
_this1
8
.
tempFilePath
=
wx
.
env
.
USER_DATA_PATH
+
"/tempAudio_"
.
concat
(
new
Date
().
getTime
(),
".mp3"
);
// 或者其他音频格式,根据实际情况而定
// console.log('tempFilePath:',this.tempFilePath);
// console.log('tempFilePath:',this.tempFilePath);
FileSystemManager
.
writeFile
({
FileSystemManager
.
writeFile
({
filePath
:
_this1
9
.
tempFilePath
,
filePath
:
_this1
8
.
tempFilePath
,
data
:
arrayBuffer
[
1
].
data
,
data
:
arrayBuffer
[
1
].
data
,
encoding
:
'binary'
,
encoding
:
'binary'
,
success
:
function
success
()
{
success
:
function
success
()
{
// 写入成功,使用小程序的背景音频播放器播放音频
// 写入成功,使用小程序的背景音频播放器播放音频
if
(
_this1
9
.
EPlayer
)
{
if
(
_this1
8
.
EPlayer
)
{
// this.EPlayer.onended=null
// this.EPlayer.onended=null
// this.EPlayer.onEnded()
// this.EPlayer.onEnded()
_this1
9
.
EPlayer
.
stop
();
_this1
8
.
EPlayer
.
stop
();
// that.EPlayer.cb && that.EPlayer.cb(that.Cobj2.Sr, true, true)
// that.EPlayer.cb && that.EPlayer.cb(that.Cobj2.Sr, true, true)
}
}
if
(
CB
)
CB
(
_this1
9
.
Cobj2
.
Sr
);
if
(
CB
)
CB
(
_this1
8
.
Cobj2
.
Sr
);
_this1
9
.
EPlayer
=
wx
.
createInnerAudioContext
();
_this1
8
.
EPlayer
=
wx
.
createInnerAudioContext
();
_this1
9
.
EPlayer
.
src
=
_this19
.
tempFilePath
;
_this1
8
.
EPlayer
.
src
=
_this18
.
tempFilePath
;
_this1
9
.
EPlayer
.
play
();
_this1
8
.
EPlayer
.
play
();
console
.
log
(
'oooGoSayooo'
);
console
.
log
(
'oooGoSayooo'
);
_this1
9
.
EPlayer
.
cb
=
CB
;
_this1
8
.
EPlayer
.
cb
=
CB
;
var
Rfunc
=
function
Rfunc
()
{
var
Rfunc
=
function
Rfunc
()
{
console
.
log
(
'Sarry'
,
Sarry
);
console
.
log
(
'Sarry'
,
Sarry
);
if
(
_this1
9
.
jumping
)
{
if
(
_this1
8
.
jumping
)
{
return
;
return
;
}
}
_this1
9
.
jumping
=
true
;
_this1
8
.
jumping
=
true
;
FileSystemManager
.
unlink
({
FileSystemManager
.
unlink
({
filePath
:
that
.
tempFilePath
,
filePath
:
that
.
tempFilePath
,
success
:
function
success
(
res
)
{
success
:
function
success
(
res
)
{
...
@@ -2331,54 +2294,54 @@ var _default = {
...
@@ -2331,54 +2294,54 @@ var _default = {
}
}
});
});
if
(
Sarry
.
length
==
0
)
{
if
(
Sarry
.
length
==
0
)
{
_this1
9
.
kill
=
true
;
_this1
8
.
kill
=
true
;
if
(
_this1
9
.
Cobj2
.
content
!=
''
)
{
if
(
_this1
8
.
Cobj2
.
content
!=
''
)
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
// this.EPlayer.onEnded(Rfunc)
// this.EPlayer.onEnded(Rfunc)
_this1
9
.
EPlayer
.
onended
();
_this1
8
.
EPlayer
.
onended
();
},
1000
);
},
1000
);
_this1
9
.
jumping
=
false
;
_this1
8
.
jumping
=
false
;
return
;
return
;
}
}
if
(
CB
)
{
if
(
CB
)
{
CB
(
_this1
9
.
Cobj2
.
Sr
,
true
);
CB
(
_this1
8
.
Cobj2
.
Sr
,
true
);
}
}
_this1
9
.
jumping
=
false
;
_this1
8
.
jumping
=
false
;
return
;
return
;
}
}
var
Sobj
=
Sarry
.
shift
();
var
Sobj
=
Sarry
.
shift
();
if
(
Sobj
.
A
==
null
)
{
if
(
Sobj
.
A
==
null
)
{
CB
(
Sobj
.
S
);
CB
(
Sobj
.
S
);
_this1
9
.
jumping
=
false
;
_this1
8
.
jumping
=
false
;
Rfunc
();
Rfunc
();
}
else
{
}
else
{
console
.
log
(
'Checkpoint'
);
console
.
log
(
'Checkpoint'
);
_this1
9
.
str
=
Sobj
.
S
;
_this1
8
.
str
=
Sobj
.
S
;
_this1
9
.
tempFilePath2
=
wx
.
env
.
USER_DATA_PATH
+
"/tempAudio_"
.
concat
(
new
Date
().
getTime
(),
".mp3"
);
_this1
8
.
tempFilePath2
=
wx
.
env
.
USER_DATA_PATH
+
"/tempAudio_"
.
concat
(
new
Date
().
getTime
(),
".mp3"
);
// const mark = that.Cobj2.Sr
// const mark = that.Cobj2.Sr
FileSystemManager
.
writeFile
({
FileSystemManager
.
writeFile
({
filePath
:
_this1
9
.
tempFilePath2
,
filePath
:
_this1
8
.
tempFilePath2
,
data
:
Sobj
.
A
,
data
:
Sobj
.
A
,
encoding
:
'binary'
,
encoding
:
'binary'
,
success
:
function
success
()
{
success
:
function
success
()
{
_this1
9
.
tempFilePath
=
_this19
.
tempFilePath2
;
_this1
8
.
tempFilePath
=
_this18
.
tempFilePath2
;
if
(
CB
)
CB
(
Sobj
.
S
);
if
(
CB
)
CB
(
Sobj
.
S
);
_this1
9
.
EPlayer
=
wx
.
createInnerAudioContext
();
_this1
8
.
EPlayer
=
wx
.
createInnerAudioContext
();
_this1
9
.
EPlayer
.
src
=
_this19
.
tempFilePath
;
_this1
8
.
EPlayer
.
src
=
_this18
.
tempFilePath
;
_this1
9
.
EPlayer
.
play
();
_this1
8
.
EPlayer
.
play
();
_this1
9
.
EPlayer
.
onEnded
(
Rfunc
);
_this1
8
.
EPlayer
.
onEnded
(
Rfunc
);
_this1
9
.
EPlayer
.
onended
=
Rfunc
;
_this1
8
.
EPlayer
.
onended
=
Rfunc
;
},
},
fail
:
console
.
error
fail
:
console
.
error
});
});
}
}
_this1
9
.
jumping
=
false
;
_this1
8
.
jumping
=
false
;
};
};
_this1
9
.
EPlayer
.
onEnded
(
Rfunc
);
_this1
8
.
EPlayer
.
onEnded
(
Rfunc
);
_this1
9
.
EPlayer
.
onended
=
Rfunc
;
_this1
8
.
EPlayer
.
onended
=
Rfunc
;
if
(
_this1
9
.
Cobj2
.
content
!=
""
)
{
if
(
_this1
8
.
Cobj2
.
content
!=
""
)
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
_this1
9
.
FetchAbuffer
(
_this19
.
Cobj2
,
voicer
,
Sarry
,
CB
);
_this1
8
.
FetchAbuffer
(
_this18
.
Cobj2
,
voicer
,
Sarry
,
CB
);
},
2000
);
},
2000
);
}
}
},
},
...
...
unpackage/dist/dev/mp-weixin/pages/index/index.wxml
View file @
9860459b
<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>
<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
\ No newline at end of file
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