Commit 6862d0d9 by han xu

ui调整

parent 6003e671
...@@ -85,21 +85,21 @@ public class Constants { ...@@ -85,21 +85,21 @@ public class Constants {
/** /**
* 正式环境. * 正式环境.
*/ */
// public static String ENVIROMENT = "release"; public static String ENVIROMENT = "release";
// public static String PHOTO = "online"; public static String PHOTO = "online";
// public static int LOG_LEVEL = LogUtils.LEVEL_OFF; public static int LOG_LEVEL = LogUtils.LEVEL_OFF;
// public static String BASE_URL = "https://mobile.dayuspm.com"; public static String BASE_URL = "https://mobile.dayuspm.com";
// public static String WEB_SOP = "https://sop.kf.ai/#/sop"; public static String WEB_SOP = "https://sop.kf.ai/#/sop";
// public static String WEB_SOP_DETAIL = "https://sop.kf.ai/#/sopdetail"; public static String WEB_SOP_DETAIL = "https://sop.kf.ai/#/sopdetail";
// public static String WEB_ZHI_SHI = "https://sop.kf.ai/#/detail"; public static String WEB_ZHI_SHI = "https://sop.kf.ai/#/detail";
// public static String CHECK_MULTI_WEB_SOP = "https://sop.kf.ai/#/manyServiceResult"; public static String CHECK_MULTI_WEB_SOP = "https://sop.kf.ai/#/manyServiceResult";
// public static String MULTI_WEB_SOP = "https://sop.kf.ai/#/manySop"; public static String MULTI_WEB_SOP = "https://sop.kf.ai/#/manySop";
// public static final String UP_PHOTO = "/file/uploadMore?targetPath=online/sp/mobile/android/business/checkApply"; public static final String UP_PHOTO = "/file/uploadMore?targetPath=online/sp/mobile/android/business/checkApply";
// public static final String UP_VIDEO = "/file/uploadVideoOne?targetPath=online/video"; public static final String UP_VIDEO = "/file/uploadVideoOne?targetPath=online/video";
// public static boolean IS_DEBUG = false; public static boolean IS_DEBUG = false;
// public static String VIDEO_SHARE_URL = "http://app.dl.kf.ai/ext/#/shareVideo?type=_type&id="; //学习视频分享链接 type(课程: course 直播: live) public static String VIDEO_SHARE_URL = "http://app.dl.kf.ai/ext/#/shareVideo?type=_type&id="; //学习视频分享链接 type(课程: course 直播: live)
// public static int XLR_PID = 1936; //小绿人商家id public static int XLR_PID = 1936; //小绿人商家id
// public static String SCHEME_9099 = "http://app.dl.kf.ai/ext/#/"; public static String SCHEME_9099 = "http://app.dl.kf.ai/ext/#/";
/** /**
......
...@@ -21,7 +21,7 @@ public class SelfLicenceAdapter extends CoreAdapter<SelfLicenceBean, ItemUserLic ...@@ -21,7 +21,7 @@ public class SelfLicenceAdapter extends CoreAdapter<SelfLicenceBean, ItemUserLic
@Override @Override
protected void onBind(ItemUserLicenceBinding holder, SelfLicenceBean item, int position) { protected void onBind(ItemUserLicenceBinding holder, SelfLicenceBean item, int position) {
super.onBind(holder, item, position); super.onBind(holder, item, position);
GlideImageLoader.load(mContext, holder.ivImg, item.getUrl(), R.drawable.icon_img_default); GlideImageLoader.loadFit(mContext, holder.ivImg, item.getUrl(), R.drawable.icon_img_default);
holder.tvTitle.setText(item.getName()); holder.tvTitle.setText(item.getName());
holder.tvCompany.setText(getStatusDesc(item.getStatus())); holder.tvCompany.setText(getStatusDesc(item.getStatus()));
if (item.getStatus() == 3) { if (item.getStatus() == 3) {
......
...@@ -19,9 +19,11 @@ public class UserLicenceAdapter extends CoreAdapter<UserLicenceBean,ItemUserLice ...@@ -19,9 +19,11 @@ public class UserLicenceAdapter extends CoreAdapter<UserLicenceBean,ItemUserLice
@Override @Override
protected void onBind(ItemUserLicenceBinding holder, UserLicenceBean item, int position) { protected void onBind(ItemUserLicenceBinding holder, UserLicenceBean item, int position) {
super.onBind(holder, item, position); super.onBind(holder, item, position);
GlideImageLoader.load(mContext, holder.ivImg, item.getUrl(),R.drawable.icon_img_default); GlideImageLoader.loadFit(mContext, holder.ivImg, item.getUrl(),R.drawable.icon_img_default);
holder.tvTitle.setText(item.getLicenceAuthorityName()); holder.tvTitle.setText(item.getLicenceAuthorityName());
holder.tvTitle.setMaxLines(2);
holder.tvCompany.setText(item.getDetail()); holder.tvCompany.setText(item.getDetail());
holder.tvCompany.setMaxLines(3);
} }
public void setPresent(UserLicencePresent mPresent) { public void setPresent(UserLicencePresent mPresent) {
......
...@@ -15,9 +15,9 @@ ...@@ -15,9 +15,9 @@
<ImageView <ImageView
android:id="@+id/iv_img" android:id="@+id/iv_img"
android:layout_width="120dp" android:layout_width="100dp"
android:layout_height="120dp" android:layout_height="100dp"
android:scaleType="centerCrop"
android:src="@drawable/icon_img_default" /> android:src="@drawable/icon_img_default" />
<LinearLayout <LinearLayout
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
<TextView <TextView
android:id="@+id/tv_company" android:id="@+id/tv_company"
android:layout_marginTop="10dp"
style="@style/sale_item_text" style="@style/sale_item_text"
android:text="" android:text=""
/> />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment