Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 81f25405
authored
Jul 01, 2024
by
yixinjj
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.0.7' of
http://192.168.3.233:8090/glsx/gl_tape
into v1.0.7
2 parents
78b01712
451678fb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
env.js
mixin/click.js
pages/equity/detail/components/Guarantee.vue
env.js
View file @
81f2540
const
target
=
[
"ip"
,
"dev"
,
"uat"
,
"prod"
,
"beta"
];
const
target
=
[
"ip"
,
"dev"
,
"uat"
,
"prod"
,
"beta"
];
const
index
=
1
;
const
index
=
2
;
/**
/**
*
*
0本地
0本地
...
...
mixin/click.js
View file @
81f2540
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
*/
*/
const
recorderManager
=
uni
.
getRecorderManager
();
const
recorderManager
=
uni
.
getRecorderManager
();
const
plug
=
uni
.
requireNativePlugin
(
"html5app-recordaudio"
);
const
plug
=
uni
.
requireNativePlugin
(
"html5app-recordaudio"
);
import
RecordManager
from
"@/utils/RecordManager"
;
const
recordManager
=
RecordManager
.
getInstance
();
const
UPLOAD_STATUS
=
{
const
UPLOAD_STATUS
=
{
// 上传状态
// 上传状态
success
:
1
,
success
:
1
,
...
@@ -169,8 +171,8 @@ export default {
...
@@ -169,8 +171,8 @@ export default {
this
.
setAudioInfo
({
endReasonType
:
0
,
audioStatus
:
"finish"
});
this
.
setAudioInfo
({
endReasonType
:
0
,
audioStatus
:
"finish"
});
},
},
/**保存记录*/
/**保存记录*/
saveRecord
()
{
async
saveRecord
()
{
uni
.
$lock
=
true
;
const
unlock
=
await
recordManager
.
lock
()
;
const
recordUrlList
=
this
.
audioInfo
.
audioList
.
map
((
i
)
=>
{
const
recordUrlList
=
this
.
audioInfo
.
audioList
.
map
((
i
)
=>
{
return
{
return
{
status
:
UPLOAD_STATUS
.
fail
,
status
:
UPLOAD_STATUS
.
fail
,
...
@@ -187,7 +189,7 @@ export default {
...
@@ -187,7 +189,7 @@ export default {
];
];
console
.
log
(
recordList
,
"recordList"
);
console
.
log
(
recordList
,
"recordList"
);
uni
.
$storage
.
set
(
"recordList"
,
JSON
.
stringify
(
recordList
));
uni
.
$storage
.
set
(
"recordList"
,
JSON
.
stringify
(
recordList
));
un
i
.
$lock
=
false
;
un
lock
()
;
},
},
//结束接待
//结束接待
stopAudio
:
utils
.
throttle
(
async
function
(
status
)
{
stopAudio
:
utils
.
throttle
(
async
function
(
status
)
{
...
...
pages/equity/detail/components/Guarantee.vue
View file @
81f2540
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<view
class=
"item-text"
>
{{
item
.
name
}}
</view>
<view
class=
"item-text"
>
{{
item
.
name
}}
</view>
</view>
</view>
<view
class=
"details-container"
>
<view
class=
"details-container"
>
<view
class=
"details-section"
:class=
"showIndex == index ? 'show' : 'hide'"
>
<view
:class=
"['details-section', itemClass(index)]"
>
<view
class=
"section-title"
>
{{
item
.
name
}}
</view>
<view
class=
"section-title"
>
{{
item
.
name
}}
</view>
<view
class=
"section-description"
>
{{
item
.
description
}}
</view>
<view
class=
"section-description"
>
{{
item
.
description
}}
</view>
</view>
</view>
...
@@ -65,8 +65,6 @@ export default {
...
@@ -65,8 +65,6 @@ export default {
components
:
{
partsPop
},
components
:
{
partsPop
},
data
()
{
data
()
{
return
{
return
{
list
,
screenList
,
showIndex
:
-
1
,
showIndex
:
-
1
,
};
};
},
},
...
@@ -88,6 +86,9 @@ export default {
...
@@ -88,6 +86,9 @@ export default {
touch
()
{
touch
()
{
this
.
showIndex
=
-
1
;
this
.
showIndex
=
-
1
;
},
},
itemClass
(
index
){
return
this
.
showIndex
==
index
?
'show'
:
'hide'
}
},
},
};
};
</
script
>
</
script
>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment