Commit 23356856 authored by 朱国瑞's avatar 朱国瑞

功能完善

parent 3542ed26
......@@ -112,6 +112,7 @@ export const authCamera = (lying) => {
.catch(err => {
console.log("没有开启摄像头权限或浏览器版本不兼容");
console.log('获取用户授权信息失败')
resolve({ camera: 0, lying })
});
})
}
......
......@@ -4,8 +4,8 @@
<img class="page-bg" src="../assets/images/gesture/massage-entry-fullbg.png" alt srcset />
<div class="massage-complete-modal" :class="{'noBaby':finalBabyStatus == 3 || finalBabyStatus == -1}">
<div class="nickname">
Hey,
<span>{{nikeName}}</span>
Hey
<!-- <span>{{nikeName}}</span> -->
</div>
<div class="title">
<!-- <image src="{{images.title}}"></image> -->
......
......@@ -583,8 +583,8 @@ export default {
noCameraText1: "Has apagado la Cámara",
noCameraText2: "El tiempo de lactancia continuará",
noCameraEndText: "Fin de la lactancia",
briefSummaryTitleFront: "¡Felicidades!",
briefSummaryTitleAfter: "Has completado la sesión en xx segundos",
briefSummaryTitleFront: "¡Felicidades! Has completado la sesión en ",
briefSummaryTitleAfter: " segundos",
briefSummaryText1: "Lo tienes con la ayuda de AI.",
briefSummaryText2: "Postura de cuna",
sitMainPointsText1:
......@@ -644,6 +644,7 @@ export default {
this.showNoCameraDialog = false;
}
let { camera } = await authCamera(0);
console.log(camera);
if (camera) {
let openDev = this.$route.query.openDev;
localStorage.setItem(
......@@ -888,7 +889,8 @@ export default {
font-size: 29.6px;
.title {
color: #fb7c76;
font-size: 44.5px;
font-size: 32px;
line-height: 1.2;
font-weight: bold;
}
.item {
......@@ -921,6 +923,7 @@ export default {
display: flex;
align-items: center;
justify-content: center;
z-index: 99;
&_mask {
position: absolute;
left: 0;
......@@ -1156,7 +1159,8 @@ export default {
font-size: 0.3947rem;
.title {
color: #fb7c76;
font-size: 0.5933rem;
font-size: .4267rem;
line-height: 1.2;
font-weight: bold;
}
.item {
......@@ -1189,6 +1193,7 @@ export default {
display: flex;
align-items: center;
justify-content: center;
z-index: 99;
&_mask {
position: absolute;
left: 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment