Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
hmd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6a6b3892
authored
Aug 08, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
730979ab
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
9 deletions
packageMall/pages/detail/detail.scss
packageMall/pages/detail/detail.wxml
pages/tab/index/components/ChannelsModal/ChannelsModal.js
packageMall/pages/detail/detail.scss
View file @
6a6b389
...
@@ -518,23 +518,28 @@
...
@@ -518,23 +518,28 @@
.model
{
.model
{
position
:
fixed
;
position
:
fixed
;
left
:
0
;
right
:
0
;
top
:
0
;
top
:
0
;
right
:
0
;
right
:
0
;
background
:
rgba
(
0
,
0
,
0
,
0
.5
);
bottom
:
0
;
width
:
100%
;
left
:
0
;
height
:
100%
;
z-index
:
999999
;
z-index
:
999999
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
&
-bg
{
position
:
absolute
;
left
:
0
;
top
:
0
;
z-index
:
-1
;
width
:
100%
;
height
:
100%
;
background
:
rgba
(
0
,
0
,
0
,
0
.5
);
}
}
}
.poster
{
.poster
{
width
:
540rpx
;
width
:
540rpx
;
height
:
860rpx
;
height
:
924rpx
;
border-radius
:
8rpx
;
animation
:
show-box-inset
.5s
forwards
;
animation
:
show-box-inset
.5s
forwards
;
}
}
...
...
packageMall/pages/detail/detail.wxml
View file @
6a6b389
...
@@ -209,7 +209,8 @@
...
@@ -209,7 +209,8 @@
</block>
</block>
</block>
</block>
<block wx:if="{{showPoster && posterUrl}}">
<block wx:if="{{showPoster && posterUrl}}">
<view class="model" catchtouchmove="noScroll" bindtap="hidden">
<view class="model" catchtouchmove="noScroll" >
<view class="model-bg" bindtap="hidden"></view>
<view class="poster" bindlongpress='save'>
<view class="poster" bindlongpress='save'>
<image webp src="{{posterUrl}}"></image>
<image webp src="{{posterUrl}}"></image>
</view>
</view>
...
...
pages/tab/index/components/ChannelsModal/ChannelsModal.js
View file @
6a6b389
...
@@ -123,7 +123,7 @@ Component({
...
@@ -123,7 +123,7 @@ Component({
else
this
.
setBanner
()
else
this
.
setBanner
()
},
},
async
setBanner
()
{
async
setBanner
()
{
const
v
=
await
systemApi
.
getImageVersion
()
const
v
=
await
systemApi
.
getImageVersion
()
||
Date
.
now
()
const
{
const
{
liveInfo
,
liveInfo
,
liveNoticeInfo
,
liveNoticeInfo
,
...
...
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