Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uniapp_vedio
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
android
uniapp_vedio
Commits
c932e64a
Commit
c932e64a
authored
Jun 03, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
85685ebc
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
6 deletions
+9
-6
book-list-item.vue
vedio/components/book-list-item/book-list-item.vue
+1
-1
bookshelf-list.vue
vedio/components/bookshelf/components/bookshelf-list.vue
+2
-2
book-content.vue
vedio/page-subs/sub_A/book-content/book-content.vue
+3
-0
search-result.vue
.../page-subs/sub_A/book-search/components/search-result.vue
+3
-3
No files found.
vedio/components/book-list-item/book-list-item.vue
View file @
c932e64a
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<image
class=
"cover"
:src=
"item.avatar"
mode=
"aspectFill"
></image>
<image
class=
"cover"
:src=
"item.avatar"
mode=
"aspectFill"
></image>
</view>
</view>
<view
class=
"c-flex_column"
>
<view
class=
"c-flex_column"
>
<view
class=
"c-flex_row
c-justify_between row
"
>
<view
class=
"c-flex_row
row"
style=
"justify-content: space-between;padding-left:20rpx;
"
>
<view
class=
"c-flex_column c-justify_center item"
>
<view
class=
"c-flex_column c-justify_center item"
>
<view
class=
"title"
>
<view
class=
"title"
>
{{
item
.
title
}}
{{
item
.
title
}}
...
...
vedio/components/bookshelf/components/bookshelf-list.vue
View file @
c932e64a
...
@@ -4,14 +4,14 @@
...
@@ -4,14 +4,14 @@
:param=
"requestParam"
@
change=
'changeData'
method=
"POST"
>
:param=
"requestParam"
@
change=
'changeData'
method=
"POST"
>
<book-list-item
v-for=
'(item, index) in dataList'
:key=
'index'
:item=
'item'
<book-list-item
v-for=
'(item, index) in dataList'
:key=
'index'
:item=
'item'
@
tapItem=
'tapItem($event, index)'
@
close=
'tapClose($event, index)'
>
@
tapItem=
'tapItem($event, index)'
@
close=
'tapClose($event, index)'
>
<template
v-slot:footer
>
<
!--
<
template
v-slot:footer
>
<view
class=
"c-flex_row c-aligns_center"
>
<view
class=
"c-flex_row c-aligns_center"
>
<uni-icons
type=
'calendar'
size=
"16"
color=
"#999"
></uni-icons>
<uni-icons
type=
'calendar'
size=
"16"
color=
"#999"
></uni-icons>
<view
class=
"info"
>
<view
class=
"info"
>
{{
item
.
lastReadTimeDesc
}}
前阅读过
{{
item
.
lastReadTimeDesc
}}
前阅读过
</view>
</view>
</view>
</view>
</
template
>
</
template
>
-->
</book-list-item>
</book-list-item>
</c-list>
</c-list>
</view>
</view>
...
...
vedio/page-subs/sub_A/book-content/book-content.vue
View file @
c932e64a
...
@@ -266,6 +266,9 @@
...
@@ -266,6 +266,9 @@
},
1000
)
},
1000
)
})
})
},
},
paySuccess
()
{
this
.
$set
(
this
.
bookData
,
"isUnlock"
,
true
);
},
// 点击底部按钮
// 点击底部按钮
tapBottomItem
(
e
)
{
tapBottomItem
(
e
)
{
let
flag
=
e
.
detail
.
flag
;
let
flag
=
e
.
detail
.
flag
;
...
...
vedio/page-subs/sub_A/book-search/components/search-result.vue
View file @
c932e64a
...
@@ -49,8 +49,8 @@
...
@@ -49,8 +49,8 @@
},
},
requestUrl
:
function
()
{
requestUrl
:
function
()
{
return
!
this
.
searchType
||
this
.
searchType
.
value
==
ENUM_SEARCH_TYPE
.
WAREHOUSE
.
value
?
return
!
this
.
searchType
||
this
.
searchType
.
value
==
ENUM_SEARCH_TYPE
.
WAREHOUSE
.
value
?
"/book/articleList
/
"
:
"/book/articleList"
:
"/book/collect
/
"
"/book/collect
List
"
},
},
requestParam
:
function
()
{
requestParam
:
function
()
{
return
{
return
{
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
}
}
},
},
changeData
(
e
)
{
changeData
(
e
)
{
this
.
dataList
=
e
.
detail
.
data
.
map
(
item
=>
{
this
.
dataList
=
e
.
detail
.
data
.
list
.
map
(
item
=>
{
return
new
WarehouseBookItem
(
item
)
return
new
WarehouseBookItem
(
item
)
})
})
},
},
...
...
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