index.wxml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  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/rizhaoSaomiao2.png' style="position: relative; left: -143rpx; top: 92rpx; width: 753rpx; height: 818rpx; 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: 146rpx; top: 261rpx; width: 100%; height: 441rpx; background-color: rgba(0, 0, 0,0); text-align: center; line-height: 24px; box-sizing: content-box">
  21. <!--<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>-->
  22. </view>
  23. <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">
  24. <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>
  25. </view>
  26. </xr-demo-viewer>