images.ts 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. // 图片资源配置 - 对应 supermart-mini 的 ossurl.js
  2. const CDN_BASE = 'https://cdn.acetoys.cn/kai_xin_ma_te/supermart';
  3. const CDN_SUPERMART = 'https://cdn.acetoys.cn/supermart';
  4. const CDN_MAGIC = 'https://cdn.acetoys.cn/kai_xin_ma_te/resource/magic';
  5. export const Images = {
  6. resource: {
  7. lottery_middle_s: `${CDN_MAGIC}/lottery/middle_s.png`,
  8. lottery_middle_l: `${CDN_MAGIC}/lottery/middle_l.png`,
  9. lottery_bg: `${CDN_MAGIC}/lottery/bg.jpg`,
  10. },
  11. common: {
  12. indexBg: `${CDN_BASE}/common/indexBg.png`,
  13. awardBg: `${CDN_BASE}/common/awardBg.png`,
  14. wealBg: `${CDN_BASE}/common/wealBg.png`,
  15. tabsBg: `${CDN_BASE}/common/tab_bottom.png`,
  16. loginBg: `${CDN_BASE}/common/loginBg.png`,
  17. loginBtn: `${CDN_BASE}/common/loginBug.png`,
  18. commonBg: `${CDN_BASE}/common/commonBg.png`,
  19. defaultAvatar: `${CDN_BASE}/common/noavatar.png`,
  20. topBtn: `${CDN_BASE}/common/topBtn.png`,
  21. // 新增图片资源
  22. itemBg: `${CDN_BASE}/common/itemBg.png`,
  23. windowBg: `${CDN_BASE}/common/windowBg.png`,
  24. windowBg2: `${CDN_BASE}/common/windowBg2.png`,
  25. windowTitle: `${CDN_BASE}/common/windowTitle.png`,
  26. windowClose: `${CDN_BASE}/common/windowClose.png`,
  27. windowInputBg: `${CDN_BASE}/common/windowInputBg.png`,
  28. closeBut: `${CDN_BASE}/common/closeBut.png`,
  29. windBg: `${CDN_BASE}/common/windBg.png`,
  30. butBgH: `${CDN_BASE}/common/butBgH.png`,
  31. butBgL: `${CDN_BASE}/common/butBgL.png`,
  32. butBgHui: `${CDN_BASE}/common/butBgHui.png`,
  33. butBgQL: `${CDN_BASE}/common/butBgQL.png`,
  34. butBgV: `${CDN_BASE}/common/butBgV.png`,
  35. commonBtnBg: `${CDN_BASE}/common/commonBtnBg.png`,
  36. awardDetailBg: `${CDN_BASE}/common/awardDetailBg.png`,
  37. posterBg: `${CDN_BASE}/common/posterBg.png`,
  38. userShare: `${CDN_BASE}/common/userShare.jpg`,
  39. pullNewUserBg: `${CDN_BASE}/common/pullNewUserBg.png`,
  40. kaixinTabbarBg: `${CDN_BASE}/common/tabbarBg.png`,
  41. kaixinTabbarBgAct: `${CDN_BASE}/common/tabbarBgAct.png`,
  42. kaixinTabbarArrow: `${CDN_BASE}/common/tabbarActArrow.png`,
  43. kaixinTabbar2Bg: `${CDN_BASE}/common/tabbar2Bg.png`,
  44. kaixinTabbar2BgAct: `${CDN_BASE}/common/tabbar2BgAct.png`,
  45. qijiCancelBtnBg: `${CDN_BASE}/common/qijiCancelBtnBg.png`,
  46. qijiClose: `${CDN_SUPERMART}/box/qiji_close.png`,
  47. qijiDialogTitBg: `${CDN_SUPERMART}/common/qiji_dialogTitBg.png`,
  48. },
  49. home: {
  50. portrait: `${CDN_BASE}/home/portrait.png`,
  51. search: `${CDN_BASE}/home/search.png`,
  52. search2: `${CDN_BASE}/home/search2.png`,
  53. typeBg: `${CDN_BASE}/home/typeBg.png`,
  54. typeBgOn: `${CDN_BASE}/home/typeBgOn.png`,
  55. cellGoodsBg: `${CDN_BASE}/home/cellGoodsBg.png`,
  56. imgBoxBorder: `${CDN_BASE}/home/imgBoxBorder.png`,
  57. },
  58. tabs: {
  59. home: `${CDN_BASE}/common/tabs1.png`,
  60. homeActive: `${CDN_BASE}/common/tabs11.png`,
  61. box: `${CDN_BASE}/common/tabs2.png`,
  62. boxActive: `${CDN_BASE}/common/tabs22.png`,
  63. welfare: `${CDN_BASE}/common/tabs3.png`,
  64. welfareActive: `${CDN_BASE}/common/tabs33.png`,
  65. mine: `${CDN_BASE}/common/tabs4.png`,
  66. mineActive: `${CDN_BASE}/common/tabs44.png`,
  67. },
  68. box: {
  69. awardMainImg: `${CDN_BASE}/box/awardMainImg.png`,
  70. goodsItemBg: `${CDN_BASE}/box/goodsItemBg.png`,
  71. barrageItem: `${CDN_BASE}/box/barrageItem.png`,
  72. jackpotImg: `${CDN_BASE}/box/jackpotImg.png`,
  73. firstLastBg: `${CDN_BASE}/box/firstLastBg.png`,
  74. type1: `${CDN_BASE}/box/type1.png`,
  75. type1On: `${CDN_BASE}/box/type1On.png`,
  76. type2: `${CDN_BASE}/box/type2.png`,
  77. type2On: `${CDN_BASE}/box/type2On.png`,
  78. type3: `${CDN_BASE}/box/type3.png`,
  79. type3On: `${CDN_BASE}/box/type3On.png`,
  80. type4: `${CDN_BASE}/box/type4.png`,
  81. type4On: `${CDN_BASE}/box/type4On.png`,
  82. type5: `${CDN_BASE}/box/type5.png`,
  83. type5On: `${CDN_BASE}/box/type5On.png`,
  84. sortAmount: `${CDN_BASE}/box/sortAmount.png`,
  85. sortAmountOnT: `${CDN_BASE}/box/sortAmountOnT.png`,
  86. sortAmountOnB: `${CDN_BASE}/box/sortAmountOnB.png`,
  87. back: `${CDN_BASE}/box/back1.png`,
  88. // Result Backgrounds
  89. resultBgA: `${CDN_SUPERMART}/supermart/box/resultBgA.png`,
  90. resultBgB: `${CDN_SUPERMART}/supermart/box/resultBgB.png`,
  91. resultBgC: `${CDN_SUPERMART}/supermart/box/resultBgC.png`,
  92. resultBgD: `${CDN_SUPERMART}/supermart/box/resultBgD.png`,
  93. // Border Images
  94. borderImgA: `${CDN_SUPERMART}/supermart/box/borderImgA.png`,
  95. borderImgB: `${CDN_SUPERMART}/supermart/box/borderImgB.png`,
  96. borderImgC: `${CDN_SUPERMART}/supermart/box/borderImgC.png`,
  97. borderImgD: `${CDN_SUPERMART}/supermart/box/borderImgD.png`,
  98. detail: {
  99. mainGoodsSection: `${CDN_BASE}/box/detail/mainGoodsSection.png`,
  100. mainGoodsSectionBtext: `${CDN_BASE}/box/detail/mainGoodsSectionBtext.png`,
  101. detailsBut: `${CDN_BASE}/box/detail/detailsBut.png`,
  102. nameBg: `${CDN_BASE}/box/detail/nameBg.png`,
  103. left: `${CDN_BASE}/box/detail/left.png`,
  104. right: `${CDN_BASE}/box/detail/right.png`,
  105. positionBgLeft: `${CDN_BASE}/box/detail/positionBgLeft.png`,
  106. positionBgRight: `${CDN_BASE}/box/detail/positionBgRight.png`,
  107. positionBgleftBg: `${CDN_BASE}/box/detail/positionBgleftBg.png`,
  108. positionBgRightBg: `${CDN_BASE}/box/detail/positionBgRightBg.png`,
  109. boxDetailBott: `${CDN_BASE}/box/detail/boxDetailBott.png`,
  110. base: `${CDN_BASE}/box/detail/base.png`,
  111. refresh: `${CDN_BASE}/box/detail/refresh.png`,
  112. lock: `${CDN_BASE}/box/detail/lock.png`,
  113. unlock: `${CDN_BASE}/box/detail/unlock.png`,
  114. Inclusive: `${CDN_BASE}/box/detail/Inclusive.png`,
  115. productTitle: `${CDN_BASE}/box/detail/productTitle.png`,
  116. levelBoxBg: `${CDN_BASE}/box/detail/levelBoxBg.png`,
  117. firstItemBg: `${CDN_BASE}/box/detail/firstItemBg.png`,
  118. firstBoxBg: `${CDN_BASE}/box/detail/firstBoxBg.png`,
  119. funBoxBg: `${CDN_BASE}/box/detail/funBoxBg.png`,
  120. productItemA: `${CDN_BASE}/box/detail/productItemA.png`,
  121. productItemB: `${CDN_BASE}/box/detail/productItemB.png`,
  122. productItemC: `${CDN_BASE}/box/detail/productItemC.png`,
  123. productItemD: `${CDN_BASE}/box/detail/productItemD.png`,
  124. levelA: `${CDN_BASE}/box/detail/levelA.png`,
  125. levelB: `${CDN_BASE}/box/detail/levelB.png`,
  126. levelC: `${CDN_BASE}/box/detail/levelC.png`,
  127. levelD: `${CDN_BASE}/box/detail/levelD.png`,
  128. recordBg: `${CDN_BASE}/box/detail/recordBg.png`,
  129. recordTitleLeft: `${CDN_BASE}/box/detail/recordTitleLeft.png`,
  130. recordTitleRight: `${CDN_BASE}/box/detail/recordTitleRight.png`,
  131. recordCenterBg: `${CDN_BASE}/box/detail/recordCenterBg.png`,
  132. taggingBg: `${CDN_BASE}/box/detail/taggingBg.png`,
  133. freedomTitle: `${CDN_BASE}/box/detail/freedomTitle.png`,
  134. freedomClose: `${CDN_BASE}/box/detail/freedomClose.png`,
  135. lotteryItem: `${CDN_BASE}/box/detail/lotteryItem.png`,
  136. lotteryTitle: `${CDN_BASE}/box/detail/lotteryTitle.png`,
  137. real100: `${CDN_BASE}/box/detail/real100.png`,
  138. packagingBox1: `${CDN_BASE}/box/detail/packagingBox1.png`,
  139. packagingBox2: `${CDN_BASE}/box/detail/packagingBox2.png`,
  140. boxIcon: `${CDN_BASE}/box/detail/boxIcon.png`,
  141. levelTextA: `${CDN_BASE}/box/detail/levelTextA.png`,
  142. levelTextB: `${CDN_BASE}/box/detail/levelTextB.png`,
  143. levelTextC: `${CDN_BASE}/box/detail/levelTextC.png`,
  144. levelTextD: `${CDN_BASE}/box/detail/levelTextD.png`,
  145. playMethod: `${CDN_BASE}/box/detail/playMethod.png`,
  146. },
  147. },
  148. welfare: {
  149. kaixinWelfareBg: `${CDN_BASE}/welfare/kaixinWelfareBg.png`,
  150. kaixinRoomBg: `${CDN_BASE}/welfare/kaixinRoomBg.png`,
  151. kaixinRoom1: `${CDN_BASE}/welfare/kaixinRoom1.png`,
  152. kaixinRoom2: `${CDN_BASE}/welfare/kaixinRoom2.png`,
  153. kaixinRoom3: `${CDN_BASE}/welfare/kaixinRoom3.png`,
  154. wealTitle: `${CDN_BASE}/welfare/wealTitle.png`,
  155. indexItem1: `${CDN_BASE}/welfare/indexItem1.png`,
  156. indexItem2: `${CDN_BASE}/welfare/indexItem2.png`,
  157. indexItem3: `${CDN_BASE}/welfare/indexItem3.png`,
  158. roomInputBg: `${CDN_BASE}/welfare/roomInputBg.png`,
  159. roomIcon0: `${CDN_BASE}/welfare/roomIcon0.png`,
  160. roomIcon1: `${CDN_BASE}/welfare/roomIcon1.png`,
  161. roomIcon2: `${CDN_BASE}/welfare/roomIcon2.png`,
  162. roomItemBg: `${CDN_BASE}/welfare/roomItemBg.png`,
  163. roomItemImgBg: `${CDN_BASE}/welfare/roomItemImgBg.png`,
  164. participationIcon: `${CDN_BASE}/welfare/participationIcon.png`,
  165. official: `${CDN_BASE}/welfare/official.png`,
  166. mustBe: `${CDN_BASE}/welfare/mustBe.png`,
  167. catchDollRule: `${CDN_BASE}/welfare/catchDollRule.png`,
  168. qijiWelfareRecordBg: `${CDN_BASE}/welfare/qijiWelfareRecordBg.png`,
  169. qijiWelfareDollBox: `${CDN_BASE}/welfare/qijiWelfareDollBox.png`,
  170. molibiBoxBtn: `${CDN_BASE}/welfare/molibiBoxBtn.png`,
  171. opening: `${CDN_BASE}/welfare/opening.png`,
  172. qijiWelfareDollBall: `${CDN_BASE}/welfare/qijiWelfareDollBall.png`,
  173. qijiWelfareDollBi1: `${CDN_BASE}/welfare/qijiWelfareDollBi1.png`,
  174. qijiWelfareDollBi5: `${CDN_BASE}/welfare/qijiWelfareDollBi5.png`,
  175. qijiWelfareDollOne: `${CDN_BASE}/welfare/qijiWelfareDollOne.png`,
  176. qijiWelfareDollFive: `${CDN_BASE}/welfare/qijiWelfareDollFive.png`,
  177. qijiWelfareDollRule: `${CDN_BASE}/welfare/qijiWelfareDollRule.png`,
  178. resultBg: `${CDN_BASE}/welfare/resultBg.png`,
  179. resultTit: `${CDN_BASE}/welfare/resultTit.png`,
  180. welfareDialogMain: `${CDN_BASE}/welfare/welfareDialogMain.png`,
  181. welfareDialogSubmit: `${CDN_BASE}/welfare/welfareDialogSubmit.png`,
  182. welfareDialogBg: `${CDN_BASE}/welfare/welfareDialogBg.png`,
  183. detail: {
  184. record: `${CDN_BASE}/welfare/detail/record.png`,
  185. recordIcon: `${CDN_BASE}/welfare/detail/recordIcon.png`,
  186. numBg: `${CDN_BASE}/welfare/detail/numBg.png`,
  187. cardItemBg: `${CDN_BASE}/welfare/detail/cardItemBg.png`,
  188. time: `${CDN_BASE}/welfare/detail/time.png`,
  189. transverseItemBg: `${CDN_SUPERMART}/supermart/welfare/detail/transverseItemBg.png`,
  190. transverseItemBgOn: `${CDN_SUPERMART}/supermart/welfare/detail/transverseItemBgOn.png`,
  191. transverseItemRight: `${CDN_SUPERMART}/supermart/welfare/detail/transverseItemRight.png`,
  192. transverseItemRightOn: `${CDN_SUPERMART}/supermart/welfare/detail/transverseItemRightOn.png`,
  193. },
  194. },
  195. mine: {
  196. kaixinMineBg: `${CDN_BASE}/mine/kaixinMineBg.png`,
  197. kaixinMineHeadBg: `${CDN_BASE}/mine/kaixinMineHeadBg.png`,
  198. kaixinUserDataBg: `${CDN_BASE}/mine/kaixinUserDataBg.png`,
  199. kaixinUserCopyIcon: `${CDN_BASE}/mine/kaixinUserCopyIcon.png`,
  200. editIcon: `${CDN_BASE}/mine/editIcon.png`,
  201. userSection1Bg: `${CDN_BASE}/mine/userSection1Bg.png`,
  202. userSection2Bg: `${CDN_BASE}/mine/userSection2Bg.png`,
  203. invite: `${CDN_BASE}/mine/invite.png`,
  204. kaixinintegral: `${CDN_BASE}/mine/kaixinintegral.png`,
  205. message: `${CDN_BASE}/mine/message.png`,
  206. kaixinorder: `${CDN_BASE}/mine/kaixinorder.png`,
  207. kaixinOrders: `${CDN_BASE}/mine/kaixinOrders.png`,
  208. order1: `${CDN_BASE}/mine/order1.png`,
  209. order2: `${CDN_BASE}/mine/order2.png`,
  210. dialogContentBg: `${CDN_BASE}/mine/dialogContentBg.png`,
  211. dialogClose: `${CDN_BASE}/mine/dialogClose.png`,
  212. wallet: `${CDN_BASE}/mine/wallet.png`,
  213. exchangeIcon: `${CDN_BASE}/mine/exchangeIcon.png`,
  214. customerService: `${CDN_BASE}/mine/customerService.png`,
  215. address: `${CDN_BASE}/mine/address.png`,
  216. opinion: `${CDN_BASE}/mine/opinion.png`,
  217. setting: `${CDN_BASE}/mine/setting.png`,
  218. couponBg: `${CDN_BASE}/mine/couponBg.png`,
  219. couponItemButBg: `${CDN_BASE}/mine/couponItemButBg.png`,
  220. storeItemBg: `${CDN_BASE}/mine/storeItemBg.png`,
  221. storeGoodsImgBg: `${CDN_BASE}/mine/storeGoodsImgBg.png`,
  222. lock: `${CDN_BASE}/mine/lock.png`,
  223. unlock: `${CDN_BASE}/mine/unlock.png`,
  224. stoneImage: `${CDN_BASE}/mine/stoneImage.png`,
  225. magicTypeBg: `${CDN_BASE}/mine/magicTypeBg.png`,
  226. stoneBg: `${CDN_BASE}/mine/stoneBg.png`,
  227. },
  228. // 地址相关
  229. address: {
  230. itemBg: `${CDN_BASE}/common/itemBg.png`,
  231. },
  232. // 订单相关
  233. order: {
  234. itemBg: `${CDN_BASE}/common/itemBg.png`,
  235. },
  236. // 积分相关
  237. integral: {
  238. head: `${CDN_SUPERMART}/mine/integral/head.png`,
  239. greetings: `${CDN_SUPERMART}/mine/integral/greetings.png`,
  240. goldCoins: `${CDN_SUPERMART}/mine/integral/goldCoins.png`,
  241. yes: `${CDN_SUPERMART}/mine/integral/yes.png`,
  242. no: `${CDN_SUPERMART}/mine/integral/no.png`,
  243. basisBg: `${CDN_SUPERMART}/mine/integral/basisBg.png`,
  244. tooltip: `${CDN_SUPERMART}/mine/integral/tooltip.png`,
  245. turntable: `${CDN_SUPERMART}/mine/integral/turntable.png`,
  246. },
  247. };