import Config from './config';
// import DialogFn from '@qg/cherry-ui/src/dialog/func';

import faviconPath from '../../public/logo.png';
export default class FLWConfig extends Config {
  constructor() {
    super();
    this.flw = true;
    this.yxm = true;
    this.faviconPath = faviconPath;
    this.talosHost = 'https://talos.xyqb.com';
    this.kdspHost = 'https://kdsp-api.q-gp.com';
    this.userCardTop = '-25px';
    this.customerServiceName = '在线客服';
    this.registerRreaty = {
      url: 'https://page.q-gp.com/he-tong-yu-lan/?contractTemplateId=280',
      label: '注册协议'
    };
    this.privacyRreaty = {
      url: 'https://page.q-gp.com/he-tong-yu-lan/?contractTemplateId=8',
      label: '用户隐私协议'
    };
    this.quotaInfo = {
      title: '我的享花卡',
      leftText: '可用额度(元)',
      rightText: '待还款(元)'
    };
    this.payTip = '请选择现金券支付！';
  }
  signOutFn() {
    // DialogFn({
    //   message: '请重新打开新橙app'
    // });
    location.href = `/login?backUrl=${location.href}`;
  }
}
