Browse Source

1.提交。

shy 2 năm trước cách đây
mục cha
commit
f08eedbeef
100 tập tin đã thay đổi với 630 bổ sung324 xóa
  1. 6 6
      app/build.gradle
  2. 1 1
      app/proguard-rules.pro
  3. 31 47
      app/src/main/AndroidManifest.xml
  4. 4 4
      app/src/main/java/com/quansu/creativity/App.java
  5. 6 6
      app/src/main/java/com/quansu/creativity/activity/AccountActivity.kt
  6. 7 7
      app/src/main/java/com/quansu/creativity/activity/AreaSelectActivity.kt
  7. 6 6
      app/src/main/java/com/quansu/creativity/activity/ArticleDetailActivity.kt
  8. 8 8
      app/src/main/java/com/quansu/creativity/activity/BankActivity.kt
  9. 3 3
      app/src/main/java/com/quansu/creativity/activity/CustomErrorActivity.kt
  10. 5 5
      app/src/main/java/com/quansu/creativity/activity/ForgetPasswordActivity.kt
  11. 8 10
      app/src/main/java/com/quansu/creativity/activity/LoginActivity.kt
  12. 161 0
      app/src/main/java/com/quansu/creativity/activity/MainActivity.kt
  13. 6 6
      app/src/main/java/com/quansu/creativity/activity/MsgActivity.kt
  14. 5 5
      app/src/main/java/com/quansu/creativity/activity/OneLoginActivity.kt
  15. 8 8
      app/src/main/java/com/quansu/creativity/activity/OpinionActivity.kt
  16. 9 13
      app/src/main/java/com/quansu/creativity/activity/PasswordActivity.kt
  17. 8 8
      app/src/main/java/com/quansu/creativity/activity/RechargeActivity.kt
  18. 7 12
      app/src/main/java/com/quansu/creativity/activity/RegisterActivity.kt
  19. 41 0
      app/src/main/java/com/quansu/creativity/activity/TestMainActivity.kt
  20. 3 3
      app/src/main/java/com/quansu/creativity/activity/WebViewActivity.kt
  21. 5 5
      app/src/main/java/com/quansu/creativity/activity/WithdrawalActivity.kt
  22. 5 5
      app/src/main/java/com/quansu/creativity/adapter/AllCarAdapter.kt
  23. 5 5
      app/src/main/java/com/quansu/creativity/adapter/AreaSelectAdapter.java
  24. 1 1
      app/src/main/java/com/quansu/creativity/adapter/BaseFragmentPagerAdapter.java
  25. 14 0
      app/src/main/java/com/quansu/creativity/adapter/BillAdapter.kt
  26. 1 1
      app/src/main/java/com/quansu/creativity/adapter/FragAdapter.java
  27. 2 2
      app/src/main/java/com/quansu/creativity/adapter/FragmentAdapter.java
  28. 15 0
      app/src/main/java/com/quansu/creativity/adapter/HomeDriverAdapter.kt
  29. 3 3
      app/src/main/java/com/quansu/creativity/adapter/ModelAdapter.kt
  30. 7 9
      app/src/main/java/com/quansu/creativity/adapter/MsgAdapter.kt
  31. 4 4
      app/src/main/java/com/quansu/creativity/adapter/OrderInfoInadapter.kt
  32. 4 4
      app/src/main/java/com/quansu/creativity/adapter/OrderInfoadapter.kt
  33. 4 4
      app/src/main/java/com/quansu/creativity/base/MBActivity.kt
  34. 4 4
      app/src/main/java/com/quansu/creativity/base/MBFragment.kt
  35. 4 4
      app/src/main/java/com/quansu/creativity/base/MBRActivity.kt
  36. 4 4
      app/src/main/java/com/quansu/creativity/base/MBRFragment.kt
  37. 4 4
      app/src/main/java/com/quansu/creativity/base/MBTabActivity.kt
  38. 4 4
      app/src/main/java/com/quansu/creativity/base/MBTabFragment.kt
  39. 3 3
      app/src/main/java/com/quansu/creativity/binding/SearchViewBindingAdapter.java
  40. 3 7
      app/src/main/java/com/quansu/creativity/component/CpApp.kt
  41. 6 6
      app/src/main/java/com/quansu/creativity/config/Config.kt
  42. 2 2
      app/src/main/java/com/quansu/creativity/config/ConfigFuncType.kt
  43. 2 2
      app/src/main/java/com/quansu/creativity/config/ConfigMMKV.kt
  44. 2 2
      app/src/main/java/com/quansu/creativity/config/ConfigPayWay.kt
  45. 1 1
      app/src/main/java/com/quansu/creativity/config/ConfigRx.kt
  46. 2 2
      app/src/main/java/com/quansu/creativity/config/ConfigVipType.kt
  47. 1 1
      app/src/main/java/com/quansu/creativity/config/MIntentAction.kt
  48. 9 9
      app/src/main/java/com/quansu/creativity/fragment/AccountAnalysisFragment.kt
  49. 8 8
      app/src/main/java/com/quansu/creativity/fragment/AccountBillFragment.kt
  50. 33 0
      app/src/main/java/com/quansu/creativity/fragment/HomeDriverFragment.kt
  51. 39 0
      app/src/main/java/com/quansu/creativity/fragment/HomeFirstFragment.kt
  52. 42 0
      app/src/main/java/com/quansu/creativity/fragment/HomeMyFragment.kt
  53. 4 9
      app/src/main/java/com/quansu/creativity/fragment/OwnerImgFragment.kt
  54. 1 1
      app/src/main/java/com/quansu/creativity/inte/ChoiceData.kt
  55. 1 1
      app/src/main/java/com/quansu/creativity/inte/ChoiceListData.kt
  56. 2 2
      app/src/main/java/com/quansu/creativity/inte/ChoseData.kt
  57. 1 1
      app/src/main/java/com/quansu/creativity/inte/MultiItemEntity.kt
  58. 1 1
      app/src/main/java/com/quansu/creativity/inte/OnCall.kt
  59. 1 1
      app/src/main/java/com/quansu/creativity/inte/OnUploadCallback.kt
  60. 1 1
      app/src/main/java/com/quansu/creativity/inte/onTextChangeListener.kt
  61. 1 1
      app/src/main/java/com/quansu/creativity/model/AddressBean.kt
  62. 1 1
      app/src/main/java/com/quansu/creativity/model/AddressDetailsBean.kt
  63. 1 1
      app/src/main/java/com/quansu/creativity/model/AmountCount.kt
  64. 1 1
      app/src/main/java/com/quansu/creativity/model/AmountList.kt
  65. 1 1
      app/src/main/java/com/quansu/creativity/model/AppSetting.java
  66. 1 1
      app/src/main/java/com/quansu/creativity/model/AreaBean.java
  67. 1 1
      app/src/main/java/com/quansu/creativity/model/ArticleInfo.kt
  68. 1 1
      app/src/main/java/com/quansu/creativity/model/BankCard.kt
  69. 2 2
      app/src/main/java/com/quansu/creativity/model/Bill.kt
  70. 1 1
      app/src/main/java/com/quansu/creativity/model/Bind.kt
  71. 1 1
      app/src/main/java/com/quansu/creativity/model/Business.kt
  72. 1 1
      app/src/main/java/com/quansu/creativity/model/Card.kt
  73. 1 1
      app/src/main/java/com/quansu/creativity/model/Checkdrive.kt
  74. 1 1
      app/src/main/java/com/quansu/creativity/model/CvDriving.kt
  75. 1 1
      app/src/main/java/com/quansu/creativity/model/CvVehicle.kt
  76. 1 1
      app/src/main/java/com/quansu/creativity/model/DataInfoBean.kt
  77. 1 1
      app/src/main/java/com/quansu/creativity/model/DriverBean.kt
  78. 1 1
      app/src/main/java/com/quansu/creativity/model/GoodsImgBean.kt
  79. 1 1
      app/src/main/java/com/quansu/creativity/model/GrabInfo.kt
  80. 1 1
      app/src/main/java/com/quansu/creativity/model/IconData.kt
  81. 1 1
      app/src/main/java/com/quansu/creativity/model/Idcard.kt
  82. 1 1
      app/src/main/java/com/quansu/creativity/model/ImageSign.kt
  83. 1 1
      app/src/main/java/com/quansu/creativity/model/InfoBean.kt
  84. 1 1
      app/src/main/java/com/quansu/creativity/model/InfoEditBean.kt
  85. 1 2
      app/src/main/java/com/quansu/creativity/model/InfoListBean.kt
  86. 1 1
      app/src/main/java/com/quansu/creativity/model/InsurancePlan.kt
  87. 1 1
      app/src/main/java/com/quansu/creativity/model/Invoice.kt
  88. 1 1
      app/src/main/java/com/quansu/creativity/model/InvoiceList.kt
  89. 1 1
      app/src/main/java/com/quansu/creativity/model/InvoiceTotal.kt
  90. 1 1
      app/src/main/java/com/quansu/creativity/model/KeyType.kt
  91. 1 1
      app/src/main/java/com/quansu/creativity/model/LoginBean.java
  92. 1 1
      app/src/main/java/com/quansu/creativity/model/MsgGet.kt
  93. 1 1
      app/src/main/java/com/quansu/creativity/model/MsgList.kt
  94. 2 2
      app/src/main/java/com/quansu/creativity/model/Order.kt
  95. 1 1
      app/src/main/java/com/quansu/creativity/model/OrderEva.kt
  96. 1 1
      app/src/main/java/com/quansu/creativity/model/OrderGet.kt
  97. 1 1
      app/src/main/java/com/quansu/creativity/model/Own.kt
  98. 1 1
      app/src/main/java/com/quansu/creativity/model/PremiumTrial.kt
  99. 1 1
      app/src/main/java/com/quansu/creativity/model/SaveDriverBean.kt
  100. 1 1
      app/src/main/java/com/quansu/creativity/model/SaveOwn.kt

+ 6 - 6
app/build.gradle

@@ -12,7 +12,7 @@ android {
         versionCode rootProject.application_version_code
         versionName rootProject.application_version_name
         manifestPlaceholders = [
-                JPUSH_PKGNAME: 'com.quansu.heifengwuliu',
+                JPUSH_PKGNAME: 'com.quansu.creativity',
                 JPUSH_APPKEY : "315cad416dd39b8a8e2b5a92",//值来自开发者平台取得的AppKey
                 JPUSH_CHANNEL: "default_developer",
         ]
@@ -26,10 +26,10 @@ android {
     signingConfigs {
 
         release {
-            keyAlias "heifengwuliu"
-            keyPassword "HiFengwuliu@###121"
-            storeFile file("../heifengwuliu.jks")
-            storePassword "HiFengwuliu@###121"
+            keyAlias "creativity"
+            keyPassword "creativity@###121"
+            storeFile file("../creativity.jks")
+            storePassword "creativity@###121"
             v2SigningEnabled true
         }
     }
@@ -123,7 +123,7 @@ dependencies {
     addComponent 'update'
     addComponent 'umeng'
     addComponent 'jpush'
-    addComponent 'gaode'
+//    addComponent 'gaode'
    addComponent 'lookimg'
 
 

+ 1 - 1
app/proguard-rules.pro

@@ -390,7 +390,7 @@
 -keep public class com.google.gson.** {public private protected *;}
 -keep public class com.project.mocha_patient.login.SignResponseData { private *; }
 # Application classes that will be serialized/deserialized over Gson
--keep class com.quansu.heifengwuliu.model.** { *; }
+-keep class com.quansu.creativity.model.** { *; }
 -keep class com.ysnows.base.model.** { *; }
 -keep class com.ysnows.base.route.** { *; }
 

+ 31 - 47
app/src/main/AndroidManifest.xml

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:tools="http://schemas.android.com/tools"
-    package="com.quansu.heifengwuliu" >
+    package="com.quansu.creativity" >
 
     <!-- 如果有视频相关的广告且使用textureView播放,请务必添加,否则黑屏 -->
     <uses-permission android:name="android.permission.WAKE_LOCK" />
@@ -30,7 +30,7 @@
         <package android:name="com.tencent.mm" />
     </queries >
     <application
-        android:name="com.quansu.heifengwuliu.App"
+        android:name="com.quansu.creativity.App"
         android:allowBackup="true"
         android:icon="@mipmap/ic_launcher"
         android:label="@string/app_name"
@@ -39,6 +39,7 @@
         android:theme="@style/AppTheme.NoActionBar"
         tools:replace="android:name"
         android:exported="false"
+        android:screenOrientation="portrait"
         android:requestLegacyExternalStorage="true"
         android:usesCleartextTraffic="true" >
 
@@ -50,10 +51,11 @@
             android:name="design_height_in_dp"
             android:value="667" />
 
-        <activity android:name="com.quansu.heifengwuliu.activity.SettingsActivity" />
 
+
+<!--    HomeActivity    MainActivity-->
         <activity
-            android:name=".activity.HomeActivity"
+            android:name="com.quansu.creativity.activity.LoginActivity"
             android:screenOrientation="portrait"
             android:windowSoftInputMode="adjustResize|adjustPan"
             android:theme="@style/AppTheme.Launcher" >
@@ -63,67 +65,49 @@
             </intent-filter >
         </activity >
 
+        <activity android:name="com.quansu.creativity.activity.MainActivity"/>
+
 
         <activity
-            android:name=".activity.OneLoginActivity"
+            android:name="com.quansu.creativity.activity.OneLoginActivity"
             android:launchMode="singleTask" />
 
 
-        <activity android:name="com.quansu.heifengwuliu.activity.LoginActivity" />
-        <activity android:name="com.quansu.heifengwuliu.activity.RegisterActivity" />
-        <activity android:name="com.quansu.heifengwuliu.activity.AboutActivity" />
-        <activity android:name="com.quansu.heifengwuliu.activity.WebViewActivity" />
-        <activity android:name=".activity.CustomErrorActivity"/>
+<!--        <activity android:name=".activity.LoginActivity" />-->
+        <activity android:name="com.quansu.creativity.activity.RegisterActivity" />
+        <activity android:name="com.quansu.creativity.activity.WebViewActivity" />
+        <activity android:name="com.quansu.creativity.activity.CustomErrorActivity"/>
+        <activity android:name="com.quansu.creativity.activity.TestMainActivity"/>
+
+
 
-        <activity
-            android:name="com.quansu.heifengwuliu.activity.SplashActivity"
-            android:theme="@style/AppTheme.Launcher" />
 
         <activity
-            android:name=".wxapi.WXEntryActivity"
+            android:name="com.quansu.creativity.wxapi.WXEntryActivity"
             android:exported="true"
             android:launchMode="singleTask"
             android:taskAffinity="com.quansu.heifengwuliu" />
 
-        <activity android:name=".activity.MsgActivity" >
+        <activity android:name="com.quansu.creativity.activity.MsgActivity" >
             <intent-filter>
                 <action android:name="jpush.testAction" />
                 <category android:name="jpush.testCategory" />
             </intent-filter>
         </activity>
-        <activity android:name=".activity.AccountActivity" />
-        <activity android:name=".activity.PersonalVerityActivity" />
-        <activity android:name=".activity.AddressActivity" />
-        <activity android:name=".activity.ComVerityActivity" />
-        <activity android:name=".activity.CollectionActivity" />
-        <activity android:name=".activity.AddressAddActivity"/>
-        <activity android:name=".activity.AreaSelectActivity"/>
-        <activity android:name=".activity.SourceDetailsActivity"
-            android:windowSoftInputMode="adjustPan"
-            />
-        <activity android:name=".activity.WaybillDetailsActivity"/>
-        <activity android:name=".activity.AllCarActivity"/>
-        <activity android:name=".activity.InvoiceActivity"/>
-        <activity android:name=".activity.PasswordActivity"/>
-        <activity android:name=".activity.InvoiceTitleActivity"/>
-        <activity android:name=".activity.VehicleListActivity"/>
-        <activity android:name=".activity.GrabDetailsActivity"/>
-        <activity android:name=".activity.BankActivity"/>
-        <activity android:name=".activity.VehicleInfoActivity"/>
-        <activity android:name=".activity.EvaluateActivity"/>
-        <activity android:name=".activity.WithdrawalActivity"/>
-        <activity android:name=".activity.BillDetailsActivity"/>
-        <activity android:name=".activity.MyOwnerActivity"/>
-        <activity android:name=".activity.AllOwnerActivity"/>
-        <activity android:name=".activity.CommentListActivity"/>
-        <activity android:name=".activity.RechargeActivity"/>
-        <activity android:name=".activity.EachOtherActivity"/>
-        <activity android:name=".activity.OpinionActivity"/>
-        <activity android:name=".activity.InvoiceListActivity"/>
-        <activity android:name=".activity.ForgetPasswordActivity"/>
-        <activity android:name=".activity.ArticleDetailActivity"/>
-        <activity android:name=".activity.BuyInsureActivity"/>
+        <activity android:name="com.quansu.creativity.activity.AccountActivity" />
+
+        <activity android:name="com.quansu.creativity.activity.AreaSelectActivity"/>
+
+
+        <activity android:name="com.quansu.creativity.activity.PasswordActivity"/>
+
+        <activity android:name="com.quansu.creativity.activity.BankActivity"/>
+        <activity android:name="com.quansu.creativity.activity.WithdrawalActivity"/>
 
+        <activity android:name="com.quansu.creativity.activity.RechargeActivity"/>
+        <activity android:name="com.quansu.creativity.activity.OpinionActivity"/>
+        <activity android:name="com.quansu.creativity.activity.ForgetPasswordActivity"/>
+        <activity android:name="com.quansu.creativity.activity.ArticleDetailActivity"/>
 
     </application >
 

+ 4 - 4
app/src/main/java/com/quansu/heifengwuliu/App.java → app/src/main/java/com/quansu/creativity/App.java

@@ -1,9 +1,9 @@
-package com.quansu.heifengwuliu;
+package com.quansu.creativity;
 
 
-import com.quansu.heifengwuliu.activity.CustomErrorActivity;
-import com.quansu.heifengwuliu.config.Config;
-import com.quansu.heifengwuliu.utils.WeChatUtil;
+import com.quansu.creativity.activity.CustomErrorActivity;
+import com.quansu.creativity.config.Config;
+import com.quansu.creativity.utils.WeChatUtil;
 import com.ysnows.base.base.BApp;
 import com.ysnows.base.ccretrofit.CCRetrofit;
 import com.ysnows.base.config.IConfig;

+ 6 - 6
app/src/main/java/com/quansu/heifengwuliu/activity/AccountActivity.kt → app/src/main/java/com/quansu/creativity/activity/AccountActivity.kt

@@ -1,13 +1,13 @@
-package com.quansu.heifengwuliu.activity
+package com.quansu.creativity.activity
 
 import androidx.fragment.app.Fragment
 import com.qmuiteam.qmui.widget.tab.QMUITab
 import com.qmuiteam.qmui.widget.tab.QMUITabBuilder
-import com.quansu.heifengwuliu.R
-import com.quansu.heifengwuliu.base.MBTabActivity
-import com.quansu.heifengwuliu.databinding.ActivityAccountBinding
-import com.quansu.heifengwuliu.fragment.AccountAnalysisFragment
-import com.quansu.heifengwuliu.fragment.AccountBillFragment
+import com.quansu.creativity.R
+import com.quansu.creativity.base.MBTabActivity
+import com.quansu.creativity.databinding.ActivityAccountBinding
+import com.quansu.creativity.fragment.AccountAnalysisFragment
+import com.quansu.creativity.fragment.AccountBillFragment
 import com.ysnows.base.base.BRepository
 import com.ysnows.base.base.BViewModel
 

+ 7 - 7
app/src/main/java/com/quansu/heifengwuliu/activity/AreaSelectActivity.kt → app/src/main/java/com/quansu/creativity/activity/AreaSelectActivity.kt

@@ -1,16 +1,16 @@
-package com.quansu.heifengwuliu.activity
+package com.quansu.creativity.activity
 
 import android.app.Activity
 import android.content.Intent
 import android.os.Bundle
 import android.text.TextUtils
 import com.qmuiteam.qmui.kotlin.onClick
-import com.quansu.heifengwuliu.R
-import com.quansu.heifengwuliu.adapter.AreaSelectAdapter
-import com.quansu.heifengwuliu.base.MBRActivity
-import com.quansu.heifengwuliu.databinding.ActivityAreaselectBinding
-import com.quansu.heifengwuliu.model.AreaBean
-import com.quansu.heifengwuliu.vmodel.AreaSelectVModel
+import com.quansu.creativity.R
+import com.quansu.creativity.adapter.AreaSelectAdapter
+import com.quansu.creativity.base.MBRActivity
+import com.quansu.creativity.databinding.ActivityAreaselectBinding
+import com.quansu.creativity.model.AreaBean
+import com.quansu.creativity.vmodel.AreaSelectVModel
 import com.ysnows.base.net.IResp
 import java.lang.Exception
 

+ 6 - 6
app/src/main/java/com/quansu/heifengwuliu/activity/ArticleDetailActivity.kt → app/src/main/java/com/quansu/creativity/activity/ArticleDetailActivity.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.activity
+package com.quansu.creativity.activity
 
 import android.annotation.SuppressLint
 import android.graphics.Color
@@ -8,14 +8,14 @@ import android.view.View
 import android.view.View.OnLongClickListener
 import android.webkit.WebSettings
 import android.webkit.WebView.HitTestResult
-import com.quansu.heifengwuliu.base.MBActivity
-import com.quansu.heifengwuliu.databinding.ActivityArticleDetailBinding
-import com.quansu.heifengwuliu.utils.WebViewUtils
-import com.quansu.heifengwuliu.vmodel.ArticleDetailVModel
+import com.quansu.creativity.base.MBActivity
+import com.quansu.creativity.databinding.ActivityArticleDetailBinding
+import com.quansu.creativity.utils.WebViewUtils
+import com.quansu.creativity.vmodel.ArticleDetailVModel
 import java.util.*
 import androidx.lifecycle.Observer
 import com.hwangjr.rxbus.RxBus
-import com.quansu.heifengwuliu.config.ConfigRx
+import com.quansu.creativity.config.ConfigRx
 
 
 /**

+ 8 - 8
app/src/main/java/com/quansu/heifengwuliu/activity/BankActivity.kt → app/src/main/java/com/quansu/creativity/activity/BankActivity.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.activity
+package com.quansu.creativity.activity
 
 import android.app.Activity
 import android.content.Intent
@@ -6,13 +6,13 @@ import android.os.Bundle
 import android.util.Log
 import androidx.core.net.toUri
 import com.luck.picture.lib.PictureSelector
-import com.quansu.heifengwuliu.base.MBActivity
-import com.quansu.heifengwuliu.config.MIntentAction
-import com.quansu.heifengwuliu.databinding.ActivityBankBinding
-import com.quansu.heifengwuliu.inte.OnUploadCallback
-import com.quansu.heifengwuliu.utils.FileUtils
-import com.quansu.heifengwuliu.utils.OssUtils
-import com.quansu.heifengwuliu.vmodel.BankVModel
+import com.quansu.creativity.base.MBActivity
+import com.quansu.creativity.config.MIntentAction
+import com.quansu.creativity.databinding.ActivityBankBinding
+import com.quansu.creativity.inte.OnUploadCallback
+import com.quansu.creativity.utils.FileUtils
+import com.quansu.creativity.utils.OssUtils
+import com.quansu.creativity.vmodel.BankVModel
 import java.util.ArrayList
 
 /**

+ 3 - 3
app/src/main/java/com/quansu/heifengwuliu/activity/CustomErrorActivity.kt → app/src/main/java/com/quansu/creativity/activity/CustomErrorActivity.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.activity
+package com.quansu.creativity.activity
 
 import android.content.ClipData
 import android.content.ClipboardManager
@@ -7,8 +7,8 @@ import android.os.Bundle
 import cat.ereza.customactivityoncrash.CustomActivityOnCrash
 import cat.ereza.customactivityoncrash.config.CaocConfig
 import com.qmuiteam.qmui.kotlin.onClick
-import com.quansu.heifengwuliu.base.MBActivity
-import com.quansu.heifengwuliu.databinding.ActivityErrorBinding
+import com.quansu.creativity.base.MBActivity
+import com.quansu.creativity.databinding.ActivityErrorBinding
 import com.ysnows.base.base.BRepository
 import com.ysnows.base.base.BViewModel
 

+ 5 - 5
app/src/main/java/com/quansu/heifengwuliu/activity/ForgetPasswordActivity.kt → app/src/main/java/com/quansu/creativity/activity/ForgetPasswordActivity.kt

@@ -1,8 +1,8 @@
-package com.quansu.heifengwuliu.activity
+package com.quansu.creativity.activity
 
-import com.quansu.heifengwuliu.base.MBActivity
-import com.quansu.heifengwuliu.databinding.ActivityForgetPasswordBinding
-import com.quansu.heifengwuliu.vmodel.ForgetPasswordVModel
+import com.quansu.creativity.base.MBActivity
+import com.quansu.creativity.databinding.ActivityForgetPasswordBinding
+import com.quansu.creativity.vmodel.ForgetPasswordVModel
 
 /**
  *Created by shihuiyun
@@ -20,7 +20,7 @@ class ForgetPasswordActivity : MBActivity<ForgetPasswordVModel, ActivityForgetPa
     }
 
     override fun title(): String? {
-        return "忘记密码"
+        return ""
     }
 
 }

+ 8 - 10
app/src/main/java/com/quansu/heifengwuliu/activity/LoginActivity.kt → app/src/main/java/com/quansu/creativity/activity/LoginActivity.kt

@@ -1,10 +1,8 @@
-package com.quansu.heifengwuliu.activity
+package com.quansu.creativity.activity
 
-import com.quansu.heifengwuliu.base.MBActivity
-import com.quansu.heifengwuliu.databinding.ActivityLoginBinding
-import com.quansu.heifengwuliu.repository.LoginRepository
-import com.quansu.heifengwuliu.vmodel.LoginVModel
-import com.ysnows.base.base.BRepository
+import com.quansu.creativity.base.MBActivity
+import com.quansu.creativity.databinding.ActivityLoginBinding
+import com.quansu.creativity.vmodel.LoginVModel
 
 class LoginActivity : MBActivity<LoginVModel, ActivityLoginBinding>() {
 
@@ -21,10 +19,10 @@ class LoginActivity : MBActivity<LoginVModel, ActivityLoginBinding>() {
         return LoginVModel::class.java
     }
 
-
-    override fun transluent(): Boolean {
-        return true
-    }
+//全屏
+//    override fun transluent(): Boolean {
+//        return true
+//    }
 
     override val isRxbus: Boolean
         get() = true

+ 161 - 0
app/src/main/java/com/quansu/creativity/activity/MainActivity.kt

@@ -0,0 +1,161 @@
+package com.quansu.creativity.activity
+
+import android.graphics.Color
+import android.os.Build
+import android.os.Bundle
+import android.view.KeyEvent
+import android.view.View
+import androidx.core.content.ContextCompat
+import androidx.fragment.app.Fragment
+import androidx.fragment.app.FragmentManager
+import com.githang.statusbar.StatusBarCompat
+import com.qmuiteam.qmui.kotlin.onClick
+import com.quansu.creativity.R
+import com.quansu.creativity.base.MBActivity
+import com.quansu.creativity.databinding.ActivityMainBinding
+import com.quansu.creativity.fragment.HomeDriverFragment
+import com.quansu.creativity.fragment.HomeFirstFragment
+import com.quansu.creativity.fragment.HomeMyFragment
+import com.quansu.creativity.vmodel.MainVModel
+import com.ysnows.base.base.BRepository
+import com.ysnows.base.base.BViewModel
+import com.ysnows.base.utils.KeySimulateUtils
+import com.ysnows.base.utils.UiUtils
+import java.util.*
+
+/**
+ *Created by shihuiyun
+ *on 2020/12/4
+ */
+class MainActivity : MBActivity<MainVModel, ActivityMainBinding>(){
+
+
+    override fun init(savedInstanceState: Bundle?) {
+        super.init(savedInstanceState)
+        StatusBarCompat.setStatusBarColor(this, Color.parseColor("#00ffffff"))
+        initData()
+
+    }
+
+    private fun initData() {
+        initMainMenu()
+        binding.mainMenu.switchTab(0)
+
+    }
+
+    fun initMainMenu() {
+
+        if (null == binding.mainMenu) {
+            return
+        }
+
+        val menuTabBuilder = binding.mainMenu.tabBuilder()
+                .setSelectColor(Color.parseColor("#3AD3D5"))
+                .setNormalColor(Color.parseColor("#222222"))
+
+
+        val oneFragment = HomeFirstFragment()//HomeTicketFragment  HomeSpaceFragment
+        val twoFragment = HomeMyFragment()//HomeSiteFragment  CircleTabsFragment
+         val threeFragment = HomeMyFragment()
+        val fourFragment = HomeMyFragment()
+        //  fourFragment.arguments = B().putString("type", type).ok()
+
+        val one = menuTabBuilder
+                .setFragment(oneFragment)
+                .setNormalDrawable(ContextCompat.getDrawable(context(), R.drawable.menu_one))
+                .setSelectedDrawable(ContextCompat.getDrawable(context(), R.drawable.menu_one_focus))
+                .setText("首页")
+                .build(context())
+        val two = menuTabBuilder
+                .setFragment(twoFragment)
+                .setNormalDrawable(ContextCompat.getDrawable(context(), R.drawable.menu_two))
+                .setSelectedDrawable(ContextCompat.getDrawable(context(), R.drawable.menu_two_focus))
+                .setText("寄售")
+                .build(context())
+        val three = menuTabBuilder
+                .setFragment(threeFragment)
+                .setText("积分商城")
+                .setNormalDrawable(ContextCompat.getDrawable(context(), R.drawable.menu_three))
+                .setSelectedDrawable(ContextCompat.getDrawable(context(), R.drawable.menu_three_focus))
+                .build(context())
+        val four = menuTabBuilder
+                .setFragment(fourFragment)
+                .setText("我的")
+                .setNormalDrawable(ContextCompat.getDrawable(context(), R.drawable.menu_four))
+                .setSelectedDrawable(ContextCompat.getDrawable(context(), R.drawable.menu_four_focus))
+                .build(context())
+
+        binding.mainMenu
+                .addTab(one)
+                .addTab(two)
+                .addTab(three)
+                .addTab(four)
+                .rendor()
+
+
+//        binding.mainMenu.setListener {
+//            if(it == "3"){
+//                RxBus.get().post(ConfigRx.REFRESH_USER_DATA, "")
+//
+//            }
+//        }
+
+
+    }
+
+
+
+    override fun listeners() {
+        super.listeners()
+
+    }
+
+    override fun binding(): ActivityMainBinding {
+        return ActivityMainBinding.inflate(layoutInflater)
+    }
+
+    override fun transluent(): Boolean {
+        return true
+    }
+
+    override fun title(): String? {
+        return null
+    }
+
+    /**
+     * 双击退出函数
+     */
+    private var isExit = false
+
+    /**
+     * 菜单、返回键响应
+     */
+    override fun onKeyDown(keyCode: Int, event: KeyEvent?): Boolean {
+        if (keyCode == KeyEvent.KEYCODE_BACK) {
+            exitBy2Click() //调用双击退出函数
+            return true
+        }
+        return false
+    }
+
+    private fun exitBy2Click() {
+        var tExit: Timer? = null
+        if (!isExit) {
+            isExit = true // 准备退出
+            toast("再按一次退出应用")
+            tExit = Timer()
+            tExit.schedule(object : TimerTask() {
+                override fun run() {
+                    isExit = false // 取消退出
+                }
+            }, 1500) // 如果2秒钟内没有按下返回键,则启动定时器取消掉刚才执行的任务
+        } else {
+            KeySimulateUtils.simulate(KeyEvent.KEYCODE_HOME)
+            System.exit(0)
+        }
+    }
+
+
+
+}
+

+ 6 - 6
app/src/main/java/com/quansu/heifengwuliu/activity/MsgActivity.kt → app/src/main/java/com/quansu/creativity/activity/MsgActivity.kt

@@ -1,10 +1,10 @@
-package com.quansu.heifengwuliu.activity
+package com.quansu.creativity.activity
 
-import com.quansu.heifengwuliu.R
-import com.quansu.heifengwuliu.adapter.MsgAdapter
-import com.quansu.heifengwuliu.base.MBRActivity
-import com.quansu.heifengwuliu.databinding.ActivityMsgBinding
-import com.quansu.heifengwuliu.vmodel.MsgVModel
+import com.quansu.creativity.R
+import com.quansu.creativity.adapter.MsgAdapter
+import com.quansu.creativity.base.MBRActivity
+import com.quansu.creativity.databinding.ActivityMsgBinding
+import com.quansu.creativity.vmodel.MsgVModel
 
 class MsgActivity : MBRActivity<MsgVModel, MsgAdapter, ActivityMsgBinding>() {
 

+ 5 - 5
app/src/main/java/com/quansu/heifengwuliu/activity/OneLoginActivity.kt → app/src/main/java/com/quansu/creativity/activity/OneLoginActivity.kt

@@ -1,13 +1,13 @@
-package com.quansu.heifengwuliu.activity
+package com.quansu.creativity.activity
 
 import android.os.Bundle
 import android.view.KeyEvent
 import com.hwangjr.rxbus.annotation.Subscribe
 import com.hwangjr.rxbus.annotation.Tag
-import com.quansu.heifengwuliu.base.MBActivity
-import com.quansu.heifengwuliu.config.ConfigRx
-import com.quansu.heifengwuliu.databinding.ActivityOneloginBinding
-import com.quansu.heifengwuliu.vmodel.OneLoginVModel
+import com.quansu.creativity.base.MBActivity
+import com.quansu.creativity.config.ConfigRx
+import com.quansu.creativity.databinding.ActivityOneloginBinding
+import com.quansu.creativity.vmodel.OneLoginVModel
 import com.ysnows.base.utils.KeySimulateUtils
 
 /**

+ 8 - 8
app/src/main/java/com/quansu/heifengwuliu/activity/OpinionActivity.kt → app/src/main/java/com/quansu/creativity/activity/OpinionActivity.kt

@@ -1,17 +1,17 @@
-package com.quansu.heifengwuliu.activity
+package com.quansu.creativity.activity
 
 import android.app.Activity
 import android.content.Intent
 import android.os.Bundle
 import androidx.core.net.toUri
 import com.luck.picture.lib.PictureSelector
-import com.quansu.heifengwuliu.base.MBActivity
-import com.quansu.heifengwuliu.config.MIntentAction
-import com.quansu.heifengwuliu.databinding.ActivityOpinionBinding
-import com.quansu.heifengwuliu.inte.OnUploadCallback
-import com.quansu.heifengwuliu.utils.FileUtils
-import com.quansu.heifengwuliu.utils.OssUtils
-import com.quansu.heifengwuliu.vmodel.OpinionVModel
+import com.quansu.creativity.base.MBActivity
+import com.quansu.creativity.config.MIntentAction
+import com.quansu.creativity.databinding.ActivityOpinionBinding
+import com.quansu.creativity.inte.OnUploadCallback
+import com.quansu.creativity.utils.FileUtils
+import com.quansu.creativity.utils.OssUtils
+import com.quansu.creativity.vmodel.OpinionVModel
 import java.util.*
 
 /**

+ 9 - 13
app/src/main/java/com/quansu/heifengwuliu/activity/PasswordActivity.kt → app/src/main/java/com/quansu/creativity/activity/PasswordActivity.kt

@@ -1,22 +1,18 @@
-package com.quansu.heifengwuliu.activity
+package com.quansu.creativity.activity
 
 import android.app.Activity
 import android.content.Intent
 import android.os.Bundle
-import android.os.Handler
-import android.util.Log
 import androidx.core.net.toUri
 import com.luck.picture.lib.PictureSelector
-import com.quansu.heifengwuliu.R
-import com.quansu.heifengwuliu.base.MBActivity
-import com.quansu.heifengwuliu.config.MIntentAction
-import com.quansu.heifengwuliu.databinding.ActivityPasswordBinding
-import com.quansu.heifengwuliu.inte.OnUploadCallback
-import com.quansu.heifengwuliu.utils.FileUtils
-import com.quansu.heifengwuliu.utils.OssUtils
-import com.quansu.heifengwuliu.view.PasswordView
-import com.quansu.heifengwuliu.view.PasswordView.PasswordListener
-import com.quansu.heifengwuliu.vmodel.PasswordVModel
+import com.quansu.creativity.base.MBActivity
+import com.quansu.creativity.config.MIntentAction
+import com.quansu.creativity.databinding.ActivityPasswordBinding
+import com.quansu.creativity.inte.OnUploadCallback
+import com.quansu.creativity.utils.FileUtils
+import com.quansu.creativity.utils.OssUtils
+import com.quansu.creativity.view.PasswordView.PasswordListener
+import com.quansu.creativity.vmodel.PasswordVModel
 import java.util.*
 
 class PasswordActivity : MBActivity<PasswordVModel, ActivityPasswordBinding>(), OnUploadCallback<String> {

+ 8 - 8
app/src/main/java/com/quansu/heifengwuliu/activity/RechargeActivity.kt → app/src/main/java/com/quansu/creativity/activity/RechargeActivity.kt

@@ -1,17 +1,17 @@
-package com.quansu.heifengwuliu.activity
+package com.quansu.creativity.activity
 
 import android.app.Activity
 import android.content.Intent
 import android.os.Bundle
 import androidx.core.net.toUri
 import com.luck.picture.lib.PictureSelector
-import com.quansu.heifengwuliu.base.MBActivity
-import com.quansu.heifengwuliu.config.MIntentAction
-import com.quansu.heifengwuliu.databinding.ActivityRechargeBinding
-import com.quansu.heifengwuliu.inte.OnUploadCallback
-import com.quansu.heifengwuliu.utils.FileUtils
-import com.quansu.heifengwuliu.utils.OssUtils
-import com.quansu.heifengwuliu.vmodel.RechargeVModel
+import com.quansu.creativity.base.MBActivity
+import com.quansu.creativity.config.MIntentAction
+import com.quansu.creativity.databinding.ActivityRechargeBinding
+import com.quansu.creativity.inte.OnUploadCallback
+import com.quansu.creativity.utils.FileUtils
+import com.quansu.creativity.utils.OssUtils
+import com.quansu.creativity.vmodel.RechargeVModel
 import java.util.ArrayList
 
 /**

+ 7 - 12
app/src/main/java/com/quansu/heifengwuliu/activity/RegisterActivity.kt → app/src/main/java/com/quansu/creativity/activity/RegisterActivity.kt

@@ -1,31 +1,26 @@
-package com.quansu.heifengwuliu.activity
+package com.quansu.creativity.activity
 
 import android.os.Bundle
 import com.qmuiteam.qmui.kotlin.onClick
-import com.quansu.heifengwuliu.base.MBActivity
-import com.quansu.heifengwuliu.databinding.ActivityRegisterBinding
-import com.quansu.heifengwuliu.repository.RegisterRepository
-import com.quansu.heifengwuliu.vmodel.RegisterVModel
-import com.ysnows.base.base.BRepository
+import com.quansu.creativity.base.MBActivity
+import com.quansu.creativity.databinding.ActivityRegisterBinding
+import com.quansu.creativity.vmodel.RegisterVModel
 
 class RegisterActivity : MBActivity<RegisterVModel, ActivityRegisterBinding>() {
 
     override fun init(savedInstanceState: Bundle?) {
         super.init(savedInstanceState)
-        vm.openId = intent?.extras?.getString("openid", "")
-        vm.unionId = intent?.extras?.getString("unionid", "")
+
     }
 
     override fun listeners() {
         super.listeners()
-        binding.butRegister.onClick {
-            vm.register(binding.butRegister)
-        }
+
     }
 
 
     override fun title(): String? {
-        return null
+        return ""
     }
 
     override fun binding(): ActivityRegisterBinding {

+ 41 - 0
app/src/main/java/com/quansu/creativity/activity/TestMainActivity.kt

@@ -0,0 +1,41 @@
+package com.quansu.creativity.activity
+
+import android.os.Bundle
+import com.qmuiteam.qmui.kotlin.onClick
+import com.quansu.creativity.base.MBActivity
+import com.quansu.creativity.databinding.ActivityTextMainBinding
+import com.quansu.creativity.vmodel.TextMainVModel
+
+class TestMainActivity : MBActivity<TextMainVModel, ActivityTextMainBinding>() {
+
+    override fun vmClass(): Class<TextMainVModel> {
+        return TextMainVModel::class.java
+    }
+
+    override fun binding(): ActivityTextMainBinding {
+        return ActivityTextMainBinding.inflate(layoutInflater)
+    }
+
+    override fun title(): String? {
+        return null
+    }
+
+    override fun init(savedInstanceState: Bundle?) {
+        super.init(savedInstanceState)
+
+
+    }
+
+    override fun listeners() {
+        super.listeners()
+        binding.imgHome.onClick {
+            binding.drawerLayout.openDrawer(binding.menuLayoutLeft)
+            //关闭
+           // binding.drawerLayout.closeDrawers()
+
+
+        }
+    }
+
+
+}

+ 3 - 3
app/src/main/java/com/quansu/heifengwuliu/activity/WebViewActivity.kt → app/src/main/java/com/quansu/creativity/activity/WebViewActivity.kt

@@ -1,10 +1,10 @@
-package com.quansu.heifengwuliu.activity
+package com.quansu.creativity.activity
 
 import android.os.Bundle
 import android.webkit.WebView
 import com.qmuiteam.qmui.widget.webview.QMUIWebViewClient
-import com.quansu.heifengwuliu.base.MBActivity
-import com.quansu.heifengwuliu.databinding.ActivityWebviewBinding
+import com.quansu.creativity.base.MBActivity
+import com.quansu.creativity.databinding.ActivityWebviewBinding
 import com.ysnows.base.base.BRepository
 import com.ysnows.base.base.BViewModel
 

+ 5 - 5
app/src/main/java/com/quansu/heifengwuliu/activity/WithdrawalActivity.kt → app/src/main/java/com/quansu/creativity/activity/WithdrawalActivity.kt

@@ -1,12 +1,12 @@
-package com.quansu.heifengwuliu.activity
+package com.quansu.creativity.activity
 
 import android.app.Activity
 import android.content.Intent
 import android.os.Bundle
-import com.quansu.heifengwuliu.base.MBActivity
-import com.quansu.heifengwuliu.config.MIntentAction
-import com.quansu.heifengwuliu.databinding.ActivityWithdrawalBinding
-import com.quansu.heifengwuliu.vmodel.WithdrawalVModel
+import com.quansu.creativity.base.MBActivity
+import com.quansu.creativity.config.MIntentAction
+import com.quansu.creativity.databinding.ActivityWithdrawalBinding
+import com.quansu.creativity.vmodel.WithdrawalVModel
 
 /**
  *Created by shihuiyun

+ 5 - 5
app/src/main/java/com/quansu/heifengwuliu/adapter/AllCarAdapter.kt → app/src/main/java/com/quansu/creativity/adapter/AllCarAdapter.kt

@@ -1,10 +1,10 @@
-package com.quansu.heifengwuliu.adapter
+package com.quansu.creativity.adapter
 
 import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder
-import com.quansu.heifengwuliu.R
-import com.quansu.heifengwuliu.databinding.ItemTypeBinding
-import com.quansu.heifengwuliu.inte.ChoiceData
-import com.quansu.heifengwuliu.model.DataInfoBean
+import com.quansu.creativity.R
+import com.quansu.creativity.databinding.ItemTypeBinding
+import com.quansu.creativity.inte.ChoiceData
+import com.quansu.creativity.model.DataInfoBean
 import com.ysnows.base.base.BAdapter
 
 class AllCarAdapter(val chose: ChoiceData) : BAdapter<DataInfoBean.CarTypeBean,

+ 5 - 5
app/src/main/java/com/quansu/heifengwuliu/adapter/AreaSelectAdapter.java → app/src/main/java/com/quansu/creativity/adapter/AreaSelectAdapter.java

@@ -1,10 +1,10 @@
-package com.quansu.heifengwuliu.adapter;
+package com.quansu.creativity.adapter;
 
 import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder;
-import com.quansu.heifengwuliu.R;
-import com.quansu.heifengwuliu.databinding.ItemAreaselectBinding;
-import com.quansu.heifengwuliu.model.AreaBean;
-import com.quansu.heifengwuliu.vmodel.AreaSelectVModel;
+import com.quansu.creativity.R;
+import com.quansu.creativity.databinding.ItemAreaselectBinding;
+import com.quansu.creativity.model.AreaBean;
+import com.quansu.creativity.vmodel.AreaSelectVModel;
 import com.ysnows.base.base.BAdapter;
 
 import org.jetbrains.annotations.NotNull;

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/adapter/BaseFragmentPagerAdapter.java → app/src/main/java/com/quansu/creativity/adapter/BaseFragmentPagerAdapter.java

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.adapter;
+package com.quansu.creativity.adapter;
 
 import androidx.fragment.app.Fragment;
 import androidx.fragment.app.FragmentManager;

+ 14 - 0
app/src/main/java/com/quansu/creativity/adapter/BillAdapter.kt

@@ -0,0 +1,14 @@
+package com.quansu.creativity.adapter
+
+import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder
+import com.quansu.creativity.R
+import com.quansu.creativity.databinding.ItemBillBinding
+import com.quansu.creativity.model.AmountList
+import com.ysnows.base.base.BAdapter
+
+class BillAdapter : BAdapter<AmountList, BaseDataBindingHolder<ItemBillBinding>>(R.layout.item_bill) {
+    override fun convert(holder: BaseDataBindingHolder<ItemBillBinding>, item: AmountList) {
+        holder.dataBinding?.item = item
+
+    }
+}

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/adapter/FragAdapter.java → app/src/main/java/com/quansu/creativity/adapter/FragAdapter.java

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.adapter;
+package com.quansu.creativity.adapter;
 
 import androidx.fragment.app.Fragment;
 import androidx.fragment.app.FragmentManager;

+ 2 - 2
app/src/main/java/com/quansu/heifengwuliu/adapter/FragmentAdapter.java → app/src/main/java/com/quansu/creativity/adapter/FragmentAdapter.java

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.adapter;
+package com.quansu.creativity.adapter;
 
 
 
@@ -7,7 +7,7 @@ import androidx.fragment.app.FragmentManager;
 import androidx.fragment.app.FragmentPagerAdapter;
 
 
-import com.quansu.heifengwuliu.utils.TAB;
+import com.quansu.creativity.utils.TAB;
 
 import java.util.ArrayList;
 

+ 15 - 0
app/src/main/java/com/quansu/creativity/adapter/HomeDriverAdapter.kt

@@ -0,0 +1,15 @@
+package com.quansu.creativity.adapter
+
+import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder
+import com.quansu.creativity.R
+import com.quansu.creativity.databinding.ItemHomeDriverBinding
+import com.quansu.creativity.model.InfoListBean
+import com.quansu.creativity.vmodel.HomeDriverVModel
+import com.ysnows.base.base.BAdapter
+
+class HomeDriverAdapter(val vm: HomeDriverVModel) : BAdapter<InfoListBean, BaseDataBindingHolder<ItemHomeDriverBinding>>(R.layout.item_home_driver) {
+    override fun convert(holder: BaseDataBindingHolder<ItemHomeDriverBinding>, item: InfoListBean) {
+        holder.dataBinding?.vm=vm
+        holder.dataBinding?.item = item
+    }
+}

+ 3 - 3
app/src/main/java/com/quansu/heifengwuliu/adapter/ModelAdapter.kt → app/src/main/java/com/quansu/creativity/adapter/ModelAdapter.kt

@@ -1,9 +1,9 @@
-package com.quansu.heifengwuliu.adapter
+package com.quansu.creativity.adapter
 
 import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder
 import com.qmuiteam.qmui.kotlin.onClick
-import com.quansu.heifengwuliu.R
-import com.quansu.heifengwuliu.databinding.ItemModelBinding
+import com.quansu.creativity.R
+import com.quansu.creativity.databinding.ItemModelBinding
 import com.yanzhenjie.permission.AndPermission
 import com.yanzhenjie.permission.runtime.Permission
 import com.ysnows.base.base.BAdapter

+ 7 - 9
app/src/main/java/com/quansu/heifengwuliu/adapter/MsgAdapter.kt → app/src/main/java/com/quansu/creativity/adapter/MsgAdapter.kt

@@ -1,18 +1,16 @@
-package com.quansu.heifengwuliu.adapter
+package com.quansu.creativity.adapter
 
 import android.os.Bundle
 import android.text.TextUtils
 import android.view.View
 import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder
-import com.hwangjr.rxbus.RxBus
 import com.qmuiteam.qmui.kotlin.onClick
-import com.quansu.heifengwuliu.R
-import com.quansu.heifengwuliu.activity.ArticleDetailActivity
-import com.quansu.heifengwuliu.config.ConfigRx
-import com.quansu.heifengwuliu.databinding.ItemMsgBinding
-import com.quansu.heifengwuliu.model.MsgList
-import com.quansu.heifengwuliu.utils.VerifyUtils
-import com.quansu.heifengwuliu.vmodel.MsgVModel
+import com.quansu.creativity.R
+import com.quansu.creativity.activity.ArticleDetailActivity
+import com.quansu.creativity.databinding.ItemMsgBinding
+import com.quansu.creativity.model.MsgList
+import com.quansu.creativity.utils.VerifyUtils
+import com.quansu.creativity.vmodel.MsgVModel
 import com.ysnows.base.base.BAdapter
 import com.ysnows.base.utils.UiSwitch
 

+ 4 - 4
app/src/main/java/com/quansu/heifengwuliu/adapter/OrderInfoInadapter.kt → app/src/main/java/com/quansu/creativity/adapter/OrderInfoInadapter.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.adapter
+package com.quansu.creativity.adapter
 
 import android.Manifest
 import android.annotation.SuppressLint
@@ -7,9 +7,9 @@ import android.net.Uri
 import android.text.TextUtils
 import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder
 import com.qmuiteam.qmui.kotlin.onClick
-import com.quansu.heifengwuliu.R
-import com.quansu.heifengwuliu.databinding.ItemEnterinfoBinding
-import com.quansu.heifengwuliu.model.DataInfoBean
+import com.quansu.creativity.R
+import com.quansu.creativity.databinding.ItemEnterinfoBinding
+import com.quansu.creativity.model.DataInfoBean
 import com.yanzhenjie.permission.Action
 import com.yanzhenjie.permission.AndPermission
 import com.ysnows.base.base.BAdapter

+ 4 - 4
app/src/main/java/com/quansu/heifengwuliu/adapter/OrderInfoadapter.kt → app/src/main/java/com/quansu/creativity/adapter/OrderInfoadapter.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.adapter
+package com.quansu.creativity.adapter
 
 import android.Manifest
 import android.annotation.SuppressLint
@@ -7,9 +7,9 @@ import android.net.Uri
 import android.text.TextUtils
 import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder
 import com.qmuiteam.qmui.kotlin.onClick
-import com.quansu.heifengwuliu.R
-import com.quansu.heifengwuliu.databinding.ItemPeopleinfoBinding
-import com.quansu.heifengwuliu.model.DataInfoBean
+import com.quansu.creativity.R
+import com.quansu.creativity.databinding.ItemPeopleinfoBinding
+import com.quansu.creativity.model.DataInfoBean
 import com.yanzhenjie.permission.Action
 import com.yanzhenjie.permission.AndPermission
 import com.ysnows.base.base.BAdapter

+ 4 - 4
app/src/main/java/com/quansu/heifengwuliu/base/MBActivity.kt → app/src/main/java/com/quansu/creativity/base/MBActivity.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.base
+package com.quansu.creativity.base
 
 import android.content.Context
 import android.os.IBinder
@@ -7,9 +7,9 @@ import android.view.View
 import android.view.inputmethod.InputMethodManager
 import android.widget.EditText
 import androidx.databinding.ViewDataBinding
-import com.quansu.heifengwuliu.R
-import com.quansu.heifengwuliu.activity.OneLoginActivity
-import com.quansu.heifengwuliu.model.User
+import com.quansu.creativity.R
+import com.quansu.creativity.activity.OneLoginActivity
+import com.quansu.creativity.model.User
 import com.ysnows.base.base.BActivity
 import com.ysnows.base.base.BViewModel
 import com.ysnows.base.inter.IUser

+ 4 - 4
app/src/main/java/com/quansu/heifengwuliu/base/MBFragment.kt → app/src/main/java/com/quansu/creativity/base/MBFragment.kt

@@ -1,9 +1,9 @@
-package com.quansu.heifengwuliu.base
+package com.quansu.creativity.base
 
 import androidx.databinding.ViewDataBinding
-import com.quansu.heifengwuliu.R
-import com.quansu.heifengwuliu.activity.OneLoginActivity
-import com.quansu.heifengwuliu.model.User
+import com.quansu.creativity.R
+import com.quansu.creativity.activity.OneLoginActivity
+import com.quansu.creativity.model.User
 import com.ysnows.base.base.BFragment
 import com.ysnows.base.base.BViewModel
 import com.ysnows.base.inter.IUser

+ 4 - 4
app/src/main/java/com/quansu/heifengwuliu/base/MBRActivity.kt → app/src/main/java/com/quansu/creativity/base/MBRActivity.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.base
+package com.quansu.creativity.base
 
 import android.content.Context
 import android.os.IBinder
@@ -9,9 +9,9 @@ import android.widget.EditText
 import androidx.databinding.ViewDataBinding
 import com.chad.library.adapter.base.BaseQuickAdapter
 import com.chad.library.adapter.base.viewholder.BaseViewHolder
-import com.quansu.heifengwuliu.R
-import com.quansu.heifengwuliu.activity.OneLoginActivity
-import com.quansu.heifengwuliu.model.User
+import com.quansu.creativity.R
+import com.quansu.creativity.activity.OneLoginActivity
+import com.quansu.creativity.model.User
 import com.ysnows.base.base.BRActivity
 import com.ysnows.base.base.BRViewModel
 import com.ysnows.base.inter.IUser

+ 4 - 4
app/src/main/java/com/quansu/heifengwuliu/base/MBRFragment.kt → app/src/main/java/com/quansu/creativity/base/MBRFragment.kt

@@ -1,11 +1,11 @@
-package com.quansu.heifengwuliu.base
+package com.quansu.creativity.base
 
 import androidx.databinding.ViewDataBinding
 import com.chad.library.adapter.base.BaseQuickAdapter
 import com.chad.library.adapter.base.viewholder.BaseViewHolder
-import com.quansu.heifengwuliu.R
-import com.quansu.heifengwuliu.activity.OneLoginActivity
-import com.quansu.heifengwuliu.model.User
+import com.quansu.creativity.R
+import com.quansu.creativity.activity.OneLoginActivity
+import com.quansu.creativity.model.User
 import com.ysnows.base.base.BRFragment
 import com.ysnows.base.base.BRViewModel
 import com.ysnows.base.inter.IUser

+ 4 - 4
app/src/main/java/com/quansu/heifengwuliu/base/MBTabActivity.kt → app/src/main/java/com/quansu/creativity/base/MBTabActivity.kt

@@ -1,9 +1,9 @@
-package com.quansu.heifengwuliu.base
+package com.quansu.creativity.base
 
 import androidx.databinding.ViewDataBinding
-import com.quansu.heifengwuliu.R
-import com.quansu.heifengwuliu.activity.OneLoginActivity
-import com.quansu.heifengwuliu.model.User
+import com.quansu.creativity.R
+import com.quansu.creativity.activity.OneLoginActivity
+import com.quansu.creativity.model.User
 import com.ysnows.base.base.BTabActivity
 import com.ysnows.base.base.BViewModel
 import com.ysnows.base.inter.IUser

+ 4 - 4
app/src/main/java/com/quansu/heifengwuliu/base/MBTabFragment.kt → app/src/main/java/com/quansu/creativity/base/MBTabFragment.kt

@@ -1,9 +1,9 @@
-package com.quansu.heifengwuliu.base
+package com.quansu.creativity.base
 
 import androidx.databinding.ViewDataBinding
-import com.quansu.heifengwuliu.R
-import com.quansu.heifengwuliu.activity.OneLoginActivity
-import com.quansu.heifengwuliu.model.User
+import com.quansu.creativity.R
+import com.quansu.creativity.activity.OneLoginActivity
+import com.quansu.creativity.model.User
 import com.ysnows.base.base.BTabFragment
 import com.ysnows.base.base.BViewModel
 import com.ysnows.base.inter.IUser

+ 3 - 3
app/src/main/java/com/quansu/heifengwuliu/binding/SearchViewBindingAdapter.java → app/src/main/java/com/quansu/creativity/binding/SearchViewBindingAdapter.java

@@ -1,7 +1,7 @@
-package com.quansu.heifengwuliu.binding;
+package com.quansu.creativity.binding;
 
-import com.quansu.heifengwuliu.vmodel.SearchVModel;
-import com.quansu.heifengwuliu.widget.SearchView;
+import com.quansu.creativity.vmodel.SearchVModel;
+import com.quansu.creativity.widget.SearchView;
 
 import androidx.databinding.BindingAdapter;
 

+ 3 - 7
app/src/main/java/com/quansu/heifengwuliu/component/CpApp.kt → app/src/main/java/com/quansu/creativity/component/CpApp.kt

@@ -1,15 +1,11 @@
-package com.quansu.heifengwuliu.component
+package com.quansu.creativity.component
 
-import android.content.Intent
-import android.util.Log
 import com.billy.cc.core.component.CC
 import com.billy.cc.core.component.CCResult
 import com.billy.cc.core.component.IComponent
 import com.hwangjr.rxbus.RxBus
-import com.quansu.heifengwuliu.config.ConfigRx
-import com.quansu.heifengwuliu.model.bean.OneLoginBean
-import com.quansu.heifengwuliu.utils.StringUtils
-import com.quansu.heifengwuliu.utils.VerifyUtils
+import com.quansu.creativity.config.ConfigRx
+import com.quansu.creativity.utils.VerifyUtils
 import com.ysnows.base.ccextension.BIComponent
 import com.ysnows.base.model.PositionBean
 

+ 6 - 6
app/src/main/java/com/quansu/heifengwuliu/config/Config.kt → app/src/main/java/com/quansu/creativity/config/Config.kt

@@ -1,6 +1,6 @@
-package com.quansu.heifengwuliu.config
+package com.quansu.creativity.config
 
-import com.quansu.heifengwuliu.BuildConfig
+import com.quansu.creativity.BuildConfig
 import com.ysnows.base.config.IConfig
 
 class Config : IConfig {
@@ -8,8 +8,8 @@ class Config : IConfig {
       // return "https://heifengwuliu.qs110.com/"
      // return "https://heifengwuliudev.qs110.com/"
 
-      return "https://xinyunbida.qs110.com/"
-    // return "https://xinyunbidadev.qs110.com/"//注意:切换的时候注意切换buggly
+     // return "https://xinyunbida.qs110.com/"
+     return "https://xinyunbidadev.qs110.com/"//注意:切换的时候注意切换buggly
 
     }
 
@@ -26,9 +26,9 @@ class Config : IConfig {
     }
 
     override fun buglyAppId(): String? {
-        return "577d2c7c52"//正式的bugly
+       // return "577d2c7c52"//正式的bugly
 
-       // return "3837125332"//测试的bugly
+        return "3837125332"//测试的bugly
     }
 
     override fun ossEndpoint(): String? {

+ 2 - 2
app/src/main/java/com/quansu/heifengwuliu/config/ConfigFuncType.kt → app/src/main/java/com/quansu/creativity/config/ConfigFuncType.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.config
+package com.quansu.creativity.config
 
 object ConfigFuncType {
 
@@ -20,4 +20,4 @@ object ConfigFuncType {
     const val CUSTOM_OPEN_APP = 15
     const val SHELL = 16
     const val URI = 17
-}
+}

+ 2 - 2
app/src/main/java/com/quansu/heifengwuliu/config/ConfigMMKV.kt → app/src/main/java/com/quansu/creativity/config/ConfigMMKV.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.config
+package com.quansu.creativity.config
 
 object ConfigMMKV {
 
@@ -6,4 +6,4 @@ object ConfigMMKV {
     const val AD_TIMES: String = "AD_TIMES"
     const val REGISTER_TIME_START: String = "REGISTER_TIME_START"
     const val USER = "user"
-}
+}

+ 2 - 2
app/src/main/java/com/quansu/heifengwuliu/config/ConfigPayWay.kt → app/src/main/java/com/quansu/creativity/config/ConfigPayWay.kt

@@ -1,7 +1,7 @@
-package com.quansu.heifengwuliu.config
+package com.quansu.creativity.config
 
 object ConfigPayWay {
 
     const val WX_PAY: Int = 1
     const val ALI_PAY: Int = 2
-}
+}

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/config/ConfigRx.kt → app/src/main/java/com/quansu/creativity/config/ConfigRx.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.config
+package com.quansu.creativity.config
 
 object ConfigRx {
 

+ 2 - 2
app/src/main/java/com/quansu/heifengwuliu/config/ConfigVipType.kt → app/src/main/java/com/quansu/creativity/config/ConfigVipType.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.config
+package com.quansu.creativity.config
 
 object ConfigVipType {
 
@@ -6,4 +6,4 @@ object ConfigVipType {
     const val VIP_YEAR: Int = 2
     const val VIP_PERMANENT: Int = 3
 
-}
+}

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/config/MIntentAction.kt → app/src/main/java/com/quansu/creativity/config/MIntentAction.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.config
+package com.quansu.creativity.config
 
 object MIntentAction {
     const val ACTION_UPDATE_APP_WIDGET: String = "action_update_app_widget"

+ 9 - 9
app/src/main/java/com/quansu/heifengwuliu/fragment/AccountAnalysisFragment.kt → app/src/main/java/com/quansu/creativity/fragment/AccountAnalysisFragment.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.fragment
+package com.quansu.creativity.fragment
 
 import android.os.Bundle
 import android.util.Log
@@ -9,14 +9,14 @@ import com.github.mikephil.charting.data.Entry
 import com.github.mikephil.charting.formatter.IndexAxisValueFormatter
 import com.github.mikephil.charting.highlight.Highlight
 import com.github.mikephil.charting.listener.OnChartValueSelectedListener
-import com.quansu.heifengwuliu.R
-import com.quansu.heifengwuliu.base.MBFragment
-import com.quansu.heifengwuliu.databinding.FragmentAccountAnalysisBinding
-import com.quansu.heifengwuliu.model.IconData
-import com.quansu.heifengwuliu.mp.LineChartManager
-import com.quansu.heifengwuliu.mp.MyFofChartBean
-import com.quansu.heifengwuliu.mp.MyMarkerView
-import com.quansu.heifengwuliu.vmodel.AccountAnalysisVModel
+import com.quansu.creativity.R
+import com.quansu.creativity.base.MBFragment
+import com.quansu.creativity.databinding.FragmentAccountAnalysisBinding
+import com.quansu.creativity.model.IconData
+import com.quansu.creativity.mp.LineChartManager
+import com.quansu.creativity.mp.MyFofChartBean
+import com.quansu.creativity.mp.MyMarkerView
+import com.quansu.creativity.vmodel.AccountAnalysisVModel
 import java.util.*
 
 class AccountAnalysisFragment : MBFragment<AccountAnalysisVModel, FragmentAccountAnalysisBinding>() {

+ 8 - 8
app/src/main/java/com/quansu/heifengwuliu/fragment/AccountBillFragment.kt → app/src/main/java/com/quansu/creativity/fragment/AccountBillFragment.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.fragment
+package com.quansu.creativity.fragment
 
 import android.app.Activity
 import android.content.Intent
@@ -8,13 +8,13 @@ import android.view.View
 import android.view.ViewGroup
 import androidx.databinding.DataBindingUtil
 import androidx.lifecycle.Observer
-import com.quansu.heifengwuliu.R
-import com.quansu.heifengwuliu.adapter.BillAdapter
-import com.quansu.heifengwuliu.base.MBRFragment
-import com.quansu.heifengwuliu.config.MIntentAction
-import com.quansu.heifengwuliu.databinding.FragmentAccountBillBinding
-import com.quansu.heifengwuliu.databinding.ItemAccountHeadBinding
-import com.quansu.heifengwuliu.vmodel.AccountBillVModel
+import com.quansu.creativity.R
+import com.quansu.creativity.adapter.BillAdapter
+import com.quansu.creativity.base.MBRFragment
+import com.quansu.creativity.config.MIntentAction
+import com.quansu.creativity.databinding.FragmentAccountBillBinding
+import com.quansu.creativity.databinding.ItemAccountHeadBinding
+import com.quansu.creativity.vmodel.AccountBillVModel
 
 class AccountBillFragment : MBRFragment<AccountBillVModel, BillAdapter, FragmentAccountBillBinding>() {
 

+ 33 - 0
app/src/main/java/com/quansu/creativity/fragment/HomeDriverFragment.kt

@@ -0,0 +1,33 @@
+package com.quansu.creativity.fragment
+
+import android.view.LayoutInflater
+import android.view.ViewGroup
+import com.quansu.creativity.adapter.HomeDriverAdapter
+import com.quansu.creativity.base.MBRFragment
+import com.quansu.creativity.databinding.FragmentHomeDriverBinding
+import com.quansu.creativity.vmodel.HomeDriverVModel
+
+/**
+ * 司机端-首页
+ *Created by shihuiyun
+ *on 2020/12/5
+ */
+class HomeDriverFragment : MBRFragment<HomeDriverVModel, HomeDriverAdapter, FragmentHomeDriverBinding>(){
+
+
+    override fun vmClass(): Class<HomeDriverVModel> {
+        return HomeDriverVModel::class.java
+    }
+
+    override fun binding(inflater: LayoutInflater, container: ViewGroup?): FragmentHomeDriverBinding {
+        return FragmentHomeDriverBinding.inflate(layoutInflater, container, false)
+    }
+
+    override fun initAdapter(): HomeDriverAdapter {
+        return HomeDriverAdapter(vm)
+    }
+
+    override fun title(): String? {
+        return null
+    }
+}

+ 39 - 0
app/src/main/java/com/quansu/creativity/fragment/HomeFirstFragment.kt

@@ -0,0 +1,39 @@
+package com.quansu.creativity.fragment
+
+import android.os.Bundle
+import android.view.LayoutInflater
+import android.view.ViewGroup
+import com.quansu.creativity.base.MBFragment
+import com.quansu.creativity.databinding.FragmentHomeFirstBinding
+import com.quansu.creativity.databinding.FragmentHomeMyBinding
+import com.quansu.creativity.databinding.FragmentOwnerimgBinding
+import com.quansu.creativity.vmodel.HomeFirstVModel
+import com.quansu.creativity.vmodel.HomeMyVModel
+import com.quansu.creativity.vmodel.OwnerImgVModel
+
+/**
+ * 首页
+ *Created by shihuiyun
+ *on 2020/9/11
+ */
+class HomeFirstFragment : MBFragment<HomeFirstVModel, FragmentHomeFirstBinding>(){
+
+
+    override fun init(savedInstanceState: Bundle?) {
+        super.init(savedInstanceState)
+
+
+    }
+
+    override fun vmClass(): Class<HomeFirstVModel> {
+        return HomeFirstVModel::class.java
+    }
+
+    override fun binding(inflater: LayoutInflater, container: ViewGroup?): FragmentHomeFirstBinding {
+       return  FragmentHomeFirstBinding.inflate(layoutInflater)
+    }
+
+    override fun title(): String? {
+        return null
+    }
+}

+ 42 - 0
app/src/main/java/com/quansu/creativity/fragment/HomeMyFragment.kt

@@ -0,0 +1,42 @@
+package com.quansu.creativity.fragment
+
+import android.os.Bundle
+import android.view.LayoutInflater
+import android.view.ViewGroup
+import com.quansu.creativity.base.MBFragment
+import com.quansu.creativity.databinding.FragmentHomeMyBinding
+import com.quansu.creativity.databinding.FragmentOwnerimgBinding
+import com.quansu.creativity.vmodel.HomeMyVModel
+import com.quansu.creativity.vmodel.OwnerImgVModel
+
+/**
+ * 车辆图片
+ *Created by shihuiyun
+ *on 2020/9/11
+ */
+class HomeMyFragment : MBFragment<HomeMyVModel, FragmentHomeMyBinding>(){
+
+
+    override fun init(savedInstanceState: Bundle?) {
+        super.init(savedInstanceState)
+
+        vm.url.value=arguments?.getString("img")
+        vm.name.value=arguments?.getString("name")
+        vm.weight.value=arguments?.getString("weight")
+        vm.volume.value=arguments?.getString("volume")
+
+
+    }
+
+    override fun vmClass(): Class<HomeMyVModel> {
+        return HomeMyVModel::class.java
+    }
+
+    override fun binding(inflater: LayoutInflater, container: ViewGroup?): FragmentHomeMyBinding {
+       return  FragmentHomeMyBinding.inflate(layoutInflater)
+    }
+
+    override fun title(): String? {
+        return null
+    }
+}

+ 4 - 9
app/src/main/java/com/quansu/heifengwuliu/fragment/OwnerImgFragment.kt → app/src/main/java/com/quansu/creativity/fragment/OwnerImgFragment.kt

@@ -1,16 +1,11 @@
-package com.quansu.heifengwuliu.fragment
+package com.quansu.creativity.fragment
 
 import android.os.Bundle
-import android.text.TextUtils
-import android.util.Log
 import android.view.LayoutInflater
 import android.view.ViewGroup
-import coil.load
-import com.quansu.heifengwuliu.base.MBFragment
-import com.quansu.heifengwuliu.databinding.FragmentOwnerimgBinding
-import com.quansu.heifengwuliu.vmodel.OwnerImgVModel
-import com.ysnows.base.base.BRepository
-import com.ysnows.base.base.BViewModel
+import com.quansu.creativity.base.MBFragment
+import com.quansu.creativity.databinding.FragmentOwnerimgBinding
+import com.quansu.creativity.vmodel.OwnerImgVModel
 
 /**
  * 车辆图片

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/inte/ChoiceData.kt → app/src/main/java/com/quansu/creativity/inte/ChoiceData.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.inte
+package com.quansu.creativity.inte
 
 /**
  *Created by shihuiyun

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/inte/ChoiceListData.kt → app/src/main/java/com/quansu/creativity/inte/ChoiceListData.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.inte
+package com.quansu.creativity.inte
 
 /**
  *Created by shihuiyun

+ 2 - 2
app/src/main/java/com/quansu/heifengwuliu/inte/ChoseData.kt → app/src/main/java/com/quansu/creativity/inte/ChoseData.kt

@@ -1,6 +1,6 @@
-package com.quansu.heifengwuliu.inte
+package com.quansu.creativity.inte
 
-import com.quansu.heifengwuliu.model.InsurancePlan
+import com.quansu.creativity.model.InsurancePlan
 
 /**
  *Created by shihuiyun

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/inte/MultiItemEntity.kt → app/src/main/java/com/quansu/creativity/inte/MultiItemEntity.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.inte
+package com.quansu.creativity.inte
 
 /**
  *Created by shihuiyun

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/inte/OnCall.kt → app/src/main/java/com/quansu/creativity/inte/OnCall.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.inte
+package com.quansu.creativity.inte
 
 /**
  *Created by shihuiyun

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/inte/OnUploadCallback.kt → app/src/main/java/com/quansu/creativity/inte/OnUploadCallback.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.inte
+package com.quansu.creativity.inte
 
 /**
  *Created by shihuiyun

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/inte/onTextChangeListener.kt → app/src/main/java/com/quansu/creativity/inte/onTextChangeListener.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.inte
+package com.quansu.creativity.inte
 
 /**
  *Created by shihuiyun

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/AddressBean.kt → app/src/main/java/com/quansu/creativity/model/AddressBean.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 import java.io.Serializable

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/AddressDetailsBean.kt → app/src/main/java/com/quansu/creativity/model/AddressDetailsBean.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/AmountCount.kt → app/src/main/java/com/quansu/creativity/model/AmountCount.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/AmountList.kt → app/src/main/java/com/quansu/creativity/model/AmountList.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/AppSetting.java → app/src/main/java/com/quansu/creativity/model/AppSetting.java

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model;
+package com.quansu.creativity.model;
 
 import android.os.Parcel;
 import android.os.Parcelable;

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/AreaBean.java → app/src/main/java/com/quansu/creativity/model/AreaBean.java

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model;
+package com.quansu.creativity.model;
 
 import com.ysnows.base.inter.IModel;
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/ArticleInfo.kt → app/src/main/java/com/quansu/creativity/model/ArticleInfo.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/BankCard.kt → app/src/main/java/com/quansu/creativity/model/BankCard.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 2 - 2
app/src/main/java/com/quansu/heifengwuliu/model/Bill.kt → app/src/main/java/com/quansu/creativity/model/Bill.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 
 data class Bill(
@@ -8,4 +8,4 @@ data class Bill(
         val checked: Int?
 ) {
 
-}
+}

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/Bind.kt → app/src/main/java/com/quansu/creativity/model/Bind.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/Business.kt → app/src/main/java/com/quansu/creativity/model/Business.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/Card.kt → app/src/main/java/com/quansu/creativity/model/Card.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/Checkdrive.kt → app/src/main/java/com/quansu/creativity/model/Checkdrive.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 /**
  *Created by shihuiyun

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/CvDriving.kt → app/src/main/java/com/quansu/creativity/model/CvDriving.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/CvVehicle.kt → app/src/main/java/com/quansu/creativity/model/CvVehicle.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/DataInfoBean.kt → app/src/main/java/com/quansu/creativity/model/DataInfoBean.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 import java.io.Serializable

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/DriverBean.kt → app/src/main/java/com/quansu/creativity/model/DriverBean.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/GoodsImgBean.kt → app/src/main/java/com/quansu/creativity/model/GoodsImgBean.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.chad.library.adapter.base.entity.MultiItemEntity
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/GrabInfo.kt → app/src/main/java/com/quansu/creativity/model/GrabInfo.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/IconData.kt → app/src/main/java/com/quansu/creativity/model/IconData.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 import java.util.ArrayList

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/Idcard.kt → app/src/main/java/com/quansu/creativity/model/Idcard.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/ImageSign.kt → app/src/main/java/com/quansu/creativity/model/ImageSign.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 /**
  *Created by shihuiyun

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/InfoBean.kt → app/src/main/java/com/quansu/creativity/model/InfoBean.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/InfoEditBean.kt → app/src/main/java/com/quansu/creativity/model/InfoEditBean.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 1 - 2
app/src/main/java/com/quansu/heifengwuliu/model/InfoListBean.kt → app/src/main/java/com/quansu/creativity/model/InfoListBean.kt

@@ -1,6 +1,5 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
-import com.google.gson.annotations.SerializedName
 import com.ysnows.base.inter.IModel
 
 /**

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/InsurancePlan.kt → app/src/main/java/com/quansu/creativity/model/InsurancePlan.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/Invoice.kt → app/src/main/java/com/quansu/creativity/model/Invoice.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/InvoiceList.kt → app/src/main/java/com/quansu/creativity/model/InvoiceList.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/InvoiceTotal.kt → app/src/main/java/com/quansu/creativity/model/InvoiceTotal.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/KeyType.kt → app/src/main/java/com/quansu/creativity/model/KeyType.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 /**
  *Created by shihuiyun

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/LoginBean.java → app/src/main/java/com/quansu/creativity/model/LoginBean.java

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model;
+package com.quansu.creativity.model;
 
 import com.ysnows.base.inter.IModel;
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/MsgGet.kt → app/src/main/java/com/quansu/creativity/model/MsgGet.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/MsgList.kt → app/src/main/java/com/quansu/creativity/model/MsgList.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 2 - 2
app/src/main/java/com/quansu/heifengwuliu/model/Order.kt → app/src/main/java/com/quansu/creativity/model/Order.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 
 data class Order(
@@ -6,4 +6,4 @@ data class Order(
 ) {
 
 
-}
+}

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/OrderEva.kt → app/src/main/java/com/quansu/creativity/model/OrderEva.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/OrderGet.kt → app/src/main/java/com/quansu/creativity/model/OrderGet.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/Own.kt → app/src/main/java/com/quansu/creativity/model/Own.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/PremiumTrial.kt → app/src/main/java/com/quansu/creativity/model/PremiumTrial.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 import com.ysnows.base.inter.IModel
 

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/SaveDriverBean.kt → app/src/main/java/com/quansu/creativity/model/SaveDriverBean.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 /**
  *Created by shihuiyun

+ 1 - 1
app/src/main/java/com/quansu/heifengwuliu/model/SaveOwn.kt → app/src/main/java/com/quansu/creativity/model/SaveOwn.kt

@@ -1,4 +1,4 @@
-package com.quansu.heifengwuliu.model
+package com.quansu.creativity.model
 
 /**
  *Created by shihuiyun

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác