config.js 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. /*
  2. * @Author: zhuangzhou zhuangzhou@btioe.com
  3. * @Date: 2022-05-04 18:04:29
  4. * @LastEditors: zhuangzhou zhuangzhou@btioe.com
  5. * @LastEditTime: 2022-05-04 19:24:39
  6. * @FilePath: /mlmt-mini/src/utils/config.js
  7. * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  8. */
  9. import resource from './resource'
  10. import ossurl from './ossurl'
  11. export const NAME = '燚火漫域'
  12. export const VERSION = '1.0.4'
  13. //是否生产环境
  14. export const IS_PRODUCT = process.env.VUE_APP_ENV === 'PRODUCT'
  15. //多环境地址 http://192.168.0.131:8080 https://mm.supermarts.cn
  16. export const SERVICE_URL = 'https://mm.supermarts.cn:441'
  17. // export const SERVICE_URL = 'http://192.168.0.131:9201'
  18. export const WX_APP_ID = 'wxb38b160aeb80f357'
  19. export const WX_PUSH_MESSAGE_ID = ['F6O1d3mWNtlKTitpewGs3wJVYP7G-iFCc04fHD6sBrI']
  20. export const H5 = {
  21. user: {
  22. title: '用户协议',
  23. url: resource.html_user
  24. },
  25. privacy: {
  26. title: '隐私协议',
  27. url: resource.html_privacy
  28. },
  29. moli: {
  30. title: '宝箱',
  31. url: resource.html_magic
  32. },
  33. mall: {
  34. title: '商城',
  35. url: resource.html_mall
  36. },
  37. room: {
  38. title: '福利房协议',
  39. url: resource.html_room
  40. }
  41. }
  42. export const LEVEL_MAP = {
  43. A: {
  44. title: '超神款',
  45. color: '#F4212E',
  46. bgColor: '#F4212E',
  47. bg: ossurl.box.detail.levelA,
  48. titleImg: ossurl.box.detail.levelTextA,
  49. titleText: ossurl.box.detail.levelTextA,
  50. titleSmallText: resource.award_level_A_small_text,
  51. lotteryBtn: resource.lottery_level_btn_A
  52. },
  53. B: {
  54. title: '欧皇款',
  55. color: '#FFBD00',
  56. bgColor: '#FFBD00',
  57. bg: ossurl.box.detail.levelB,
  58. titleImg: ossurl.box.detail.levelTextB,
  59. titleText: ossurl.box.detail.levelTextB,
  60. titleSmallText: resource.award_level_B_small_text,
  61. lotteryBtn: resource.lottery_level_btn_B
  62. },
  63. C: {
  64. title: '隐藏款',
  65. color: '#812AAD',
  66. bgColor: '#812AAD',
  67. bg: ossurl.box.detail.levelC,
  68. titleImg: ossurl.box.detail.levelTextC,
  69. titleText: ossurl.box.detail.levelTextC,
  70. titleSmallText: resource.award_level_C_small_text,
  71. lotteryBtn: resource.lottery_level_btn_C
  72. },
  73. D: {
  74. title: '普通款',
  75. color: '#6BA7F9',
  76. bgColor: '#6BA7F9',
  77. bg: ossurl.box.detail.levelD,
  78. titleImg: ossurl.box.detail.levelTextD,
  79. titleText: ossurl.box.detail.levelTextD,
  80. titleSmallText: resource.award_level_D_small_text,
  81. lotteryBtn: resource.lottery_level_btn_D
  82. },
  83. KING: {
  84. title: '魔王款',
  85. color: '#FD7577',
  86. bgColor: '#FD7577',
  87. bg: resource.award_level_KING_bg,
  88. titleImg: resource.award_level_KING_title,
  89. titleText: resource.award_level_KING_text,
  90. },
  91. LAST: {
  92. title: '最终赏',
  93. color: '#B978FF',
  94. bgColor: '#B978FF',
  95. bg: resource.award_level_Normal_bg,
  96. titleImg: resource.award_level_LAST_title,
  97. titleText: resource.award_level_LAST_text,
  98. lotteryBtn: resource.lottery_level_btn_C
  99. },
  100. FIRST: {
  101. title: '抢先赏',
  102. color: '#B978FF',
  103. bgColor: '#B978FF',
  104. bg: resource.award_level_Normal_bg,
  105. titleImg: resource.award_level_FIRST_title,
  106. titleText: resource.award_level_FIRST_text,
  107. lotteryBtn: resource.lottery_level_btn_C
  108. },
  109. GIFT: {
  110. title: '赠品',
  111. color: '#B978FF',
  112. bgColor: '#B978FF',
  113. bg: resource.award_level_Normal_bg,
  114. titleImg: resource.award_level_GIFT_title,
  115. titleText: resource.award_level_GIFT_text,
  116. lotteryBtn: resource.lottery_level_btn_C
  117. },
  118. SUBSTITUTE: {
  119. title: '置换款',
  120. color: '#59FD9D',
  121. bgColor: '#59FD9D',
  122. bg: resource.award_level_SUBSTITUTE_bg,
  123. titleText: resource.award_level_SUBSTITUTE_text
  124. }
  125. }