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
76ba291d
Commit
76ba291d
authored
Aug 07, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化样式
parent
9cde95fb
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
159 additions
and
146 deletions
+159
-146
catalogue-pop.vue
...subs/sub_A/book-long-content/components/catalogue-pop.vue
+4
-4
detail-content-chapter.vue
...A/book-long-content/components/detail-content-chapter.vue
+15
-6
setting-pop.vue
...e-subs/sub_A/book-long-content/components/setting-pop.vue
+1
-1
search-placeholder-section.vue
...b_A/book-search/components/search-placeholder-section.vue
+138
-134
search-result.vue
.../page-subs/sub_A/book-search/components/search-result.vue
+1
-1
No files found.
vedio/page-subs/sub_A/book-long-content/components/catalogue-pop.vue
View file @
76ba291d
<
template
>
<uni-popup
ref=
'pop'
type=
"left"
maskClick=
"ture"
>
<scroll-view
scroll-y
style=
"background-color: white;width: 400rpx;max-width: 400rpx;"
>
<uni-popup
ref=
'pop'
type=
"left"
:is-mask-click=
'false'
:safe-area=
'false'
>
<scroll-view
scroll-y
style=
"background-color: white;width: 400rpx;max-width: 400rpx;
height: 100%;
"
>
<view
class=
"setting-box"
>
<block
v-for=
'(item, index) in catalogueList'
:key=
'index'
:item=
'item'
>
<view
@
click=
"changeCatalogue(item.chapterNum)"
>
...
...
vedio/page-subs/sub_A/book-long-content/components/detail-content-chapter.vue
View file @
76ba291d
...
...
@@ -19,8 +19,8 @@
{{
limitButtonTitle
}}
</view>
<view
style=
"height: 1
2
0rpx;"
>
</view>
<view
style=
"height: 1
5
0rpx;"
>
</view>
<view
class=
"safe-placeholder"
:style=
"[safePlacehoderStyle]"
>
</view>
</
template
>
</view>
</template>
...
...
@@ -131,7 +131,16 @@
},
isHasContent
:
function
()
{
return
this
.
contentSources
.
length
>
0
},
safePlacehoderStyle
:
function
()
{
let
height
=
0
;
if
(
this
.
bottomSafeHeight
)
{
height
=
height
+
px2rpx
(
this
.
bottomSafeHeight
)
}
return
{
height
:
`
${
height
}
rpx`
}
},
},
methods
:
{
// 文章数据刷新
...
...
@@ -251,7 +260,7 @@
padding
:
0
100rpx
;
text
{
background-color
:
#fff
;
background-color
:
cornsilk
;
color
:
black
;
border-radius
:
10rpx
;
padding
:
16rpx
20rpx
;
...
...
@@ -261,9 +270,9 @@
.limit-button-box
{
text-indent
:
0
;
height
:
8
0rpx
;
height
:
5
0rpx
;
margin-bottom
:
20rpx
;
line-height
:
8
0rpx
;
line-height
:
5
0rpx
;
text-align
:
center
;
color
:
goldenrod
;
font-size
:
28rpx
;
...
...
vedio/page-subs/sub_A/book-long-content/components/setting-pop.vue
View file @
76ba291d
vedio/page-subs/sub_A/book-search/components/search-placeholder-section.vue
View file @
76ba291d
...
...
@@ -13,11 +13,13 @@
<view
class=
"ele-empty"
v-if=
'showEmpty'
>
{{
emptyTitle
}}
</view>
<!--
<scroll-view
scroll-x
v-else
>
-->
<view
class=
"ele-box"
v-else
>
<view
class=
"ele"
v-for=
'(item, index) in itemSource'
:key=
"index"
@
click=
"tapEle(item, index)"
>
{{
itemKey
?
item
[
itemKey
]:
item
}}
</view>
</view>
<!--
</scroll-view>
-->
</slot>
</view>
</view>
...
...
@@ -117,6 +119,8 @@
display
:
flex
;
flex-direction
:
row
;
padding-left
:
15rpx
;
flex-wrap
:
wrap
;
overflow
:
auto
;
.ele
{
margin
:
15rpx
0
;
...
...
vedio/page-subs/sub_A/book-search/components/search-result.vue
View file @
76ba291d
...
...
@@ -79,7 +79,7 @@
})
},
tapItem
(
e
,
index
)
{
gotoBookContentPage
(
e
.
detail
.
data
.
id
,
e
.
detail
.
data
.
id
)
gotoBookContentPage
(
e
.
detail
.
data
.
id
,
e
.
detail
.
data
.
shortis
)
},
}
}
...
...
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