/** @format */ import {Mgr} from '../GameControl' import {UI} from '../enums/UI' import {IRule} from '../interface/UIInterface' import {LANGUAGE_TYPE} from '../enums/Enum' const {ccclass, property} = cc._decorator @ccclass export default class UserAgreeCell extends cc.Component { onClickAgreement() { let args: IRule = {title: LANGUAGE_TYPE.userAgreement, content: LANGUAGE_TYPE.agreementContent} Mgr.ui.show(UI.RuleUI, args) } onClickPrivacy() { let args: IRule = {title: LANGUAGE_TYPE.policy, content: LANGUAGE_TYPE.policyContent} Mgr.ui.show(UI.RuleUI, args) } }