welfare.vue 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <template>
  2. <layout-page>
  3. <view class="ss-p-b-30">
  4. <view class="d-flex">
  5. <view v-for="(item, index) in itemList" :key="index" class="parent">
  6. <view class="d-flex justify-space-between">
  7. <view>
  8. <view class="colors">
  9. <span>查看更多</span>
  10. <uni-icons color="#c8c5c4" type="right" size="15" class="ml"/>
  11. </view>
  12. <view class="size-16">{{ item.title }}</view>
  13. </view>
  14. <view>
  15. <uni-icons color="#00897B" :type="item.icon" size="45"/>
  16. </view>
  17. </view>
  18. </view>
  19. </view>
  20. <view style="height: 10rpx; background-color: #f8f8fa;"></view>
  21. <view class="card">
  22. <uni-list>
  23. <uni-list-item v-for="item in list" :clickable="true" :key="item.title" :title="item.title" showArrow :rightText="item.rightTex || ''"></uni-list-item>
  24. </uni-list>
  25. </view>
  26. </view>
  27. </layout-page>
  28. </template>
  29. <script setup>
  30. import layoutPage from '@/layout'
  31. const itemList = [
  32. { title: "面试管理", path: "/pagesA/interview/index", icon: "list" },
  33. { title:'谁看过我', path:'/pagesA/seenMe/index', icon:'staff' }
  34. ]
  35. const list = [
  36. { title: '附件简历', path: '/pagesA/resume/index' },
  37. { title: '我的收藏', path: '/pagesA/collect/index' },
  38. { title: '前往门墩儿甄选商城', appId: 'wx6decdf12f9e7a061' },
  39. { title: '切换为招聘者', rightTex: '我要招人' }
  40. ]
  41. </script>
  42. <style scoped lang="scss">
  43. ::v-deep .uni-list-item{
  44. height: 140rpx !important;
  45. line-height: 140rpx !important;
  46. }
  47. ::v-deep .uni-list-item__content-title{
  48. font-size: 32rpx !important;
  49. font-weight: 500;
  50. }
  51. .colors{
  52. font-size: 24rpx;
  53. color: #606266;
  54. }
  55. .size-16{
  56. color: #3f424f;
  57. font-size: 32rpx;
  58. margin: 13rpx 0 5rpx 0;
  59. }
  60. .parent{
  61. width: 50%;
  62. border: 1px solid #f4f4f4;
  63. border-radius: 10rpx;
  64. margin: 0 30rpx 20rpx 30rpx;
  65. padding: 20rpx;
  66. }
  67. .parent:first-child{
  68. margin: 0 0 20rpx 30rpx;
  69. }
  70. </style>