package com.zxbw.modulemain.activity

import android.text.TextUtils
import android.view.View
import com.zxbw.modulemain.R
import com.zxbw.modulemain.view.BoxResultDialog
import com.zxhl.cms.AppContext
import com.zxhl.cms.common.base.BaseActivity
import com.zxhl.cms.utils.JumpUtils
import com.zxhl.cms.utils.Utils
import kotlinx.android.synthetic.main.activity_layout_open_member.*

/**
 * @author (wangXuewei)
 * @datetime 2022-05-30 14:12 GMT+8
 * @detail :
 */
class OpenMemberActivity : BaseActivity() {

    override fun before() {
        super.before()
        setStatusBarBackground(AppContext.get().resources.getColor(R.color.transparent))
    }

    override fun onClick(v: View?) {

    }

    override fun layoutID(): Int {
        return R.layout.activity_layout_open_member
    }

    override fun init() {
        if (TextUtils.equals(Utils.getChannel(mActivity), "sh")) {
            id_img_open_vip.setImageResource(R.drawable.img_open_vip_top_sh)
        }

        id_img_open_vip.setOnClickListener {
            JumpUtils.MemberOrderJump()
            finish()
        }
    }

}