景徳镇旅游微信小程序
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.

113 lines
2.2 KiB

10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 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. width: 94%;
  44. margin: 40rpx 0 0 3%;
  45. align-items: center;
  46. .card-img {
  47. height: 260rpx;
  48. width: 230rpx;
  49. flex-shrink: 0;
  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. display: flex;
  60. flex-direction: column;
  61. justify-content: space-around;
  62. .card-content-img {
  63. display: flex;
  64. margin-left: 10rpx;
  65. width: 100rpx;
  66. height: 40rpx;
  67. }
  68. .card-content-tag {
  69. display: inline-block;
  70. font-size: 24rpx;
  71. padding: 2rpx 20rpx;
  72. border: 2rpx solid #FBA21E;
  73. background-color: #FFF1D2;
  74. color: #FBAF35;
  75. border-radius: 20rpx;
  76. width: fit-content;
  77. }
  78. .tips{
  79. font-size: 24rpx;
  80. color: #999;
  81. }
  82. .card-content-bottom {
  83. display: flex;
  84. justify-content: space-between;
  85. align-items: center;
  86. .card-content-bottom-one {
  87. display: inline-block;
  88. color: #FFFDF6;
  89. background-color: #C83741;
  90. margin-right: 4%;
  91. padding: 12rpx 30rpx;
  92. border-radius: 40rpx;
  93. font-size: 24rpx;
  94. }
  95. }
  96. view {
  97. margin-top: 10rpx;
  98. }
  99. }
  100. }
  101. </style>