| | |
| | | // 这里调用你的短信发送 API |
| | | // 假设 API 为 sendMsg,参数可能需要根据实际情况调整 |
| | | sendMsg({ |
| | | phone: this.userform.telcode, // 确保电话号码字段正确 |
| | | phone: this.userform.telcode, // 确保电话号码字段正确 |
| | | content: this.smsContent, |
| | | }) |
| | | .then((res) => { |
| | |
| | | this.getTaskservelist(); |
| | | }, |
| | | }, |
| | | // deactivated() { |
| | | // console.log(11); |
| | | // }, |
| | | beforeRouteLeave(to, from, next) { |
| | | this.$refs.callButton.cleanupResources(); |
| | | next(); // 确保调用 nex |
| | | }, |
| | | // beforeRouteUpdate() { |
| | | // console.log(33); |
| | | // }, |
| | | }; |
| | | </script> |
| | | |
| | |
| | | @media screen and (max-width: 1200px), (min-resolution: 1.1dppx) { |
| | | flex-direction: column; |
| | | |
| | | .call-action, .manual-action { |
| | | .call-action, |
| | | .manual-action { |
| | | width: 100% !important; |
| | | } |
| | | } |
| | |
| | | margin: 10px; |
| | | padding: 15px; |
| | | |
| | | .topic-dev, .scriptTopic-dev { |
| | | .topic-dev, |
| | | .scriptTopic-dev { |
| | | margin-bottom: 15px; |
| | | } |
| | | } |
| | |
| | | |
| | | /* 为移动设备优化滚动体验 */ |
| | | @media screen and (max-width: 768px) { |
| | | .Followuserinfo, .Followuserinfos { |
| | | .Followuserinfo, |
| | | .Followuserinfos { |
| | | padding: 15px; |
| | | margin: 5px; |
| | | } |
| | |
| | | |
| | | /* 缩放检测样式 */ |
| | | @media screen and (min-resolution: 1.1dppx), |
| | | screen and (-webkit-min-device-pixel-ratio: 1.1), |
| | | screen and (max-width: 1200px) { |
| | | screen and (-webkit-min-device-pixel-ratio: 1.1), |
| | | screen and (max-width: 1200px) { |
| | | .action-container { |
| | | flex-direction: column; |
| | | } |
| | | |
| | | .call-action, .manual-action { |
| | | .call-action, |
| | | .manual-action { |
| | | width: 100%; |
| | | } |
| | | |
| | | /* 调整内部元素间距 */ |
| | | .call-container, .Followuserinfos { |
| | | .call-container, |
| | | .Followuserinfos { |
| | | margin-bottom: 20px; |
| | | } |
| | | } |