@@ -64,9 +64,9 @@ class Http {
}
export function wrapData(params) {
- const systemInfo = Taro.$global.systemInfo
- const launchOption = Taro.$global.launchOption
- const network = Taro.$global.network
+ const systemInfo = Taro.$global?.systemInfo
+ const launchOption = Taro.$global?.launchOption
+ const network = Taro.$global?.network
const defaultInfo = {
appId: APP_ID,
@@ -23,6 +23,7 @@
font-size: 20rpx;
text-align: center;
line-height: 32rpx;
+ z-index: 1;
.close-icon {
@@ -35,7 +36,7 @@
height: 60rpx;
border-radius: 50%;
background: rgba(0, 0, 0, .4);
-
.close-icon::before,
@@ -251,7 +251,7 @@ function Custom({
className='custom-video'
objectFit='fill'
controls={false}
- autoplay={false}
+ autoplay
loop
src={adData.materialAddress}
poster={adData.materialCoverPic}