添加默认城市

This commit is contained in:
itgaojian163 2020-08-01 11:54:03 +08:00
parent 0160828b0e
commit 6462b649f5
2 changed files with 40 additions and 2 deletions

View File

@ -11,8 +11,8 @@ import retrofit2.http.GET;
*/
public class BaseUrlApi {
public static final String IP = "http://192.168.0.113:7001/usercenter/";/* 正式IP */
// public static final String IP = "https://www.wgink.ink/usercenter/";/* 测试IP */
// public static final String IP = "http://192.168.0.113:7001/usercenter/";/* 测试IP */
public static final String IP = "https://www.wgink.ink/usercenter/";/* 正式IP */
public static final String BASE_SYSTEM_IP = "https://www.wgink.ink/";
// public static final String IP = "http://192.168.0.113:7001/usercenter/";/* 测试IP */
public static final String PROJECT_NAME = "app/";

View File

@ -217,6 +217,44 @@
android:textSize="16sp" />
</RelativeLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:gravity="center_vertical"
android:orientation="horizontal"
android:padding="10dp">
<View
android:layout_width="3dp"
android:layout_height="14dp"
android:background="@color/app_title" />
<com.sucstepsoft.cm_utils.core.widget.views.TypeFaceTextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="3dp"
android:layout_weight="1"
android:text="市"
android:textColor="#242424"
android:textSize="16sp" />
</LinearLayout>
<TextView
android:id="@+id/tv_default_city"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:background="@drawable/shape_search_input_box"
android:paddingLeft="10dp"
android:paddingTop="3dp"
android:paddingRight="10dp"
android:paddingBottom="3dp"
android:textColor="@color/app_title"
android:textSize="16sp"
tools:text="日喀则" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"