Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TangKuPos
Project overview
Project overview
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
王海
TangKuPos
Commits
95080f44
Commit
95080f44
authored
Jan 17, 2018
by
姜敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改会员充值
parent
a9db9497
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
78 additions
and
22 deletions
+78
-22
app/src/main/java/com/xingdata/zzdpos/App.java
app/src/main/java/com/xingdata/zzdpos/App.java
+5
-1
app/src/main/java/com/xingdata/zzdpos/ui/marketing/recharge/fragment/RechargeRuleEditFragment.java
...marketing/recharge/fragment/RechargeRuleEditFragment.java
+1
-0
app/src/main/java/com/xingdata/zzdpos/ui/marketing/recharge/fragment/RechargeRuleListFragment.java
...marketing/recharge/fragment/RechargeRuleListFragment.java
+8
-0
app/src/main/java/com/xingdata/zzdpos/ui/vip/VipPresenter.java
...rc/main/java/com/xingdata/zzdpos/ui/vip/VipPresenter.java
+1
-1
app/src/main/res/layout/fragment_recharge_rule_edit.xml
app/src/main/res/layout/fragment_recharge_rule_edit.xml
+31
-4
app/src/main/res/layout/fragment_user_info.xml
app/src/main/res/layout/fragment_user_info.xml
+0
-4
app/src/main/res/layout/fragment_user_info_edit.xml
app/src/main/res/layout/fragment_user_info_edit.xml
+5
-3
app/src/main/res/layout/fragment_vip_info_edit.xml
app/src/main/res/layout/fragment_vip_info_edit.xml
+4
-1
app/src/main/res/layout/fragment_vip_level_edit.xml
app/src/main/res/layout/fragment_vip_level_edit.xml
+23
-8
No files found.
app/src/main/java/com/xingdata/zzdpos/App.java
View file @
95080f44
...
@@ -118,7 +118,11 @@ public class App extends Application {
...
@@ -118,7 +118,11 @@ public class App extends Application {
*/
*/
private
void
initFragment
()
{
private
void
initFragment
()
{
Fragmentation
.
builder
().
stackViewMode
(
Fragmentation
.
BUBBLE
).
debug
(
BuildConfig
.
DEBUG
)
// Fragmentation.builder().stackViewMode(Fragmentation.BUBBLE).debug(BuildConfig.DEBUG)
// .handleException(e -> {
// }).install();
//正式版本
Fragmentation
.
builder
().
stackViewMode
(
Fragmentation
.
BUBBLE
)
.
handleException
(
e
->
{
.
handleException
(
e
->
{
}).
install
();
}).
install
();
}
}
...
...
app/src/main/java/com/xingdata/zzdpos/ui/marketing/recharge/fragment/RechargeRuleEditFragment.java
View file @
95080f44
...
@@ -56,6 +56,7 @@ public class RechargeRuleEditFragment extends BaseFragment<RechargeRulePresenter
...
@@ -56,6 +56,7 @@ public class RechargeRuleEditFragment extends BaseFragment<RechargeRulePresenter
mViewBinding
.
ruleNameLayout
.
setVisibility
(
View
.
GONE
);
mViewBinding
.
ruleNameLayout
.
setVisibility
(
View
.
GONE
);
mViewBinding
.
infoTitle
.
tvTitle
.
setText
(
"新增充值优惠"
);
mViewBinding
.
infoTitle
.
tvTitle
.
setText
(
"新增充值优惠"
);
mViewBinding
.
ruleNameLayout
.
setVisibility
(
View
.
VISIBLE
);
mViewBinding
.
ruleNameLayout
.
setVisibility
(
View
.
VISIBLE
);
((
RadioButton
)
mViewBinding
.
ruleState
.
getChildAt
(
0
)).
setChecked
(
true
);
}
}
mViewBinding
.
setOnClickListener
(
view
->
{
mViewBinding
.
setOnClickListener
(
view
->
{
...
...
app/src/main/java/com/xingdata/zzdpos/ui/marketing/recharge/fragment/RechargeRuleListFragment.java
View file @
95080f44
...
@@ -70,6 +70,14 @@ public class RechargeRuleListFragment extends BaseFragment<RechargeRulePresenter
...
@@ -70,6 +70,14 @@ public class RechargeRuleListFragment extends BaseFragment<RechargeRulePresenter
}
}
public
void
mscardQuerySus
(
Pager
<
Mscard
>
mscardPager
)
{
public
void
mscardQuerySus
(
Pager
<
Mscard
>
mscardPager
)
{
if
(
mscardPager
.
getList
().
size
()
!=
0
)
{
mViewBinding
.
noRultBg
.
setVisibility
(
View
.
GONE
);
}
else
{
mViewBinding
.
noRultBg
.
setVisibility
(
View
.
VISIBLE
);
}
adapter
.
setNewData
(
mscardPager
.
getList
());
adapter
.
setNewData
(
mscardPager
.
getList
());
adapter
.
setEnableLoadMore
(
false
);
adapter
.
loadMoreComplete
();
}
}
}
}
app/src/main/java/com/xingdata/zzdpos/ui/vip/VipPresenter.java
View file @
95080f44
...
@@ -161,7 +161,7 @@ public class VipPresenter extends VipContract.Presenter {
...
@@ -161,7 +161,7 @@ public class VipPresenter extends VipContract.Presenter {
// ArrayList<RadioButton> radioButtons = new ArrayList<>();
// ArrayList<RadioButton> radioButtons = new ArrayList<>();
radioButton
.
setTextSize
(
18
);
radioButton
.
setTextSize
(
18
);
radioButton
.
setTag
(
mscard
.
getCruleGradeNo
());
radioButton
.
setTag
(
mscard
.
getCruleGradeNo
());
radioButton
.
setText
(
"充:"
+
mscard
.
getCruleChargeAmt
()
/
100
);
radioButton
.
setText
(
String
.
valueOf
(
mscard
.
getCruleChargeAmt
()
/
100
)
);
radioButton
.
setButtonDrawable
(
null
);
radioButton
.
setButtonDrawable
(
null
);
radioButton
.
setGravity
(
Gravity
.
CENTER
);
radioButton
.
setGravity
(
Gravity
.
CENTER
);
radioButton
.
getPaint
().
setFakeBoldText
(
true
);
radioButton
.
getPaint
().
setFakeBoldText
(
true
);
...
...
app/src/main/res/layout/fragment_recharge_rule_edit.xml
View file @
95080f44
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_margin
Left
=
"@dimen/all_margin"
android:layout_margin=
"@dimen/all_margin"
android:gravity=
"center_vertical"
android:gravity=
"center_vertical"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
...
@@ -32,6 +32,11 @@
...
@@ -32,6 +32,11 @@
android:text=
"基本信息"
/>
android:text=
"基本信息"
/>
</LinearLayout>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
@@ -71,7 +76,6 @@
...
@@ -71,7 +76,6 @@
<View
<View
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:layout_height=
"1dp"
android:layout_marginRight=
"@dimen/all_margin_left"
android:background=
"@color/line_bg"
/>
android:background=
"@color/line_bg"
/>
<LinearLayout
<LinearLayout
...
@@ -130,7 +134,7 @@
...
@@ -130,7 +134,7 @@
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_margin
Left
=
"@dimen/all_margin"
android:layout_margin=
"@dimen/all_margin"
android:gravity=
"center_vertical"
android:gravity=
"center_vertical"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
...
@@ -141,6 +145,11 @@
...
@@ -141,6 +145,11 @@
android:text=
"优惠规则"
/>
android:text=
"优惠规则"
/>
</LinearLayout>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
@@ -148,7 +157,6 @@
...
@@ -148,7 +157,6 @@
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<TextView
<TextView
style=
"@style/default_blacktext_margin_smallstyle"
style=
"@style/default_blacktext_margin_smallstyle"
android:layout_width=
"100dp"
android:layout_width=
"100dp"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
@@ -174,6 +182,11 @@
...
@@ -174,6 +182,11 @@
android:text=
"元"
/>
android:text=
"元"
/>
</LinearLayout>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
@@ -206,6 +219,10 @@
...
@@ -206,6 +219,10 @@
android:text=
"元"
/>
android:text=
"元"
/>
</LinearLayout>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -230,6 +247,11 @@
...
@@ -230,6 +247,11 @@
android:onClick=
"@{onClickListener}"
/>
android:onClick=
"@{onClickListener}"
/>
</LinearLayout>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
@@ -253,6 +275,11 @@
...
@@ -253,6 +275,11 @@
android:onClick=
"@{onClickListener}"
/>
android:onClick=
"@{onClickListener}"
/>
</LinearLayout>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
/>
<RelativeLayout
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
...
...
app/src/main/res/layout/fragment_user_info.xml
View file @
95080f44
...
@@ -92,10 +92,6 @@
...
@@ -92,10 +92,6 @@
android:layout_height=
"1dp"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
/>
android:background=
"@color/line_bg"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
...
app/src/main/res/layout/fragment_user_info_edit.xml
View file @
95080f44
...
@@ -17,14 +17,16 @@
...
@@ -17,14 +17,16 @@
<include
<include
android:id=
"@+id/info_title"
android:id=
"@+id/info_title"
layout=
"@layout/title_pop"
/>
layout=
"@layout/title_pop"
/>
<View
android:layout_marginTop=
"@dimen/all_margin"
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/all_margin"
android:background=
"@color/white"
android:background=
"@color/white"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
...
app/src/main/res/layout/fragment_vip_info_edit.xml
View file @
95080f44
...
@@ -208,7 +208,10 @@
...
@@ -208,7 +208,10 @@
android:onClick=
"@{onClickListener}"
/>
android:onClick=
"@{onClickListener}"
/>
</LinearLayout>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
/>
<RelativeLayout
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
...
...
app/src/main/res/layout/fragment_vip_level_edit.xml
View file @
95080f44
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_margin
Left
=
"@dimen/all_margin"
android:layout_margin=
"@dimen/all_margin"
android:gravity=
"center_vertical"
android:gravity=
"center_vertical"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
...
@@ -32,6 +32,11 @@
...
@@ -32,6 +32,11 @@
android:text=
"基本信息"
/>
android:text=
"基本信息"
/>
</LinearLayout>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
@@ -89,14 +94,14 @@
...
@@ -89,14 +94,14 @@
<EditText
<EditText
android:id=
"@+id/level_discont"
android:id=
"@+id/level_discont"
android:maxLength=
"3"
style=
"@style/dialog_edit"
style=
"@style/dialog_edit"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:background=
"@null"
android:background=
"@null"
android:digits=
"0123456789"
android:digits=
"0123456789"
android:hint=
"%"
android:hint=
"%"
android:inputType=
"numberSigned"
/>
android:inputType=
"numberSigned"
android:maxLength=
"3"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
...
@@ -116,7 +121,7 @@
...
@@ -116,7 +121,7 @@
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_margin
Left
=
"@dimen/all_margin"
android:layout_margin=
"@dimen/all_margin"
android:gravity=
"center_vertical"
android:gravity=
"center_vertical"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
...
@@ -127,6 +132,11 @@
...
@@ -127,6 +132,11 @@
android:text=
"晋级标准"
/>
android:text=
"晋级标准"
/>
</LinearLayout>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
@@ -147,9 +157,9 @@
...
@@ -147,9 +157,9 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:background=
"@null"
android:background=
"@null"
android:maxLength=
"3"
android:digits=
"0123456789"
android:digits=
"0123456789"
android:inputType=
"phone"
/>
android:inputType=
"phone"
android:maxLength=
"3"
/>
<TextView
<TextView
style=
"@style/default_blacktext_margin_smallstyle"
style=
"@style/default_blacktext_margin_smallstyle"
...
@@ -158,6 +168,11 @@
...
@@ -158,6 +168,11 @@
android:text=
"天"
/>
android:text=
"天"
/>
</LinearLayout>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/line_bg"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
@@ -177,10 +192,10 @@
...
@@ -177,10 +192,10 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:maxLength=
"8"
android:background=
"@null"
android:background=
"@null"
android:digits=
"0123456789"
android:digits=
"0123456789"
android:inputType=
"phone"
/>
android:inputType=
"phone"
android:maxLength=
"8"
/>
<TextView
<TextView
style=
"@style/default_blacktext_margin_smallstyle"
style=
"@style/default_blacktext_margin_smallstyle"
...
...
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