index.html 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <extend name="Public:pinduoduobase" />
  2. <block name="content">
  3. <div id="jsalert-assist_free_coupon_rules666" style="display:none;">
  4. <div class='bg-fill bg-fill2'></div>
  5. <div id='assist-free-coupon-rules-alert' class='assist-free-coupon-rules-alert'>
  6. <div class='content-wrapper'>
  7. <div class='detail'>
  8. <div class='title'>积分说明</div>
  9. <div class='desc'>
  10. <?php foreach($integral_rules_str as $li){ ?>
  11. <div class='li'>
  12. {$li}
  13. </div>
  14. <?php } ?>
  15. </div>
  16. </div>
  17. </div>
  18. </div>
  19. </div>
  20. <style>
  21. .rule-btn2 {
  22. left: 12px;
  23. top: 12px;
  24. width: auto;
  25. line-height: 20px;
  26. font-size: 10px;
  27. color: #3b003d;
  28. background: hsla(0,0%,100%,.8);
  29. border-radius: 5px;
  30. padding: 0px 10px;
  31. }
  32. </style>
  33. <div id="main">
  34. <div id="index-content" class="container">
  35. <div class="score_tip">
  36. <a href="javascript:;">
  37. <div class="rule-btn2 button-hover">
  38. 积分说明
  39. </div>
  40. </a>
  41. </div>
  42. <div class="ad_info">
  43. <a href="{$ad_info.url}">
  44. <img src="/Uploads/image/{$ad_info.image}" width="100%" />
  45. </a>
  46. </div>
  47. <div id="rp-banner" style="margin-top:0px;">
  48. <!-- Product begin -->
  49. <include file="Widget:integral_ajax_goods_index_list" />
  50. <!-- Product end -->
  51. </div>
  52. </div>
  53. </div>
  54. <include file="Widget:pin_notify" />
  55. <include file="Public:foot_lazy" />
  56. <include file="Public:foot_pinduoduo" />
  57. <style>
  58. .score_tip{
  59. position:absolute;
  60. right:10px;
  61. top:20px;
  62. }
  63. .bg-fill {
  64. background-color: rgba(0,0,0,.7);
  65. width: 100%;
  66. height: 100%;
  67. left: 0;
  68. top: 0;
  69. position: fixed;
  70. z-index: 10001;
  71. }
  72. #assist-free-coupon-rules-alert, #flash_groups_rules_alert {
  73. -webkit-box-pack: center;
  74. top: 0;
  75. left: 0;
  76. right: 0;
  77. z-index: 10002;
  78. bottom: 64px;
  79. }
  80. #assist-free-coupon-rules-alert {
  81. position: fixed;
  82. display: -webkit-box;
  83. display: -ms-flexbox;
  84. display: flex;
  85. display: -webkit-flex;
  86. -ms-flex-pack: center;
  87. justify-content: center;
  88. -webkit-justify-content: center;
  89. -webkit-box-align: center;
  90. -ms-flex-align: center;
  91. align-items: center;
  92. -webkit-align-items: center;
  93. }
  94. #assist-free-coupon-rules-alert .content-wrapper {
  95. position: relative;
  96. display: block;
  97. width: 77%;
  98. max-height: 100vh;
  99. max-width: 640px;
  100. margin: auto;
  101. background: #fff;
  102. border-radius: 8px;
  103. overflow-y: hidden;
  104. }
  105. #assist-free-coupon-confirm-alert .content-wrapper .detail, #assist-free-coupon-rules-alert .content-wrapper .detail, #flash_groups_rules_alert .content-wrapper .detail {
  106. word-wrap: break-word;
  107. word-break: normal;
  108. cursor: default;
  109. -webkit-touch-callout: none;
  110. -moz-user-select: none;
  111. -ms-user-select: none;
  112. }
  113. #assist-free-coupon-rules-alert .content-wrapper .detail {
  114. padding: 25px 20px;
  115. text-align: left;
  116. -webkit-user-select: none;
  117. user-select: none;
  118. }
  119. #assist-free-coupon-rules-alert .content-wrapper .detail .title {
  120. text-align: center;
  121. font-size: 17px;
  122. line-height: 1;
  123. color: #151516;
  124. padding-bottom: 2.5px;
  125. }
  126. #assist-free-coupon-rules-alert .content-wrapper .detail .desc .li {
  127. font-size: 15px;
  128. line-height: 26px;
  129. color: #58595b;
  130. }
  131. </style>
  132. <script>
  133. $(function(){
  134. $('.score_tip').click(function(){
  135. $('#jsalert-assist_free_coupon_rules666').show();
  136. })
  137. $('#jsalert-assist_free_coupon_rules666').click(function(){
  138. $('#jsalert-assist_free_coupon_rules666').hide();
  139. })
  140. })
  141. </script>
  142. </block>