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
34ec7ace
Commit
34ec7ace
authored
May 19, 2022
by
朱国瑞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成页优化增加确定按钮
parent
b27a1a5c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
5 deletions
+23
-5
en.js
src/lang/en.js
+1
-0
es.js
src/lang/es.js
+1
-0
fr.js
src/lang/fr.js
+1
-0
pl.js
src/lang/pl.js
+1
-0
zh.js
src/lang/zh.js
+1
-0
complete.vue
src/views/complete.vue
+18
-5
No files found.
src/lang/en.js
View file @
34ec7ace
...
...
@@ -15,5 +15,6 @@ export default {
cameraText
:
"Camera not detected. Try again?"
,
cameraButtonText
:
"Try Again"
,
completeText2
:
"You have recorded"
,
completeButtonText
:
"Confirm"
,
}
}
src/lang/es.js
View file @
34ec7ace
...
...
@@ -15,5 +15,6 @@ export default {
cameraText
:
"Cámara no detectada. ¿Volver a Intentar otra vez?"
,
cameraButtonText
:
"Intentar otra vez"
,
completeText2
:
"Usted ha registrado"
,
completeButtonText
:
"Determinar"
,
}
}
src/lang/fr.js
View file @
34ec7ace
...
...
@@ -16,5 +16,6 @@ export default {
cameraText
:
"Caméra non détectée. Réessayer?"
,
cameraButtonText
:
"Réessayer"
,
completeText2
:
"Vous avez enregistré"
,
completeButtonText
:
"C'est sûr."
,
}
}
src/lang/pl.js
View file @
34ec7ace
...
...
@@ -12,5 +12,6 @@ export default {
cameraText
:
"未识别到您的摄像头,是否重新识别?"
,
cameraButtonText
:
"立即重识"
,
completeText2
:
"您已记录"
,
completeButtonText
:
"确定"
,
}
}
src/lang/zh.js
View file @
34ec7ace
...
...
@@ -12,5 +12,6 @@ export default {
cameraText
:
"未识别到您的摄像头,是否重新识别?"
,
cameraButtonText
:
"立即重识"
,
completeText2
:
"您已记录"
,
completeButtonText
:
"确定"
,
}
}
\ No newline at end of file
src/views/complete.vue
View file @
34ec7ace
...
...
@@ -15,6 +15,9 @@
<div
class=
"record"
v-if=
"finalBabyStatus != 3 && finalBabyStatus != -1"
>
<div>
{{
$t
(
'strings.completeText2'
)
}}
:
{{
time
}}
s
</div>
</div>
<div
class=
"bottom"
>
<light-button
@
click=
"goHome"
:text=
"$t('strings.completeButtonText')"
></light-button>
</div>
</div>
</div>
</div>
...
...
@@ -22,6 +25,7 @@
<
script
>
import
{
calcAdapt
,
isMobile
}
from
"../common/util"
;
import
lightButton
from
"../components/lightButton.vue"
;
let
calcs
=
calcAdapt
();
let
scale
;
...
...
@@ -65,7 +69,16 @@ export default {
_isMobile
:
false
};
},
methods
:
{},
components
:
{
lightButton
},
methods
:
{
goHome
()
{
this
.
$router
.
push
({
path
:
"/"
});
}
},
created
()
{
this
.
$i18n
.
locale
=
"en"
;
let
lang
=
localStorage
.
getItem
(
"lang"
);
...
...
@@ -79,8 +92,8 @@ export default {
let
total
=
this
.
$route
.
query
.
total
;
this
.
finalBabyStatus
=
finalBabyStatus
;
this
.
lying
=
lying
;
this
.
time
=
time
;
this
.
total
=
total
;
this
.
time
=
time
||
0
;
this
.
total
=
total
||
0
;
},
mounted
()
{}
};
...
...
@@ -114,7 +127,7 @@ export default {
.massage-complete-modal
{
box-sizing
:
border-box
;
width
:
660px
;
height
:
620px
;
min-
height
:
620px
;
padding
:
80px
0
125px
;
background
:
#fff
;
display
:
flex
;
...
...
@@ -199,7 +212,7 @@ export default {
.massage-complete-modal
{
box-sizing
:
border-box
;
width
:
8
.8rem
;
height
:
8
.2667rem
;
min-
height
:
8
.2667rem
;
padding
:
1
.0667rem
0
1
.6667rem
;
background
:
#fff
;
display
:
flex
;
...
...
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