prizeDetails.vue 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. <template>
  2. <view>
  3. <u-navbar title="奖品详情">
  4. </u-navbar>
  5. <!-- 奖品图 -->
  6. <view class="prize-img">
  7. <img src="../../../../assets/img/plane.png" alt="">
  8. </view>
  9. <!-- 奖品信息 -->
  10. <view class="prize-infos">
  11. <view class="name">
  12. 单人春节往返海南机票*2
  13. </view>
  14. <view class="explain">
  15. 奖品说明文字内容
  16. </view>
  17. <view class="points">
  18. <view class="number">
  19. 1500 积分
  20. </view>
  21. <view class="hint">
  22. *兑换后积分不退还
  23. </view>
  24. </view>
  25. </view>
  26. <!-- 兑换说明 -->
  27. <view class="exchange-explain">
  28. <view class="title">
  29. 兑换说明
  30. </view>
  31. <view class="item">
  32. <view class="name">
  33. 使用
  34. </view>
  35. <view class="value">
  36. <p>1、使用有效期:自绑定当日起第7天24点前可用,逾期未使用,自动作废;</p>
  37. <p>2、每个职工账户一年度限兑换1次;</p>
  38. <p>3、兑换记录可在“我的-积分-积分兑换”中查看</p>
  39. </view>
  40. </view>
  41. <view class="item">
  42. <view class="name">
  43. 说明
  44. </view>
  45. <view class="value">
  46. <p>1.对机票的使用等有任何疑问可以拨打综合办公室电话:0716-4108989/4108979。</p>
  47. </view>
  48. </view>
  49. </view>
  50. <!-- 底部 -->
  51. <view class="bottom">
  52. <view class="points">
  53. <view class="need">
  54. <text>1500</text>
  55. <text class="unit">积分</text>
  56. </view>
  57. <view class="have">
  58. <text>当前积分</text>
  59. <text class="num">20</text>
  60. </view>
  61. </view>
  62. <!-- 立即兑换 -->
  63. <view class="button">
  64. 立即兑换
  65. </view>
  66. <!-- 积分不足 -->
  67. <!-- <view class="button button2">
  68. 积分不足
  69. </view> -->
  70. <!-- 待开抢 -->
  71. <!-- <view class="button button3">
  72. <p class="p1">待开抢</p>
  73. <p class="p2">01月07日10:00开抢</p>
  74. </view> -->
  75. <!-- 已兑完 -->
  76. <!-- <view class="button button4">
  77. 已兑完
  78. </view> -->
  79. </view>
  80. </view>
  81. </template>
  82. <script>
  83. export default {
  84. data() {
  85. return {
  86. }
  87. },
  88. methods: {
  89. }
  90. }
  91. </script>
  92. <style lang="scss" scoped>
  93. page{
  94. font-family: 'Regular';
  95. }
  96. // 奖品图片
  97. .prize-img{
  98. width: 100%;
  99. height:424rpx;
  100. img{
  101. width: 100%;
  102. height: 100%;
  103. }
  104. }
  105. // 奖品信息
  106. .prize-infos{
  107. padding: 32rpx;
  108. background-color: #fff;
  109. .name{
  110. color: rgba(51, 51, 51, 1);
  111. font-size: 40rpx;
  112. font-weight: bold;
  113. font-family: 'SemiBold';
  114. }
  115. .explain{
  116. color: rgba(119, 119, 119, 1);
  117. margin-top: 8rpx;
  118. }
  119. .points{
  120. margin-top: 40rpx;
  121. display: flex;
  122. justify-content: space-between;
  123. align-items: center;
  124. color: rgba(255, 61, 0, 1);
  125. font-weight:bold;
  126. .number{
  127. font-size: 40rpx;
  128. }
  129. }
  130. }
  131. // 兑换说明
  132. .exchange-explain{
  133. background-color: #fff;
  134. margin-top: 24rpx;
  135. padding:24rpx 32rpx;
  136. .title{
  137. color: rgba(51, 51, 51, 1);
  138. font-size: 18px;
  139. margin-bottom: 48rpx;
  140. font-family: 'Medium';
  141. }
  142. .item{
  143. display: flex;
  144. line-height: 40rpx;
  145. margin-bottom: 40rpx;
  146. .name{
  147. width: 56rpx;
  148. color: #777777;
  149. }
  150. .value{
  151. flex: 1;
  152. margin-left: 40rpx;
  153. color: #333333;
  154. p{
  155. margin-bottom: 16rpx;
  156. }
  157. }
  158. }
  159. }
  160. // 底部
  161. .bottom{
  162. position: fixed;
  163. left: 0;
  164. right: 0;
  165. bottom: 0;
  166. background-color: #fff;
  167. padding: 36rpx 32rpx;
  168. display: flex;
  169. justify-content: space-between;
  170. .points{
  171. .need{
  172. font-family: 'Medium';
  173. color: rgba(255, 61, 0, 1);
  174. font-size: 16px;
  175. .unit{
  176. margin-left: 8rpx;
  177. }
  178. }
  179. .have{
  180. color: rgba(119, 119, 119, 1);
  181. .num{
  182. margin-left: 8rpx;
  183. }
  184. }
  185. }
  186. .button{
  187. font-family: 'Medium';
  188. width:280rpx;
  189. height: 80rpx;
  190. line-height: 80rpx;
  191. border-radius: 50px;
  192. background-color: rgba(255, 61, 0, 1);
  193. color: #fff;
  194. font-size: 32rpx;
  195. text-align: center;
  196. }
  197. .button2,.button3,.button4{
  198. background-color: rgba(226, 226, 226, 1);
  199. color: #777777;
  200. font-weight: bold;
  201. }
  202. .button3{
  203. .p1{
  204. font-size: 28rpx;
  205. line-height: 40rpx;
  206. margin-top: 4rpx;
  207. }
  208. .p2{
  209. font-size: 24rpx;
  210. line-height: 34rpx;
  211. }
  212. }
  213. @media screen and(max-width:320px) {
  214. .button3{
  215. width: auto;
  216. padding:0 32rpx;
  217. }
  218. }
  219. }
  220. </style>