Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
clx_verification_code
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
openSourceLibrary
clx_verification_code
Commits
15e8990e
提交
15e8990e
authored
5月 09, 2025
作者:
祁增奎
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
外呼功能外部控制是否接入
上级
afbf2e37
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
37 行增加
和
20 行删除
+37
-20
clx_line_code_manage_view.dart
lib/views/clx_line_code_manage_view.dart
+2
-0
clx_page_code_manage_view.dart
lib/views/clx_page_code_manage_view.dart
+2
-0
no_receive_resend_sms_view.dart
lib/widgets/tips_widget/no_receive_resend_sms_view.dart
+10
-5
no_receive_sms_view.dart
lib/widgets/tips_widget/no_receive_sms_view.dart
+22
-14
pubspec.yaml
pubspec.yaml
+1
-1
没有找到文件。
lib/views/clx_line_code_manage_view.dart
浏览文件 @
15e8990e
...
...
@@ -87,6 +87,7 @@ class CLXLineCodeManageView extends StatelessWidget {
if
(
loigc
.
codeSendType
.
value
==
CodeSendType
.
notReceiveSmsCode
)
NoReceiveSmsView
(
isAccessOutCall:
loigc
.
isAccessOutbound
,
tipsStyle:
config
.
tipsStyle
,
reSendStyle:
config
.
reSendStyle
,
voiceSendStyle:
config
.
voiceSendStyle
,
...
...
@@ -99,6 +100,7 @@ class CLXLineCodeManageView extends StatelessWidget {
if
(
loigc
.
codeSendType
.
value
==
CodeSendType
.
notReceiveResendSmsCode
)
NoReceiveResendSmsView
(
isAccessOutCall:
loigc
.
isAccessOutbound
,
tipsStyle:
config
.
tipsStyle
,
reSendStyle:
config
.
reSendStyle
,
sendVoiceCode:
loigc
.
sendVoiceCode
,
...
...
lib/views/clx_page_code_manage_view.dart
浏览文件 @
15e8990e
...
...
@@ -61,6 +61,7 @@ class CLXPageCodeManageView extends StatelessWidget {
if
(
loigc
.
codeSendType
.
value
==
CodeSendType
.
notReceiveSmsCode
)
NoReceiveSmsView
(
isAccessOutCall:
loigc
.
isAccessOutbound
,
tipsStyle:
config
.
tipsStyle
,
reSendStyle:
config
.
reSendStyle
,
voiceSendStyle:
config
.
voiceSendStyle
,
...
...
@@ -73,6 +74,7 @@ class CLXPageCodeManageView extends StatelessWidget {
if
(
loigc
.
codeSendType
.
value
==
CodeSendType
.
notReceiveResendSmsCode
)
NoReceiveResendSmsView
(
isAccessOutCall:
loigc
.
isAccessOutbound
,
tipsStyle:
config
.
tipsStyle
,
reSendStyle:
config
.
reSendStyle
,
sendVoiceCode:
loigc
.
sendVoiceCode
,
...
...
lib/widgets/tips_widget/no_receive_resend_sms_view.dart
浏览文件 @
15e8990e
...
...
@@ -4,11 +4,15 @@ import 'package:flutter/widgets.dart';
class
NoReceiveResendSmsView
extends
StatelessWidget
{
const
NoReceiveResendSmsView
({
super
.
key
,
required
this
.
isAccessOutCall
,
this
.
reSendStyle
,
this
.
tipsStyle
,
this
.
sendVoiceCode
,
});
/// 是否接入外呼功能
final
bool
isAccessOutCall
;
/// 重新获取文字样式
final
TextStyle
?
reSendStyle
;
...
...
@@ -30,11 +34,12 @@ class NoReceiveResendSmsView extends StatelessWidget {
style:
tipsStyle
,
),
const
WidgetSpan
(
child:
SizedBox
(
width:
5
)),
TextSpan
(
text:
'获取语音验证码'
,
style:
reSendStyle
,
recognizer:
TapGestureRecognizer
()..
onTap
=
sendVoiceCode
,
),
if
(
isAccessOutCall
)
TextSpan
(
text:
'获取语音验证码'
,
style:
reSendStyle
,
recognizer:
TapGestureRecognizer
()..
onTap
=
sendVoiceCode
,
),
],
),
),
...
...
lib/widgets/tips_widget/no_receive_sms_view.dart
浏览文件 @
15e8990e
...
...
@@ -5,6 +5,7 @@ class NoReceiveSmsView extends StatelessWidget {
const
NoReceiveSmsView
({
super
.
key
,
required
this
.
isSmallWindow
,
required
this
.
isAccessOutCall
,
this
.
reSendStyle
,
this
.
tipsStyle
,
this
.
voiceSendStyle
,
...
...
@@ -12,6 +13,9 @@ class NoReceiveSmsView extends StatelessWidget {
this
.
sendVoiceCode
,
});
/// 是否接入外呼功能
final
bool
isAccessOutCall
;
/// 重新获取文字样式
final
TextStyle
?
reSendStyle
;
...
...
@@ -54,14 +58,16 @@ class NoReceiveSmsView extends StatelessWidget {
],
),
),
const
SizedBox
(
height:
4
),
GestureDetector
(
onTap:
sendVoiceCode
,
child:
Text
(
'获取语音验证码'
,
style:
voiceSendStyle
,
if
(
isAccessOutCall
)
...[
const
SizedBox
(
height:
4
),
GestureDetector
(
onTap:
sendVoiceCode
,
child:
Text
(
'获取语音验证码'
,
style:
voiceSendStyle
,
),
),
)
,
]
,
],
)
:
Row
(
...
...
@@ -82,14 +88,16 @@ class NoReceiveSmsView extends StatelessWidget {
],
),
),
const
Spacer
(),
GestureDetector
(
onTap:
sendVoiceCode
,
child:
Text
(
'获取语音验证码'
,
style:
voiceSendStyle
,
if
(
isAccessOutCall
)
...[
const
Spacer
(),
GestureDetector
(
onTap:
sendVoiceCode
,
child:
Text
(
'获取语音验证码'
,
style:
voiceSendStyle
,
),
),
)
,
]
,
],
),
);
...
...
pubspec.yaml
浏览文件 @
15e8990e
name
:
clx_verification_code
description
:
"
A
new
Flutter
package
project."
version
:
0.0.8
version
:
1.0.0
homepage
:
environment
:
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论