Browse Source

直播分享bug处理

dev
kola-web 1 week ago
parent
commit
f475dabd54
  1. 2
      project.config.json
  2. 12
      src/app.ts
  3. 2
      src/patient/pages/live/index.ts
  4. 14
      src/patient/pages/liveDetail/index.scss
  5. 15
      src/patient/pages/liveDetail/index.wxml

2
project.config.json

@ -71,5 +71,5 @@ @@ -71,5 +71,5 @@
}
]
},
"appid": "wxf9ce8010f1ad24aa"
"appid": "wx71ac9c27c3c3e3f4"
}

12
src/app.ts

@ -16,15 +16,15 @@ App<IAppOption>({ @@ -16,15 +16,15 @@ App<IAppOption>({
// 测试号 wx2b0bb13edf717c1d
// dev
// appid:wxf9ce8010f1ad24aa
url: 'https://m.xd.hbraas.com',
upFileUrl: 'https://m.xd.hbraas.com/',
imageUrl: 'https://m.xd.hbraas.com/xd/',
// url: 'https://m.xd.hbraas.com',
// upFileUrl: 'https://m.xd.hbraas.com/',
// imageUrl: 'https://m.xd.hbraas.com/xd/',
// pro
// appid:wx71ac9c27c3c3e3f4
// url: 'https://m.xd.hbsaas.com',
// upFileUrl: 'https://m.xd.hbsaas.com/',
// imageUrl: 'https://m.xd.hbsaas.com/api/xd/',
url: 'https://m.xd.hbsaas.com',
upFileUrl: 'https://m.xd.hbsaas.com/',
imageUrl: 'https://m.xd.hbsaas.com/api/xd/',
loginState: '',
isLogin: 0,

2
src/patient/pages/live/index.ts

@ -246,7 +246,7 @@ Page({ @@ -246,7 +246,7 @@ Page({
onShareAppMessage() {
return {
title: '周三大咖说',
path: 'pages/live/index',
path: '/patient/pages/live/index',
}
},
})

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

@ -203,7 +203,7 @@ @@ -203,7 +203,7 @@
}
}
.fixed-share-wrap {
.fixed-share {
position: fixed;
z-index: 2;
right: 14rpx;
@ -211,19 +211,7 @@ @@ -211,19 +211,7 @@
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 {

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

@ -55,9 +55,9 @@ @@ -55,9 +55,9 @@
</swiper-item>
</swiper>
</view>
<view class="answer" bind:tap="handleAnswer">
<image class="a-img" src="/images/bg21.png"></image>
</view>
<!-- <view class="answer" bind:tap="handleAnswer"> -->
<!-- <image class="a-img" src="/images/bg21.png"></image> -->
<!-- </view> -->
<view class="content">
<view class="c-title">详情介绍</view>
<image class="c-img" mode="widthFix" src="{{item.url}}" wx:for="{{detail.DetailJson}}" wx:key="name"></image>
@ -127,9 +127,12 @@ @@ -127,9 +127,12 @@
</video>
</view>
<button class="fixed-share-wrap" open-type="share">
<image class="fixed-share" wx:if="{{detail.PosterUrl}}" src="{{imageUrl}}icon67.png?t={{Timestamp}}"></image>
</button>
<image
class="fixed-share"
wx:if="{{detail.PosterUrl}}"
src="{{imageUrl}}icon67.png?t={{Timestamp}}"
bind:tap="handleShare"
></image>
<van-popup show="{{shareShow}}" custom-class="custom-popup" bind:click-overlay="handleShareClose">
<view class="p-share">

Loading…
Cancel
Save