diff --git a/OCH/mogo-och-sweeper/src/main/java/com/mogo/och/sweeper/ui/dialog/SweeperNoTitleCommonDialog.kt b/OCH/mogo-och-sweeper/src/main/java/com/mogo/och/sweeper/ui/dialog/SweeperNoTitleCommonDialog.kt
new file mode 100644
index 0000000000..4f05e7cee9
--- /dev/null
+++ b/OCH/mogo-och-sweeper/src/main/java/com/mogo/och/sweeper/ui/dialog/SweeperNoTitleCommonDialog.kt
@@ -0,0 +1,86 @@
+package com.mogo.och.sweeper.ui.dialog
+
+import android.annotation.SuppressLint
+import android.content.Context
+import android.widget.TextView
+import androidx.lifecycle.LifecycleObserver
+import com.mogo.eagle.core.function.hmi.dialog.BaseFloatDialog
+import com.mogo.och.sweeper.R
+
+/**
+ * 不带带有title, tip,confirm,cancel的dialog
+ */
+class SweeperNoTitleCommonDialog: BaseFloatDialog, LifecycleObserver {
+
+ private var commonConfirm : TextView? = null
+ private var commonCancel : TextView? = null
+ private var commonTips : TextView? = null
+
+ private var clickListener: ClickListener? = null
+
+ constructor(builder: Builder,context: Context) : super(context) {
+ commonTips?.text = builder.tipsStr
+ commonCancel?.text = builder.cancelStr
+ commonConfirm?.text = builder.confirmStr
+ }
+
+ init{
+ setContentView(R.layout.dialog_sweeper_no_title)
+
+ setCanceledOnTouchOutside(true)
+
+ commonConfirm = findViewById(R.id.sweeper_common_confirm)
+ commonCancel = findViewById(R.id.sweeper_common_cancel)
+ commonTips = findViewById(R.id.sweeper_common_tips)
+
+ commonConfirm?.setOnClickListener{
+ clickListener?.confirm()
+ dismiss()
+ }
+ commonCancel?.setOnClickListener {
+ clickListener?.cancel()
+ dismiss()
+ }
+ }
+
+ fun setClickListener(clickListener: ClickListener) {
+ this.clickListener = clickListener
+ }
+
+ fun showUpgradeDialog(){
+ if(isShowing){
+ return
+ }
+ show()
+ }
+
+ interface ClickListener{
+ fun confirm()
+ fun cancel()
+ }
+
+ class Builder{
+ var tipsStr:String = ""
+ var confirmStr:String = ""
+ var cancelStr:String = ""
+ fun tips(tips: String) : Builder{
+ this.tipsStr = tips
+ return this
+ }
+
+ fun confirmStr(commit: String) : Builder{
+ this.confirmStr = commit
+ return this
+ }
+
+ fun cancelStr(cancel: String) : Builder{
+ this.cancelStr = cancel
+ return this
+ }
+
+ fun build(context: Context): SweeperNoTitleCommonDialog? {
+ return SweeperNoTitleCommonDialog(this,context)
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_dialog_no_title.xml b/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_dialog_no_title.xml
new file mode 100644
index 0000000000..71b0dfe461
--- /dev/null
+++ b/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_dialog_no_title.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_left_bottom_round.xml b/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_left_bottom_round.xml
new file mode 100644
index 0000000000..68d17d9fcc
--- /dev/null
+++ b/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_left_bottom_round.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_left_right_bottom_round.xml b/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_left_right_bottom_round.xml
new file mode 100644
index 0000000000..564ba5aa4f
--- /dev/null
+++ b/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_left_right_bottom_round.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_right_bottom_round.xml b/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_right_bottom_round.xml
new file mode 100644
index 0000000000..7fc3db37cc
--- /dev/null
+++ b/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_right_bottom_round.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/OCH/mogo-och-sweeper/src/main/res/layout/dialog_sweeper_no_title.xml b/OCH/mogo-och-sweeper/src/main/res/layout/dialog_sweeper_no_title.xml
new file mode 100644
index 0000000000..4ed2048fdd
--- /dev/null
+++ b/OCH/mogo-och-sweeper/src/main/res/layout/dialog_sweeper_no_title.xml
@@ -0,0 +1,51 @@
+
+
+
+
+
+
\ No newline at end of file