碧云体育休闲社区AR党建小程序
fuchengshen
2021-11-30 c1034159f2d7ae8218d470061daef8853b30b14f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
 
<view style="width: 100%;height: 100%;overflow: hidden;">
<!--pages/hands/hands.wxml-->
<camera frame-size="medium"
        mode="normal"
        device-position="back"
        resolution="high"
        flash="off"/>
<!-- 操作按钮模型角度切换 -->
<view class="button" bindtap="FirstView">
<text class="iconfont icon-view firstView" id="change" bindanimationend="{{ani}}" style="position: absolute; left: 50rpx; top: 49rpx; width: 50rpx; height: 50rpx; display: block; box-sizing: border-box"></text>
<text >视角切换</text>  
</view>
 
<view class="thirdView" wx:if="{{thirdView}}" bindtap="TView">
查看简介
</view>
 
<!-- 点击截图浏览视频 -->
<view class="playVideo">
<view class="mask">
<text bindtap="BindShow" class="iconfont icon-bofang"></text>
</view>
<image src="http://47.92.33.19:9001/version/OBJ/DB_dm.jpg" ></image>
</view>
 
<view style="display: {{vdisplay}};width: 100%;height: 100%;position: absolute;top:0;z-index: 350;left: 0;">
<text id="cloth" class="iconfont icon-guanbi"
bindtap="cloth"></text>
<video autoplay="true"
show-mute-btn="true"
bindended="cloth"
vslide-gesture-in-fullscreen="true"
 src="https://o.666visa.cn/video/home.mp4"></video>
</view>
 
<!-- 模型canvas组件 -->
<canvas style="left: {{threeLeft}};" type="webgl" id="c" bindtouchstart="touchStart" bindtouchmove="touchMove" bindtouchend="touchEnd" bindtouchcancel="touchCancel" bindlongtap="longTap" bindtap="tap"></canvas>
<icon  class="iconfont icon-guanbi" wx:if="{{back}}"   bindtap="backIndex"></icon>
<!-- <text class="iconfont icon-guanbi" wx:if="{{!display}}"></text> -->
</view>