景徳镇旅游微信小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

110 lines
2.1 KiB

9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
  1. <template>
  2. <view>
  3. <view class="card" v-for="(item,index) in 10" :key="index">
  4. <view class="card-img">
  5. <image src="../../static/applyRelic/jdz.png" mode="aspectFill"></image>
  6. </view>
  7. <view class="card-content">
  8. <view style="display: flex; align-items: center;">
  9. <text>刘申林</text>
  10. <image class="card-content-img" src="../../static/tell/goldMedal.png"></image>
  11. </view>
  12. <view class="card-content-tag">
  13. 提前一周预约
  14. </view>
  15. <view class="tips text-ellipsis-2">
  16. 御窑厂刘家弄观音阁观音阁观音阁观音阁陶瓷博物馆御窑博物馆...陶瓷博物馆御窑博物馆陶瓷博物馆御窑博物馆陶瓷博物馆御窑博物馆
  17. </view>
  18. <view class="card-content-bottom">
  19. <view style="color: #FF280C;">
  20. 300
  21. </view>
  22. <view class="card-content-bottom-one">
  23. 线上预约
  24. </view>
  25. </view>
  26. </view>
  27. </view>
  28. </view>
  29. </template>
  30. <script>
  31. export default {
  32. data() {
  33. return {
  34. }
  35. },
  36. methods: {
  37. }
  38. }
  39. </script>
  40. <style scoped lang="scss">
  41. .card {
  42. display: flex;
  43. height: 300rpx;
  44. width: 94%;
  45. margin: 40rpx 0 0 3%;
  46. align-items: center;
  47. .card-img {
  48. height: 240rpx;
  49. width: 420rpx;
  50. image {
  51. height: 100%;
  52. width: 100%;
  53. border-radius: 20rpx;
  54. }
  55. }
  56. .card-content {
  57. margin-left: 3%;
  58. font-size: 28rpx;
  59. .card-content-img {
  60. display: flex;
  61. margin-left: 10rpx;
  62. width: 100rpx;
  63. height: 40rpx;
  64. }
  65. .card-content-tag {
  66. display: inline-block;
  67. font-size: 24rpx;
  68. padding: 2rpx 20rpx;
  69. border: 2rpx solid #FBA21E;
  70. background-color: #FFF1D2;
  71. color: #FBAF35;
  72. border-radius: 20rpx;
  73. }
  74. .tips{
  75. font-size: 24rpx;
  76. color: #999;
  77. }
  78. .card-content-bottom {
  79. display: flex;
  80. justify-content: space-between;
  81. align-items: center;
  82. .card-content-bottom-one {
  83. display: inline-block;
  84. color: #FFFDF6;
  85. background-color: #C83741;
  86. margin-right: 4%;
  87. padding: 12rpx 30rpx;
  88. border-radius: 40rpx;
  89. font-size: 24rpx;
  90. }
  91. }
  92. view {
  93. margin-top: 10rpx;
  94. }
  95. }
  96. }
  97. </style>