Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
panyongping
uni-pdtravel
Commits
ece4f8ec
Commit
ece4f8ec
authored
Sep 13, 2021
by
zhoucong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
c687c692
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
22 deletions
+6
-22
scenicList.vue
pages/vlog/scenicList/scenicList.vue
+1
-1
vlogList.vue
pages/vlog/vlogList/vlogList.vue
+1
-17
vlogface.vue
pages/vlog/vlogface/vlogface.vue
+1
-1
scenicList.js.map
...urcemap/mp-weixin/pages/vlog/scenicList/scenicList.js.map
+1
-1
vlogList.js.map
.../.sourcemap/mp-weixin/pages/vlog/vlogList/vlogList.js.map
+1
-1
vlogface.js.map
.../.sourcemap/mp-weixin/pages/vlog/vlogface/vlogface.js.map
+1
-1
No files found.
pages/vlog/scenicList/scenicList.vue
View file @
ece4f8ec
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
})
})
},
},
methods
:
{
methods
:
{
error
(
e
){
//视频播放出错
触发函数
error
(
e
){
//视频播放出错
uni
.
showModal
({
content
:
e
.
target
.
errMsg
,
showCancel
:
false
})
uni
.
showModal
({
content
:
e
.
target
.
errMsg
,
showCancel
:
false
})
},
},
}
}
...
...
pages/vlog/vlogList/vlogList.vue
View file @
ece4f8ec
...
@@ -109,13 +109,6 @@
...
@@ -109,13 +109,6 @@
})
})
},
},
fail
:
err
=>
{
fail
:
err
=>
{
uni
.
showModal
({
title
:
'提示'
,
content
:
err
,
showCancel
:
false
,
});
uni
.
hideLoading
();
uni
.
hideLoading
();
//拒绝授权时显示
//拒绝授权时显示
if
(
err
.
errMsg
===
'saveVideoToPhotosAlbum:fail auth deny'
)
{
if
(
err
.
errMsg
===
'saveVideoToPhotosAlbum:fail auth deny'
)
{
...
@@ -127,10 +120,7 @@
...
@@ -127,10 +120,7 @@
//打开权限设置
//打开权限设置
uni
.
openSetting
({
uni
.
openSetting
({
success
:
setting
=>
{
success
:
setting
=>
{
if
(
setting
if
(
setting
.
authSetting
[
'scope.writePhotosAlbum'
])
{
.
authSetting
[
'scope.writePhotosAlbum'
])
{
uni
.
showModal
({
uni
.
showModal
({
title
:
'提示'
,
title
:
'提示'
,
content
:
'获取权限成功,再次点击下载即可保存'
,
content
:
'获取权限成功,再次点击下载即可保存'
,
...
@@ -152,12 +142,6 @@
...
@@ -152,12 +142,6 @@
})
})
},
},
fail
:
err
=>
{
//下载失败
fail
:
err
=>
{
//下载失败
uni
.
showModal
({
title
:
'提示'
,
content
:
"123"
+
err
.
errMsg
,
showCancel
:
false
,
});
uni
.
hideLoading
();
uni
.
hideLoading
();
if
(
err
.
errMsg
==
'downloadFile:fail createDownloadTask:fail url not in domain list'
)
{
if
(
err
.
errMsg
==
'downloadFile:fail createDownloadTask:fail url not in domain list'
)
{
uni
.
showToast
({
uni
.
showToast
({
...
...
pages/vlog/vlogface/vlogface.vue
View file @
ece4f8ec
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<view>
不遮挡面部
</view>
<view>
不遮挡面部
</view>
</view>
</view>
</view>
</view>
<
u-button
type=
"success"
size=
"medium"
@
click=
"takePhoto"
>
开始识别
</u-button
>
<
!--
<u-button
type=
"success"
size=
"medium"
@
click=
"takePhoto"
>
开始识别
</u-button>
--
>
</view>
</view>
</
template
>
</
template
>
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/pages/vlog/scenicList/scenicList.js.map
View file @
ece4f8ec
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/.sourcemap/mp-weixin/pages/vlog/vlogList/vlogList.js.map
View file @
ece4f8ec
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/.sourcemap/mp-weixin/pages/vlog/vlogface/vlogface.js.map
View file @
ece4f8ec
This diff is collapsed.
Click to expand it.
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