test.js 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. export const localCardConfig = `{
  2. "common": {
  3. "css": "
  4. .swiper-item-button {
  5. height: 50px !important;
  6. line-height: 50px !important;
  7. color: #A65600 !important;
  8. background: linear-gradient(117.53deg, #FFCD29 0%, #FFE694 42.36%, #FFC508 100%) !important;
  9. }
  10. .uni-swiper-dots-horizontal {
  11. bottom: 90px !important;
  12. }
  13. .topbar-rule {
  14. color: #FFFFFF;
  15. border-radius: 4px;
  16. background: #FF870D;
  17. }
  18. .tab-active {
  19. color: #FFFFFF !important;
  20. background: #f3b600 !important;
  21. }
  22. ",
  23. "popupRuleConfig": {
  24. "height": "550px"
  25. },
  26. "popupRuleList": [
  27. "default3",
  28. {
  29. "type": 10,
  30. "data": {
  31. "title": "视频教程",
  32. "video": {
  33. "src": "https://oss-mbh5.colormaprun.com/video/定向讲解.mp4",
  34. "poster": "static/common/jbbs2.png",
  35. "width": "100%",
  36. "height": "280px"
  37. },
  38. "content": "<br>定向赛怎么玩?点击上面的视频就知道啦~"
  39. }
  40. }
  41. ]
  42. },
  43. "index": {
  44. "css": "
  45. .content-bg{
  46. background: linear-gradient(180deg, rgb(255, 216, 77) 0%, rgb(255, 110, 0) 100%) !important;
  47. }
  48. .logo{
  49. width: 40vw !important;
  50. height: 40vw !important;
  51. background: url('static/logo/building2.png') no-repeat center !important;
  52. background-size: contain !important;
  53. }
  54. .mod-text{
  55. color: #FFFFFF !important;
  56. }
  57. .mod-button{
  58. color: #EF6223 !important;
  59. background-color: #FFFFFF !important;
  60. }
  61. "
  62. },
  63. "grid": {
  64. "css": "
  65. .cell-name-uncomplete {
  66. color: #CF6B00 !important;
  67. }
  68. .cell-name-complete {
  69. color: #ffffff !important;
  70. }
  71. ",
  72. "tabPageItems": ["赛事", "排行榜"],
  73. "introduce": {
  74. "title": "赛事九宫格:",
  75. "content": "选择其中一个格子,挑战成功即可解锁。九个格子全部解锁,获取一张奖励卡和对应奖品!"
  76. },
  77. "activityRules": {
  78. "title": "获取积分规则:",
  79. "content": "1. 每成功解锁一个新地图获得100积分<br>2. 挑战过程中每成功打点获得1个积分<br>3. 挑战过程中每成功答对一题获得1个积分"
  80. },
  81. "ad": {
  82. "title": "广告",
  83. "content": "广告内容 <a onClick=launchWxMini()>打开小程序</a>"
  84. },
  85. "wxMiniParam": {
  86. "username": "gh_bea09156da8d",
  87. "path": "pages/integralRedeem/index?mall_id=3892"
  88. }
  89. },
  90. "rankList": {
  91. "css": "
  92. ",
  93. "tabPageItems": ["赛事", "排行榜"],
  94. "rankParam": {
  95. "tabItemsMark": [],
  96. "dispArrStr": "totalSysPoint,totalDistance,rightAnswerPer,totalCp,fastSpeed",
  97. "tabItems": [
  98. "总积分",
  99. "总里程",
  100. "正确答题",
  101. "打点数",
  102. "单圈用时"
  103. ],
  104. "rankTypeList": [
  105. "totalScore",
  106. "totalDistance",
  107. "rightAnswerPer",
  108. "totalCp",
  109. "speed"
  110. ],
  111. "rankRsList": [
  112. "totalSysPointRs",
  113. "totalDistanceRs",
  114. "rightAnswerPerRs",
  115. "totalCpRs",
  116. "fastSpeedRs"
  117. ]
  118. }
  119. }
  120. }`;