海南旅游项目 前端仓库
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.

217 lines
6.9 KiB

5 years ago
5 years ago
  1. <template>
  2. <view>
  3. <view class="flex-direction bg-blue justify-between align-center text-center lf-p-t-30 lf-p-b-30" style="height: 340rpx;">
  4. <view>
  5. <image src="../../static/logo.png" mode="aspectFill" style="width: 200rpx;height: 200rpx;border-radius: 50%;"></image>
  6. </view>
  7. <view class="lf-font-36 align-center text-center text-white lf-m-t-30">
  8. 小小的小可爱
  9. </view>
  10. </view>
  11. <view class="list">
  12. <view class="lf-row-between list-item" hover-class="lf-opacity" @click="$url('/pages/collect/index')">
  13. <view class="lf-row-center">
  14. <image class="icon-img" src="../../static/logo.png"></image>
  15. <text class="lf-text-vertical lf-m-l-20 lf-font-28 lf-color-black">我的订单</text>
  16. </view>
  17. <view>
  18. <u-icon name="arrow-right" color="#777" size="28"></u-icon>
  19. </view>
  20. </view>
  21. <view class="lf-row-between list-item" hover-class="lf-opacity" @click="$url('/pages/contactService/index')">
  22. <view class="lf-row-center">
  23. <image class="icon-img" src="../../static/logo.png"></image>
  24. <text class="lf-text-vertical lf-m-l-16 lf-font-28 lf-color-black">消息中心</text>
  25. </view>
  26. <view>
  27. <u-icon name="arrow-right" color="#777" size="28"></u-icon>
  28. </view>
  29. </view>
  30. <view class="lf-row-between list-item" hover-class="lf-opacity">
  31. <view class="lf-row-center">
  32. <image class="icon-img" src="../../static/logo.png"></image>
  33. <text class="lf-text-vertical lf-m-l-16 lf-font-28 lf-color-black">意见反馈</text>
  34. </view>
  35. <view>
  36. <u-icon name="arrow-right" color="#777" size="28"></u-icon>
  37. </view>
  38. <button class="feedback-btn" open-type="feedback"></button>
  39. </view>
  40. <view class="lf-row-between list-item" hover-class="lf-opacity">
  41. <view class="lf-row-center">
  42. <image class="icon-img" src="../../static/logo.png"></image>
  43. <text class="lf-text-vertical lf-m-l-16 lf-font-28 lf-color-black">我的收藏</text>
  44. </view>
  45. <view>
  46. <u-icon name="arrow-right" color="#777" size="28"></u-icon>
  47. </view>
  48. <button class="feedback-btn" open-type="feedback"></button>
  49. </view>
  50. <view class="lf-row-between list-item" hover-class="lf-opacity">
  51. <view class="lf-row-center">
  52. <image class="icon-img" src="../../static/logo.png"></image>
  53. <text class="lf-text-vertical lf-m-l-16 lf-font-28 lf-color-black">关于我们</text>
  54. </view>
  55. <view>
  56. <u-icon name="arrow-right" color="#777" size="28"></u-icon>
  57. </view>
  58. <button class="feedback-btn" open-type="feedback"></button>
  59. </view>
  60. <view class="lf-row-between list-item" hover-class="lf-opacity">
  61. <view class="lf-row-center">
  62. <image class="icon-img" src="../../static/logo.png"></image>
  63. <text class="lf-text-vertical lf-m-l-16 lf-font-28 lf-color-black">联系客服</text>
  64. </view>
  65. <view>
  66. <u-icon name="arrow-right" color="#777" size="28"></u-icon>
  67. </view>
  68. <button class="feedback-btn" open-type="feedback"></button>
  69. </view>
  70. </view>
  71. <view style="background-color: #F6F6F6;">
  72. <view class="lf-p-t-40 lf-p-b-20 text-center details-title">
  73. <view class="lf-font-32 details-text flex justify-between align-center text-center" style="color: #222;position: relative;left: 270rpx;">
  74. <view class="rhombus lf-m-l-30"></view>
  75. <view>为你推荐</view>
  76. <view class="rhombus lf-m-r-30"></view>
  77. </view>
  78. </view>
  79. <lf-waterfall :list="list"></lf-waterfall>
  80. </view>
  81. </view>
  82. </template>
  83. <script>
  84. export default {
  85. data() {
  86. return {
  87. list: [
  88. {
  89. price: 35,
  90. title: '北国风光,千里冰封,万里雪飘',
  91. shop: '李白杜甫白居易旗舰店',
  92. image: 'http://pic.sc.chinaz.com/Files/pic/pic9/202002/zzpic23327_s.jpg',
  93. },
  94. {
  95. price: 75,
  96. title: '望长城内外,惟余莽莽',
  97. shop: '李白杜甫白居易旗舰店',
  98. image: 'http://pic.sc.chinaz.com/Files/pic/pic9/202002/zzpic23325_s.jpg',
  99. },
  100. {
  101. price: 385,
  102. title: '大河上下,顿失滔滔',
  103. shop: '李白杜甫白居易旗舰店',
  104. image: 'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg',
  105. },
  106. {
  107. price: 784,
  108. title: '欲与天公试比高',
  109. shop: '李白杜甫白居易旗舰店',
  110. image: 'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/zzpic23369_s.jpg',
  111. },
  112. {
  113. price: 7891,
  114. title: '须晴日,看红装素裹,分外妖娆',
  115. shop: '李白杜甫白居易旗舰店',
  116. image: 'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2130_s.jpg',
  117. },
  118. {
  119. price: 2341,
  120. shop: '李白杜甫白居易旗舰店',
  121. title: '江山如此多娇,引无数英雄竞折腰',
  122. image: 'http://pic1.sc.chinaz.com/Files/pic/pic9/202002/zzpic23346_s.jpg',
  123. },
  124. {
  125. price: 661,
  126. shop: '李白杜甫白居易旗舰店',
  127. title: '惜秦皇汉武,略输文采',
  128. image: 'http://pic1.sc.chinaz.com/Files/pic/pic9/202002/zzpic23344_s.jpg',
  129. },
  130. {
  131. price: 1654,
  132. title: '唐宗宋祖,稍逊风骚',
  133. shop: '李白杜甫白居易旗舰店',
  134. image: 'http://pic1.sc.chinaz.com/Files/pic/pic9/202002/zzpic23343_s.jpg',
  135. },
  136. {
  137. price: 1678,
  138. title: '一代天骄,成吉思汗',
  139. shop: '李白杜甫白居易旗舰店',
  140. image: 'http://pic1.sc.chinaz.com/Files/pic/pic9/202002/zzpic23343_s.jpg',
  141. },
  142. {
  143. price: 924,
  144. title: '只识弯弓射大雕',
  145. shop: '李白杜甫白居易旗舰店',
  146. image: 'http://pic1.sc.chinaz.com/Files/pic/pic9/202002/zzpic23343_s.jpg',
  147. },
  148. {
  149. price: 8243,
  150. title: '俱往矣,数风流人物,还看今朝',
  151. shop: '李白杜甫白居易旗舰店',
  152. image: 'http://pic1.sc.chinaz.com/Files/pic/pic9/202002/zzpic23343_s.jpg',
  153. },
  154. ]
  155. }
  156. }
  157. }
  158. </script>
  159. <style lang="scss">
  160. .rhombus{
  161. width: 16rpx;
  162. height: 16rpx;
  163. transform: rotateZ(45deg);
  164. background: #222;
  165. }
  166. .details-title {
  167. position: relative;
  168. &::after {
  169. position: absolute;
  170. left: 144rpx;
  171. top: 60rpx;
  172. content: '';
  173. width: 69%;
  174. height: 1rpx;
  175. border-bottom: 1rpx solid rgba(0, 0, 0, 0.08)
  176. }
  177. .details-text {
  178. position: relative;
  179. // display: inline-block;
  180. width: 264rpx;
  181. background-color: #f5f5f9;
  182. z-index: 9;
  183. }
  184. }
  185. .list{
  186. margin-top: 20rpx;
  187. padding: 0 32rpx;
  188. background-color: #FFFFFF;
  189. width: 100%;
  190. height: auto;
  191. }
  192. .list-item{
  193. border-bottom: 1rpx solid #EEEEEE;
  194. height: 110rpx;
  195. box-sizing: border-box;
  196. position: relative;
  197. .icon-img{
  198. width: 50rpx;
  199. height: 50rpx;
  200. }
  201. .feedback-btn{
  202. position: absolute;
  203. width: 100%;
  204. height: 100%;
  205. z-index: 1;
  206. background: transparent;
  207. }
  208. &:last-child{
  209. border-bottom: none;
  210. }
  211. }
  212. </style>