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

273 lines
5.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
  1. <template>
  2. <!-- '遗产讲述', '达人同游' 我要跟拍 的共同详情页面 -->
  3. <view class="page">
  4. <navbar :title="titles[type]" leftClick @leftClick="$utils.navigateBack" />
  5. <view class="info">
  6. <!-- 上面 -->
  7. <view class="top">
  8. <image src="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/BB1msKSi.img" mode="aspectFill"></image>
  9. <view class="left">
  10. <view class="title">
  11. 摄影师协会
  12. </view>
  13. <view class="left-list">
  14. <view>
  15. <uv-icon
  16. name="star"
  17. size="50rpx"
  18. ></uv-icon>
  19. 收藏
  20. </view>
  21. <view>
  22. <uv-icon
  23. name="star"
  24. size="50rpx"
  25. ></uv-icon>
  26. 收藏
  27. </view>
  28. <view>
  29. <uv-icon
  30. name="star"
  31. size="50rpx"
  32. ></uv-icon>
  33. 收藏
  34. </view>
  35. </view>
  36. </view>
  37. </view>
  38. <!-- 下面 -->
  39. <view class="bottom">
  40. <view>
  41. <image src="../static/reservationDetail/1.png" mode=""></image>
  42. <view>
  43. 预约时间
  44. </view>
  45. </view>
  46. <view>
  47. <image src="../static/reservationDetail/2.png" mode=""></image>
  48. <view>
  49. 价格
  50. </view>
  51. </view>
  52. <view>
  53. <image src="../static/reservationDetail/3.png" mode=""></image>
  54. <view>
  55. 预约
  56. </view>
  57. </view>
  58. </view>
  59. </view>
  60. <view class="detail">
  61. <view class="content">
  62. <view class="thumb-up">
  63. <uv-icon
  64. name="thumb-up"
  65. size="40rpx"
  66. color="#B12731"
  67. ></uv-icon>
  68. <text>推荐度</text> <text>9</text>
  69. </view>
  70. <view class="text">
  71. <view class="line">
  72. <view class="left">
  73. 专业擅长
  74. </view>
  75. <view class="right">
  76. 景德镇陶瓷考古研究所资料陈列馆副主任累德镇交物鉴定小组成员现为景德镇市第三批市级非物质文化遗产项目景德镇传统陶瓷书法
  77. </view>
  78. </view>
  79. <view class="line">
  80. <view class="left">
  81. 个人简介
  82. </view>
  83. <view class="right">
  84. 景德镇陶瓷考古研究所资料陈列馆副主任累德镇交物鉴定小组成员现为景德镇市第三批市级非物质文化遗产项目景德镇传统陶瓷书法
  85. </view>
  86. </view>
  87. </view>
  88. </view>
  89. <view class="video-list">
  90. <view class="title">
  91. 讲解现场
  92. </view>
  93. <!-- <view class="list">
  94. <view
  95. v-for="(item, index) in 10"
  96. :key="index">
  97. <image src="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/BB1msKSi.img" mode="aspectFill"></image>
  98. </view>
  99. </view> -->
  100. </view>
  101. <videoList ref="videoList"/>
  102. </view>
  103. <tabber/>
  104. </view>
  105. </template>
  106. <script>
  107. import videoList from '@/components/list/videoList.vue'
  108. export default {
  109. components : {
  110. videoList,
  111. },
  112. data() {
  113. return {
  114. titles: ['遗产讲述', '达人同游', '我要跟拍'],
  115. type: 0,
  116. id : 0,
  117. detail : {},
  118. }
  119. },
  120. onLoad(args) {
  121. this.type = args.type
  122. this.id = args.id
  123. },
  124. onShow() {
  125. this.$refs.videoList.queryVideoList()
  126. this.getData()
  127. },
  128. onPullDownRefresh(){
  129. this.$refs.videoList.queryVideoList()
  130. this.getData()
  131. },
  132. //滚动到屏幕底部
  133. onReachBottom() {
  134. this.$refs.videoList.loadMoreData()
  135. },
  136. methods: {
  137. getData(){
  138. this.$api('queryRoleInfoById', {
  139. id : this.id,
  140. }, res => {
  141. uni.stopPullDownRefresh()
  142. if(res.code == 200){
  143. this.detail = res.result
  144. }
  145. })
  146. },
  147. }
  148. }
  149. </script>
  150. <style scoped lang="scss">
  151. .page{
  152. .info{
  153. .top{
  154. display: flex;
  155. padding: 40rpx;
  156. image{
  157. width: 240rpx;
  158. height: 280rpx;
  159. border-radius: 20rpx;
  160. margin-right: 40rpx;
  161. }
  162. .left{
  163. .title{
  164. font-size: 32rpx;
  165. margin-top: 20rpx;
  166. }
  167. .left-list{
  168. display: flex;
  169. font-size: 26rpx;
  170. background-color: #fff;
  171. border-radius: 20rpx;
  172. padding: 20rpx;
  173. margin-top: 50rpx;
  174. box-shadow: 0 0 10rpx 10rpx #00000010;
  175. >view{
  176. margin: 20rpx 30rpx;
  177. display: flex;
  178. flex-direction: column;
  179. justify-content: center;
  180. align-items: center;
  181. }
  182. }
  183. }
  184. }
  185. .bottom{
  186. display: flex;
  187. justify-content: space-around;
  188. image{
  189. width: 100rpx;
  190. height: 100rpx;
  191. margin-bottom: 10rpx;
  192. }
  193. >view{
  194. background-color: #fff;
  195. box-shadow: 0 0 10rpx 10rpx #00000010;
  196. border-radius: 20rpx;
  197. height: 180rpx;
  198. width: 180rpx;
  199. display: flex;
  200. justify-content: center;
  201. align-items: center;
  202. flex-direction: column;
  203. color: $uni-color;
  204. }
  205. }
  206. }
  207. .detail{
  208. width: 100%;
  209. background-color: #fff;
  210. .content{
  211. padding: 40rpx;
  212. .thumb-up{
  213. background-color: #F6F2E7;
  214. color: $uni-color;
  215. font-size: 28rpx;
  216. font-weight: 900;
  217. padding: 10rpx 25rpx;
  218. display: flex;
  219. width: fit-content;
  220. border-radius: 30rpx;
  221. text{
  222. margin-left: 10rpx;
  223. }
  224. }
  225. .text{
  226. .line{
  227. margin-top: 40rpx;
  228. display: flex;
  229. line-height: 50rpx;
  230. .left{
  231. width: 180rpx;
  232. flex-shrink: 0;
  233. color: $uni-color;
  234. font-weight: 900;
  235. }
  236. }
  237. }
  238. }
  239. .video-list{
  240. padding: 15rpx;
  241. .title{
  242. font-weight: 900;
  243. color: $uni-color;
  244. padding: 15rpx;
  245. }
  246. .list{
  247. display: flex;
  248. flex-wrap: wrap;
  249. >view{
  250. margin: 15rpx;
  251. image{
  252. width: 330rpx;
  253. height: 350rpx;
  254. border-radius: 30rpx;
  255. }
  256. }
  257. }
  258. }
  259. }
  260. }
  261. </style>