zhangbing 1 год назад
Родитель
Сommit
0230172da1

+ 2 - 2
app/build.gradle

@@ -11,8 +11,8 @@ android {
11
         applicationId "com.yihucha.hbyhc"
11
         applicationId "com.yihucha.hbyhc"
12
         minSdk 21
12
         minSdk 21
13
         targetSdk 33
13
         targetSdk 33
14
-        versionCode 1
15
-        versionName "1.0"
14
+        versionCode 2001
15
+        versionName "20.0.1"
16
 
16
 
17
         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
17
         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
18
         ndk {
18
         ndk {

Разница между файлами не показана из-за своего большого размера
+ 1 - 0
app/src/main/java/com/yihucha/hbyhc/config/Constants.java


+ 1 - 1
app/src/main/java/com/yihucha/hbyhc/config/HttpUrl.java

@@ -5,7 +5,7 @@ package com.yihucha.hbyhc.config;
5
  */
5
  */
6
 public class HttpUrl {
6
 public class HttpUrl {
7
     // 生产还是测试
7
     // 生产还是测试
8
-    public static boolean IS_RELEASE = false;
8
+    public static boolean IS_RELEASE = true;
9
     //生成·
9
     //生成·
10
 //    public static String BASE_URL_RELEASE = "https://app.bjtdba.com/";
10
 //    public static String BASE_URL_RELEASE = "https://app.bjtdba.com/";
11
     public static String BASE_URL_RELEASE = "https://api.hxxfb.com/";
11
     public static String BASE_URL_RELEASE = "https://api.hxxfb.com/";

+ 1 - 1
app/src/main/java/com/yihucha/hbyhc/presentation/pyyx/activity/PyyxProductDetailActivity.kt

@@ -880,7 +880,7 @@ class PyyxProductDetailActivity : ViewBindingBaseActivity<ActivityPyyxProductDet
880
                 //小程序页面路径
880
                 //小程序页面路径
881
                 umMin.userName = Constants.APPLET_ID
881
                 umMin.userName = Constants.APPLET_ID
882
 
882
 
883
-                Config.setMiniPreView();
883
+//                Config.setMiniPreView();
884
                 // 小程序原始id,在微信平台查询
884
                 // 小程序原始id,在微信平台查询
885
                 ShareAction(this@PyyxProductDetailActivity)
885
                 ShareAction(this@PyyxProductDetailActivity)
886
                     .withMedia(umMin)
886
                     .withMedia(umMin)

+ 2 - 2
app/src/main/java/com/yihucha/hbyhc/presentation/pyyx/activity/ThirdPartProductDetailActivity.kt

@@ -125,7 +125,7 @@ class ThirdPartProductDetailActivity :
125
     @SuppressLint("SetTextI18n")
125
     @SuppressLint("SetTextI18n")
126
     private fun initData() {
126
     private fun initData() {
127
         productDetailsViewModel!!.jdUrlLiveData.observe(this){
127
         productDetailsViewModel!!.jdUrlLiveData.observe(this){
128
-            dialog.dismiss()
128
+//            dialog.dismiss()
129
             materialUrl = it
129
             materialUrl = it
130
         }
130
         }
131
         if (Constants.JINGDONG == merchandiseType) {
131
         if (Constants.JINGDONG == merchandiseType) {
@@ -134,7 +134,7 @@ class ThirdPartProductDetailActivity :
134
             productDetailsViewModel!!.mJdProductDetailsData.observe(
134
             productDetailsViewModel!!.mJdProductDetailsData.observe(
135
                 this
135
                 this
136
             ) { jdProductDetailsBean -> //轮播
136
             ) { jdProductDetailsBean -> //轮播
137
-//                dialog.dismiss()
137
+                dialog.dismiss()
138
                 productDetailsViewModel!!.requestJDUrl(jdProductDetailsBean.discount_link,skuId)
138
                 productDetailsViewModel!!.requestJDUrl(jdProductDetailsBean.discount_link,skuId)
139
                 val slider_image = mutableListOf<String>()
139
                 val slider_image = mutableListOf<String>()
140
                 slider_image.add(jdProductDetailsBean.imgUrl)
140
                 slider_image.add(jdProductDetailsBean.imgUrl)

+ 3 - 1
app/src/main/res/layout/activity_login_home.xml

@@ -49,7 +49,9 @@
49
         android:gravity="center"
49
         android:gravity="center"
50
         android:text="@string/phone_login_tes"
50
         android:text="@string/phone_login_tes"
51
         android:textColor="@color/gray_9e9e9e"
51
         android:textColor="@color/gray_9e9e9e"
52
-        android:textSize="15sp" />
52
+        android:textSize="15sp"
53
+        android:visibility="gone"
54
+        />
53
 
55
 
54
     <ImageView
56
     <ImageView
55
         android:id="@+id/iv_tes"
57
         android:id="@+id/iv_tes"

+ 30 - 33
app/src/main/res/layout/activity_phone_setting.xml

@@ -5,7 +5,37 @@
5
     android:layout_height="match_parent"
5
     android:layout_height="match_parent"
6
     android:orientation="vertical"
6
     android:orientation="vertical"
7
     android:padding="23dp">
7
     android:padding="23dp">
8
+    <LinearLayout
9
+        android:layout_width="match_parent"
10
+        android:layout_height="wrap_content"
11
+        android:layout_marginStart="@dimen/permission_dp_20"
12
+        android:layout_marginTop="30dp"
13
+        android:layout_marginEnd="@dimen/permission_dp_20"
14
+        android:orientation="vertical">
15
+
16
+        <LinearLayout
17
+            android:layout_width="match_parent"
18
+            android:layout_height="wrap_content"
19
+            android:orientation="horizontal">
8
 
20
 
21
+            <EditText
22
+                android:id="@+id/et_phone_new"
23
+                android:layout_width="0dp"
24
+                android:layout_height="wrap_content"
25
+                android:layout_weight="1"
26
+                android:background="@null"
27
+                android:hint="@string/input_phone_new"
28
+                android:inputType="phone"
29
+                android:textSize="15sp" />
30
+
31
+        </LinearLayout>
32
+
33
+        <View
34
+            android:layout_width="match_parent"
35
+            android:layout_height="0.5dp"
36
+            android:layout_marginTop="11dp"
37
+            android:background="@color/gray_e5e5e5" />
38
+    </LinearLayout>
9
     <LinearLayout
39
     <LinearLayout
10
         android:layout_width="match_parent"
40
         android:layout_width="match_parent"
11
         android:layout_height="54dp"
41
         android:layout_height="54dp"
@@ -53,39 +83,6 @@
53
             android:layout_marginTop="11dp"
83
             android:layout_marginTop="11dp"
54
             android:background="@color/gray_e5e5e5" />
84
             android:background="@color/gray_e5e5e5" />
55
     </LinearLayout>
85
     </LinearLayout>
56
-
57
-    <LinearLayout
58
-        android:layout_width="match_parent"
59
-        android:layout_height="wrap_content"
60
-        android:layout_marginStart="@dimen/permission_dp_20"
61
-        android:layout_marginTop="30dp"
62
-        android:layout_marginEnd="@dimen/permission_dp_20"
63
-        android:orientation="vertical">
64
-
65
-        <LinearLayout
66
-            android:layout_width="match_parent"
67
-            android:layout_height="wrap_content"
68
-            android:orientation="horizontal">
69
-
70
-            <EditText
71
-                android:id="@+id/et_phone_new"
72
-                android:layout_width="0dp"
73
-                android:layout_height="wrap_content"
74
-                android:layout_weight="1"
75
-                android:background="@null"
76
-                android:hint="@string/input_phone"
77
-                android:inputType="phone"
78
-                android:textSize="15sp" />
79
-
80
-        </LinearLayout>
81
-
82
-        <View
83
-            android:layout_width="match_parent"
84
-            android:layout_height="0.5dp"
85
-            android:layout_marginTop="11dp"
86
-            android:background="@color/gray_e5e5e5" />
87
-    </LinearLayout>
88
-
89
     <LinearLayout
86
     <LinearLayout
90
         android:id="@+id/linearLayout"
87
         android:id="@+id/linearLayout"
91
         android:layout_width="match_parent"
88
         android:layout_width="match_parent"