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 @@
} }
} }
.fixed-share { .fixed-share-wrap {
position: fixed; position: fixed;
z-index: 2; z-index: 2;
right: 14rpx; right: 14rpx;
@ -211,8 +211,20 @@
width: 84rpx; width: 84rpx;
height: 84rpx; height: 84rpx;
box-shadow: 0 4rpx 24rpx 0 rgba(51, 5, 109, 0.17); 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%; border-radius: 50%;
} }
}
.custom-popup { .custom-popup {
background-color: transparent !important; background-color: transparent !important;

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

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

Loading…
Cancel
Save