|
@@ -32,13 +32,13 @@
|
|
|
<image :src="phoimg"></image>
|
|
|
</view>
|
|
|
<!-- 640 488 -->
|
|
|
- <view class="button-view" :style="{ display:(openCamera == true?'flex':'none')}">
|
|
|
+ <!-- <view class="button-view" :style="{ display:(openCamera == true?'flex':'none')}">
|
|
|
|
|
|
<view class="click-button" v-if="startVideoStatus == false">
|
|
|
<view class="button-btn button-btn2" style="background-color: #0b4da2;" @tap.bind="startVideo">同意协议,开始拍摄</view>
|
|
|
</view>
|
|
|
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -94,6 +94,7 @@
|
|
|
faceFilter.destroy();
|
|
|
}
|
|
|
var that = this;//a
|
|
|
+ that.startVideo()
|
|
|
setTimeout(function(){
|
|
|
//初始化的时候给追加上canvas用作载体
|
|
|
if($('#jeeFaceFilterCanvas').html() == undefined)
|
|
@@ -128,6 +129,8 @@
|
|
|
}
|
|
|
.uni-video-container{border-radius:50% !important;}
|
|
|
.uni-video-video{border-radius:50% !important;}
|
|
|
+ .uni-video-cover-play-button{display:none !important; }
|
|
|
+ .uni-video-cover-duration{display:none !important; }
|
|
|
</style>`);
|
|
|
that.appendCss = true;
|
|
|
}
|
|
@@ -143,10 +146,9 @@
|
|
|
that.openCamera = true;
|
|
|
that.bgImgClass = 'home_wai remove_animation';
|
|
|
that.bgImgClass2 = 'home_nei remove_animation';
|
|
|
- that.errortext = '点击同意按钮开始拍摄';
|
|
|
+ that.errortext = '请保持不动';
|
|
|
}
|
|
|
},100)
|
|
|
- // this.startVideo()
|
|
|
},
|
|
|
|
|
|
|
|
@@ -553,8 +555,6 @@
|
|
|
uni.navigateBack({
|
|
|
delta:1
|
|
|
})
|
|
|
- // http://10.90.90.53:8065/profile/upload/2025/03/20/1742462163358_20250320171603A001.jpeg
|
|
|
- // that.datainfo.humanFaceData =
|
|
|
});
|
|
|
},
|
|
|
async uplodImg(){
|
|
@@ -593,8 +593,8 @@
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
-.facebox{min-height: 100vh;background: #ffffff;padding-top: 100rpx; box-sizing: border-box;display: flex;flex-direction: column;}
|
|
|
-.photitp{flex: 0 0 auto;margin-top: 40rpx;
|
|
|
+.facebox{min-height: 100vh;background: #ffffff;padding: 100rpx 0 130rpx; box-sizing: border-box;display: flex;flex-direction: column;}
|
|
|
+.photitp{flex: 0 0 auto;margin-top: 60rpx;
|
|
|
image{width: 82rpx;height: 132rpx;}
|
|
|
view{font-weight: 500;font-size: 26rpx;color: #0391FD;margin-bottom: 40rpx;}
|
|
|
}
|