Commit a6e8b376 authored by Sky's avatar Sky

添加同步信息提示页面

parent e3d0c050
......@@ -19,6 +19,38 @@
justify-content: center;
align-items: center;
}
.sync {
width: 454px;
height: 454px;
flex-direction: column;
align-items: center;
justify-content: center;
}
.sync-img {
width: 150px;
height: 164px;
}
.sync-text01 {
width: 350px;
height: 120px;
margin-top: 24px;
text-align: center;
justify-content: center;
font-size: 30px;
color: #FFFFFF;
}
.sync-text02 {
width: 350px;
margin-top: 12px;
height: 36px;
font-size: 30px;
color: rgba(250, 250, 250, 0.66);
text-align: center;
justify-content: center;
}
.start-text {
font-size: 38px;
text-align: center;
......@@ -207,15 +239,6 @@
align-items: center;
justify-content: center;
}
.train-out-icon {
width: 120px;
height: 68px;
}
.train-out-text {
margin-top: 32px;
width: 230px;
text-align: center;
}
.stack-intro {
width: 454px;
......
......@@ -8,6 +8,16 @@
准备开始
</text>
</div>
<!--同步信息提示页面-->
<div class="sync" if="page == '10' || page == '11'">
<image class="sync-img" src="../../common/hm_sync_img.png"></image>
<text class="sync-text01">
请在手机端Fit健身开始训练,训练数据将在手表端同步展示
</text>
<text class="sync-text02">
*目前仅支持华为手机
</text>
</div>
<!--准备开始end-->
<!-- 标题end -->
<swiper index="{{tabIndex}}" class="todo-wraper" if="dataPageShow" @change="swiperChange">
......@@ -91,14 +101,6 @@
</text>
</div>
<!---暂停播放倒计时end-->
<!--退出训练-->
<div class="train-out" if="page == '10' || page == '11'">
<image class="train-out-icon" src="../../common/hm_img_logo.png"></image>
<text class="train-out-text">
在手机上开启你今天的训练
</text>
</div>
<!--退出训练-->
<!--介绍页start-->
<stack class="stack-intro" if="page == '99'">
<swiper class="swiper-intro" @change="swiperChange">
......
......@@ -69,6 +69,17 @@ export default {
this.sendMsg({
"eventFlg": "3",
})
//如果已经设置了常亮,则先取消
if (timer != null) {
timer = null;
brightness.setKeepScreenOn({
keepScreenOn: false,
success: function () {
},
fail: function (data, code) {
}
})
}
},
onDestroy() {
//发送页面销毁时间
......
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