Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qmsd-flutter-user-feedback
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PublicSource
qmsd-flutter-user-feedback
Commits
326e0bbd
Commit
326e0bbd
authored
Apr 11, 2023
by
tongzifang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix string
parent
82894d32
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
19 deletions
+12
-19
user_feedback_strings.dart
lib/config/user_feedback_strings.dart
+2
-2
user_feedback_page.dart
lib/user_feedback_page.dart
+10
-17
No files found.
lib/config/user_feedback_strings.dart
View file @
326e0bbd
...
@@ -7,11 +7,11 @@ class UserFeedBackString{
...
@@ -7,11 +7,11 @@ class UserFeedBackString{
static
String
get
feedback_type_a_tip
=>
"反馈产品及服务优化建议"
;
static
String
get
feedback_type_a_tip
=>
"反馈产品及服务优化建议"
;
static
String
get
feedback_type_b
=>
"功能异常"
;
static
String
get
feedback_type_b
=>
"功能异常"
;
static
String
get
feedback_type_b_tip
=>
"报错、卡顿、错位等问题"
;
static
String
get
feedback_type_b_tip
=>
"报错、卡顿、错位等问题"
;
static
String
get
feedback_hint
=>
"说说
您
的建议或者问题,以便我们提供更好的服务(5个字以上)"
;
static
String
get
feedback_hint
=>
"说说
你
的建议或者问题,以便我们提供更好的服务(5个字以上)"
;
static
String
get
feedback_img
=>
"上传图片凭证(提供问题截图)"
;
static
String
get
feedback_img
=>
"上传图片凭证(提供问题截图)"
;
static
String
get
feedback_sub
=>
"提交反馈"
;
static
String
get
feedback_sub
=>
"提交反馈"
;
static
String
get
feedback_ud_img
=>
"上传图片"
;
static
String
get
feedback_ud_img
=>
"上传图片"
;
static
String
get
feedback_content_none
=>
"请输入不少于5个字的描述"
;
static
String
get
feedback_content_none
=>
"请输入不少于5个字的描述"
;
static
String
get
feedback_finish
=>
"你的反馈是对我们最大的支持
\n
谢谢
您的
反馈"
;
static
String
get
feedback_finish
=>
"你的反馈是对我们最大的支持
\n
谢谢反馈"
;
static
String
get
feedback_count
=>
"完成("
;
static
String
get
feedback_count
=>
"完成("
;
}
}
\ No newline at end of file
lib/user_feedback_page.dart
View file @
326e0bbd
...
@@ -291,19 +291,12 @@ class _UserFeedBackPageState extends State<UserFeedBackPage> {
...
@@ -291,19 +291,12 @@ class _UserFeedBackPageState extends State<UserFeedBackPage> {
Positioned
(
Positioned
(
right:
6
,
right:
6
,
top:
6
,
top:
6
,
child:
imgFeed
[
pos
].
path
.
startsWith
(
'http'
)
child:
Image
.
file
(
?
CachedNetworkImage
(
File
(
imgFeed
[
pos
].
path
),
imageUrl:
imgFeed
[
pos
].
path
,
width:
68
,
width:
68
,
height:
68
,
height:
68
,
fit:
BoxFit
.
cover
,
fit:
BoxFit
.
cover
,
),
)
:
Image
.
file
(
File
(
imgFeed
[
pos
].
path
),
width:
68
,
height:
68
,
fit:
BoxFit
.
cover
,
),
),
),
Positioned
(
Positioned
(
right:
0
,
right:
0
,
...
@@ -370,7 +363,8 @@ class _UserFeedBackPageState extends State<UserFeedBackPage> {
...
@@ -370,7 +363,8 @@ class _UserFeedBackPageState extends State<UserFeedBackPage> {
var
shotDir
=
paths
.
firstWhere
((
element
)
{
var
shotDir
=
paths
.
firstWhere
((
element
)
{
var
tName
=
element
.
name
;
var
tName
=
element
.
name
;
return
(
tName
.
toLowerCase
().
contains
(
"screen"
)
&&
return
(
tName
.
toLowerCase
().
contains
(
"screen"
)
&&
tName
.
toLowerCase
().
contains
(
"shot"
))||
tName
.
contains
(
"截屏"
);
tName
.
toLowerCase
().
contains
(
"shot"
))
||
tName
.
contains
(
"截屏"
);
},
orElse:
()
{
},
orElse:
()
{
return
AssetPathEntity
(
id:
''
,
name:
''
);
return
AssetPathEntity
(
id:
''
,
name:
''
);
});
});
...
@@ -382,8 +376,7 @@ class _UserFeedBackPageState extends State<UserFeedBackPage> {
...
@@ -382,8 +376,7 @@ class _UserFeedBackPageState extends State<UserFeedBackPage> {
setState
(()
{});
setState
(()
{});
});
});
}
}
}
else
{
}
else
{}
}
}
}
getLostData
(
int
pos
)
async
{
getLostData
(
int
pos
)
async
{
...
@@ -425,7 +418,7 @@ class _UserFeedBackPageState extends State<UserFeedBackPage> {
...
@@ -425,7 +418,7 @@ class _UserFeedBackPageState extends State<UserFeedBackPage> {
.
subFeedBack
(
_feedType
,
_controller
.
text
,
urls
);
.
subFeedBack
(
_feedType
,
_controller
.
text
,
urls
);
subStatus
=
model
.
status
;
subStatus
=
model
.
status
;
if
(
subStatus
==
true
)
{
if
(
subStatus
==
true
)
{
// QmToast.toast("提交成功!");
// QmToast.toast("提交成功!");
}
else
{
}
else
{
QmToast
.
toast
(
"提交失败!"
);
QmToast
.
toast
(
"提交失败!"
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment