Browse Source

直播增强

dev
kola-web 4 weeks ago
parent
commit
9c78847557
  1. 14
      src/patient/pages/liveDetail/index.scss
  2. 9
      src/patient/pages/liveDetail/index.wxml

14
src/patient/pages/liveDetail/index.scss

@ -203,7 +203,7 @@ @@ -203,7 +203,7 @@
}
}
.fixed-share {
.fixed-share-wrap {
position: fixed;
z-index: 2;
right: 14rpx;
@ -211,7 +211,19 @@ @@ -211,7 +211,19 @@
width: 84rpx;
height: 84rpx;
box-shadow: 0 4rpx 24rpx 0 rgba(51, 5, 109, 0.17);
background: transparent;
padding: 0;
border-radius: 50%;
&::after {
border: none;
background: transparent;
}
.fixed-share {
display: block;
width: 100%;
height: 100%;
border-radius: 50%;
}
}
.custom-popup {

9
src/patient/pages/liveDetail/index.wxml

@ -127,12 +127,9 @@ @@ -127,12 +127,9 @@
</video>
</view>
<image
class="fixed-share"
wx:if="{{detail.PosterUrl}}"
src="{{imageUrl}}icon67.png?t={{Timestamp}}"
bind:tap="handleShare"
></image>
<button class="fixed-share-wrap" open-type="share">
<image class="fixed-share" wx:if="{{detail.PosterUrl}}" src="{{imageUrl}}icon67.png?t={{Timestamp}}"></image>
</button>
<van-popup show="{{shareShow}}" custom-class="custom-popup" bind:click-overlay="handleShareClose">
<view class="p-share">

Loading…
Cancel
Save