Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VirtualCard-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
APP
VirtualCard-iOS
Commits
f922a866
Commit
f922a866
authored
May 20, 2020
by
IOS-张 博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改商品详情底部按钮文案展示
parent
4fac087d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
QGMallGoodsDetailInfoModel.h
...tion/QGMallGoodsDetail/Model/QGMallGoodsDetailInfoModel.h
+6
-0
QGMallGoodsDetailBottomView.m
...tion/QGMallGoodsDetail/View/QGMallGoodsDetailBottomView.m
+2
-2
QGMallGoodsDetailViewController.m
...dsDetail/ViewController/QGMallGoodsDetailViewController.m
+1
-1
No files found.
VirtualPayment/VirtualPayment/QGClasses/PreferentialMall/Function/QGMallGoodsDetail/Model/QGMallGoodsDetailInfoModel.h
View file @
f922a866
...
...
@@ -44,9 +44,15 @@ NS_ASSUME_NONNULL_BEGIN
/// 分享返现
@property
(
nonatomic
,
strong
)
NSString
*
shareEarnAmount
;
/// 分享返现后台拼接字段
@property
(
nonatomic
,
strong
)
NSString
*
shareEarnAmountDesc
;
/// 节省金额
@property
(
nonatomic
,
strong
)
NSString
*
earnAmount
;
/// 节省金额后台拼接字段
@property
(
nonatomic
,
strong
)
NSString
*
earnAmountDesc
;
/// 推广提升模型
@property
(
nonatomic
,
strong
)
QGGoodsPromoterTipsModel
*
promoterTips
;
...
...
VirtualPayment/VirtualPayment/QGClasses/PreferentialMall/Function/QGMallGoodsDetail/View/QGMallGoodsDetailBottomView.m
View file @
f922a866
...
...
@@ -153,7 +153,7 @@
-
(
void
)
setShareAmount
:(
NSString
*
)
shareAmount
orderAmount
:(
NSString
*
)
orderAmount
{
if
(
!
[
NSString
isEmpty
:
shareAmount
])
{
self
.
shareAmountLabel
.
text
=
[
NSString
stringWithFormat
:
@"(赚%@元)"
,
shareAmount
]
;
self
.
shareAmountLabel
.
text
=
shareAmount
;
self
.
shareAmountLabel
.
hidden
=
NO
;
[
self
.
shareTitleLabel
mas_remakeConstraints
:
^
(
MASConstraintMaker
*
make
)
{
...
...
@@ -173,7 +173,7 @@
}
if
(
!
[
NSString
isEmpty
:
orderAmount
])
{
self
.
orderAmountLabel
.
text
=
[
NSString
stringWithFormat
:
@"(省%@元)"
,
orderAmount
]
;
self
.
orderAmountLabel
.
text
=
orderAmount
;
self
.
orderAmountLabel
.
hidden
=
NO
;
[
self
.
orderTitleLabel
mas_remakeConstraints
:
^
(
MASConstraintMaker
*
make
)
{
...
...
VirtualPayment/VirtualPayment/QGClasses/PreferentialMall/Function/QGMallGoodsDetail/ViewController/QGMallGoodsDetailViewController.m
View file @
f922a866
...
...
@@ -159,7 +159,7 @@
self
.
detailInfoModel
=
[
QGMallGoodsDetailInfoModel
yy_modelWithDictionary
:
responseObject
[
@"data"
]];
[
self
.
tableView
reloadData
];
self
.
bottomView
.
hidden
=
NO
;
[
self
.
bottomView
setShareAmount
:
self
.
detailInfoModel
.
goodsInfo
.
shareEarnAmount
orderAmount
:
self
.
detailInfoModel
.
goodsInfo
.
earnAmount
];
[
self
.
bottomView
setShareAmount
:
self
.
detailInfoModel
.
goodsInfo
.
shareEarnAmount
Desc
orderAmount
:
self
.
detailInfoModel
.
goodsInfo
.
earnAmountDesc
];
//数据埋点 每次打开只记录一次
QGAppCoreModelClickEvent
*
event
=
[
QGAppCoreModelClickEvent
acmcEventWithPage
:
@"商品详情页"
path
:
@"商品详情"
name
:
@"商品详情打开"
detail_name
:
self
.
detailInfoModel
.
goodsInfo
.
goodsId
acmc_model_other
:
self
.
detailInfoModel
.
goodsInfo
.
goodsName
];
...
...
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