index.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <template>
  2. <view class="page">
  3. <view class="header">
  4. <view class="left">
  5. <image class="img" mode="widthFix" src="../../static/home/top_title.png"></image>
  6. </view>
  7. </view>
  8. <view class="topbanner">
  9. <view class="left">
  10. <image class="aibg" mode="widthFix" src="../../static/home/ai_bg.png"></image>
  11. <view class="title">AI匹配</view>
  12. <view class="desc">遇见那个TA</view>
  13. <view class="btn">开始匹配</view>
  14. </view>
  15. <view class="right">
  16. <view class="item1">
  17. <image class="meinv" mode="widthFix" src="../../static/home/meinv.png"></image>
  18. <view class="title">兴趣交友</view>
  19. <view class="desc">开启真挚交友</view>
  20. </view>
  21. <view class="item2">
  22. <image class="talk" mode="widthFix" src="../../static/home/talk.png"></image>
  23. <view class="title">热门动态</view>
  24. <view class="desc">点燃思想火花</view>
  25. </view>
  26. </view>
  27. </view>
  28. <view class="centerbanner">
  29. <view class="item1">
  30. <image class="icon" mode="widthFix" src="../../static/home/talk2.png"></image>
  31. <view class="title">加密群聊</view>
  32. </view>
  33. <view class="item2">
  34. <image class="icon" mode="widthFix" src="../../static/home/nan.png"></image>
  35. <view class="title">AI男友</view>
  36. </view>
  37. <view class="item3">
  38. <image class="icon" mode="widthFix" src="../../static/home/nv.png"></image>
  39. <view class="title">AI女友</view>
  40. </view>
  41. </view>
  42. <view class="section-title">
  43. 热门动态
  44. </view>
  45. <view class="article_notify">
  46. <view class="left">
  47. <image class="icon" mode="widthFix" src="../../static/home/nv.png"></image>
  48. </view>
  49. <view class="right">
  50. <view class="title">热门动态
  51. <image class="icon" mode="widthFix" src="../../static/home/icon_vip.png"></image>
  52. </view>
  53. <view class="desc">点燃思想火花</view>
  54. </view>
  55. </view>
  56. <view class="section-title">
  57. 精选推荐
  58. </view>
  59. <view class="list">
  60. <view class="item" v-for="(item,index) of 4" :key="index">
  61. <view class="img">
  62. <image class="icon" mode="widthFix" src="../../static/home/nan.png"></image>
  63. </view>
  64. <view class="tit">
  65. <text class="name">冷桂霞</text>
  66. <text class="juli">5.6km</text>
  67. </view>
  68. <view class="tag_list">
  69. <view class="tag">
  70. <image class="icon" mode="widthFix" src="../../static/home/icon_sex2.png"></image>
  71. <text>24</text>
  72. </view>
  73. <view class="tag2">
  74. <text>白领</text>
  75. </view>
  76. <view class="tag2">
  77. <text>摩羯座</text>
  78. </view>
  79. </view>
  80. </view>
  81. </view>
  82. <view class="thread2"></view>
  83. <view class="thread2"></view>
  84. <wu-app-update></wu-app-update>
  85. </view>
  86. </template>
  87. <script>
  88. export default {
  89. components: {},
  90. data() {
  91. return {
  92. title: '',
  93. }
  94. },
  95. onLoad() {
  96. let self = this;
  97. },
  98. onShow() {
  99. uni.$emit('check_update');
  100. },
  101. methods: {}
  102. }
  103. </script>
  104. <style scoped lang="scss">
  105. @import 'index.scss';
  106. </style>