Răsfoiți Sursa

添加倒计时及修改拍照成功

yangg 2 luni în urmă
părinte
comite
35f13b8fbd

+ 131 - 2
pages/identity-verify/identity-verify.vue

@@ -139,6 +139,14 @@
         剩余: {{ formatTime(remainingTime) }}
       </span>
     </div> -->
+
+    <!-- 在模板部分添加倒计时蒙层 -->
+    <div class="countdown-overlay" v-if="showCountdown">
+      <div class="countdown-content">
+        <div class="countdown-number">{{ countdownValue }}</div>
+        <div class="countdown-text">准备开始回答</div>
+      </div>
+    </div>
   </div>
 </template>
 
@@ -248,6 +256,9 @@ export default {
       mediaRecorderTimeout: null, // 用于存储MediaRecorder的超时机制
       maxRecordingTime: 300, // 最大录制时间(秒)- 从60秒改为300秒(5分钟)
       remainingTime: 300,    // 剩余录制时间(秒)- 从60秒改为300秒
+      countdownValue: 10, // 倒计时数值
+      showCountdown: false, // 是否显示倒计时蒙层
+      countdownTimer: null,
     }
   },
   mounted() {
@@ -273,6 +284,9 @@ export default {
   beforeDestroy() {
     // 组件销毁前停止摄像头
     this.stopUserCamera();
+    
+    // 清除倒计时定时器
+    this.clearCountdown();
   },
   methods: {
     // 初始化相机
@@ -817,12 +831,85 @@ export default {
       if (this.currentVideoIndex >= 1) {
         // 对于问题视频,显示"开始回答"按钮
         this.showStartRecordingButton = true;
+         this.startCountdown();
+        // 如果是第二段视频播放完成,自动开始倒计时
+        // if (this.currentVideoIndex >= 1) {
+         
+        // }
       } else {
         // 对于介绍视频(第一个视频),显示"开始面试"按钮
         this.showAnswerButton = true;
       }
     },
     
+    // 添加新方法:开始倒计时
+    startCountdown() {
+      // 显示倒计时蒙层
+      this.showCountdown = true;
+      this.countdownValue = 10;
+      
+      // 开始倒计时
+      this.countdownTimer = setInterval(() => {
+        this.countdownValue--;
+        
+        if (this.countdownValue <= 0) {
+          // 倒计时结束,清除定时器
+          this.clearCountdown();
+          
+          // 隐藏"开始回答"按钮
+          this.showStartRecordingButton = false;
+          
+          // 开始录制
+          this.startRecordingAnswer();
+        }
+      }, 1000);
+    },
+
+    // 添加新方法:清除倒计时
+    clearCountdown() {
+      if (this.countdownTimer) {
+        clearInterval(this.countdownTimer);
+        this.countdownTimer = null;
+      }
+      this.showCountdown = false;
+    },
+
+    // 修改 handleStartRecordingClick 方法,使其可以终止倒计时
+    handleStartRecordingClick() {
+      // 隐藏"开始回答"按钮
+      this.showStartRecordingButton = false;
+      
+      // 如果倒计时正在进行,清除倒计时
+      this.clearCountdown();
+      
+      // 直接开始录制
+      this.startRecordingAnswer();
+    },
+
+    // 修改 stopRecordingAnswer 方法,确保清除倒计时
+    stopRecordingAnswer() {
+      // 如果倒计时正在进行,先清除倒计时
+      this.clearCountdown();
+      
+      // 检查录制时长
+      const recordingDuration = this.getRecordingDuration();
+      const minimumDuration = 5; // 最小录制时长(秒)
+      
+      if (recordingDuration < minimumDuration) {
+        // 录制时间过短,显示提示
+        uni.showToast({
+          title: '录制时间过短,请至少录制5秒',
+          icon: 'none',
+          duration: 2000
+        });
+        // 不执行停止录制逻辑,继续录制
+        return;
+      }
+      
+      // 录制时长足够,直接停止
+      this.completeRecordingStop();
+    },
+
     // 添加新方法:开始录制用户回答
     startRecordingAnswer() {
       console.log('开始录制用户回答');
@@ -1268,6 +1355,13 @@ export default {
     stopRecordingAnswer() {
       console.log('停止录制用户回答');
       
+      // 如果倒计时正在进行,先清除倒计时
+      if (this.countdownTimer) {
+        clearInterval(this.countdownTimer);
+        this.countdownTimer = null;
+        this.showCountdown = false;
+      }
+      
       // 检查录制时长
       const recordingDuration = this.getRecordingDuration();
       const minimumDuration = 5; // 最小录制时长(秒),从3秒改为5秒
@@ -2101,7 +2195,10 @@ export default {
       // 隐藏"开始回答"按钮
       this.showStartRecordingButton = false;
       
-      // 开始录制
+      // 如果倒计时正在进行,清除倒计时
+      this.clearCountdown();
+      
+      // 直接开始录制
       this.startRecordingAnswer();
     },
 
@@ -2708,7 +2805,7 @@ video::-webkit-media-controls-fullscreen-button {
   bottom: 50px; /* 统一与其他按钮的位置 */
   left: 50%;
   transform: translateX(-50%);
-  z-index: 20;
+  z-index: 101;
 }
 
 .start-recording-button {
@@ -2811,4 +2908,36 @@ video::-webkit-media-controls-fullscreen-button {
 .uploading {
   background-color: #e74c3c;
 }
+
+/* 添加倒计时蒙层样式 */
+.countdown-overlay {
+  position: fixed;
+  top: 0;
+  left: 0;
+  width: 100%;
+  height: 100%;
+  background-color: rgba(0, 0, 0, 0.7);
+  z-index: 100;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+}
+
+.countdown-content {
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+}
+
+.countdown-number {
+  font-size: 80px;
+  color: #ffffff;
+  font-weight: bold;
+  margin-bottom: 20px;
+}
+
+.countdown-text {
+  font-size: 24px;
+  color: #ffffff;
+}
 </style>

+ 118 - 1
pages/interview-question/interview-question.vue

@@ -139,6 +139,13 @@
         剩余: {{ formatTime(remainingTime) }}
       </span>
     </div> -->
+    <!-- 在模板部分添加倒计时蒙层 -->
+    <div class="countdown-overlay" v-if="showCountdown">
+      <div class="countdown-content">
+        <div class="countdown-number">{{ countdownValue }}</div>
+        <div class="countdown-text">准备开始回答</div>
+      </div>
+    </div>
   </div>
 </template>
 
@@ -236,6 +243,9 @@ export default {
       
       // 修改初始视频索引,添加参数控制
       startFromLastVideo: false, // 是否从最后一个视频开始播放
+      countdownValue: 10, // 倒计时数值
+      showCountdown: false, // 是否显示倒计时蒙层
+      countdownTimer: null,
     }
   },
   onLoad(options) {
@@ -822,8 +832,76 @@ export default {
       
       // 视频结束后直接显示"开始作答"按钮
       this.showStartRecordingButton = true;
+      this.startCountdown();
       this.showAnswerButton = false;
     },
+      // 添加新方法:开始倒计时
+      startCountdown() {
+      // 显示倒计时蒙层
+      this.showCountdown = true;
+      this.countdownValue = 10;
+      
+      // 开始倒计时
+      this.countdownTimer = setInterval(() => {
+        this.countdownValue--;
+        
+        if (this.countdownValue <= 0) {
+          // 倒计时结束,清除定时器
+          this.clearCountdown();
+          
+          // 隐藏"开始回答"按钮
+          this.showStartRecordingButton = false;
+          
+          // 开始录制
+          this.startRecordingAnswer();
+        }
+      }, 1000);
+    },
+
+    // 添加新方法:清除倒计时
+    clearCountdown() {
+      if (this.countdownTimer) {
+        clearInterval(this.countdownTimer);
+        this.countdownTimer = null;
+      }
+      this.showCountdown = false;
+    },
+
+    // 修改 handleStartRecordingClick 方法,使其可以终止倒计时
+    handleStartRecordingClick() {
+      // 隐藏"开始回答"按钮
+      this.showStartRecordingButton = false;
+      
+      // 如果倒计时正在进行,清除倒计时
+      this.clearCountdown();
+      
+      // 直接开始录制
+      this.startRecordingAnswer();
+    },
+
+    // 修改 stopRecordingAnswer 方法,确保清除倒计时
+    stopRecordingAnswer() {
+      // 如果倒计时正在进行,先清除倒计时
+      this.clearCountdown();
+      
+      // 检查录制时长
+      const recordingDuration = this.getRecordingDuration();
+      const minimumDuration = 5; // 最小录制时长(秒)
+      
+      if (recordingDuration < minimumDuration) {
+        // 录制时间过短,显示提示
+        uni.showToast({
+          title: '录制时间过短,请至少录制5秒',
+          icon: 'none',
+          duration: 2000
+        });
+        // 不执行停止录制逻辑,继续录制
+        return;
+      }
+      
+      // 录制时长足够,直接停止
+      this.completeRecordingStop();
+    },
     
     // 添加新方法:开始录制用户回答
     startRecordingAnswer() {
@@ -1269,6 +1347,11 @@ export default {
     // 添加新方法:停止录制用户回答
     stopRecordingAnswer() {
       console.log('停止录制用户回答');
+      if (this.countdownTimer) {
+        clearInterval(this.countdownTimer);
+        this.countdownTimer = null;
+        this.showCountdown = false;
+      }
       
       // 检查录制时长
       const recordingDuration = this.getRecordingDuration();
@@ -2139,6 +2222,8 @@ export default {
     handleStartRecordingClick() {
       // 隐藏"开始回答"按钮
       this.showStartRecordingButton = false;
+       // 如果倒计时正在进行,清除倒计时
+       this.clearCountdown();
       
       // 开始录制
       this.startRecordingAnswer();
@@ -2762,7 +2847,7 @@ video::-webkit-media-controls-fullscreen-button {
   bottom: 50px; /* 统一与其他按钮的位置 */
   left: 50%;
   transform: translateX(-50%);
-  z-index: 20;
+  z-index: 101;
 }
 
 .start-recording-button {
@@ -2865,4 +2950,36 @@ video::-webkit-media-controls-fullscreen-button {
 .uploading {
   background-color: #e74c3c;
 }
+
+/* 添加倒计时蒙层样式 */
+.countdown-overlay {
+  position: fixed;
+  top: 0;
+  left: 0;
+  width: 100%;
+  height: 100%;
+  background-color: rgba(0, 0, 0, 0.7);
+  z-index: 100;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+}
+
+.countdown-content {
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+}
+
+.countdown-number {
+  font-size: 80px;
+  color: #ffffff;
+  font-weight: bold;
+  margin-bottom: 20px;
+}
+
+.countdown-text {
+  font-size: 24px;
+  color: #ffffff;
+}
 </style>

+ 8 - 4
pages/interview_success/interview_success.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="success-container">
 		<view class="success-icon">
-			<image src="/static/images/success-icon.png" mode="aspectFit"></image>
+			<image src="http://121.36.251.245:9000/minlong/ze-certificate%201%401x.png" mode="aspectFit"></image>
 		</view>
 		<view class="success-title">恭喜完成全部检测</view>
 		
@@ -58,7 +58,7 @@
 }
 
 .success-icon {
-	margin-top: 60rpx;
+	margin-top: 162rpx;
 	width: 160rpx;
 	height: 160rpx;
 }
@@ -77,6 +77,10 @@
 .check-list {
 	width: 100%;
 	margin-bottom: 60rpx;
+	display: flex;
+	flex-direction: column;
+	align-content: center;
+	flex-wrap: wrap;
 }
 
 .check-item {
@@ -99,7 +103,7 @@
 }
 
 .check-name {
-	flex: 1;
+	margin-right: 20px;
 	font-size: 28rpx;
 	color: #333;
 }
@@ -113,7 +117,7 @@
 	display: flex;
 	width: 100%;
 	justify-content: space-between;
-	margin-top: 40rpx;
+	margin-top: 240rpx;
 }
 
 .btn-retake, .btn-next {

+ 4 - 6
unpackage/dist/dev/mp-weixin/common/assets.js

@@ -1,7 +1,5 @@
 "use strict";
-const _imports_0$2 = "/static/login-image.png";
-const _imports_0$1 = "/static/avatar.png";
-const _imports_0 = "/static/images/success-icon.png";
-exports._imports_0 = _imports_0$2;
-exports._imports_0$1 = _imports_0$1;
-exports._imports_0$2 = _imports_0;
+const _imports_0$1 = "/static/login-image.png";
+const _imports_0 = "/static/avatar.png";
+exports._imports_0 = _imports_0$1;
+exports._imports_0$1 = _imports_0;

+ 60 - 1
unpackage/dist/dev/mp-weixin/pages/identity-verify/identity-verify.js

@@ -130,8 +130,13 @@ const _sfc_main = {
       // 用于存储MediaRecorder的超时机制
       maxRecordingTime: 300,
       // 最大录制时间(秒)- 从60秒改为300秒(5分钟)
-      remainingTime: 300
+      remainingTime: 300,
       // 剩余录制时间(秒)- 从60秒改为300秒
+      countdownValue: 10,
+      // 倒计时数值
+      showCountdown: false,
+      // 是否显示倒计时蒙层
+      countdownTimer: null
     };
   },
   mounted() {
@@ -151,6 +156,7 @@ const _sfc_main = {
   },
   beforeDestroy() {
     this.stopUserCamera();
+    this.clearCountdown();
   },
   methods: {
     // 初始化相机
@@ -554,10 +560,53 @@ const _sfc_main = {
       this.videoPlaying = false;
       if (this.currentVideoIndex >= 1) {
         this.showStartRecordingButton = true;
+        this.startCountdown();
       } else {
         this.showAnswerButton = true;
       }
     },
+    // 添加新方法:开始倒计时
+    startCountdown() {
+      this.showCountdown = true;
+      this.countdownValue = 10;
+      this.countdownTimer = setInterval(() => {
+        this.countdownValue--;
+        if (this.countdownValue <= 0) {
+          this.clearCountdown();
+          this.showStartRecordingButton = false;
+          this.startRecordingAnswer();
+        }
+      }, 1e3);
+    },
+    // 添加新方法:清除倒计时
+    clearCountdown() {
+      if (this.countdownTimer) {
+        clearInterval(this.countdownTimer);
+        this.countdownTimer = null;
+      }
+      this.showCountdown = false;
+    },
+    // 修改 handleStartRecordingClick 方法,使其可以终止倒计时
+    handleStartRecordingClick() {
+      this.showStartRecordingButton = false;
+      this.clearCountdown();
+      this.startRecordingAnswer();
+    },
+    // 修改 stopRecordingAnswer 方法,确保清除倒计时
+    stopRecordingAnswer() {
+      this.clearCountdown();
+      const recordingDuration = this.getRecordingDuration();
+      const minimumDuration = 5;
+      if (recordingDuration < minimumDuration) {
+        common_vendor.index.showToast({
+          title: "录制时间过短,请至少录制5秒",
+          icon: "none",
+          duration: 2e3
+        });
+        return;
+      }
+      this.completeRecordingStop();
+    },
     // 添加新方法:开始录制用户回答
     startRecordingAnswer() {
       console.log("开始录制用户回答");
@@ -885,6 +934,11 @@ const _sfc_main = {
     // 添加新方法:停止录制用户回答
     stopRecordingAnswer() {
       console.log("停止录制用户回答");
+      if (this.countdownTimer) {
+        clearInterval(this.countdownTimer);
+        this.countdownTimer = null;
+        this.showCountdown = false;
+      }
       const recordingDuration = this.getRecordingDuration();
       const minimumDuration = 5;
       if (recordingDuration < minimumDuration) {
@@ -1468,6 +1522,7 @@ const _sfc_main = {
     // Add a new method to handle the "Start Recording" button click
     handleStartRecordingClick() {
       this.showStartRecordingButton = false;
+      this.clearCountdown();
       this.startRecordingAnswer();
     },
     // 修改 checkAudioPermission 方法,确保在录制前获取音频权限
@@ -1796,6 +1851,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
     y: $data.showRetryButton
   }, $data.showRetryButton ? {
     z: common_vendor.o((...args) => $options.retryVideoUpload && $options.retryVideoUpload(...args))
+  } : {}, {
+    A: $data.showCountdown
+  }, $data.showCountdown ? {
+    B: common_vendor.t($data.countdownValue)
   } : {});
 }
 const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-464e78c6"]]);

Fișier diff suprimat deoarece este prea mare
+ 0 - 0
unpackage/dist/dev/mp-weixin/pages/identity-verify/identity-verify.wxml


+ 30 - 1
unpackage/dist/dev/mp-weixin/pages/identity-verify/identity-verify.wxss

@@ -229,7 +229,7 @@ video.data-v-464e78c6::-webkit-media-controls-fullscreen-button {
   bottom: 50px; /* 统一与其他按钮的位置 */
   left: 50%;
   transform: translateX(-50%);
-  z-index: 20;
+  z-index: 101;
 }
 .start-recording-button.data-v-464e78c6 {
   width: 120px;
@@ -321,3 +321,32 @@ video.data-v-464e78c6::-webkit-media-controls-fullscreen-button {
 .uploading.data-v-464e78c6 {
   background-color: #e74c3c;
 }
+
+/* 添加倒计时蒙层样式 */
+.countdown-overlay.data-v-464e78c6 {
+  position: fixed;
+  top: 0;
+  left: 0;
+  width: 100%;
+  height: 100%;
+  background-color: rgba(0, 0, 0, 0.7);
+  z-index: 100;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+}
+.countdown-content.data-v-464e78c6 {
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+}
+.countdown-number.data-v-464e78c6 {
+  font-size: 80px;
+  color: #ffffff;
+  font-weight: bold;
+  margin-bottom: 20px;
+}
+.countdown-text.data-v-464e78c6 {
+  font-size: 24px;
+  color: #ffffff;
+}

+ 59 - 1
unpackage/dist/dev/mp-weixin/pages/interview-question/interview-question.js

@@ -115,8 +115,13 @@ const _sfc_main = {
       remainingTime: 300,
       // 剩余录制时间(秒)- 从60秒改为300秒
       // 修改初始视频索引,添加参数控制
-      startFromLastVideo: false
+      startFromLastVideo: false,
       // 是否从最后一个视频开始播放
+      countdownValue: 10,
+      // 倒计时数值
+      showCountdown: false,
+      // 是否显示倒计时蒙层
+      countdownTimer: null
     };
   },
   onLoad(options) {
@@ -550,8 +555,51 @@ const _sfc_main = {
       console.log("视频播放结束,当前视频索引:", this.currentVideoIndex);
       this.videoPlaying = false;
       this.showStartRecordingButton = true;
+      this.startCountdown();
       this.showAnswerButton = false;
     },
+    // 添加新方法:开始倒计时
+    startCountdown() {
+      this.showCountdown = true;
+      this.countdownValue = 10;
+      this.countdownTimer = setInterval(() => {
+        this.countdownValue--;
+        if (this.countdownValue <= 0) {
+          this.clearCountdown();
+          this.showStartRecordingButton = false;
+          this.startRecordingAnswer();
+        }
+      }, 1e3);
+    },
+    // 添加新方法:清除倒计时
+    clearCountdown() {
+      if (this.countdownTimer) {
+        clearInterval(this.countdownTimer);
+        this.countdownTimer = null;
+      }
+      this.showCountdown = false;
+    },
+    // 修改 handleStartRecordingClick 方法,使其可以终止倒计时
+    handleStartRecordingClick() {
+      this.showStartRecordingButton = false;
+      this.clearCountdown();
+      this.startRecordingAnswer();
+    },
+    // 修改 stopRecordingAnswer 方法,确保清除倒计时
+    stopRecordingAnswer() {
+      this.clearCountdown();
+      const recordingDuration = this.getRecordingDuration();
+      const minimumDuration = 5;
+      if (recordingDuration < minimumDuration) {
+        common_vendor.index.showToast({
+          title: "录制时间过短,请至少录制5秒",
+          icon: "none",
+          duration: 2e3
+        });
+        return;
+      }
+      this.completeRecordingStop();
+    },
     // 添加新方法:开始录制用户回答
     startRecordingAnswer() {
       console.log("开始录制用户回答");
@@ -879,6 +927,11 @@ const _sfc_main = {
     // 添加新方法:停止录制用户回答
     stopRecordingAnswer() {
       console.log("停止录制用户回答");
+      if (this.countdownTimer) {
+        clearInterval(this.countdownTimer);
+        this.countdownTimer = null;
+        this.showCountdown = false;
+      }
       const recordingDuration = this.getRecordingDuration();
       const minimumDuration = 5;
       if (recordingDuration < minimumDuration) {
@@ -1471,6 +1524,7 @@ const _sfc_main = {
     // Add a new method to handle the "Start Recording" button click
     handleStartRecordingClick() {
       this.showStartRecordingButton = false;
+      this.clearCountdown();
       this.startRecordingAnswer();
     },
     // 修改 checkAudioPermission 方法,确保在录制前获取音频权限
@@ -1812,6 +1866,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
     y: $data.showRetryButton
   }, $data.showRetryButton ? {
     z: common_vendor.o((...args) => $options.retryVideoUpload && $options.retryVideoUpload(...args))
+  } : {}, {
+    A: $data.showCountdown
+  }, $data.showCountdown ? {
+    B: common_vendor.t($data.countdownValue)
   } : {});
 }
 const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2a02c54e"]]);

Fișier diff suprimat deoarece este prea mare
+ 0 - 0
unpackage/dist/dev/mp-weixin/pages/interview-question/interview-question.wxml


+ 30 - 1
unpackage/dist/dev/mp-weixin/pages/interview-question/interview-question.wxss

@@ -229,7 +229,7 @@ video.data-v-2a02c54e::-webkit-media-controls-fullscreen-button {
   bottom: 50px; /* 统一与其他按钮的位置 */
   left: 50%;
   transform: translateX(-50%);
-  z-index: 20;
+  z-index: 101;
 }
 .start-recording-button.data-v-2a02c54e {
   width: 120px;
@@ -321,3 +321,32 @@ video.data-v-2a02c54e::-webkit-media-controls-fullscreen-button {
 .uploading.data-v-2a02c54e {
   background-color: #e74c3c;
 }
+
+/* 添加倒计时蒙层样式 */
+.countdown-overlay.data-v-2a02c54e {
+  position: fixed;
+  top: 0;
+  left: 0;
+  width: 100%;
+  height: 100%;
+  background-color: rgba(0, 0, 0, 0.7);
+  z-index: 100;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+}
+.countdown-content.data-v-2a02c54e {
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+}
+.countdown-number.data-v-2a02c54e {
+  font-size: 80px;
+  color: #ffffff;
+  font-weight: bold;
+  margin-bottom: 20px;
+}
+.countdown-text.data-v-2a02c54e {
+  font-size: 24px;
+  color: #ffffff;
+}

+ 3 - 5
unpackage/dist/dev/mp-weixin/pages/interview_success/interview_success.js

@@ -1,6 +1,5 @@
 "use strict";
 const common_vendor = require("../../common/vendor.js");
-const common_assets = require("../../common/assets.js");
 const _sfc_main = {
   data() {
     return {
@@ -27,8 +26,7 @@ const _sfc_main = {
 };
 function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
   return {
-    a: common_assets._imports_0$2,
-    b: common_vendor.f($data.checkItems, (item, index, i0) => {
+    a: common_vendor.f($data.checkItems, (item, index, i0) => {
       return {
         a: common_vendor.t(index + 1),
         b: common_vendor.t(item.name),
@@ -36,8 +34,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
         d: index
       };
     }),
-    c: common_vendor.o((...args) => $options.retake && $options.retake(...args)),
-    d: common_vendor.o((...args) => $options.goNext && $options.goNext(...args))
+    b: common_vendor.o((...args) => $options.retake && $options.retake(...args)),
+    c: common_vendor.o((...args) => $options.goNext && $options.goNext(...args))
   };
 }
 const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);

+ 1 - 1
unpackage/dist/dev/mp-weixin/pages/interview_success/interview_success.wxml

@@ -1 +1 @@
-<view class="success-container"><view class="success-icon"><image src="{{a}}" mode="aspectFit"></image></view><view class="success-title">恭喜完成全部检测</view><view class="check-list"><view wx:for="{{b}}" wx:for-item="item" wx:key="d" class="check-item"><view class="check-index">{{item.a}}</view><view class="check-name">{{item.b}}</view><view class="check-status">{{item.c}}</view></view></view><view class="button-group"><button class="btn-retake" bindtap="{{c}}">重拍</button><button class="btn-next" bindtap="{{d}}">下一步</button></view></view>
+<view class="success-container"><view class="success-icon"><image src="http://121.36.251.245:9000/minlong/ze-certificate%201%401x.png" mode="aspectFit"></image></view><view class="success-title">恭喜完成全部检测</view><view class="check-list"><view wx:for="{{a}}" wx:for-item="item" wx:key="d" class="check-item"><view class="check-index">{{item.a}}</view><view class="check-name">{{item.b}}</view><view class="check-status">{{item.c}}</view></view></view><view class="button-group"><button class="btn-retake" bindtap="{{b}}">重拍</button><button class="btn-next" bindtap="{{c}}">下一步</button></view></view>

+ 7 - 3
unpackage/dist/dev/mp-weixin/pages/interview_success/interview_success.wxss

@@ -6,7 +6,7 @@
 	padding: 40rpx 30rpx;
 }
 .success-icon {
-	margin-top: 60rpx;
+	margin-top: 162rpx;
 	width: 160rpx;
 	height: 160rpx;
 }
@@ -22,6 +22,10 @@
 .check-list {
 	width: 100%;
 	margin-bottom: 60rpx;
+	display: flex;
+	flex-direction: column;
+	align-content: center;
+	flex-wrap: wrap;
 }
 .check-item {
 	display: flex;
@@ -41,7 +45,7 @@
 	margin-right: 20rpx;
 }
 .check-name {
-	flex: 1;
+	margin-right: 20px;
 	font-size: 28rpx;
 	color: #333;
 }
@@ -53,7 +57,7 @@
 	display: flex;
 	width: 100%;
 	justify-content: space-between;
-	margin-top: 40rpx;
+	margin-top: 240rpx;
 }
 .btn-retake, .btn-next {
 	width: 45%;

Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff