wbspool 1 рік тому
батько
коміт
0c0be197a5
33 змінених файлів з 36 додано та 25 видалено
  1. BIN
      BusinessAirFryer/src/main/res/drawable/aab.png
  2. BIN
      BusinessAirFryer/src/main/res/drawable/af_air_fryer.png
  3. BIN
      BusinessAirFryer/src/main/res/drawable/af_air_fryer_bg.png
  4. BIN
      BusinessAirFryer/src/main/res/drawable/af_bake.png
  5. BIN
      BusinessAirFryer/src/main/res/drawable/af_bake_bg.png
  6. BIN
      BusinessAirFryer/src/main/res/drawable/af_chicken_wing.png
  7. BIN
      BusinessAirFryer/src/main/res/drawable/af_chicken_wing_bg.png
  8. BIN
      BusinessAirFryer/src/main/res/drawable/af_dehydrate_bg.png
  9. BIN
      BusinessAirFryer/src/main/res/drawable/af_diy.png
  10. BIN
      BusinessAirFryer/src/main/res/drawable/af_diy_bg.png
  11. BIN
      BusinessAirFryer/src/main/res/drawable/af_drumsticks.png
  12. BIN
      BusinessAirFryer/src/main/res/drawable/af_drumsticks_bg.png
  13. BIN
      BusinessAirFryer/src/main/res/drawable/af_egg_tart.png
  14. BIN
      BusinessAirFryer/src/main/res/drawable/af_egg_tart_bg.png
  15. BIN
      BusinessAirFryer/src/main/res/drawable/af_mutton_chop.png
  16. BIN
      BusinessAirFryer/src/main/res/drawable/af_mutton_chop_bg.png
  17. BIN
      BusinessAirFryer/src/main/res/drawable/af_pizza.png
  18. BIN
      BusinessAirFryer/src/main/res/drawable/af_pizza_bg.png
  19. BIN
      BusinessAirFryer/src/main/res/drawable/af_reheat.png
  20. BIN
      BusinessAirFryer/src/main/res/drawable/af_reheat_bg.png
  21. BIN
      BusinessAirFryer/src/main/res/drawable/af_sea_food.png
  22. BIN
      BusinessAirFryer/src/main/res/drawable/af_sea_food_bg.png
  23. BIN
      BusinessAirFryer/src/main/res/drawable/af_steak.png
  24. BIN
      BusinessAirFryer/src/main/res/drawable/af_steak_bg.png
  25. BIN
      BusinessAirFryer/src/main/res/drawable/af_vegetable.png
  26. BIN
      BusinessAirFryer/src/main/res/drawable/af_vegetable_bg.png
  27. 1 1
      BusinessAuth/src/main/java/com/develop/auth/ui/MemberProfileFragment.kt
  28. 11 7
      BusinessAuth/src/main/res/layout/fragment_member_profile.xml
  29. 7 0
      BusinessCommon/src/main/java/com/develop/common/ui/CommonBindingActivity.kt
  30. 1 1
      BusinessCommon/src/main/java/com/develop/common/widget/HomeFunctionTopBar.kt
  31. 1 1
      app/build.gradle
  32. 15 15
      libBase/src/main/java/com/develop/base/ext/GlobaExt.kt
  33. BIN
      libThirdPart/libs/cofar-cooking-device-sdk-0.0.1-SNAPSHOT.jar

BIN
BusinessAirFryer/src/main/res/drawable/aab.png


BIN
BusinessAirFryer/src/main/res/drawable/af_air_fryer.png


BIN
BusinessAirFryer/src/main/res/drawable/af_air_fryer_bg.png


BIN
BusinessAirFryer/src/main/res/drawable/af_bake.png


BIN
BusinessAirFryer/src/main/res/drawable/af_bake_bg.png


BIN
BusinessAirFryer/src/main/res/drawable/af_chicken_wing.png


BIN
BusinessAirFryer/src/main/res/drawable/af_chicken_wing_bg.png


BIN
BusinessAirFryer/src/main/res/drawable/af_dehydrate_bg.png


BIN
BusinessAirFryer/src/main/res/drawable/af_diy.png


BIN
BusinessAirFryer/src/main/res/drawable/af_diy_bg.png


BIN
BusinessAirFryer/src/main/res/drawable/af_drumsticks.png


BIN
BusinessAirFryer/src/main/res/drawable/af_drumsticks_bg.png


BIN
BusinessAirFryer/src/main/res/drawable/af_egg_tart.png


BIN
BusinessAirFryer/src/main/res/drawable/af_egg_tart_bg.png


BIN
BusinessAirFryer/src/main/res/drawable/af_mutton_chop.png


BIN
BusinessAirFryer/src/main/res/drawable/af_mutton_chop_bg.png


BIN
BusinessAirFryer/src/main/res/drawable/af_pizza.png


BIN
BusinessAirFryer/src/main/res/drawable/af_pizza_bg.png


BIN
BusinessAirFryer/src/main/res/drawable/af_reheat.png


BIN
BusinessAirFryer/src/main/res/drawable/af_reheat_bg.png


BIN
BusinessAirFryer/src/main/res/drawable/af_sea_food.png


BIN
BusinessAirFryer/src/main/res/drawable/af_sea_food_bg.png


BIN
BusinessAirFryer/src/main/res/drawable/af_steak.png


BIN
BusinessAirFryer/src/main/res/drawable/af_steak_bg.png


BIN
BusinessAirFryer/src/main/res/drawable/af_vegetable.png


BIN
BusinessAirFryer/src/main/res/drawable/af_vegetable_bg.png


+ 1 - 1
BusinessAuth/src/main/java/com/develop/auth/ui/MemberProfileFragment.kt

@@ -172,7 +172,7 @@ class MemberProfileFragment : CommonBVMFragment<FragmentMemberProfileBinding, Me
             showPlainDialog(true)
             viewModel.cancelAccount()
         }
-        if (isNightTheme()) {
+        if (isNightTheme() || true) {
             binding.tvDestroyAccount.setVisible()
         }
     }

+ 11 - 7
BusinessAuth/src/main/res/layout/fragment_member_profile.xml

@@ -2,7 +2,7 @@
 <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="match_parent"
+    android:layout_height="wrap_content"
     android:background="#fff"
     android:focusable="true"
     android:focusableInTouchMode="true"
@@ -123,33 +123,37 @@
         android:textSize="@dimen/convert_36px"
         app:layout_constraintTop_toBottomOf="@+id/tv_choose_sex" />
 
+
+
+
+
     <TextView
+        android:layout_marginLeft="@dimen/convert_50px"
         android:id="@+id/tv_skip_for_now"
         android:layout_width="0dp"
         android:layout_height="wrap_content"
         android:gravity="center"
-        android:paddingTop="@dimen/convert_40px"
-        android:paddingBottom="@dimen/convert_50px"
+        android:paddingTop="@dimen/convert_20px"
+        android:paddingBottom="@dimen/convert_20px"
         android:text="@string/skip_for_now"
         android:textColor="@color/skin_for_now"
         android:textSize="@dimen/convert_30px"
-        app:layout_constraintEnd_toStartOf="@+id/tv_destroy_account"
         app:layout_constraintStart_toStartOf="parent"
         app:layout_constraintTop_toBottomOf="@+id/tv_save" />
 
     <TextView
+        android:layout_marginRight="@dimen/convert_50px"
         android:id="@+id/tv_destroy_account"
         android:layout_width="0dp"
         android:layout_height="wrap_content"
         android:gravity="center"
-        android:paddingTop="@dimen/convert_40px"
-        android:paddingBottom="@dimen/convert_50px"
+        android:paddingTop="@dimen/convert_20px"
+        android:paddingBottom="@dimen/convert_20px"
         android:text="@string/cancellation_of_account"
         android:textColor="#E60012"
         android:textSize="@dimen/convert_30px"
         android:visibility="gone"
         app:layout_constraintEnd_toEndOf="parent"
-        app:layout_constraintStart_toEndOf="@id/tv_skip_for_now"
         app:layout_constraintTop_toBottomOf="@+id/tv_save" />
 
 </androidx.constraintlayout.widget.ConstraintLayout>

+ 7 - 0
BusinessCommon/src/main/java/com/develop/common/ui/CommonBindingActivity.kt

@@ -270,6 +270,13 @@ abstract class CommonBindingActivity<T : ViewBinding> : BaseBindingActivity<T>()
             return
         }
 
+        if("hide" == event.action){
+            lastMsg = "";
+            cancelConfirmDialog.removeSelf()
+            return
+        }
+
+
         //            //已显示弹窗不重复显示
 //            if(FloatWindowManager.confirmCancelDialog.isAdded){
 //                return

+ 1 - 1
BusinessCommon/src/main/java/com/develop/common/widget/HomeFunctionTopBar.kt

@@ -61,7 +61,7 @@ class HomeFunctionTopBar : RelativeLayout, View.OnClickListener {
             if (isNightTheme()){
                 binding.ivFunction.background_drawable = R.drawable.ic_night_white_back
             } else {
-                binding.ivFunction.background_drawable = R.drawable.ic_white_back
+                binding.ivFunction.background_drawable = R.drawable.ic_night_white_back
             }
 
             binding.functionName.text = resources.getString(R.string.back)

+ 1 - 1
app/build.gradle

@@ -12,7 +12,7 @@ ext{
 
     versionCode=Integer.parseInt(new SimpleDateFormat("yyMMddHH").format(new Date()) + 1)
 //    versionCode=230617180
-    brandCode="010D"
+    brandCode="000A"
     model="1039"
 
 }

+ 15 - 15
libBase/src/main/java/com/develop/base/ext/GlobaExt.kt

@@ -191,21 +191,21 @@ fun getSN(): String {
 
 
 
-    return "010D10390020123010190001"
-
-//    //通过反射获取sn号
-//    try {
-//        val c = Class.forName("android.os.SystemProperties")
-//        val get = c.getMethod("get", String::class.java)
-//        serial = get.invoke(c, "ro.serialno") as String
-//        if (serial != "" && serial != "unknown") return serial
-//
-//        //9.0及以上无法获取到sn,此方法为补充,能够获取到多数高版本手机 sn
-//        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) serial = Build.getSerial()
-//    } catch (e: java.lang.Exception) {
-//        serial = "unknown"
-//    }
-//    return serial
+//    return "010D10390020123010190001"
+
+    //通过反射获取sn号
+    try {
+        val c = Class.forName("android.os.SystemProperties")
+        val get = c.getMethod("get", String::class.java)
+        serial = get.invoke(c, "ro.serialno") as String
+        if (serial != "" && serial != "unknown") return serial
+
+        //9.0及以上无法获取到sn,此方法为补充,能够获取到多数高版本手机 sn
+        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) serial = Build.getSerial()
+    } catch (e: java.lang.Exception) {
+        serial = "unknown"
+    }
+    return serial
 }
 
 fun ImageView.load(data: Any?) {

BIN
libThirdPart/libs/cofar-cooking-device-sdk-0.0.1-SNAPSHOT.jar