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

124 lines
2.3 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
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
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
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
  1. <template>
  2. <!-- 我要研学 -->
  3. <view class="page">
  4. <navbar title="我要研学" leftClick @leftClick="$utils.navigateBack" />
  5. <view class="search">
  6. <uv-search
  7. placeholder="搜索服务"
  8. v-model="keyword"
  9. :animation="true"
  10. height="70"
  11. :showAction="false"
  12. searchIconSize="44"
  13. >
  14. </uv-search>
  15. </view>
  16. <view class="list">
  17. <view class="item"
  18. @click="$utils.navigateTo('/pages_order/service/StudyAndPathDetail?type=Study&id=' + item.id)"
  19. v-for="(item,index) in list"
  20. :key="index">
  21. <view class="image">
  22. <image :src="item.amusementImage[0]" mode=""></image>
  23. <view class="type">
  24. 报名中
  25. </view>
  26. </view>
  27. <view class="info">
  28. <view class="title text-ellipsis">
  29. {{ item.amusementTitle }}
  30. </view>
  31. <view class="price">
  32. 5000.00
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. <tabber/>
  38. </view>
  39. </template>
  40. <script>
  41. import mixinsList from '@/mixins/list.js'
  42. export default {
  43. mixins : [mixinsList],
  44. data() {
  45. return {
  46. isShow: 0,
  47. mixinsListApi : 'queryAmusementList',
  48. list : [],
  49. }
  50. },
  51. onLoad() {
  52. this.queryParams.amusementType = 1
  53. },
  54. methods: {
  55. setPath(i){
  56. this.getData()
  57. },
  58. getDataThen(list){
  59. list.forEach(n => n.amusementImage =
  60. n.amusementImage ?
  61. n.amusementImage.split(',') : [])
  62. },
  63. }
  64. }
  65. </script>
  66. <style scoped lang="scss">
  67. .page{
  68. .search{
  69. background-color: #fff;
  70. padding: 20rpx;
  71. }
  72. .list{
  73. .item{
  74. margin: 30rpx 20rpx 50rpx;
  75. padding: 20rpx;
  76. background-color: #fff;
  77. border-radius: 20rpx;
  78. box-shadow: 0 0 10rpx 10rpx #00000011;
  79. .image{
  80. width: 100%;
  81. height: 400rpx;
  82. position: relative;
  83. image{
  84. width: 100%;
  85. height: 90%;
  86. border-radius: 20rpx;
  87. margin-top: 10rpx;
  88. }
  89. .type{
  90. position: absolute;
  91. top: -10rpx;
  92. height: 62rpx;
  93. left: 30rpx;
  94. background-color: darkgoldenrod;
  95. color: #fff;
  96. font-size: 28rpx;
  97. padding: 0 18rpx;
  98. border-radius: 14rpx;
  99. line-height: 56rpx;
  100. }
  101. }
  102. .info{
  103. .title{
  104. margin-left: 14rpx;
  105. margin-bottom: 8rpx;
  106. font-size: 32rpx;
  107. font-weight: 700;
  108. }
  109. .price{
  110. font-size: 30rpx;
  111. margin-left: 12rpx;
  112. margin-bottom: 8rpx;
  113. color: darkgoldenrod;
  114. }
  115. }
  116. }
  117. }
  118. }
  119. </style>