index.wxml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <xr-demo-viewer
  2. style="width: 701rpx; height: 844rpx; display: inline; box-sizing: content-box">
  3. <xr-classic-video
  4. disable-scroll
  5. id="main-frame"
  6. width="{{renderWidth}}"
  7. height="{{renderHeight}}"
  8. style="width:150%;height:100%;display:block;"
  9. markerImg="{{markerImg}}"
  10. bind:arTrackerState="handleARTrackerState"
  11. bind:assetsProgress="handleProgress"
  12. bind:assetsLoaded="handleLoaded"
  13. bind:assetsstr="handlestr"
  14. />
  15. <!--wx:if="{{!loaded}}"-->
  16. <!-- wx:if="{{loaded&&!loadedSaoMiao}}"-->
  17. <view wx:if="{{!loadedSaoMiao}}" style="position: absolute; display: flex; justify-content: center; align-items: center; left: 146rpx; top: 261rpx; width: 100%; height: 441rpx; background-color: rgba(0, 0, 0,0); text-align: center; line-height: 24px; box-sizing: content-box">
  18. <image class="saomiao" src='https://wx-model-1317557471.cos.ap-shanghai.myqcloud.com/WXImage/GHZsaomiao.png' style="position: relative; left: -143rpx; top: 92rpx; width: 777rpx; height: 586.5rpx; display: flex; box-sizing: border-box"></image>
  19. </view>
  20. <view wx:if="{{!loadedSaoMiao}}" style="position: absolute; display: flex; justify-content: center; align-items: center; left: 0rpx; top: 801rpx; width: 100%; height: 100rpx; background-color: rgba(0, 0, 0,0); text-align: center; line-height: 24px; box-sizing: content-box">
  21. <image class="tapimg1" bind:tap="handleTrackerSwitch" src='https://wx-model-1317557471.cos.ap-shanghai.myqcloud.com/WXModel/btn_skip.png' style="position: relative; left: 0rpx; top: 0rpx; width: 500rpx; height: 80rpx; display: flex; box-sizing: border-box" ></image>
  22. </view>
  23. <view wx:if="{{!loadedSaoMiao}}" style="position: absolute; display: flex; justify-content: center; align-items: center; left: 146rpx; top: 261rpx; width: 100%; height: 441rpx; background-color: rgba(0, 0, 0,0); text-align: center; line-height: 24px; box-sizing: content-box">
  24. <!--<image class="shibietu" src='https://wx-model-1317557471.cos.ap-shanghai.myqcloud.com/WXImage/shibietu.png' style="position: relative; left: -150rpx; top: 856rpx; width: 750rpx; height: 268rpx; display: flex; box-sizing: border-box"></image>-->
  25. </view>
  26. <view style="position: absolute; display: flex; justify-content: center; align-items: center; left: 146rpx; top: 261rpx; width: 100%; height: 441rpx; background-color: rgba(0, 0, 0,0); text-align: center; line-height: 24px; box-sizing: content-box">
  27. <image wx:if="{{loadedSaoMiao}}" class="zhaohuan" src='https://wx-model-1317557471.cos.ap-shanghai.myqcloud.com/WXImage/zhaohuan.png' style="position: relative; left: -164rpx; top: 704rpx; width: 554rpx; height: 211rpx; display: flex; box-sizing: border-box"></image>
  28. </view>
  29. </xr-demo-viewer>