feat: opt 出港查询 ui

This commit is contained in:
2025-12-05 11:41:08 +08:00
parent bcc4bada25
commit c0c19c8453
5 changed files with 87 additions and 64 deletions

View File

@@ -30,6 +30,7 @@ import com.scwang.smart.refresh.layout.api.RefreshLayout
import java.text.SimpleDateFormat
import java.util.*
@Deprecated(message = "废弃的国际出港查询页面由GjcQueryActivity 接管")
//@Route(path = ARouterConstants.ACTIVITY_URL_GJC_QUERY_LIST)
class GjcQueryListActivity : BaseActivity(), View.OnClickListener {
private val currentTitleName = "国际出港查询"

View File

@@ -1,7 +1,10 @@
package com.lukouguoji.gjc.dialog
import android.content.Context
import android.content.res.ColorStateList
import android.graphics.Color
import android.view.View
import android.widget.ImageView
import android.widget.TextView
import androidx.lifecycle.MutableLiveData
import com.lukouguoji.gjc.R
@@ -61,8 +64,14 @@ class GjcQueryFilterDialogModel(
binding.model = this
binding.lifecycleOwner = context as? androidx.lifecycle.LifecycleOwner
val titleColor = Color.parseColor("#666666")
// 设置标题
binding.root.findViewById<TextView>(R.id.title_name)?.text = "筛选条件"
binding.root.findViewById<TextView>(R.id.title_name)?.setTextColor(titleColor)
binding.root.findViewById<TextView>(R.id.tool_tv_back)?.setTextColor(titleColor)
binding.root.findViewById<ImageView>(R.id.tool_iv_back)?.imageTintList = ColorStateList.valueOf(titleColor)
binding.root.findViewById<View>(R.id.toolbar)?.setBackgroundColor(Color.WHITE)
// 返回按钮
binding.root.findViewById<View>(R.id.tool_back)?.setOnClickListener {