Compare commits
2 Commits
cf7de604f5
...
d03e3fe67d
Author | SHA1 | Date | |
---|---|---|---|
d03e3fe67d | |||
df043babac |
@ -59,8 +59,8 @@ android {
|
|||||||
buildTypes {
|
buildTypes {
|
||||||
debug {
|
debug {
|
||||||
signingConfig signingConfigs.release
|
signingConfig signingConfigs.release
|
||||||
// buildConfigField "String", "DOMAIN", '"http://192.168.18.74:8080"'
|
buildConfigField "String", "DOMAIN", '"http://192.168.18.99:8080"'
|
||||||
buildConfigField "String", "DOMAIN", '"http://47.109.205.240:8080"'
|
// buildConfigField "String", "DOMAIN", '"http://47.109.205.240:8080"'
|
||||||
jniDebuggable false
|
jniDebuggable false
|
||||||
zipAlignEnabled false
|
zipAlignEnabled false
|
||||||
}
|
}
|
||||||
|
@ -213,6 +213,26 @@
|
|||||||
android:configChanges="orientation|screenSize|keyboardHidden"
|
android:configChanges="orientation|screenSize|keyboardHidden"
|
||||||
android:exported="false"
|
android:exported="false"
|
||||||
android:screenOrientation="portrait" />
|
android:screenOrientation="portrait" />
|
||||||
|
<activity
|
||||||
|
android:name=".ui.input.InputGoodsDetailActivity"
|
||||||
|
android:configChanges="orientation|screenSize|keyboardHidden"
|
||||||
|
android:exported="false"
|
||||||
|
android:screenOrientation="portrait" />
|
||||||
|
<activity
|
||||||
|
android:name=".ui.input.UtilizationControlActivity"
|
||||||
|
android:configChanges="orientation|screenSize|keyboardHidden"
|
||||||
|
android:exported="false"
|
||||||
|
android:screenOrientation="portrait" />
|
||||||
|
<activity
|
||||||
|
android:name=".ui.input.UtilizationControlDetailActivity"
|
||||||
|
android:configChanges="orientation|screenSize|keyboardHidden"
|
||||||
|
android:exported="false"
|
||||||
|
android:screenOrientation="portrait" />
|
||||||
|
<activity
|
||||||
|
android:name=".ui.nyscjyzt.BusinessManagementActivity"
|
||||||
|
android:configChanges="orientation|screenSize|keyboardHidden"
|
||||||
|
android:exported="false"
|
||||||
|
android:screenOrientation="portrait" />
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name=".ui.photoview.PhotoViewActivty"
|
android:name=".ui.photoview.PhotoViewActivty"
|
||||||
|
@ -28,7 +28,6 @@ public class Api {
|
|||||||
*/
|
*/
|
||||||
public static final String STR_AUTHORIZATION = "Authorization";
|
public static final String STR_AUTHORIZATION = "Authorization";
|
||||||
|
|
||||||
|
|
||||||
public static final String UPDATE_APP = BASE_HOST + "/checkUpdate";
|
public static final String UPDATE_APP = BASE_HOST + "/checkUpdate";
|
||||||
|
|
||||||
public static final String LOGIN = BASE_HOST + "/auth/app/login";
|
public static final String LOGIN = BASE_HOST + "/auth/app/login";
|
||||||
@ -78,7 +77,9 @@ public class Api {
|
|||||||
public static final String ILLEGAL_CASE_RESULT_TYPE = BASE_HOST + "/system/dict/data/type/sys_law_case_result";
|
public static final String ILLEGAL_CASE_RESULT_TYPE = BASE_HOST + "/system/dict/data/type/sys_law_case_result";
|
||||||
public static final String ILLEGAL_CASE_ADD = BASE_HOST + "/land-resource/inspection/illegal/caseHandler";
|
public static final String ILLEGAL_CASE_ADD = BASE_HOST + "/land-resource/inspection/illegal/caseHandler";
|
||||||
public static final String ILLEGAL_CASE_DETAIL = BASE_HOST + "/land-resource/inspection/illegal/";
|
public static final String ILLEGAL_CASE_DETAIL = BASE_HOST + "/land-resource/inspection/illegal/";
|
||||||
/* 投入品管理 */
|
/* 农产品种植管理 */
|
||||||
public static final String INPUT_GOODS_LIST = BASE_HOST + "/inputGoods/app/inputPage";
|
public static final String INPUT_GOODS_LIST = BASE_HOST + "/inputGoods/app/inputPage";
|
||||||
|
/* 农业生产经营主体 */
|
||||||
|
public static final String BUSINESS_MANAGEMENT_LIST = BASE_HOST + "/product-business/business/enter/businessPage";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -14,8 +14,10 @@ import com.tairui.gov_affairs_cloud.entity.Api;
|
|||||||
import com.tairui.gov_affairs_cloud.entity.PieBean;
|
import com.tairui.gov_affairs_cloud.entity.PieBean;
|
||||||
import com.tairui.gov_affairs_cloud.http.OnError;
|
import com.tairui.gov_affairs_cloud.http.OnError;
|
||||||
import com.tairui.gov_affairs_cloud.ui.home.entity.HomeEntity;
|
import com.tairui.gov_affairs_cloud.ui.home.entity.HomeEntity;
|
||||||
|
import com.tairui.gov_affairs_cloud.ui.input.InputGoodsListActivity;
|
||||||
import com.tairui.gov_affairs_cloud.ui.land.LandActivity;
|
import com.tairui.gov_affairs_cloud.ui.land.LandActivity;
|
||||||
import com.tairui.gov_affairs_cloud.ui.my.entity.UserInfoEntity;
|
import com.tairui.gov_affairs_cloud.ui.my.entity.UserInfoEntity;
|
||||||
|
import com.tairui.gov_affairs_cloud.ui.nyscjyzt.BusinessManagementActivity;
|
||||||
import com.tairui.gov_affairs_cloud.util.DensityUtils;
|
import com.tairui.gov_affairs_cloud.util.DensityUtils;
|
||||||
import com.tairui.gov_affairs_cloud.util.IntentUtil;
|
import com.tairui.gov_affairs_cloud.util.IntentUtil;
|
||||||
import com.tairui.gov_affairs_cloud.util.glide.GlideLoader;
|
import com.tairui.gov_affairs_cloud.util.glide.GlideLoader;
|
||||||
@ -82,6 +84,10 @@ public class HomeFragment extends BaseFragment<FragmentHomeBinding> {
|
|||||||
funcAdapter.setOnItemClickListener((baseQuickAdapter, view, i) -> {
|
funcAdapter.setOnItemClickListener((baseQuickAdapter, view, i) -> {
|
||||||
if (i == 1) {
|
if (i == 1) {
|
||||||
IntentUtil.startActivity(mContext, LandActivity.class);
|
IntentUtil.startActivity(mContext, LandActivity.class);
|
||||||
|
} else if (i == 2) {
|
||||||
|
IntentUtil.startActivity(mContext, InputGoodsListActivity.class);
|
||||||
|
} else if (i == 3) {
|
||||||
|
IntentUtil.startActivity(mContext, BusinessManagementActivity.class);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,25 @@
|
|||||||
|
package com.tairui.gov_affairs_cloud.ui.input;
|
||||||
|
|
||||||
|
import com.tairui.gov_affairs_cloud.base.BaseActivity;
|
||||||
|
import com.tairui.gov_affairs_cloud.databinding.ActivityInputGoodsDetailBinding;
|
||||||
|
import com.tairui.gov_affairs_cloud.util.SingleClickListener;
|
||||||
|
|
||||||
|
import android.view.View;
|
||||||
|
|
||||||
|
public class InputGoodsDetailActivity extends BaseActivity<ActivityInputGoodsDetailBinding> {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected Class<ActivityInputGoodsDetailBinding> getBindingClass() {
|
||||||
|
return ActivityInputGoodsDetailBinding.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onBindListener() {
|
||||||
|
binding.btnBack.setOnClickListener(new SingleClickListener() {
|
||||||
|
@Override
|
||||||
|
protected void onSingleClick(View v) {
|
||||||
|
finish();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,261 @@
|
|||||||
|
package com.tairui.gov_affairs_cloud.ui.input;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.bigkoo.pickerview.builder.OptionsPickerBuilder;
|
||||||
|
import com.bigkoo.pickerview.view.OptionsPickerView;
|
||||||
|
import com.chad.library.adapter.base.BaseQuickAdapter;
|
||||||
|
import com.chad.library.adapter.base.BaseViewHolder;
|
||||||
|
import com.kongzue.dialogx.dialogs.MessageDialog;
|
||||||
|
import com.orhanobut.hawk.Hawk;
|
||||||
|
import com.rxjava.rxlife.RxLife;
|
||||||
|
import com.tairui.gov_affairs_cloud.R;
|
||||||
|
import com.tairui.gov_affairs_cloud.base.BaseActivity;
|
||||||
|
import com.tairui.gov_affairs_cloud.databinding.ActivityUtilizationControlListBinding;
|
||||||
|
import com.tairui.gov_affairs_cloud.entity.Api;
|
||||||
|
import com.tairui.gov_affairs_cloud.entity.Constant;
|
||||||
|
import com.tairui.gov_affairs_cloud.http.OnError;
|
||||||
|
import com.tairui.gov_affairs_cloud.ui.input.entity.UtilizationControlEntity;
|
||||||
|
import com.tairui.gov_affairs_cloud.ui.land.entity.LandAreaRegionEntity;
|
||||||
|
import com.tairui.gov_affairs_cloud.ui.land.entity.LandGridEntity;
|
||||||
|
import com.tairui.gov_affairs_cloud.util.ArrayUtil;
|
||||||
|
import com.tairui.gov_affairs_cloud.util.IntentUtil;
|
||||||
|
import com.tairui.gov_affairs_cloud.util.SingleClickListener;
|
||||||
|
|
||||||
|
import android.graphics.Color;
|
||||||
|
import android.os.Bundle;
|
||||||
|
import android.view.View;
|
||||||
|
import androidx.annotation.NonNull;
|
||||||
|
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||||
|
import rxhttp.RxHttp;
|
||||||
|
|
||||||
|
public class UtilizationControlActivity extends BaseActivity<ActivityUtilizationControlListBinding> {
|
||||||
|
|
||||||
|
private LandAreaRegionEntity selectRegion;
|
||||||
|
private LandGridEntity.RecordsEntity selectGrid;
|
||||||
|
|
||||||
|
private List<LandAreaRegionEntity> landAreaRegionData;
|
||||||
|
private LandGridEntity landGridData;
|
||||||
|
|
||||||
|
private OptionsPickerView landRegionPickerView;
|
||||||
|
private OptionsPickerView landGridPickerView;
|
||||||
|
|
||||||
|
private List<UtilizationControlEntity> mData;
|
||||||
|
private UtilizationControlAdapter adapter;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected Class<ActivityUtilizationControlListBinding> getBindingClass() {
|
||||||
|
return ActivityUtilizationControlListBinding.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onQueryArguments() {
|
||||||
|
if (Hawk.contains(Constant.SELECT_REGION)) {
|
||||||
|
selectRegion = Hawk.get(Constant.SELECT_REGION);
|
||||||
|
}
|
||||||
|
if (Hawk.contains(Constant.SELECT_GRID)) {
|
||||||
|
selectGrid = Hawk.get(Constant.SELECT_GRID);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onBindListener() {
|
||||||
|
binding.btnBack.setOnClickListener(new SingleClickListener() {
|
||||||
|
@Override
|
||||||
|
protected void onSingleClick(View v) {
|
||||||
|
finish();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
binding.layoutRegion.setOnClickListener(new SingleClickListener() {
|
||||||
|
@Override
|
||||||
|
protected void onSingleClick(View v) {
|
||||||
|
showRegionDialog();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onFindView(Bundle savedInstanceState) {
|
||||||
|
setText(binding.tvRegion, selectRegion.getAreaName() + "-" + selectGrid.getGridName());
|
||||||
|
binding.refreshRecycler.setLayoutManager(new LinearLayoutManager(mContext));
|
||||||
|
adapter = new UtilizationControlAdapter();
|
||||||
|
binding.refreshRecycler.setAdapter(adapter);
|
||||||
|
binding.refreshRecycler.setEnableRefresh(false);
|
||||||
|
binding.refreshRecycler.setNoMoreData(true);
|
||||||
|
adapter.setOnItemClickListener((baseQuickAdapter, view, i) -> {
|
||||||
|
IntentUtil.startActivity(mContext, UtilizationControlDetailActivity.class);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onApplyData() {
|
||||||
|
getRegionData();
|
||||||
|
requestData();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void showRegionNoticeMsg() {
|
||||||
|
MessageDialog.show("选择区域", "请先选择网格区域信息", "确定", "取消")
|
||||||
|
.setOkButton((baseDialog, v1) -> {
|
||||||
|
showRegionDialog();
|
||||||
|
return false;
|
||||||
|
}).setCancelButton((dialog, v) -> {
|
||||||
|
finish();
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
private void getRegionData() {
|
||||||
|
RxHttp.get(Api.LAND_AREA_REGION)
|
||||||
|
.add("areaCode", "530926")
|
||||||
|
.asResponseList(LandAreaRegionEntity.class)
|
||||||
|
.as(RxLife.asOnMain(this))
|
||||||
|
.subscribe(data -> {
|
||||||
|
landAreaRegionData = data;
|
||||||
|
if (selectRegion == null || selectGrid == null) {
|
||||||
|
showRegionNoticeMsg();
|
||||||
|
}
|
||||||
|
}, (OnError) error -> showToast(error.getErrorMsg()));
|
||||||
|
}
|
||||||
|
|
||||||
|
private void getGridData() {
|
||||||
|
RxHttp.get(Api.LAND_GRID_LIST)
|
||||||
|
.add("regionCode", selectRegion.getAreaCode())
|
||||||
|
.asResponse(LandGridEntity.class)
|
||||||
|
.as(RxLife.asOnMain(this))
|
||||||
|
.subscribe(data -> {
|
||||||
|
hideLoading();
|
||||||
|
if (ArrayUtil.isEmpty(data.getRecords())) {
|
||||||
|
showToast("当前区域下没有网格,请重新选择");
|
||||||
|
binding.layoutRegion.postDelayed(() -> showRegionDialog(), 500);
|
||||||
|
} else {
|
||||||
|
landGridData = data;
|
||||||
|
showLandGridDialog();
|
||||||
|
}
|
||||||
|
}, (OnError) error -> showToast(error.getErrorMsg()));
|
||||||
|
}
|
||||||
|
|
||||||
|
private void showRegionDialog() {
|
||||||
|
if (landRegionPickerView == null) {
|
||||||
|
List<List<LandAreaRegionEntity>> subLandData = new ArrayList<>();
|
||||||
|
for (LandAreaRegionEntity itemData : landAreaRegionData.get(0).getAreaChildVOS()) {
|
||||||
|
subLandData.add(itemData.getAreaChildVOS());
|
||||||
|
}
|
||||||
|
|
||||||
|
landRegionPickerView = new OptionsPickerBuilder(this, (options1, options2, options3, v) -> {
|
||||||
|
selectRegion = landAreaRegionData.get(0).getAreaChildVOS().get(options1).getAreaChildVOS().get(options2);
|
||||||
|
Hawk.put(Constant.SELECT_REGION, selectRegion);
|
||||||
|
selectGrid = null;
|
||||||
|
Hawk.delete(Constant.SELECT_GRID);
|
||||||
|
getGridData();
|
||||||
|
}).setTitleText("土地区域选择").setContentTextSize(20)
|
||||||
|
.setSelectOptions(0, 0)
|
||||||
|
.setTitleBgColor(Color.WHITE)
|
||||||
|
.isRestoreItem(true)//切换时是否还原,设置默认选中第一项。
|
||||||
|
.isCenterLabel(false) //是否只显示中间选中项的label文字,false则每项item全部都带有label。
|
||||||
|
.setOutSideColor(0x00000000) //设置外部遮罩颜色
|
||||||
|
.addOnCancelClickListener(view -> {
|
||||||
|
if (selectRegion == null) {
|
||||||
|
finish();
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.build();
|
||||||
|
|
||||||
|
landRegionPickerView.setPicker(landAreaRegionData.get(0).getAreaChildVOS(), subLandData);//二级选择器
|
||||||
|
}
|
||||||
|
landRegionPickerView.show();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void showGridNoticeMsg() {
|
||||||
|
MessageDialog.show("选择网格", "不继续选择网格信息了吗?", "确定", "取消")
|
||||||
|
.setOkButton((baseDialog, v1) -> {
|
||||||
|
finish();
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
private void showLandGridDialog() {
|
||||||
|
if (landGridPickerView == null) {
|
||||||
|
landGridPickerView = new OptionsPickerBuilder(this, (options1, options2, options3, v) -> {
|
||||||
|
selectGrid = landGridData.getRecords().get(options1);
|
||||||
|
Hawk.put(Constant.SELECT_GRID, selectGrid);
|
||||||
|
}).setTitleText("土地网格选择").setContentTextSize(20)
|
||||||
|
.setSelectOptions(0)
|
||||||
|
.setTitleBgColor(Color.WHITE)
|
||||||
|
.isRestoreItem(true)
|
||||||
|
.isCenterLabel(false)
|
||||||
|
.setOutSideColor(0x00000000)
|
||||||
|
.addOnCancelClickListener(view -> {
|
||||||
|
if (selectGrid == null) {
|
||||||
|
showGridNoticeMsg();
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.build();
|
||||||
|
|
||||||
|
landGridPickerView.setPicker(landGridData.getRecords());
|
||||||
|
}
|
||||||
|
landGridPickerView.show();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void requestData() {
|
||||||
|
mData = new ArrayList<>();
|
||||||
|
UtilizationControlEntity item1 = new UtilizationControlEntity();
|
||||||
|
item1.setImg(R.mipmap.pic_utilization_control_1);
|
||||||
|
item1.setName("生物有机肥");
|
||||||
|
item1.setCategory("化肥");
|
||||||
|
item1.setUserName("赵宇");
|
||||||
|
item1.setUserPhone("13610402035");
|
||||||
|
item1.setAddress("耿马镇新城村388号");
|
||||||
|
item1.setDate("2025-05-13");
|
||||||
|
mData.add(item1);
|
||||||
|
|
||||||
|
UtilizationControlEntity item2 = new UtilizationControlEntity();
|
||||||
|
item2.setImg(R.mipmap.pic_utilization_control_2);
|
||||||
|
item2.setName("精草安磷");
|
||||||
|
item2.setCategory("农药");
|
||||||
|
item2.setUserName("李腾峰");
|
||||||
|
item2.setUserPhone("18454646524");
|
||||||
|
item2.setAddress("贺派乡永平村68号");
|
||||||
|
item2.setDate("2025-05-13");
|
||||||
|
mData.add(item2);
|
||||||
|
|
||||||
|
UtilizationControlEntity item3 = new UtilizationControlEntity();
|
||||||
|
item3.setImg(R.mipmap.pic_utilization_control_3);
|
||||||
|
item3.setName("苯醚甲环唑");
|
||||||
|
item3.setCategory("农药");
|
||||||
|
item3.setUserName("胡一");
|
||||||
|
item3.setUserPhone("19548422562");
|
||||||
|
item3.setAddress("孟定镇河西村154号");
|
||||||
|
item3.setDate("2025-05-13");
|
||||||
|
mData.add(item3);
|
||||||
|
|
||||||
|
UtilizationControlEntity item4 = new UtilizationControlEntity();
|
||||||
|
item4.setImg(R.mipmap.pic_utilization_control_4);
|
||||||
|
item4.setName("通用型菌立清");
|
||||||
|
item4.setCategory("农药");
|
||||||
|
item4.setUserName("胡一");
|
||||||
|
item4.setUserPhone("19548422562");
|
||||||
|
item4.setAddress("孟定镇河西村154号");
|
||||||
|
item4.setDate("2025-05-13");
|
||||||
|
mData.add(item4);
|
||||||
|
|
||||||
|
adapter.setNewData(mData);
|
||||||
|
binding.refreshRecycler.showContent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private class UtilizationControlAdapter extends BaseQuickAdapter<UtilizationControlEntity, BaseViewHolder> {
|
||||||
|
|
||||||
|
public UtilizationControlAdapter() {
|
||||||
|
super(R.layout.item_list_utilization_control);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void convert(@NonNull BaseViewHolder holder, UtilizationControlEntity entity) {
|
||||||
|
holder.setImageResource(R.id.img, entity.getImg());
|
||||||
|
holder.setText(R.id.title, entity.getName());
|
||||||
|
holder.setText(R.id.user, entity.getUserName() + " " + entity.getUserPhone());
|
||||||
|
holder.setText(R.id.address, entity.getAddress());
|
||||||
|
holder.setText(R.id.date, entity.getDate());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,25 @@
|
|||||||
|
package com.tairui.gov_affairs_cloud.ui.input;
|
||||||
|
|
||||||
|
import com.tairui.gov_affairs_cloud.base.BaseActivity;
|
||||||
|
import com.tairui.gov_affairs_cloud.databinding.ActivityUtilizationControlDetailBinding;
|
||||||
|
import com.tairui.gov_affairs_cloud.util.SingleClickListener;
|
||||||
|
|
||||||
|
import android.view.View;
|
||||||
|
|
||||||
|
public class UtilizationControlDetailActivity extends BaseActivity<ActivityUtilizationControlDetailBinding> {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected Class<ActivityUtilizationControlDetailBinding> getBindingClass() {
|
||||||
|
return ActivityUtilizationControlDetailBinding.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onBindListener() {
|
||||||
|
binding.btnBack.setOnClickListener(new SingleClickListener() {
|
||||||
|
@Override
|
||||||
|
protected void onSingleClick(View v) {
|
||||||
|
finish();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,67 @@
|
|||||||
|
package com.tairui.gov_affairs_cloud.ui.input.entity;
|
||||||
|
|
||||||
|
public class UtilizationControlEntity {
|
||||||
|
private int img;
|
||||||
|
private String name;
|
||||||
|
private String category;
|
||||||
|
private String userName;
|
||||||
|
private String userPhone;
|
||||||
|
private String address;
|
||||||
|
private String date;
|
||||||
|
|
||||||
|
public int getImg() {
|
||||||
|
return img;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setImg(int img) {
|
||||||
|
this.img = img;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCategory() {
|
||||||
|
return category;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCategory(String category) {
|
||||||
|
this.category = category;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUserName() {
|
||||||
|
return userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserName(String userName) {
|
||||||
|
this.userName = userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUserPhone() {
|
||||||
|
return userPhone;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserPhone(String userPhone) {
|
||||||
|
this.userPhone = userPhone;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAddress() {
|
||||||
|
return address;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAddress(String address) {
|
||||||
|
this.address = address;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDate() {
|
||||||
|
return date;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDate(String date) {
|
||||||
|
this.date = date;
|
||||||
|
}
|
||||||
|
}
|
@ -14,9 +14,11 @@ import com.tairui.gov_affairs_cloud.entity.Api;
|
|||||||
import com.tairui.gov_affairs_cloud.entity.EventConstant;
|
import com.tairui.gov_affairs_cloud.entity.EventConstant;
|
||||||
import com.tairui.gov_affairs_cloud.entity.EventMessage;
|
import com.tairui.gov_affairs_cloud.entity.EventMessage;
|
||||||
import com.tairui.gov_affairs_cloud.http.OnError;
|
import com.tairui.gov_affairs_cloud.http.OnError;
|
||||||
|
import com.tairui.gov_affairs_cloud.ui.input.InputGoodsDetailActivity;
|
||||||
import com.tairui.gov_affairs_cloud.ui.input.entity.InputGoodsListEntity;
|
import com.tairui.gov_affairs_cloud.ui.input.entity.InputGoodsListEntity;
|
||||||
import com.tairui.gov_affairs_cloud.util.AppUtil;
|
import com.tairui.gov_affairs_cloud.util.AppUtil;
|
||||||
import com.tairui.gov_affairs_cloud.util.ArrayUtil;
|
import com.tairui.gov_affairs_cloud.util.ArrayUtil;
|
||||||
|
import com.tairui.gov_affairs_cloud.util.IntentUtil;
|
||||||
import com.tairui.gov_affairs_cloud.util.ToastUtil;
|
import com.tairui.gov_affairs_cloud.util.ToastUtil;
|
||||||
import com.tairui.gov_affairs_cloud.util.glide.GlideLoader;
|
import com.tairui.gov_affairs_cloud.util.glide.GlideLoader;
|
||||||
import com.tairui.gov_affairs_cloud.widget.RefreshRecyclerView;
|
import com.tairui.gov_affairs_cloud.widget.RefreshRecyclerView;
|
||||||
@ -108,9 +110,7 @@ public class InputGoodsFragment extends BaseFragment<FragmentLandResourceInfoBin
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
adapter.setOnItemClickListener((baseQuickAdapter, view, i) -> {
|
adapter.setOnItemClickListener((baseQuickAdapter, view, i) -> {
|
||||||
// Bundle bundle = new Bundle();
|
IntentUtil.startActivity(mContext, InputGoodsDetailActivity.class);
|
||||||
// bundle.putSerializable("data", (Serializable) adapter.getItem(i));
|
|
||||||
// IntentUtil.startActivity(mContext, LandInfoDetailActivity.class, bundle);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -0,0 +1,157 @@
|
|||||||
|
package com.tairui.gov_affairs_cloud.ui.nyscjyzt;
|
||||||
|
|
||||||
|
import com.chad.library.adapter.base.BaseQuickAdapter;
|
||||||
|
import com.chad.library.adapter.base.BaseViewHolder;
|
||||||
|
import com.rxjava.rxlife.RxLife;
|
||||||
|
import com.tairui.gov_affairs_cloud.R;
|
||||||
|
import com.tairui.gov_affairs_cloud.base.BaseActivity;
|
||||||
|
import com.tairui.gov_affairs_cloud.databinding.ActivityBusinessManagementListBinding;
|
||||||
|
import com.tairui.gov_affairs_cloud.entity.Api;
|
||||||
|
import com.tairui.gov_affairs_cloud.http.OnError;
|
||||||
|
import com.tairui.gov_affairs_cloud.ui.input.InputGoodsDetailActivity;
|
||||||
|
import com.tairui.gov_affairs_cloud.ui.nyscjyzt.entity.BusinessManagementEntity;
|
||||||
|
import com.tairui.gov_affairs_cloud.util.ArrayUtil;
|
||||||
|
import com.tairui.gov_affairs_cloud.util.IntentUtil;
|
||||||
|
import com.tairui.gov_affairs_cloud.util.SingleClickListener;
|
||||||
|
import com.tairui.gov_affairs_cloud.util.ToastUtil;
|
||||||
|
import com.tairui.gov_affairs_cloud.widget.RefreshRecyclerView;
|
||||||
|
|
||||||
|
import android.os.Bundle;
|
||||||
|
import android.view.View;
|
||||||
|
import androidx.annotation.NonNull;
|
||||||
|
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||||
|
import rxhttp.RxHttp;
|
||||||
|
import rxhttp.RxHttpNoBodyParam;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 企业管理
|
||||||
|
*/
|
||||||
|
public class BusinessManagementActivity extends BaseActivity<ActivityBusinessManagementListBinding> {
|
||||||
|
private BusinessManagementAdapter adapter;
|
||||||
|
private int currentPageIndex = 1;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected Class<ActivityBusinessManagementListBinding> getBindingClass() {
|
||||||
|
return ActivityBusinessManagementListBinding.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onQueryArguments() {
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onBindListener() {
|
||||||
|
binding.btnBack.setOnClickListener(new SingleClickListener() {
|
||||||
|
@Override
|
||||||
|
protected void onSingleClick(View v) {
|
||||||
|
finish();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
binding.refreshRecycler.setRefreshRecyclerListener(new RefreshRecyclerView.RefreshRecyclerListener() {
|
||||||
|
@Override
|
||||||
|
public void onRefresh() {
|
||||||
|
currentPageIndex = 1;
|
||||||
|
requestData(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onLoadmore() {
|
||||||
|
requestData(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onBlankClick() {
|
||||||
|
binding.refreshRecycler.showLoading();
|
||||||
|
currentPageIndex = 1;
|
||||||
|
requestData(false);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
adapter.setOnItemClickListener((baseQuickAdapter, view, i) -> {
|
||||||
|
IntentUtil.startActivity(mContext, InputGoodsDetailActivity.class);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onFindView(Bundle savedInstanceState) {
|
||||||
|
binding.refreshRecycler.setLayoutManager(new LinearLayoutManager(mContext));
|
||||||
|
adapter = new BusinessManagementAdapter();
|
||||||
|
binding.refreshRecycler.setAdapter(adapter);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onApplyData() {
|
||||||
|
binding.refreshRecycler.showLoading();
|
||||||
|
currentPageIndex = 1;
|
||||||
|
requestData(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private void requestData(boolean loadmore) {
|
||||||
|
RxHttpNoBodyParam http = RxHttp.get(Api.BUSINESS_MANAGEMENT_LIST);
|
||||||
|
http.add("pageNum", currentPageIndex)
|
||||||
|
.add("pageSize", Api.SIZE_PAGE)
|
||||||
|
.asResponse(BusinessManagementEntity.class)
|
||||||
|
.as(RxLife.asOnMain(this))
|
||||||
|
.subscribe(data -> {
|
||||||
|
if (loadmore) {
|
||||||
|
binding.refreshRecycler.finishLoadMore();
|
||||||
|
}
|
||||||
|
if (!ArrayUtil.isEmpty(data.getRecords())) {
|
||||||
|
if (loadmore) {
|
||||||
|
adapter.addData(data.getRecords());
|
||||||
|
} else {
|
||||||
|
adapter.setNewData(data.getRecords());
|
||||||
|
}
|
||||||
|
currentPageIndex += 1;
|
||||||
|
if (ArrayUtil.size(data.getRecords()) < Api.SIZE_PAGE) {
|
||||||
|
binding.refreshRecycler.setNoMoreData(true);
|
||||||
|
} else {
|
||||||
|
binding.refreshRecycler.setNoMoreData(false);
|
||||||
|
}
|
||||||
|
binding.refreshRecycler.showContent();
|
||||||
|
} else {
|
||||||
|
binding.refreshRecycler.showError();
|
||||||
|
binding.refreshRecycler.setNoMoreData(true);
|
||||||
|
}
|
||||||
|
}, (OnError) error -> {
|
||||||
|
binding.refreshRecycler.showError();
|
||||||
|
binding.refreshRecycler.setNoMoreData(true);
|
||||||
|
ToastUtil.showLongToast(error.getErrorMsg());
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
private class BusinessManagementAdapter extends BaseQuickAdapter<BusinessManagementEntity.RecordsEntity, BaseViewHolder> {
|
||||||
|
|
||||||
|
public BusinessManagementAdapter() {
|
||||||
|
super(R.layout.item_list_business_management);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void convert(@NonNull BaseViewHolder holder, BusinessManagementEntity.RecordsEntity entity) {
|
||||||
|
holder.setText(R.id.tvName, entity.getBusinessName());
|
||||||
|
//0-待提交 1-待审核 2-已通过 3-已驳回
|
||||||
|
if (entity.getStatus().equals("2")) {
|
||||||
|
holder.setText(R.id.tvStatus, "已通过");
|
||||||
|
holder.setBackgroundRes(R.id.tvStatus, R.drawable.bg_container_light_green_raduis_2);
|
||||||
|
holder.setTextColor(R.id.tvStatus, getResColor(R.color.color_txt_green));
|
||||||
|
} else if (entity.getStatus().equals("1")) {
|
||||||
|
holder.setText(R.id.tvStatus, "待审核");
|
||||||
|
holder.setBackgroundRes(R.id.tvStatus, R.drawable.bg_container_light_blue_raduis_2);
|
||||||
|
holder.setTextColor(R.id.tvStatus, getResColor(R.color.color_txt_blue));
|
||||||
|
} else if (entity.getStatus().equals("3")) {
|
||||||
|
holder.setText(R.id.tvStatus, "已驳回");
|
||||||
|
holder.setBackgroundRes(R.id.tvStatus, R.drawable.bg_container_light_orange_raduis_2);
|
||||||
|
holder.setTextColor(R.id.tvStatus, getResColor(R.color.color_txt_orange));
|
||||||
|
} else if (entity.getStatus().equals("0")) {
|
||||||
|
holder.setText(R.id.tvStatus, "待提交");
|
||||||
|
holder.setBackgroundRes(R.id.tvStatus, R.drawable.bg_container_light_gray_raduis_2);
|
||||||
|
holder.setTextColor(R.id.tvStatus, getResColor(R.color.color_tv_content));
|
||||||
|
}
|
||||||
|
holder.setText(R.id.tvComType, entity.getComType());
|
||||||
|
holder.setText(R.id.tvArea, entity.getArea() + "亩");
|
||||||
|
holder.setText(R.id.tvScope, "经营品类:" + entity.getBusinessScope());
|
||||||
|
holder.setText(R.id.tvPerson, entity.getContactPerson() + " " + entity.getPhone());
|
||||||
|
holder.setText(R.id.tvAddress, entity.getRegAddress());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,582 @@
|
|||||||
|
package com.tairui.gov_affairs_cloud.ui.nyscjyzt.entity;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.google.gson.annotations.SerializedName;
|
||||||
|
|
||||||
|
public class BusinessManagementEntity {
|
||||||
|
|
||||||
|
@SerializedName("total")
|
||||||
|
private Integer total;
|
||||||
|
@SerializedName("size")
|
||||||
|
private Integer size;
|
||||||
|
@SerializedName("current")
|
||||||
|
private Integer current;
|
||||||
|
@SerializedName("optimizeCountSql")
|
||||||
|
private Boolean optimizeCountSql;
|
||||||
|
@SerializedName("searchCount")
|
||||||
|
private Boolean searchCount;
|
||||||
|
@SerializedName("maxLimit")
|
||||||
|
private Object maxLimit;
|
||||||
|
@SerializedName("countId")
|
||||||
|
private Object countId;
|
||||||
|
@SerializedName("pages")
|
||||||
|
private Integer pages;
|
||||||
|
@SerializedName("records")
|
||||||
|
private List<RecordsEntity> records;
|
||||||
|
@SerializedName("orders")
|
||||||
|
private List<?> orders;
|
||||||
|
|
||||||
|
public Integer getTotal() {
|
||||||
|
return total;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTotal(Integer total) {
|
||||||
|
this.total = total;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getSize() {
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSize(Integer size) {
|
||||||
|
this.size = size;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getCurrent() {
|
||||||
|
return current;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCurrent(Integer current) {
|
||||||
|
this.current = current;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Boolean isOptimizeCountSql() {
|
||||||
|
return optimizeCountSql;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setOptimizeCountSql(Boolean optimizeCountSql) {
|
||||||
|
this.optimizeCountSql = optimizeCountSql;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Boolean isSearchCount() {
|
||||||
|
return searchCount;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSearchCount(Boolean searchCount) {
|
||||||
|
this.searchCount = searchCount;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Object getMaxLimit() {
|
||||||
|
return maxLimit;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMaxLimit(Object maxLimit) {
|
||||||
|
this.maxLimit = maxLimit;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Object getCountId() {
|
||||||
|
return countId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCountId(Object countId) {
|
||||||
|
this.countId = countId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getPages() {
|
||||||
|
return pages;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPages(Integer pages) {
|
||||||
|
this.pages = pages;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<RecordsEntity> getRecords() {
|
||||||
|
return records;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRecords(List<RecordsEntity> records) {
|
||||||
|
this.records = records;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<?> getOrders() {
|
||||||
|
return orders;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setOrders(List<?> orders) {
|
||||||
|
this.orders = orders;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class RecordsEntity {
|
||||||
|
@SerializedName("id")
|
||||||
|
private String id;
|
||||||
|
@SerializedName("businessName")
|
||||||
|
private String businessName;
|
||||||
|
@SerializedName("area")
|
||||||
|
private String area;
|
||||||
|
@SerializedName("primaryProduct")
|
||||||
|
private String primaryProduct;
|
||||||
|
@SerializedName("contactPerson")
|
||||||
|
private String contactPerson;
|
||||||
|
@SerializedName("phone")
|
||||||
|
private String phone;
|
||||||
|
@SerializedName("villageCount")
|
||||||
|
private String villageCount;
|
||||||
|
@SerializedName("provinceCode")
|
||||||
|
private String provinceCode;
|
||||||
|
@SerializedName("cityCode")
|
||||||
|
private String cityCode;
|
||||||
|
@SerializedName("countyCode")
|
||||||
|
private String countyCode;
|
||||||
|
@SerializedName("townCode")
|
||||||
|
private String townCode;
|
||||||
|
@SerializedName("villageCode")
|
||||||
|
private String villageCode;
|
||||||
|
@SerializedName("landCount")
|
||||||
|
private String landCount;
|
||||||
|
@SerializedName("landNumber")
|
||||||
|
private String landNumber;
|
||||||
|
@SerializedName("landId")
|
||||||
|
private String landId;
|
||||||
|
@SerializedName("landName")
|
||||||
|
private String landName;
|
||||||
|
@SerializedName("gridCode")
|
||||||
|
private String gridCode;
|
||||||
|
@SerializedName("planCrop")
|
||||||
|
private String planCrop;
|
||||||
|
@SerializedName("cooperativePhoto")
|
||||||
|
private String cooperativePhoto;
|
||||||
|
@SerializedName("businessLicence")
|
||||||
|
private String businessLicence;
|
||||||
|
@SerializedName("comName")
|
||||||
|
private String comName;
|
||||||
|
@SerializedName("uscc")
|
||||||
|
private String uscc;
|
||||||
|
@SerializedName("legalRep")
|
||||||
|
private String legalRep;
|
||||||
|
@SerializedName("registrationStatus")
|
||||||
|
private String registrationStatus;
|
||||||
|
@SerializedName("comType")
|
||||||
|
private String comType;
|
||||||
|
@SerializedName("estDate")
|
||||||
|
private String estDate;
|
||||||
|
@SerializedName("regAuthority")
|
||||||
|
private String regAuthority;
|
||||||
|
@SerializedName("totalCapital")
|
||||||
|
private String totalCapital;
|
||||||
|
@SerializedName("approveDate")
|
||||||
|
private String approveDate;
|
||||||
|
@SerializedName("regAddress")
|
||||||
|
private String regAddress;
|
||||||
|
@SerializedName("businessDate")
|
||||||
|
private String businessDate;
|
||||||
|
@SerializedName("businessScope")
|
||||||
|
private String businessScope;
|
||||||
|
@SerializedName("liabilities")
|
||||||
|
private String liabilities;
|
||||||
|
@SerializedName("profit")
|
||||||
|
private String profit;
|
||||||
|
@SerializedName("cashFlow")
|
||||||
|
private String cashFlow;
|
||||||
|
@SerializedName("creditEvaluation")
|
||||||
|
private Integer creditEvaluation;
|
||||||
|
@SerializedName("supportedFarmers")
|
||||||
|
private Integer supportedFarmers;
|
||||||
|
@SerializedName("socialImpact")
|
||||||
|
private Integer socialImpact;
|
||||||
|
@SerializedName("techApplication")
|
||||||
|
private Integer techApplication;
|
||||||
|
@SerializedName("productQuality")
|
||||||
|
private Integer productQuality;
|
||||||
|
@SerializedName("reason")
|
||||||
|
private String reason;
|
||||||
|
@SerializedName("status")
|
||||||
|
private String status;
|
||||||
|
@SerializedName("address")
|
||||||
|
private String address;
|
||||||
|
@SerializedName("createTime")
|
||||||
|
private String createTime;
|
||||||
|
@SerializedName("createUser")
|
||||||
|
private String createUser;
|
||||||
|
@SerializedName("updateTime")
|
||||||
|
private String updateTime;
|
||||||
|
@SerializedName("updateUser")
|
||||||
|
private String updateUser;
|
||||||
|
|
||||||
|
public String getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(String id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getBusinessName() {
|
||||||
|
return businessName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBusinessName(String businessName) {
|
||||||
|
this.businessName = businessName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getArea() {
|
||||||
|
return area;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setArea(String area) {
|
||||||
|
this.area = area;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPrimaryProduct() {
|
||||||
|
return primaryProduct;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPrimaryProduct(String primaryProduct) {
|
||||||
|
this.primaryProduct = primaryProduct;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getContactPerson() {
|
||||||
|
return contactPerson;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setContactPerson(String contactPerson) {
|
||||||
|
this.contactPerson = contactPerson;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPhone() {
|
||||||
|
return phone;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPhone(String phone) {
|
||||||
|
this.phone = phone;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getVillageCount() {
|
||||||
|
return villageCount;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setVillageCount(String villageCount) {
|
||||||
|
this.villageCount = villageCount;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getProvinceCode() {
|
||||||
|
return provinceCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setProvinceCode(String provinceCode) {
|
||||||
|
this.provinceCode = provinceCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCityCode() {
|
||||||
|
return cityCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCityCode(String cityCode) {
|
||||||
|
this.cityCode = cityCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCountyCode() {
|
||||||
|
return countyCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCountyCode(String countyCode) {
|
||||||
|
this.countyCode = countyCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTownCode() {
|
||||||
|
return townCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTownCode(String townCode) {
|
||||||
|
this.townCode = townCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getVillageCode() {
|
||||||
|
return villageCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setVillageCode(String villageCode) {
|
||||||
|
this.villageCode = villageCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLandCount() {
|
||||||
|
return landCount;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLandCount(String landCount) {
|
||||||
|
this.landCount = landCount;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLandNumber() {
|
||||||
|
return landNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLandNumber(String landNumber) {
|
||||||
|
this.landNumber = landNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLandId() {
|
||||||
|
return landId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLandId(String landId) {
|
||||||
|
this.landId = landId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLandName() {
|
||||||
|
return landName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLandName(String landName) {
|
||||||
|
this.landName = landName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getGridCode() {
|
||||||
|
return gridCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setGridCode(String gridCode) {
|
||||||
|
this.gridCode = gridCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPlanCrop() {
|
||||||
|
return planCrop;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPlanCrop(String planCrop) {
|
||||||
|
this.planCrop = planCrop;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCooperativePhoto() {
|
||||||
|
return cooperativePhoto;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCooperativePhoto(String cooperativePhoto) {
|
||||||
|
this.cooperativePhoto = cooperativePhoto;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getBusinessLicence() {
|
||||||
|
return businessLicence;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBusinessLicence(String businessLicence) {
|
||||||
|
this.businessLicence = businessLicence;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getComName() {
|
||||||
|
return comName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setComName(String comName) {
|
||||||
|
this.comName = comName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUscc() {
|
||||||
|
return uscc;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUscc(String uscc) {
|
||||||
|
this.uscc = uscc;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLegalRep() {
|
||||||
|
return legalRep;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLegalRep(String legalRep) {
|
||||||
|
this.legalRep = legalRep;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getRegistrationStatus() {
|
||||||
|
return registrationStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRegistrationStatus(String registrationStatus) {
|
||||||
|
this.registrationStatus = registrationStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getComType() {
|
||||||
|
return comType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setComType(String comType) {
|
||||||
|
this.comType = comType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getEstDate() {
|
||||||
|
return estDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setEstDate(String estDate) {
|
||||||
|
this.estDate = estDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getRegAuthority() {
|
||||||
|
return regAuthority;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRegAuthority(String regAuthority) {
|
||||||
|
this.regAuthority = regAuthority;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTotalCapital() {
|
||||||
|
return totalCapital;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTotalCapital(String totalCapital) {
|
||||||
|
this.totalCapital = totalCapital;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getApproveDate() {
|
||||||
|
return approveDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setApproveDate(String approveDate) {
|
||||||
|
this.approveDate = approveDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getRegAddress() {
|
||||||
|
return regAddress;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRegAddress(String regAddress) {
|
||||||
|
this.regAddress = regAddress;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getBusinessDate() {
|
||||||
|
return businessDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBusinessDate(String businessDate) {
|
||||||
|
this.businessDate = businessDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getBusinessScope() {
|
||||||
|
return businessScope;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBusinessScope(String businessScope) {
|
||||||
|
this.businessScope = businessScope;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLiabilities() {
|
||||||
|
return liabilities;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLiabilities(String liabilities) {
|
||||||
|
this.liabilities = liabilities;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getProfit() {
|
||||||
|
return profit;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setProfit(String profit) {
|
||||||
|
this.profit = profit;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCashFlow() {
|
||||||
|
return cashFlow;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCashFlow(String cashFlow) {
|
||||||
|
this.cashFlow = cashFlow;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getCreditEvaluation() {
|
||||||
|
return creditEvaluation;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCreditEvaluation(Integer creditEvaluation) {
|
||||||
|
this.creditEvaluation = creditEvaluation;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getSupportedFarmers() {
|
||||||
|
return supportedFarmers;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSupportedFarmers(Integer supportedFarmers) {
|
||||||
|
this.supportedFarmers = supportedFarmers;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getSocialImpact() {
|
||||||
|
return socialImpact;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSocialImpact(Integer socialImpact) {
|
||||||
|
this.socialImpact = socialImpact;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getTechApplication() {
|
||||||
|
return techApplication;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTechApplication(Integer techApplication) {
|
||||||
|
this.techApplication = techApplication;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getProductQuality() {
|
||||||
|
return productQuality;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setProductQuality(Integer productQuality) {
|
||||||
|
this.productQuality = productQuality;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getReason() {
|
||||||
|
return reason;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setReason(String reason) {
|
||||||
|
this.reason = reason;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getStatus() {
|
||||||
|
return status;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setStatus(String status) {
|
||||||
|
this.status = status;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAddress() {
|
||||||
|
return address;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAddress(String address) {
|
||||||
|
this.address = address;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCreateTime() {
|
||||||
|
return createTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCreateTime(String createTime) {
|
||||||
|
this.createTime = createTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCreateUser() {
|
||||||
|
return createUser;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCreateUser(String createUser) {
|
||||||
|
this.createUser = createUser;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUpdateTime() {
|
||||||
|
return updateTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUpdateTime(String updateTime) {
|
||||||
|
this.updateTime = updateTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUpdateUser() {
|
||||||
|
return updateUser;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUpdateUser(String updateUser) {
|
||||||
|
this.updateUser = updateUser;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -9,12 +9,14 @@ import com.tairui.gov_affairs_cloud.R;
|
|||||||
import com.tairui.gov_affairs_cloud.base.BaseFragment;
|
import com.tairui.gov_affairs_cloud.base.BaseFragment;
|
||||||
import com.tairui.gov_affairs_cloud.databinding.FragmentWorkspaceBinding;
|
import com.tairui.gov_affairs_cloud.databinding.FragmentWorkspaceBinding;
|
||||||
import com.tairui.gov_affairs_cloud.ui.input.InputGoodsListActivity;
|
import com.tairui.gov_affairs_cloud.ui.input.InputGoodsListActivity;
|
||||||
|
import com.tairui.gov_affairs_cloud.ui.input.UtilizationControlActivity;
|
||||||
import com.tairui.gov_affairs_cloud.ui.land.GridInfoActivity;
|
import com.tairui.gov_affairs_cloud.ui.land.GridInfoActivity;
|
||||||
import com.tairui.gov_affairs_cloud.ui.land.IllegalListActivity;
|
import com.tairui.gov_affairs_cloud.ui.land.IllegalListActivity;
|
||||||
import com.tairui.gov_affairs_cloud.ui.land.InspectionListActivity;
|
import com.tairui.gov_affairs_cloud.ui.land.InspectionListActivity;
|
||||||
import com.tairui.gov_affairs_cloud.ui.land.LandActivity;
|
import com.tairui.gov_affairs_cloud.ui.land.LandActivity;
|
||||||
import com.tairui.gov_affairs_cloud.ui.land.LandResouceInfoActivity;
|
import com.tairui.gov_affairs_cloud.ui.land.LandResouceInfoActivity;
|
||||||
import com.tairui.gov_affairs_cloud.ui.land.PlantPlanActivity;
|
import com.tairui.gov_affairs_cloud.ui.land.PlantPlanActivity;
|
||||||
|
import com.tairui.gov_affairs_cloud.ui.nyscjyzt.BusinessManagementActivity;
|
||||||
import com.tairui.gov_affairs_cloud.ui.workspace.entity.WorkSpaceEntity;
|
import com.tairui.gov_affairs_cloud.ui.workspace.entity.WorkSpaceEntity;
|
||||||
import com.tairui.gov_affairs_cloud.util.IntentUtil;
|
import com.tairui.gov_affairs_cloud.util.IntentUtil;
|
||||||
|
|
||||||
@ -78,6 +80,10 @@ public class WorkSpaceFragment extends BaseFragment<FragmentWorkspaceBinding> {
|
|||||||
IntentUtil.startActivity(mContext, IllegalListActivity.class);
|
IntentUtil.startActivity(mContext, IllegalListActivity.class);
|
||||||
} else if (_id == 9) {
|
} else if (_id == 9) {
|
||||||
IntentUtil.startActivity(mContext, InputGoodsListActivity.class);
|
IntentUtil.startActivity(mContext, InputGoodsListActivity.class);
|
||||||
|
} else if (_id == 11) {
|
||||||
|
IntentUtil.startActivity(mContext, UtilizationControlActivity.class);
|
||||||
|
} else if (_id == 15) {
|
||||||
|
IntentUtil.startActivity(mContext, BusinessManagementActivity.class);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -141,7 +147,7 @@ public class WorkSpaceFragment extends BaseFragment<FragmentWorkspaceBinding> {
|
|||||||
workSpaceEntities.add(item);
|
workSpaceEntities.add(item);
|
||||||
|
|
||||||
item = new WorkSpaceEntity();
|
item = new WorkSpaceEntity();
|
||||||
item.setName("投入品管理");
|
item.setName("农产品种植管理");
|
||||||
funcs = new ArrayList<>();
|
funcs = new ArrayList<>();
|
||||||
|
|
||||||
itemFunc = new WorkSpaceEntity.FuncsEntity();
|
itemFunc = new WorkSpaceEntity.FuncsEntity();
|
||||||
@ -174,11 +180,11 @@ public class WorkSpaceFragment extends BaseFragment<FragmentWorkspaceBinding> {
|
|||||||
// itemFunc.setIcon(R.mipmap.ic_workspace_func_13);
|
// itemFunc.setIcon(R.mipmap.ic_workspace_func_13);
|
||||||
// funcs.add(itemFunc);
|
// funcs.add(itemFunc);
|
||||||
|
|
||||||
itemFunc = new WorkSpaceEntity.FuncsEntity();
|
// itemFunc = new WorkSpaceEntity.FuncsEntity();
|
||||||
itemFunc.setId(14);
|
// itemFunc.setId(14);
|
||||||
itemFunc.setName("知识库");
|
// itemFunc.setName("知识库");
|
||||||
itemFunc.setIcon(R.mipmap.ic_workspace_func_14);
|
// itemFunc.setIcon(R.mipmap.ic_workspace_func_14);
|
||||||
funcs.add(itemFunc);
|
// funcs.add(itemFunc);
|
||||||
|
|
||||||
itemFunc = new WorkSpaceEntity.FuncsEntity();
|
itemFunc = new WorkSpaceEntity.FuncsEntity();
|
||||||
itemFunc.setId(3);
|
itemFunc.setId(3);
|
||||||
@ -195,7 +201,7 @@ public class WorkSpaceFragment extends BaseFragment<FragmentWorkspaceBinding> {
|
|||||||
|
|
||||||
itemFunc = new WorkSpaceEntity.FuncsEntity();
|
itemFunc = new WorkSpaceEntity.FuncsEntity();
|
||||||
itemFunc.setId(15);
|
itemFunc.setId(15);
|
||||||
itemFunc.setName("农企合作社");
|
itemFunc.setName("企业管理");
|
||||||
itemFunc.setIcon(R.mipmap.ic_workspace_func_15);
|
itemFunc.setIcon(R.mipmap.ic_workspace_func_15);
|
||||||
funcs.add(itemFunc);
|
funcs.add(itemFunc);
|
||||||
|
|
||||||
|
@ -0,0 +1,83 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:background="@color/white"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.Toolbar
|
||||||
|
android:id="@+id/toolbar"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="?attr/actionBarSize"
|
||||||
|
android:background="@color/white"
|
||||||
|
app:contentInsetLeft="0dp"
|
||||||
|
app:contentInsetStart="0dp"
|
||||||
|
app:contentInsetStartWithNavigation="0dp"
|
||||||
|
app:layout_collapseMode="pin">
|
||||||
|
|
||||||
|
<FrameLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:paddingLeft="8dp"
|
||||||
|
android:paddingRight="8dp">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/btnBack"
|
||||||
|
android:layout_width="30dp"
|
||||||
|
android:layout_height="30dp"
|
||||||
|
android:layout_gravity="left|center_vertical"
|
||||||
|
android:padding="5dp"
|
||||||
|
android:src="@mipmap/ic_back_black" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/toolbar_title"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:text="企业管理"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="18sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/btnSearch"
|
||||||
|
android:layout_width="30dp"
|
||||||
|
android:layout_height="30dp"
|
||||||
|
android:layout_gravity="right|center_vertical"
|
||||||
|
android:padding="5dp"
|
||||||
|
android:src="@mipmap/ic_search" />
|
||||||
|
</FrameLayout>
|
||||||
|
</androidx.appcompat.widget.Toolbar>
|
||||||
|
|
||||||
|
|
||||||
|
<FrameLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="left|center_vertical"
|
||||||
|
android:paddingLeft="16dp"
|
||||||
|
android:paddingTop="12dp"
|
||||||
|
android:paddingRight="16dp"
|
||||||
|
android:paddingBottom="12dp"
|
||||||
|
android:text="农企/合作社主体信息表"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="20sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
</FrameLayout>
|
||||||
|
|
||||||
|
|
||||||
|
<com.tairui.gov_affairs_cloud.widget.RefreshRecyclerView
|
||||||
|
android:id="@+id/refreshRecycler"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:background="@color/color_f8f8f8" />
|
||||||
|
|
||||||
|
|
||||||
|
</LinearLayout>
|
418
app/src/main/res/layout/activity_input_goods_detail.xml
Normal file
@ -0,0 +1,418 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:background="@color/white"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.Toolbar
|
||||||
|
android:id="@+id/toolbar"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="?attr/actionBarSize"
|
||||||
|
android:background="@color/white"
|
||||||
|
app:contentInsetLeft="0dp"
|
||||||
|
app:contentInsetStart="0dp"
|
||||||
|
app:contentInsetStartWithNavigation="0dp"
|
||||||
|
app:layout_collapseMode="pin">
|
||||||
|
|
||||||
|
<FrameLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:paddingLeft="8dp"
|
||||||
|
android:paddingRight="8dp">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/btnBack"
|
||||||
|
android:layout_width="30dp"
|
||||||
|
android:layout_height="30dp"
|
||||||
|
android:layout_gravity="left|center_vertical"
|
||||||
|
android:padding="5dp"
|
||||||
|
android:src="@mipmap/ic_back_black" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/toolbar_title"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:text="详情"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="18sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/btnDelete"
|
||||||
|
android:layout_width="30dp"
|
||||||
|
android:layout_height="30dp"
|
||||||
|
android:layout_gravity="right|center_vertical"
|
||||||
|
android:padding="5dp"
|
||||||
|
android:src="@mipmap/ic_cancel" />
|
||||||
|
</FrameLayout>
|
||||||
|
</androidx.appcompat.widget.Toolbar>
|
||||||
|
|
||||||
|
<androidx.core.widget.NestedScrollView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:scrollbars="none">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:padding="16dp">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="12dp"
|
||||||
|
android:text="大白菜种子"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="20sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="340dp"
|
||||||
|
android:layout_gravity="center_horizontal"
|
||||||
|
android:layout_marginTop="30dp"
|
||||||
|
android:src="@mipmap/pic_input_1" />
|
||||||
|
|
||||||
|
<FrameLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="50dp"
|
||||||
|
android:layout_marginTop="12dp">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="left|center_vertical"
|
||||||
|
android:text="生产厂商"
|
||||||
|
android:textColor="@color/color_tv_content"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="right|center_vertical"
|
||||||
|
android:text="星耀苗圃培育基地"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="1dp"
|
||||||
|
android:layout_gravity="bottom"
|
||||||
|
android:background="@color/color_divider" />
|
||||||
|
|
||||||
|
</FrameLayout>
|
||||||
|
|
||||||
|
<FrameLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="50dp">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="left|center_vertical"
|
||||||
|
android:text="经销商"
|
||||||
|
android:textColor="@color/color_tv_content"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="right|center_vertical"
|
||||||
|
android:text="种源臻选阁"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="1dp"
|
||||||
|
android:layout_gravity="bottom"
|
||||||
|
android:background="@color/color_divider" />
|
||||||
|
|
||||||
|
</FrameLayout>
|
||||||
|
|
||||||
|
<FrameLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="50dp">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="left|center_vertical"
|
||||||
|
android:text="质检报告"
|
||||||
|
android:textColor="@color/color_tv_content"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
</FrameLayout>
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="590dp"
|
||||||
|
android:src="@mipmap/pic_input_2" />
|
||||||
|
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="20dp"
|
||||||
|
android:text="详细信息"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="20sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="20dp"
|
||||||
|
android:gravity="center_vertical|top"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="2"
|
||||||
|
android:text="品种名称"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="3"
|
||||||
|
android:text="红果一号"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="12dp"
|
||||||
|
android:gravity="center_vertical|top"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="2"
|
||||||
|
android:text="分类"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="3"
|
||||||
|
android:text="蔬菜种苗"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="12dp"
|
||||||
|
android:gravity="center_vertical|top"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="2"
|
||||||
|
android:text="播种时间"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="3"
|
||||||
|
android:text="据当地气候条件,一般在春季或秋季播种"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="12dp"
|
||||||
|
android:gravity="center_vertical|top"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="2"
|
||||||
|
android:text="种植密度"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="3"
|
||||||
|
android:text="每亩种植 2000 - 2500 株"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="12dp"
|
||||||
|
android:gravity="center_vertical|top"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="2"
|
||||||
|
android:text="施肥管理"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="3"
|
||||||
|
android:text="基肥以有机肥为主,配合适量的复合肥;生长期间根据植株生长情况适时追肥"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="12dp"
|
||||||
|
android:gravity="center_vertical|top"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="2"
|
||||||
|
android:text="水分管理"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="3"
|
||||||
|
android:text="保持土壤湿润,但避免积水,根据天气情况和植株生长阶段合理浇水"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="12dp"
|
||||||
|
android:gravity="center_vertical|top"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="2"
|
||||||
|
android:text="水分管理"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="3"
|
||||||
|
android:text="保持土壤湿润,但避免积水,根据天气情况和植株生长阶段合理浇水"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="12dp"
|
||||||
|
android:gravity="center_vertical|top"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="2"
|
||||||
|
android:text="病虫害防治"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="3"
|
||||||
|
android:text="保持土壤湿润,但避免积水,根据天气情况和植株生长阶段合理浇水"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="12dp"
|
||||||
|
android:gravity="center_vertical|top"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="2"
|
||||||
|
android:text="注意事项"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="3"
|
||||||
|
android:text="种苗应在通风、阴凉、干燥的环境中保存,避免阳光直射和高温潮湿。移栽时要小心操作,避免损伤根系。按照栽培要点进行管理,以确保种苗的正常生长和发育。"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
</androidx.core.widget.NestedScrollView>
|
||||||
|
|
||||||
|
</LinearLayout>
|
@ -26,7 +26,7 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="年度种植计划"
|
android:text="农产品种植进度管理"
|
||||||
android:textColor="@color/color_txt_black"
|
android:textColor="@color/color_txt_black"
|
||||||
android:textSize="18sp"
|
android:textSize="18sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
|
390
app/src/main/res/layout/activity_utilization_control_detail.xml
Normal file
@ -0,0 +1,390 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:background="@color/white"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.Toolbar
|
||||||
|
android:id="@+id/toolbar"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="?attr/actionBarSize"
|
||||||
|
android:background="@color/white"
|
||||||
|
app:contentInsetLeft="0dp"
|
||||||
|
app:contentInsetStart="0dp"
|
||||||
|
app:contentInsetStartWithNavigation="0dp"
|
||||||
|
app:layout_collapseMode="pin">
|
||||||
|
|
||||||
|
<FrameLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:paddingLeft="8dp"
|
||||||
|
android:paddingRight="8dp">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/btnBack"
|
||||||
|
android:layout_width="30dp"
|
||||||
|
android:layout_height="30dp"
|
||||||
|
android:layout_gravity="left|center_vertical"
|
||||||
|
android:padding="5dp"
|
||||||
|
android:src="@mipmap/ic_back_black" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/toolbar_title"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:text="详情"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="18sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/btnDelete"
|
||||||
|
android:layout_width="30dp"
|
||||||
|
android:layout_height="30dp"
|
||||||
|
android:layout_gravity="right|center_vertical"
|
||||||
|
android:padding="5dp"
|
||||||
|
android:src="@mipmap/ic_cancel" />
|
||||||
|
</FrameLayout>
|
||||||
|
</androidx.appcompat.widget.Toolbar>
|
||||||
|
|
||||||
|
<androidx.core.widget.NestedScrollView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:scrollbars="none">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:paddingTop="16dp"
|
||||||
|
android:paddingLeft="24dp"
|
||||||
|
android:paddingRight="24dp"
|
||||||
|
android:paddingBottom="16dp"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="20dp"
|
||||||
|
android:gravity="center_vertical|top"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="2"
|
||||||
|
android:text="姓名"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="3"
|
||||||
|
android:text="赵宇"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="20dp"
|
||||||
|
android:gravity="center_vertical|top"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="2"
|
||||||
|
android:text="联系方式"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="3"
|
||||||
|
android:text="136 1040 2035"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="20dp"
|
||||||
|
android:gravity="center_vertical|top"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="2"
|
||||||
|
android:text="分类"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="3"
|
||||||
|
android:text="肥料"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="20dp"
|
||||||
|
android:gravity="center_vertical|top"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="2"
|
||||||
|
android:text="图片"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="340dp"
|
||||||
|
android:layout_gravity="center_horizontal"
|
||||||
|
android:layout_marginTop="12dp"
|
||||||
|
android:src="@mipmap/pic_utilization_control_5" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="20dp"
|
||||||
|
android:gravity="center_vertical|top"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="2"
|
||||||
|
android:text="购买量"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="3"
|
||||||
|
android:text="50kg"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="20dp"
|
||||||
|
android:gravity="center_vertical|top"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="2"
|
||||||
|
android:text="购买时间"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="3"
|
||||||
|
android:text="2024-10-15"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="20dp"
|
||||||
|
android:gravity="center_vertical|top"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="2"
|
||||||
|
android:text="使用量:"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="3"
|
||||||
|
android:text="20kg"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="20dp"
|
||||||
|
android:gravity="center_vertical|top"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="2"
|
||||||
|
android:text="使用时间"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="3"
|
||||||
|
android:text="2024-10-15"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="20dp"
|
||||||
|
android:gravity="center_vertical|top"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="2"
|
||||||
|
android:text="关联土地"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="3"
|
||||||
|
android:text="碧泉湖87号地块"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="20dp"
|
||||||
|
android:gravity="center_vertical|top"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="2"
|
||||||
|
android:text="土地检测报告"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="20dp"
|
||||||
|
android:background="@drawable/bg_container_white_raduis_5_border"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:paddingLeft="24dp"
|
||||||
|
android:paddingTop="16dp"
|
||||||
|
android:paddingRight="24dp"
|
||||||
|
android:paddingBottom="16dp">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="星辰土地环境检测站"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="16sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<FrameLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="12dp">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="left|center_vertical"
|
||||||
|
android:text="检测时间:2022-11-22"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="12sp" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="right|center_vertical"
|
||||||
|
android:text="合格"
|
||||||
|
android:textColor="@color/color_txt_blue"
|
||||||
|
android:textSize="12sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="right|center_vertical"
|
||||||
|
android:layout_marginRight="24dp"
|
||||||
|
android:text="检测结果:"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="12sp" />
|
||||||
|
</FrameLayout>
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="450dp"
|
||||||
|
android:layout_marginTop="12dp"
|
||||||
|
android:src="@mipmap/pic_utilization_control_6" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
</androidx.core.widget.NestedScrollView>
|
||||||
|
|
||||||
|
</LinearLayout>
|
@ -0,0 +1,99 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:background="@color/white"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.Toolbar
|
||||||
|
android:id="@+id/toolbar"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="?attr/actionBarSize"
|
||||||
|
android:background="@color/white"
|
||||||
|
app:contentInsetLeft="0dp"
|
||||||
|
app:contentInsetStart="0dp"
|
||||||
|
app:contentInsetStartWithNavigation="0dp"
|
||||||
|
app:layout_collapseMode="pin">
|
||||||
|
|
||||||
|
<FrameLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:paddingLeft="8dp"
|
||||||
|
android:paddingRight="8dp">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/btnBack"
|
||||||
|
android:layout_width="30dp"
|
||||||
|
android:layout_height="30dp"
|
||||||
|
android:layout_gravity="left|center_vertical"
|
||||||
|
android:padding="5dp"
|
||||||
|
android:src="@mipmap/ic_back_black" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/toolbar_title"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:text="使用监管"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="18sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/btnSearch"
|
||||||
|
android:layout_width="30dp"
|
||||||
|
android:layout_height="30dp"
|
||||||
|
android:layout_gravity="right|center_vertical"
|
||||||
|
android:padding="5dp"
|
||||||
|
android:src="@mipmap/ic_search" />
|
||||||
|
</FrameLayout>
|
||||||
|
</androidx.appcompat.widget.Toolbar>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/layoutRegion"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="left|center_vertical"
|
||||||
|
android:paddingLeft="16dp"
|
||||||
|
android:paddingTop="12dp"
|
||||||
|
android:paddingRight="16dp"
|
||||||
|
android:paddingBottom="12dp">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="16dp"
|
||||||
|
android:layout_height="16dp"
|
||||||
|
android:src="@mipmap/ic_location" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvRegion"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginLeft="4dp"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:ellipsize="end"
|
||||||
|
android:maxLines="1"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="14sp"
|
||||||
|
tools:text="耿马镇白马社区耿马镇白马社区耿马镇白马社区耿马镇白马社区" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="14dp"
|
||||||
|
android:layout_height="14dp"
|
||||||
|
android:layout_marginLeft="2dp"
|
||||||
|
android:src="@mipmap/ic_arrow_down" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
||||||
|
<com.tairui.gov_affairs_cloud.widget.RefreshRecyclerView
|
||||||
|
android:id="@+id/refreshRecycler"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:paddingLeft="16dp"
|
||||||
|
android:paddingRight="16dp" />
|
||||||
|
|
||||||
|
|
||||||
|
</LinearLayout>
|
104
app/src/main/res/layout/item_list_business_management.xml
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginLeft="10dp"
|
||||||
|
android:layout_marginTop="10dp"
|
||||||
|
android:layout_marginRight="10dp"
|
||||||
|
android:background="@drawable/bg_container_white_raduis_10"
|
||||||
|
android:paddingLeft="10dp"
|
||||||
|
android:paddingTop="16dp"
|
||||||
|
android:paddingRight="10dp"
|
||||||
|
android:paddingBottom="16dp">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvName"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="华伟种植专业合作社"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="18sp"
|
||||||
|
app:layout_constraintBottom_toTopOf="@id/tvScope"
|
||||||
|
app:layout_constraintLeft_toLeftOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvScope"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="12dp"
|
||||||
|
android:layout_marginBottom="12dp"
|
||||||
|
android:text="经营品类:小葱、大白菜"
|
||||||
|
android:textColor="@color/color_tv_content"
|
||||||
|
android:textSize="15sp"
|
||||||
|
app:layout_constraintBottom_toTopOf="@id/tvPerson"
|
||||||
|
app:layout_constraintLeft_toLeftOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/tvName" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvPerson"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:drawableLeft="@mipmap/ic_member"
|
||||||
|
android:drawablePadding="4dp"
|
||||||
|
android:text="顾伦 133 8034 5934"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="14sp"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintLeft_toLeftOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/tvScope" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvAddress"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginLeft="12dp"
|
||||||
|
android:drawableLeft="@mipmap/ic_member"
|
||||||
|
android:drawablePadding="4dp"
|
||||||
|
android:text="耿马镇白塔社区"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="14sp"
|
||||||
|
app:layout_constraintBottom_toBottomOf="@id/tvPerson"
|
||||||
|
app:layout_constraintLeft_toRightOf="@id/tvPerson"
|
||||||
|
app:layout_constraintTop_toTopOf="@id/tvPerson" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvComType"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginLeft="8dp"
|
||||||
|
android:background="@drawable/bg_container_white_raduis_2_gray_border"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:text="团结村1号网格"
|
||||||
|
android:textColor="@color/color_txt_label"
|
||||||
|
android:textSize="12sp"
|
||||||
|
app:layout_constraintBottom_toBottomOf="@id/tvName"
|
||||||
|
app:layout_constraintLeft_toRightOf="@id/tvName"
|
||||||
|
app:layout_constraintTop_toTopOf="@id/tvName" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvStatus"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:background="@drawable/bg_container_light_green_raduis_2"
|
||||||
|
android:padding="6dp"
|
||||||
|
android:text="待处理"
|
||||||
|
android:textColor="@color/color_txt_green"
|
||||||
|
android:textSize="14sp"
|
||||||
|
app:layout_constraintBottom_toBottomOf="@id/tvName"
|
||||||
|
app:layout_constraintRight_toRightOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="@id/tvName" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvArea"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="300亩"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp"
|
||||||
|
app:layout_constraintBottom_toBottomOf="@id/tvScope"
|
||||||
|
app:layout_constraintRight_toRightOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="@id/tvScope" />
|
||||||
|
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
156
app/src/main/res/layout/item_list_utilization_control.xml
Normal file
@ -0,0 +1,156 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/img"
|
||||||
|
android:layout_width="80dp"
|
||||||
|
android:layout_height="80dp"
|
||||||
|
android:layout_marginLeft="16dp"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintLeft_toLeftOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/title"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginLeft="24dp"
|
||||||
|
android:layout_marginTop="16dp"
|
||||||
|
android:text="生物有机肥"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="16sp"
|
||||||
|
android:textStyle="bold"
|
||||||
|
app:layout_constraintLeft_toRightOf="@id/img"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/labelLayout"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="12dp"
|
||||||
|
android:layout_marginRight="16dp"
|
||||||
|
android:layout_marginBottom="16dp"
|
||||||
|
android:orientation="vertical"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintLeft_toLeftOf="@id/title"
|
||||||
|
app:layout_constraintRight_toRightOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/title">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="bottom"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:text="品类"
|
||||||
|
android:textColor="@color/color_tv_content"
|
||||||
|
android:textSize="14sp" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/category"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="3"
|
||||||
|
android:text="生产厂商"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="8dp"
|
||||||
|
android:gravity="bottom"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:text="联系人"
|
||||||
|
android:textColor="@color/color_tv_content"
|
||||||
|
android:textSize="14sp" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/user"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="3"
|
||||||
|
android:text="经销商"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="8dp"
|
||||||
|
android:gravity="bottom"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:text="地址"
|
||||||
|
android:textColor="@color/color_tv_content"
|
||||||
|
android:textSize="14sp" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/address"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="3"
|
||||||
|
android:text="分类"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="8dp"
|
||||||
|
android:gravity="bottom"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:text="日期"
|
||||||
|
android:textColor="@color/color_tv_content"
|
||||||
|
android:textSize="14sp" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/date"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="3"
|
||||||
|
android:text="保质期"
|
||||||
|
android:textColor="@color/color_txt_black"
|
||||||
|
android:textSize="15sp" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="1dp"
|
||||||
|
android:layout_marginLeft="16dp"
|
||||||
|
android:layout_marginRight="16dp"
|
||||||
|
android:background="@color/color_divider"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent" />
|
||||||
|
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
BIN
app/src/main/res/mipmap-xxhdpi/pic_input_1.png
Normal file
After Width: | Height: | Size: 755 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/pic_input_2.png
Normal file
After Width: | Height: | Size: 1.2 MiB |
BIN
app/src/main/res/mipmap-xxhdpi/pic_utilization_control_1.png
Normal file
After Width: | Height: | Size: 83 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/pic_utilization_control_2.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/pic_utilization_control_3.png
Normal file
After Width: | Height: | Size: 75 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/pic_utilization_control_4.png
Normal file
After Width: | Height: | Size: 106 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/pic_utilization_control_5.png
Normal file
After Width: | Height: | Size: 708 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/pic_utilization_control_6.png
Normal file
After Width: | Height: | Size: 1.2 MiB |