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

114 lines
2.2 KiB

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