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

138 lines
2.7 KiB

  1. <template>
  2. <view class="tell">
  3. <navbar :title="titles[type]" leftClick @leftClick="$utils.navigateBack" />
  4. <view class="tell-top" v-if="type == 0 ">
  5. <view>级别</view>
  6. <view>遗产点</view>
  7. </view>
  8. <!-- <view class="card" v-for="(item,index) in 10">
  9. <view class="card-img">
  10. <image src="../static/applyRelic/jdz.png" mode="aspectFill"></image>
  11. </view>
  12. <view class="card-content">
  13. <view style="display: flex; align-items: center;">
  14. <text>刘申林</text>
  15. <image class="card-content-img" src="../static/tell/goldMedal.png"></image>
  16. </view>
  17. <view class="card-content-tag">
  18. 提前一周预约
  19. </view>
  20. <view style="font-size: 12px; color: #999;">
  21. 御窑厂刘家弄观音阁陶瓷博物馆御窑博物馆...
  22. </view>
  23. <view class="card-content-bottom">
  24. <view style="color: #FF280C;">
  25. 300
  26. </view>
  27. <view class="card-content-bottom-one">
  28. 线上预约
  29. </view>
  30. </view>
  31. </view>
  32. </view> -->
  33. <cardList />
  34. <tabber/>
  35. </view>
  36. </template>
  37. <script>
  38. import cardList from '../components/list/cardList.vue'
  39. export default {
  40. components: {
  41. cardList
  42. },
  43. data() {
  44. return {
  45. titles: ['遗产讲述', '达人同游'],
  46. type: 0,
  47. }
  48. },
  49. onLoad(args) {
  50. this.type = args.type || 0
  51. },
  52. methods: {
  53. }
  54. }
  55. </script>
  56. <style scoped lang="scss">
  57. .tell {
  58. .tell-top {
  59. display: flex;
  60. justify-content: left;
  61. align-items: center;
  62. height: 80rpx;
  63. background-color: #fff;
  64. border-top: 2rpx solid #D0D0D0;
  65. border-bottom: 2rpx solid #D0D0D0;
  66. view {
  67. flex: 1;
  68. margin-left: 5%;
  69. }
  70. }
  71. // .card {
  72. // display: flex;
  73. // height: 300rpx;
  74. // width: 94%;
  75. // margin: 40rpx 0 0 3%;
  76. // align-items: center;
  77. // .card-img {
  78. // height: 240rpx;
  79. // width: 420rpx;
  80. // image {
  81. // height: 100%;
  82. // width: 100%;
  83. // }
  84. // }
  85. // .card-content {
  86. // margin-left: 3%;
  87. // font-size: 28rpx;
  88. // .card-content-img {
  89. // display: flex;
  90. // margin-left: 10rpx;
  91. // width: 100rpx;
  92. // height: 40rpx;
  93. // }
  94. // .card-content-tag {
  95. // display: inline-block;
  96. // font-size: 24rpx;
  97. // padding: 2rpx 20rpx;
  98. // border: 2rpx solid #FBA21E;
  99. // background-color: #FFF1D2;
  100. // color: #FBAF35;
  101. // border-radius: 20rpx;
  102. // }
  103. // .card-content-bottom {
  104. // display: flex;
  105. // justify-content: space-between;
  106. // align-items: center;
  107. // .card-content-bottom-one {
  108. // display: inline-block;
  109. // color: #FFFDF6;
  110. // background-color: #C83741;
  111. // margin-right: 4%;
  112. // padding: 8rpx 20rpx;
  113. // border-radius: 40rpx;
  114. // }
  115. // }
  116. // view {
  117. // margin-top: 10rpx;
  118. // }
  119. // }
  120. // }
  121. }
  122. </style>