Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
supplier
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王宇航
supplier
Commits
5aab5e4e
Commit
5aab5e4e
authored
Oct 23, 2020
by
宁斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增餐牌選中食品字體配置
parent
db7e0360
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
base-module/src/main/java/com/gingersoft/gsa/cloud/bean/expandInfo/UIStyleExtendedConfiguration.java
+8
-0
table-module/src/main/java/com/gingersoft/gsa/cloud/table/mvp/ui/adapter/meal/SelectMealAdapter.java
+1
-0
No files found.
base-module/src/main/java/com/gingersoft/gsa/cloud/bean/expandInfo/UIStyleExtendedConfiguration.java
View file @
5aab5e4e
...
...
@@ -79,6 +79,10 @@ public class UIStyleExtendedConfiguration {
/**
* 食品組、食品、細項、折扣字體大小
*/
private
ExpandInfoSetting
billListFontSize
=
ExpandInfoSetting
.
builder
()
.
valueInt
(
18
)
.
remark
(
"餐牌選中食品字體大小"
)
.
build
();
private
ExpandInfoSetting
foodGroupFontSize
=
ExpandInfoSetting
.
builder
()
.
valueInt
(
12
)
.
remark
(
"食品組字體大小"
)
...
...
@@ -169,6 +173,10 @@ public class UIStyleExtendedConfiguration {
return
soldoutModFlagHeight
.
getValue
();
}
public
<
T
>
T
getBillListFontSizeVaule
()
{
return
billListFontSize
.
getValue
();
}
public
<
T
>
T
getFoodGroupFontSizeValue
()
{
return
foodGroupFontSize
.
getValue
();
}
...
...
table-module/src/main/java/com/gingersoft/gsa/cloud/table/mvp/ui/adapter/meal/SelectMealAdapter.java
View file @
5aab5e4e
...
...
@@ -74,6 +74,7 @@ public class SelectMealAdapter extends DefaultAdapter<OrderDetail> {
public
SelectMealAdapter
(
Context
context
,
List
<
OrderDetail
>
data
,
BasePresenter
presenter
)
{
super
(
data
);
this
.
mContext
=
context
;
this
.
BillListFontSize
=
GsaCloudApplication
.
uiStyleConfiguration
.
getBillListFontSizeVaule
();
if
(
presenter
instanceof
MealStandPresenter
)
{
// this.mMealStandPresenter = (MealStandPresenter) presenter;
this
.
mMealStandActivity
=
(
MealStandActivity
)
context
;
...
...
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