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

139 lines
2.8 KiB

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