poster.vue 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <template>
  2. <view class="">
  3. <view class="content">
  4. <view class="poster">
  5. <image src="https:\/\/t38.9026.com\/uploads\/golf\/images\/2022-05-31\/20220531739250.png" mode="widthFix"></image>
  6. <view class="code">
  7. <image src="../../static/travelD/code.png" mode="widthFix"></image>
  8. </view>
  9. </view>
  10. <view class="title">
  11. <view class="">
  12. 夕阳红康养团
  13. </view>
  14. <view class="">
  15. ¥668/人起
  16. </view>
  17. </view>
  18. <view class="" style="font-size: 22rpx;color: #666666;">
  19. 2022-05-06
  20. </view>
  21. </view>
  22. <view class="flex">
  23. <view class="weix">
  24. <image src="../../static/travelD/wxin.png" mode="widthFix"></image>
  25. <view class="text">
  26. 分享
  27. </view>
  28. </view>
  29. <view class="xiangc">
  30. <image src="../../static/travelD/album.png" mode="widthFix"></image>
  31. <view class="text">
  32. 手机相册
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. </template>
  38. <script>
  39. </script>
  40. <style lang="less">
  41. page{
  42. background-color: #F4F4F4;
  43. }
  44. .content{
  45. box-sizing: border-box;
  46. background: #ffffff;
  47. border-radius: 8rpx 32rpx 8rpx 32rpx;
  48. margin: 24rpx 58rpx 0;
  49. padding: 24rpx 24rpx 40rpx;
  50. image{
  51. // width: 596rpx;
  52. width: 100%;
  53. border-radius: 8rpx 20rpx 8rpx 0;
  54. }
  55. .poster{
  56. position: relative;
  57. }
  58. .code{
  59. position: absolute;
  60. right: 33rpx;
  61. bottom: 41rpx;
  62. image{
  63. width: 120rpx;
  64. }
  65. }
  66. .title{
  67. display: flex;
  68. justify-content: space-between;
  69. align-items: center;
  70. font-size: 30rpx;
  71. font-weight: 600;
  72. color: #333333;
  73. margin: 32rpx 0 16rpx;
  74. }
  75. }
  76. .flex{
  77. box-sizing: border-box;
  78. margin: 109rpx 144rpx 0;
  79. display: flex;
  80. align-content: center;
  81. justify-content: space-between;
  82. .text{
  83. font-size: 20rpx;
  84. font-family: PingFang-SC-Medium, PingFang-SC;
  85. font-weight: 500;
  86. color: #666666;
  87. text-align: center;
  88. margin: 30rpx 0;
  89. }
  90. .weix{
  91. image{
  92. width: 81rpx;
  93. }
  94. }
  95. .xiangc{
  96. image{
  97. width: 74rpx;
  98. }
  99. }
  100. }
  101. </style>