Sfoglia il codice sorgente

2025-4-24
问题调整提交

zhangbing 1 anno fa
parent
commit
0230172da1

+ 2 - 2
app/build.gradle

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

File diff suppressed because it is too large
+ 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 6
 public class HttpUrl {
7 7
     // 生产还是测试
8
-    public static boolean IS_RELEASE = false;
8
+    public static boolean IS_RELEASE = true;
9 9
     //生成·
10 10
 //    public static String BASE_URL_RELEASE = "https://app.bjtdba.com/";
11 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 881
                 umMin.userName = Constants.APPLET_ID
882 882
 
883
-                Config.setMiniPreView();
883
+//                Config.setMiniPreView();
884 884
                 // 小程序原始id,在微信平台查询
885 885
                 ShareAction(this@PyyxProductDetailActivity)
886 886
                     .withMedia(umMin)

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

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

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

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

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

@@ -5,7 +5,37 @@
5 5
     android:layout_height="match_parent"
6 6
     android:orientation="vertical"
7 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 39
     <LinearLayout
10 40
         android:layout_width="match_parent"
11 41
         android:layout_height="54dp"
@@ -53,39 +83,6 @@
53 83
             android:layout_marginTop="11dp"
54 84
             android:background="@color/gray_e5e5e5" />
55 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 86
     <LinearLayout
90 87
         android:id="@+id/linearLayout"
91 88
         android:layout_width="match_parent"