gl.vue 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <template>
  2. <view class="center">
  3. <view class="bg"><image src="../../static/img/game-bg.png" mode=""></image></view>
  4. <view class="main-box">
  5. <view class="title">玩法说明</view>
  6. <view class="main-item">
  7. <view class="main-title">种植技巧</view>
  8. <view class="main-info">1、种植需要消耗肥料,肥料通过购买商品获得。</view>
  9. <view class="main-info">2、参与种植成功后,三期后可以拿到107%种植肥料的阳光和30%种植肥料的商城积分。</view>
  10. <view class="main-info">
  11. 3、参与种植如果失败,例如第四期失败将返还第一期和第四期种植肥料总和的101%的阳光,第二期和第三期种植肥料总和的70%的阳光和总和的30%的水滴和总和的30%的商城积分
  12. </view>
  13. </view>
  14. </view>
  15. </view>
  16. </template>
  17. <script></script>
  18. <style lang="less">
  19. .center,
  20. page {
  21. padding-top: 268rpx;
  22. height: auto;
  23. min-height: 100%;
  24. background: #a4e5d3;
  25. }
  26. .bg {
  27. position: absolute;
  28. top: 0;
  29. left: 0;
  30. right: 0;
  31. width: 750rpx;
  32. height: 1500rpx;
  33. image {
  34. width: 100%;
  35. height: 100%;
  36. }
  37. }
  38. .main-box {
  39. margin: 0 auto;
  40. width: 626rpx;
  41. padding: 114rpx 64rpx 98rpx 50rpx;
  42. background: #ffffff;
  43. border-radius: 34rpx;
  44. position: relative;
  45. border: #369275 2px solid;
  46. .title {
  47. position: absolute;
  48. left: 50%;
  49. top: -35rpx;
  50. width: 324rpx;
  51. height: 70rpx;
  52. margin-left: -162rpx;
  53. text-align: center;
  54. line-height: 70rpx;
  55. background-color: #369275;
  56. border-radius: 50rpx;
  57. color: #ffffff;
  58. border-radius: 2px #fff solid;
  59. font-size: 42rpx;
  60. }
  61. .main-item {
  62. .main-title {
  63. font-size: 32rpx;
  64. font-family: SourceHanSansCN;
  65. font-weight: bold;
  66. color: #324658;
  67. }
  68. .main-info {
  69. margin-top: 10rpx;
  70. }
  71. }
  72. }
  73. </style>