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
237539b8
Commit
237539b8
authored
Sep 09, 2021
by
zhoucong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理我的vlog bug
parent
9a899114
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
myVlog.vue
pages/vlog/myVlog/myVlog.vue
+2
-2
vlogList.vue
pages/vlog/vlogList/vlogList.vue
+1
-1
myVlog.js.map
.../dev/.sourcemap/mp-weixin/pages/vlog/myVlog/myVlog.js.map
+1
-1
vlogList.js.map
.../.sourcemap/mp-weixin/pages/vlog/vlogList/vlogList.js.map
+1
-1
No files found.
pages/vlog/myVlog/myVlog.vue
View file @
237539b8
...
...
@@ -28,7 +28,7 @@
export
default
{
data
()
{
return
{
show
:
true
,
//
显示默认
页面
show
:
true
,
//
跳转过渡
页面
vlogList
:
[],
//我的vlog集合
}
},
...
...
@@ -44,10 +44,10 @@
this
.
$request
(
"wechatUser/myPage/getVlogRecord"
,
{
openid
:
uni
.
getStorageSync
(
"openid"
)
}).
then
(
res
=>
{
this
.
show
=
false
if
(
res
.
code
===
"00"
){
this
.
vlogList
=
res
.
data
if
(
this
.
vlogList
.
length
>
0
)
{
//如果有数据
this
.
show
=
false
uni
.
setNavigationBarColor
({
//动态更改导航条颜色
frontColor
:
'#ffffff'
,
backgroundColor
:
'#192033'
,
...
...
pages/vlog/vlogList/vlogList.vue
View file @
237539b8
...
...
@@ -5,7 +5,7 @@
<video
class=
"video"
:src=
"item.productUrl"
:poster=
"item.thumbImageUrl"
@
error=
"error"
controls
play-btn-position=
"center"
:id=
"index"
@
play=
"playing(index)"
></video>
<view
class=
""
>
<button
v-if=
"item.shareNumber===
4
"
:data-productUrl=
"item.productUrl"
:data-productId=
"item.productId"
class=
"btnn"
<button
v-if=
"item.shareNumber===
0
"
:data-productUrl=
"item.productUrl"
:data-productId=
"item.productId"
class=
"btnn"
open-type=
"share"
>
分享下载
</button>
<button
v-else
class=
"btnn"
@
click=
"handleDownload"
>
下载视频
</button>
<text
class=
"price"
>
¥
<text>
0
</text></text>
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/pages/vlog/myVlog/myVlog.js.map
View file @
237539b8
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/.sourcemap/mp-weixin/pages/vlog/vlogList/vlogList.js.map
View file @
237539b8
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