diff --git a/app/src/main/java/com/bonait/bnframework/modules/home/fragment/from/CpActivity.java b/app/src/main/java/com/bonait/bnframework/modules/home/fragment/from/CpActivity.java index 63d2bd70..c94beacf 100644 --- a/app/src/main/java/com/bonait/bnframework/modules/home/fragment/from/CpActivity.java +++ b/app/src/main/java/com/bonait/bnframework/modules/home/fragment/from/CpActivity.java @@ -208,11 +208,11 @@ public class CpActivity extends BaseActivity { ArrayList good = QueryDB.GetGoodsALL(); List Bendi_id = new ArrayList<>(); - SectionHeader header_bdcp = new SectionHeader("本地菜谱", "", ""); + SectionHeader header_bdcp = new SectionHeader("本地配方", "", ""); ArrayList contents_bdcp = new ArrayList<>(); - SectionHeader header_sccp = new SectionHeader("收藏菜谱", "", ""); - ArrayList contents_sccp = new ArrayList<>(); +// SectionHeader header_sccp = new SectionHeader("收藏配方", "", ""); +// ArrayList contents_sccp = new ArrayList<>(); for (BPA_GOODS item : good) { @@ -220,18 +220,18 @@ public class CpActivity extends BaseActivity { item.url = "未知"; } contents_bdcp.add(new SectionItem(item.name, String.valueOf(item.maketime), item.id, item.url, item.issc == 1, false, true)); - if (item.issc == 1) { - contents_sccp.add(new SectionItem(item.name, String.valueOf(item.maketime), item.id, item.url, item.issc == 1, false, true)); - } - Bendi_id.add(item.id); +// if (item.issc == 1) { +// contents_sccp.add(new SectionItem(item.name, String.valueOf(item.maketime), item.id, item.url, item.issc == 1, false, true)); +// } +// Bendi_id.add(item.id); } list.add(new QMUISection<>(header_bdcp, contents_bdcp, false)); - list.add(new QMUISection<>(header_sccp, contents_sccp, true)); +// list.add(new QMUISection<>(header_sccp, contents_sccp, true)); return list; } private void initTopBar() { - mTopBar.setTitle("菜谱管理"); + mTopBar.setTitle("配方管理"); /** * 返回按钮 */ @@ -244,7 +244,7 @@ public class CpActivity extends BaseActivity { /** * 新建商品 */ - mTopBar.addRightTextButton("新建商品", R.id.topbar).setOnClickListener(new View.OnClickListener() { + mTopBar.addRightTextButton("新建配方", R.id.topbar).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { skipToActivity(DiyActivity.class); diff --git a/app/src/main/java/com/bonait/bnframework/modules/home/fragment/from/CpxzActivity.java b/app/src/main/java/com/bonait/bnframework/modules/home/fragment/from/CpxzActivity.java index 4089cb28..3ff3fdc5 100644 --- a/app/src/main/java/com/bonait/bnframework/modules/home/fragment/from/CpxzActivity.java +++ b/app/src/main/java/com/bonait/bnframework/modules/home/fragment/from/CpxzActivity.java @@ -41,7 +41,7 @@ public class CpxzActivity extends BaseActivity { } private void initTopBar() { - mTopBar.setTitle("菜谱列表"); + mTopBar.setTitle("配方列表"); mTopBar.addLeftImageButton(R.mipmap.fanhui, R.id.topbar).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { diff --git a/app/src/main/res/layout/fragment_ding_dan.xml b/app/src/main/res/layout/fragment_ding_dan.xml index 94bfec01..e3fed7fa 100644 --- a/app/src/main/res/layout/fragment_ding_dan.xml +++ b/app/src/main/res/layout/fragment_ding_dan.xml @@ -172,7 +172,7 @@ android:layout_alignParentLeft="true" android:layout_marginLeft="20dp" android:textSize="@dimen/textSize" - android:text="商品名称" + android:text="配方名称" android:textAlignment="center" android:textStyle="bold" android:textColor="@color/white"/> diff --git a/app/src/main/res/layout/fragment_gongneng.xml b/app/src/main/res/layout/fragment_gongneng.xml index 9ec9af34..1851398e 100644 --- a/app/src/main/res/layout/fragment_gongneng.xml +++ b/app/src/main/res/layout/fragment_gongneng.xml @@ -133,7 +133,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:fontFamily="sans-serif-condensed-medium" - android:text="商品管理" + android:text="配方管理" android:textColor="@color/white" android:textSize="26dp" android:focusable="false"/> diff --git a/app/src/main/res/layout/fragment_hand_control.xml b/app/src/main/res/layout/fragment_hand_control.xml index 01e09ab1..505acd0d 100644 --- a/app/src/main/res/layout/fragment_hand_control.xml +++ b/app/src/main/res/layout/fragment_hand_control.xml @@ -273,15 +273,15 @@ android:valueTo="100" app:enableDrawHalo="false" app:thumbColor="@color/we_read_thumb_color" - app:thumbRadius="11dp" + app:thumbRadius="21dp" app:thumbText="0" app:thumbTextBold="true" app:thumbTextColor="@color/we_read_theme_color" - app:thumbTextSize="12sp" + app:thumbTextSize="19sp" app:thumbWithinTrackBounds="true" app:trackColor="@color/pro1" app:trackColorInactive="@color/pro2" - app:trackHeight="15dp" /> + app:trackHeight="25dp" />