test2.js 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. export const localCardConfig = `{
  2. "common": {
  3. "css": "
  4. .content {
  5. background: #5e00d6;
  6. }
  7. .page-top {
  8. background: #5e00d6 !important;
  9. }
  10. .topbar-color {
  11. color: #ffffff !important;
  12. }
  13. .swiper-item-button {
  14. height: 50px !important;
  15. line-height: 50px !important;
  16. color: #A65600 !important;
  17. background: linear-gradient(117.53deg, #FFCD29 0%, #FFE694 42.36%, #FFC508 100%) !important;
  18. }
  19. .uni-swiper-dots-horizontal {
  20. bottom: 90px !important;
  21. }
  22. .topbar-rule {
  23. color: #FFFFFF;
  24. border-radius: 4px;
  25. background: #fe4f96;
  26. }
  27. .tab {
  28. border: 1px solid #ffffff;
  29. }
  30. .tab-active {
  31. color: #FFFFFF !important;
  32. background: #fe4f96 !important;
  33. }
  34. ",
  35. "popupRuleConfig": {
  36. "height": "550px"
  37. },
  38. "popupRuleList": [
  39. "default3",
  40. {
  41. "type": 10,
  42. "data": {
  43. "title": "视频教程",
  44. "video": {
  45. "src": "https://oss-mbh5.colormaprun.com/video/定向讲解.mp4",
  46. "poster": "static/common/jbbs2.png",
  47. "width": "100%",
  48. "height": "280px"
  49. },
  50. "content": "<br>定向赛怎么玩?点击上面的视频就知道啦~"
  51. }
  52. }
  53. ]
  54. },
  55. "index": {
  56. "css": "
  57. .content-bg{
  58. background: linear-gradient(180deg, rgb(255, 216, 77) 0%, rgb(255, 110, 0) 100%) !important;
  59. }
  60. .logo{
  61. width: 40vw !important;
  62. height: 40vw !important;
  63. background: url('static/logo/building2.png') no-repeat center !important;
  64. background-size: contain !important;
  65. }
  66. .mod-text{
  67. color: #FFFFFF !important;
  68. }
  69. .mod-button{
  70. color: #EF6223 !important;
  71. background-color: #FFFFFF !important;
  72. }
  73. "
  74. },
  75. "grid": {
  76. "css": "
  77. .cell-name-uncomplete {
  78. display: none;
  79. }
  80. .cell-name-complete {
  81. display: none;
  82. }
  83. ",
  84. "tabPageItems": ["赛事", "排行榜"],
  85. "gridTop" : "<img src='static/temp/1.png'/>",
  86. "gridBottom": "<img src='static/temp/2.png'/>
  87. <img src='static/temp/3.png'/>
  88. <img style='width:50%;' onClick=launchWxMini() src='static/temp/4.png'/>
  89. <img src='static/temp/5.png'/>
  90. <video src='https://oss-mbh5.colormaprun.com/video/定向讲解.mp4'
  91. poster='static/common/jbbs2.png' http-cache='true'
  92. class='uni-video-video'
  93. controls='true'
  94. ></video>
  95. <img src='static/temp/6.png'/>",
  96. "introduce": {
  97. },
  98. "activityRules": {
  99. },
  100. "ad": {
  101. },
  102. "wxMiniParam": {
  103. "username": "gh_bea09156da8d",
  104. "path": "pages/integralRedeem/index?mall_id=3892"
  105. }
  106. },
  107. "rankList": {
  108. "css": "
  109. .list {
  110. width: 85% !important;
  111. margin-top: 15px !important;
  112. padding: 10px !important;
  113. border-radius: 10px;
  114. }
  115. .list-item2 {
  116. margin-left: 10px;
  117. margin-right: 10px;
  118. }
  119. .item-detail {
  120. border-bottom: 0px !important;
  121. }
  122. ",
  123. "tabPageItems": ["赛事", "排行榜"],
  124. "rankParam": {
  125. "ranklistStyleType": 1,
  126. "tabItemsMark": [],
  127. "dispArrStr": "totalSysPoint,totalDistance,rightAnswerPer,totalCp,fastSpeed",
  128. "tabItems": [
  129. "总积分",
  130. "总里程",
  131. "正确答题",
  132. "打点数",
  133. "单圈用时"
  134. ],
  135. "rankTypeList": [
  136. "totalScore",
  137. "totalDistance",
  138. "rightAnswerPer",
  139. "totalCp",
  140. "speed"
  141. ],
  142. "rankRsList": [
  143. "totalSysPointRs",
  144. "totalDistanceRs",
  145. "rightAnswerPerRs",
  146. "totalCpRs",
  147. "fastSpeedRs"
  148. ]
  149. }
  150. }
  151. }`;