liyongli %!s(int64=2) %!d(string=hai) anos
pai
achega
f6fc3288b3

+ 3 - 1
miniprogram/pages/faceRecognitionVK/index.scss

@@ -43,10 +43,12 @@
   text-align: center;
   height: 188rpx;
   font-size: 32rpx;
+  padding-top: 78rpx;
+  padding: 78rpx 18rpx 0 18rpx;
   font-family: PingFangSC-Regular, PingFang SC;
   font-weight: 400;
   color: #333333;
-  line-height: 188rpx;
+  line-height: 1.8em;
 }
 
 .faceBtn {

+ 5 - 6
miniprogram/pages/faceRecognitionVK/index.ts

@@ -56,13 +56,12 @@ Page({
               selfieMirror: false,
               timeoutCallback: (res: any) => {
                 // 超出录制时长 关闭录屏
+                createVKSession?.stop();
+                listener?.stop();
                 this.setData({
-                  isStartVideo: false,
-                  bottomTips: "",
                   topTips: topTips.ready, // 提示语句
+                  bottomTips: bottomTips.complete
                 })
-                createVKSession?.stop();
-                listener?.stop();
                 let t = setTimeout(() => {
                   this.getUrl(res);
                   clearTimeout(t)
@@ -221,8 +220,8 @@ Page({
           icon: "none"
         });
         this.setData({
-          topTips: topTips.ready, // 提示语句
-          bottomTips: bottomTips.complete
+          isStartVideo: false,
+          bottomTips: "",
         })
         let time = setTimeout(() => {
           clearTimeout(time);