index.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <template>
  2. <view class="content">
  3. <image class="logo" src="/static/post-bg.png"></image>
  4. <view class="share-box">
  5. <view>分销商分享给好友,好友购买产品成功后即可获</view>
  6. <view>得分享奖励</view>
  7. <view>单笔最高可赚¥200.00</view>
  8. <view>快去分享吧</view>
  9. <button type="default">分享</button>
  10. </view>
  11. <view class="share-box" style="height: 200upx;margin-top: 2%;">
  12. <view>长按复制框内整段文字,打开 [手淘] 即可购买</view>
  13. <view>¥kSfsDfrtrEjt¥</view>
  14. <button type="default">一键复制</button>
  15. </view>
  16. <view class="product-title">推荐产品</view>
  17. <view class="recommend-box">
  18. <view class="product-box">
  19. <image src="/static/bed-bg.png"></image>
  20. <view class="detail-box">
  21. <view>甜蜜瑞士系列床垫 卧室独立袋弹簧 护脊静音软硬适…</view>
  22. <view style="color: #999;">¥11999</view>
  23. </view>
  24. </view>
  25. <view class="product-box">
  26. <image src="/static/bed2-bg.png"></image>
  27. <view class="detail-box">
  28. <view>甜蜜瑞士系列床垫 卧室独立袋弹簧 护脊静音软硬适…</view>
  29. <view style="color: #999;">¥13999</view>
  30. </view>
  31. </view>
  32. </view>
  33. </view>
  34. </template>
  35. <script>
  36. export default {
  37. data() {
  38. return {
  39. title: 'Hello'
  40. }
  41. },
  42. onLoad() {
  43. },
  44. methods: {
  45. }
  46. }
  47. </script>
  48. <style>
  49. .content {
  50. display: flex;
  51. flex-direction: column;
  52. align-items: center;
  53. justify-content: center;
  54. }
  55. .logo {
  56. height: 400px;
  57. width: 100%;
  58. margin-bottom: 30upx;
  59. }
  60. .share-box {
  61. display: flex;
  62. flex-direction: column;
  63. justify-content: center;
  64. align-items: center;
  65. width: 80%;
  66. height: 300upx;
  67. border: 1px dashed red;
  68. background: #fff;
  69. font-size: 28rpx;
  70. padding: 5px;
  71. }
  72. .share-box button {
  73. width: 300rpx;
  74. height: 70rpx;
  75. line-height: 70rpx;
  76. margin-top: 2%;
  77. background-color: #27BCEF;
  78. color: #fff;
  79. }
  80. .title {
  81. font-size: 36upx;
  82. color: #8f8f94;
  83. }
  84. .product-title {
  85. margin-left: -75%;
  86. margin-top: 5%;
  87. margin-bottom: 1%;
  88. }
  89. .recommend-box {
  90. display: flex;
  91. flex-direction: column;
  92. justify-content: center;
  93. align-items: center;
  94. }
  95. .product-box {
  96. width: 90%;
  97. height: 200rpx;
  98. padding: 20rpx;
  99. display: flex;
  100. align-items: center;
  101. background-color: #fff;
  102. border-radius:10px;
  103. margin-bottom: 2%;
  104. }
  105. .product-box image {
  106. width: 420rpx;
  107. height: 180rpx;
  108. margin-right: 5%;
  109. }
  110. .detail-box {
  111. display: flex;
  112. flex-direction: column;
  113. justify-content: space-between;
  114. font-size: 30rpx;
  115. height: 190rpx;
  116. }
  117. </style>