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

样式优化

parent 9852dbfc
@font-face {
font-family: 'HelveticaWorld';
src: url("./HelveticaWorld-Regular.ttf");
font-style: normal;
}
@font-face {
font-family: 'HelveticaWorld';
src: url("./HelveticaWorld-Bold.ttf");
font-style: normal;
font-weight: bold;
}
@font-face {
font-family: 'HelveticaWorld';
src: url("./HelveticaWorld-Italic.ttf");
font-style: italic;
font-weight: normal;
}
@font-face {
font-family: 'HelveticaWorld';
src: url("./HelveticaWorld-BoldItalic.ttf");
font-style: italic;
font-weight: bold;
}
\ No newline at end of file
#app { #app {
font-family: Avenir, Helvetica, Arial, sans-serif; font-family: 'HelveticaWorld';
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
text-align: center; text-align: center;
......
...@@ -6,16 +6,12 @@ export default { ...@@ -6,16 +6,12 @@ export default {
'Keep one meter away from the camera, and fit your body into the guide line. Session starts in 5 seconds after you click "Start Now" button.', 'Keep one meter away from the camera, and fit your body into the guide line. Session starts in 5 seconds after you click "Start Now" button.',
homeText3: homeText3:
"Camera permission is needed for AI coach. Your clothes will not affect the AI coach.", "Camera permission is needed for AI coach. Your clothes will not affect the AI coach.",
homeText4: "Cradle hold breastfeeding",
homeText5: "常见哺乳姿势,宝宝自主寻乳,\r\n适合哺乳配合好的宝宝和妈妈。",
homeButtonText: "Start Now", homeButtonText: "Start Now",
homeTips: completeText: "Congratulations!",
"Your images and videos will only be used for AI coach recognition. They will not be stored.", cameraText: "Camera not detected.",
completeText: "Congratulations! You have completed the session!", cameraText1: "Camera disabled. Please grant camera permission first!",
cameraText: "Camera not authorized", cameraButtonText: "OK",
cameraText1: "Camera permission has been prohibited, please enable it in permission management!",
cameraButtonText: "Got it",
completeText2: "You have recorded", completeText2: "You have recorded",
completeButtonText: "Confirm", completeButtonText: "OK",
} }
} }
...@@ -6,16 +6,12 @@ export default { ...@@ -6,16 +6,12 @@ export default {
'Manténgase a un metro de distancia de la cámara y coloque su cuerpo en la línea. La sesión comienza en 5 segundos después de hacer clic en el botón "Comenzar ahora".', 'Manténgase a un metro de distancia de la cámara y coloque su cuerpo en la línea. La sesión comienza en 5 segundos después de hacer clic en el botón "Comenzar ahora".',
homeText3: homeText3:
"Se necesita permiso para acceder a la cámara para el asistente de IA. Su ropa no afectará al asistente de IA.", "Se necesita permiso para acceder a la cámara para el asistente de IA. Su ropa no afectará al asistente de IA.",
homeText4: "Lactancia en posición de cuna (acunando)",
homeText5: "常见哺乳姿势,宝宝自主寻乳,\r\n适合哺乳配合好的宝宝和妈妈。",
homeButtonText: "Empezar ahora", homeButtonText: "Empezar ahora",
homeTips: completeText: "¡Felicidades!",
"Sus imágenes y videos solo se utilizarán para el reconocimiento del asistente de IA. No se almacenarán.", cameraText: "Cámara no detectada.",
completeText: "¡Felicidades! ¡Has completado la sesión!", cameraText1: "Cámara desactivada. ¡Por favor, conceda permiso a la cámara primero!",
cameraText: "Cámara no autorizada", cameraButtonText: "DE ACUERDO",
cameraText1: "¡Los permisos de la Cámara están prohibidos, por favor, inicie la gestión de permisos!",
cameraButtonText: "Lo tengo.",
completeText2: "Usted ha registrado", completeText2: "Usted ha registrado",
completeButtonText: "Determinar", completeButtonText: "DE ACUERDO",
} }
} }
...@@ -6,17 +6,13 @@ export default { ...@@ -6,17 +6,13 @@ export default {
'Tenez-vous à un mètre de la caméra et placez votre corps dans la ligne de guidage. La session démarre dans 5 secondes après avoir cliqué sur le bouton "Démarrer maintenant".', 'Tenez-vous à un mètre de la caméra et placez votre corps dans la ligne de guidage. La session démarre dans 5 secondes après avoir cliqué sur le bouton "Démarrer maintenant".',
homeText3: homeText3:
"L'autorisation de la caméra est nécessaire pour l'entraîneur AI. Vos vêtements n'affecteront pas l'entraîneur AI.", "L'autorisation de la caméra est nécessaire pour l'entraîneur AI. Vos vêtements n'affecteront pas l'entraîneur AI.",
homeText4: "Berceau d'allaitement",
homeText5: "常见哺乳姿势,宝宝自主寻乳,\r\n适合哺乳配合好的宝宝和妈妈。",
homeButtonText: "Commencez maintenant", homeButtonText: "Commencez maintenant",
homeTips:
"Vos images et vidéos ne seront utilisées que pour la reconnaissance des coachs IA. Elles ne seront pas stockés.",
completeText: completeText:
"Toutes nos félicitations! Vous avez terminé la session !", "Toutes nos félicitations!",
cameraText: "Caméra non autorisée", cameraText: "Caméra non détectée.",
cameraText1: "L'autorisation de la caméra a été désactivée, veuillez l'activer dans la gestion de l'autorisation!", cameraText1: "Caméra désactivée. Veuillez d'abord accorder l'autorisation de la caméra !",
cameraButtonText: "J'ai compris.", cameraButtonText: "OK",
completeText2: "Vous avez enregistré", completeText2: "Vous avez enregistré",
completeButtonText: "C'est sûr.", completeButtonText: "OK",
} }
} }
...@@ -4,10 +4,7 @@ export default { ...@@ -4,10 +4,7 @@ export default {
homeText1: "调整手机角度并摆放平稳,您可以使用手机支架", homeText1: "调整手机角度并摆放平稳,您可以使用手机支架",
homeText2: "请与屏幕保持1米距离\n直到把身体摆入框中。\n点击立即开始您有5秒钟的准备时间。", homeText2: "请与屏幕保持1米距离\n直到把身体摆入框中。\n点击立即开始您有5秒钟的准备时间。",
homeText3: "本教学需要您授权使用摄像头\n请在安全环境安全设备使用本功能\n请您放心,穿着衣物不会影响AI识别。", homeText3: "本教学需要您授权使用摄像头\n请在安全环境安全设备使用本功能\n请您放心,穿着衣物不会影响AI识别。",
homeText4: "摇篮式哺乳",
homeText5: "常见哺乳姿势,宝宝自主寻乳,\r\n适合哺乳配合好的宝宝和妈妈。",
homeButtonText: "立即开始", homeButtonText: "立即开始",
homeTips: "您已记录",
completeText: "恭喜你!完成了本次教学~", completeText: "恭喜你!完成了本次教学~",
cameraText: "相机未授权", cameraText: "相机未授权",
cameraText1: "相机权限已被禁止,请在权限管理中开启!", cameraText1: "相机权限已被禁止,请在权限管理中开启!",
......
...@@ -4,10 +4,7 @@ export default { ...@@ -4,10 +4,7 @@ export default {
homeText1: "调整手机角度并摆放平稳,您可以使用手机支架", homeText1: "调整手机角度并摆放平稳,您可以使用手机支架",
homeText2: "请与屏幕保持1米距离\n直到把身体摆入框中。\n点击立即开始您有5秒钟的准备时间。", homeText2: "请与屏幕保持1米距离\n直到把身体摆入框中。\n点击立即开始您有5秒钟的准备时间。",
homeText3: "本教学需要您授权使用摄像头\n请在安全环境安全设备使用本功能\n请您放心,穿着衣物不会影响AI识别。", homeText3: "本教学需要您授权使用摄像头\n请在安全环境安全设备使用本功能\n请您放心,穿着衣物不会影响AI识别。",
homeText4: "摇篮式哺乳",
homeText5: "常见哺乳姿势,宝宝自主寻乳,\n适合哺乳配合好的宝宝和妈妈。",
homeButtonText: "立即开始", homeButtonText: "立即开始",
homeTips: "您已记录",
completeText: "恭喜你!完成了本次教学~", completeText: "恭喜你!完成了本次教学~",
cameraText: "相机未授权", cameraText: "相机未授权",
cameraText1: "相机权限已被禁止,请在权限管理中开启!", cameraText1: "相机权限已被禁止,请在权限管理中开启!",
......
...@@ -2,6 +2,7 @@ import { createApp } from 'vue' ...@@ -2,6 +2,7 @@ import { createApp } from 'vue'
import App from './App.vue' import App from './App.vue'
import './index.css' import './index.css'
import './styles/index.scss' // global css import './styles/index.scss' // global css
import './assets/font/index.css';
import router from './router' import router from './router'
import 'amfe-flexible' import 'amfe-flexible'
import i18n from './lang/i18n.js' import i18n from './lang/i18n.js'
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="page" :class="{'mobile':_isMobile,'pc':!_isMobile}"> <div class="page" :class="{'mobile':_isMobile,'pc':!_isMobile}">
<div class="main_content"> <div class="main_content">
<img class="page-bg" src="../assets/images/gesture/massage-entry-fullbg.png" alt srcset /> <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="massage-complete-modal noBaby">
<div class="nickname"> <div class="nickname">
Hey Hey
<!-- <span>{{nikeName}}</span> --> <!-- <span>{{nikeName}}</span> -->
...@@ -12,9 +12,9 @@ ...@@ -12,9 +12,9 @@
<img class="icon" src="../assets/images/gesture/massage-complete-title-icon.png" /> <img class="icon" src="../assets/images/gesture/massage-complete-title-icon.png" />
{{$t('strings.completeText')}} {{$t('strings.completeText')}}
</div> </div>
<div class="record" v-if="finalBabyStatus != 3 && finalBabyStatus != -1"> <!-- <div class="record" v-if="finalBabyStatus != 3 && finalBabyStatus != -1">
<div>{{$t('strings.completeText2')}}: {{time}}s</div> <div>{{$t('strings.completeText2')}}: {{time}}s</div>
</div> </div> -->
<div class="bottom"> <div class="bottom">
<light-button @click="goHome" :text="$t('strings.completeButtonText')"></light-button> <light-button @click="goHome" :text="$t('strings.completeButtonText')"></light-button>
</div> </div>
......
This diff is collapsed.
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