Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
breast-feeding-ai-demo-web
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
朱国瑞
breast-feeding-ai-demo-web
Commits
23356856
Commit
23356856
authored
May 20, 2022
by
朱国瑞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
功能完善
parent
3542ed26
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
+12
-6
util.js
src/common/util.js
+1
-0
complete.vue
src/views/complete.vue
+2
-2
index.vue
src/views/index.vue
+9
-4
No files found.
src/common/util.js
View file @
23356856
...
...
@@ -112,6 +112,7 @@ export const authCamera = (lying) => {
.
catch
(
err
=>
{
console
.
log
(
"没有开启摄像头权限或浏览器版本不兼容"
);
console
.
log
(
'获取用户授权信息失败'
)
resolve
({
camera
:
0
,
lying
})
});
})
}
...
...
src/views/complete.vue
View file @
23356856
...
...
@@ -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>
-->
...
...
src/views/index.vue
View file @
23356856
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment