Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
B
book-app
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
book-app
Commits
32e6995e
提交
32e6995e
authored
2月 27, 2024
作者:
yueweilu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
适配iOS
上级
206717a2
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
21 行增加
和
8 行删除
+21
-8
Podfile
ios/Podfile
+4
-0
Podfile.lock
ios/Podfile.lock
+1
-1
Info.plist
ios/Runner/Info.plist
+5
-1
view.dart
lib/pages/book_pay/view.dart
+3
-2
pay_count.dart
lib/pages/book_pay/widgets/pay_count.dart
+8
-4
没有找到文件。
ios/Podfile
浏览文件 @
32e6995e
...
@@ -42,6 +42,10 @@ post_install do |installer|
...
@@ -42,6 +42,10 @@ post_install do |installer|
'$(inherited)'
,
'$(inherited)'
,
## dart: PermissionGroup.microphone
## dart: PermissionGroup.microphone
'PERMISSION_MICROPHONE=1'
,
'PERMISSION_MICROPHONE=1'
,
'PERMISSION_CAMERA=1'
,
'PERMISSION_PHOTOS=1'
,
'PERMISSION_SPEECH_RECOGNIZER=1'
,
'PERMISSION_MEDIA_LIBRARY=1'
,
]
]
end
end
end
end
...
...
ios/Podfile.lock
浏览文件 @
32e6995e
...
@@ -139,6 +139,6 @@ SPEC CHECKSUMS:
...
@@ -139,6 +139,6 @@ SPEC CHECKSUMS:
tobias: 22f69183b14af82a2ac8ff698af084c352744e5f
tobias: 22f69183b14af82a2ac8ff698af084c352744e5f
WechatOpenSDK-XCFramework: acdeeda129efbef9532bca8a10c24e1b4b8c7d69
WechatOpenSDK-XCFramework: acdeeda129efbef9532bca8a10c24e1b4b8c7d69
PODFILE CHECKSUM:
d88b567994d32cfdf2f8417e66666d472921c85e
PODFILE CHECKSUM:
20687d66987ab3196d4c7c2f789904b2f814ee9d
COCOAPODS: 1.11.2
COCOAPODS: 1.11.2
ios/Runner/Info.plist
浏览文件 @
32e6995e
...
@@ -2,6 +2,10 @@
...
@@ -2,6 +2,10 @@
<
!
D
O
C
TYP
E
plist
PU
B
LI
C
"-//
A
ppl
e
//
D
T
D
PLIST
1
.
0
//
E
N"
"http://www.
a
ppl
e
.
c
om/
D
T
D
s/Prop
e
rtyList-
1
.
0
.
d
t
d
"
>
<
!
D
O
C
TYP
E
plist
PU
B
LI
C
"-//
A
ppl
e
//
D
T
D
PLIST
1
.
0
//
E
N"
"http://www.
a
ppl
e
.
c
om/
D
T
D
s/Prop
e
rtyList-
1
.
0
.
d
t
d
"
>
<
plist
v
e
rsion="
1
.
0
"
>
<
plist
v
e
rsion="
1
.
0
"
>
<
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
NSPhotoLibraryUsageDescription
<
/k
e
y
>
<
string
>
紫荆云书请求在您使用期间获取您的相册权限以便更改用户头像或上传笔记
<
/string
>
<
k
e
y
>
NSCameraUsageDescription
<
/k
e
y
>
<
string
>
紫荆云书需要使用相机权限进行拍照
<
/string
>
<
k
e
y
>
CADisableMinimumFrameDurationOnPhone
<
/k
e
y
>
<
k
e
y
>
CADisableMinimumFrameDurationOnPhone
<
/k
e
y
>
<
tru
e
/
>
<
tru
e
/
>
<
k
e
y
>
CFBundleDevelopmentRegion
<
/k
e
y
>
<
k
e
y
>
CFBundleDevelopmentRegion
<
/k
e
y
>
...
@@ -40,7 +44,7 @@
...
@@ -40,7 +44,7 @@
<
k
e
y
>
LSRequiresIPhoneOS
<
/k
e
y
>
<
k
e
y
>
LSRequiresIPhoneOS
<
/k
e
y
>
<
tru
e
/
>
<
tru
e
/
>
<
k
e
y
>
NSMicrophoneUsageDescription
<
/k
e
y
>
<
k
e
y
>
NSMicrophoneUsageDescription
<
/k
e
y
>
<
string
>
紫
金
云书需要使用麦克风进行录音
<
/string
>
<
string
>
紫
荆
云书需要使用麦克风进行录音
<
/string
>
<
k
e
y
>
UIApplicationSupportsIndirectInputEvents
<
/k
e
y
>
<
k
e
y
>
UIApplicationSupportsIndirectInputEvents
<
/k
e
y
>
<
tru
e
/
>
<
tru
e
/
>
<
k
e
y
>
UILaunchStoryboardName
<
/k
e
y
>
<
k
e
y
>
UILaunchStoryboardName
<
/k
e
y
>
...
...
lib/pages/book_pay/view.dart
浏览文件 @
32e6995e
...
@@ -109,6 +109,7 @@ class _BookPayPageState extends State<BookPayPage> {
...
@@ -109,6 +109,7 @@ class _BookPayPageState extends State<BookPayPage> {
),
),
),
),
bottomNavigationBar:
SafeArea
(
bottomNavigationBar:
SafeArea
(
bottom:
false
,
child:
BuildPayCount
(
child:
BuildPayCount
(
payTap:
(){
payTap:
(){
Console
.
log
(
'--------------支付------------------'
);
Console
.
log
(
'--------------支付------------------'
);
...
@@ -120,12 +121,12 @@ class _BookPayPageState extends State<BookPayPage> {
...
@@ -120,12 +121,12 @@ class _BookPayPageState extends State<BookPayPage> {
},
controller:
controller
,
},
controller:
controller
,
)),
)),
),
),
controller
.
showDetail
?
SafeArea
(
controller
.
showDetail
?
Positioned
(
child:
Positioned
(
left:
0
.
w
,
left:
0
.
w
,
bottom:
50
.
w
,
bottom:
50
.
w
,
right:
0
.
w
,
right:
0
.
w
,
top:
0
.
w
,
top:
0
.
w
,
child:
SafeArea
(
child:
GestureDetector
(
child:
GestureDetector
(
onTap:
(){
onTap:
(){
controller
.
show
();
controller
.
show
();
...
...
lib/pages/book_pay/widgets/pay_count.dart
浏览文件 @
32e6995e
...
@@ -17,8 +17,8 @@ class BuildPayCount extends StatelessWidget {
...
@@ -17,8 +17,8 @@ class BuildPayCount extends StatelessWidget {
return
GetBuilder
<
BookPayController
>(
return
GetBuilder
<
BookPayController
>(
init:
BookPayController
(
buy:
[],
context:
context
),
init:
BookPayController
(
buy:
[],
context:
context
),
builder:
(
controller
)=>
Container
(
builder:
(
controller
)=>
Container
(
padding:
EdgeInsets
.
symmetric
(
horizontal:
15
.
w
),
padding:
EdgeInsets
.
only
(
left:
15
.
w
,
right:
15
.
w
,
bottom:
Screen
.
bottomBar
),
height:
55
.
w
,
// height: 55.w + MediaQuery.of(context).padding.bottom
,
color:
Colors
.
white
,
color:
Colors
.
white
,
child:
Row
(
child:
Row
(
mainAxisAlignment:
MainAxisAlignment
.
spaceBetween
,
mainAxisAlignment:
MainAxisAlignment
.
spaceBetween
,
...
@@ -46,11 +46,15 @@ class BuildPayCount extends StatelessWidget {
...
@@ -46,11 +46,15 @@ class BuildPayCount extends StatelessWidget {
GestureDetector
(
GestureDetector
(
onTap:
payTap
,
onTap:
payTap
,
child:
Container
(
child:
Container
(
margin:
EdgeInsets
.
symmetric
(
vertical:
10
.
w
),
width:
85
.
w
,
height:
35
.
w
,
decoration:
BoxDecoration
(
decoration:
BoxDecoration
(
borderRadius:
BorderRadius
.
circular
(
15
.
w
),
borderRadius:
BorderRadius
.
circular
(
1
7.
5
.
w
),
color:
AppTheme
.
primary
color:
AppTheme
.
primary
),
),
padding:
EdgeInsets
.
symmetric
(
horizontal:
13.5
.
w
,
vertical:
8
.
w
),
alignment:
Alignment
.
center
,
// padding: EdgeInsets.symmetric(horizontal:13.5.w,vertical: 8.w),
child:
Text
(
'确认支付'
,
style:
TextStyle
(
fontSize:
14
.
w
,
fontWeight:
Fonts
.
medium
,
color:
Colors
.
white
),),
child:
Text
(
'确认支付'
,
style:
TextStyle
(
fontSize:
14
.
w
,
fontWeight:
Fonts
.
medium
,
color:
Colors
.
white
),),
),
),
)
)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论