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.
 
 
 
 
 
 

101 lines
1.8 KiB

  1. <template>
  2. <view class="page" id="more">
  3. <view class="function-list cu-list grid no-border col-4">
  4. <view v-for="(item, index) in listitem" :key="index"
  5. class="cu-item text-center flex flex-wrap justify-center align-center">
  6. <view @click="funcListClick(item)" style="backgroundColor:#62bbff;"
  7. class="app-item align-center flex flex-wrap justify-center align-center">
  8. <l-icon type="calendar" color="white" class="text-sl" />
  9. </view>
  10. <text>{{ item && item.FName }}</text>
  11. </view>
  12. </view>
  13. </view>
  14. </template>
  15. <script>
  16. import without from 'lodash/without'
  17. import concat from 'lodash/concat'
  18. import keyBy from 'lodash/keyBy'
  19. import mapKeys from 'lodash/mapKeys'
  20. import mapValues from 'lodash/mapValues'
  21. import groupBy from 'lodash/groupBy'
  22. export default {
  23. data() {
  24. return {
  25. allList: [],
  26. myList: [],
  27. editList: [],
  28. searchText: '',
  29. listitem: [],
  30. focus: false,
  31. edit: false
  32. }
  33. },
  34. async onLoad() {
  35. await this.init()
  36. },
  37. methods: {
  38. // 页面初始化
  39. async init() {
  40. this.LOADING('加载菜单中…')
  41. this.HTTP_GET(
  42. 'quanjiang/sso/list20'
  43. ).then(res => {
  44. this.listitem = res
  45. this.HIDE_LOADING()
  46. })
  47. },
  48. // 点击按钮
  49. funcListClick(item) {
  50. let appid = item.FId
  51. let FName = item.FName
  52. let dataitem = {
  53. appid,FName
  54. }
  55. uni.navigateTo({
  56. url:`/pages/SSO/MyApp20/attestation?item=${JSON.stringify(dataitem)}`
  57. })
  58. },
  59. }
  60. }
  61. </script>
  62. <style lang="less" scoped>
  63. .function-list {
  64. padding-bottom: 0;
  65. .cu-item {
  66. .app-item {
  67. border-radius: 50%;
  68. height: 45px;
  69. width: 45px;
  70. }
  71. }
  72. }
  73. </style>
  74. <style lang="less">
  75. #more {
  76. .function-list .cu-item text[class*='cuIcon'] {
  77. margin-top: 0 !important;
  78. }
  79. }
  80. page {
  81. // padding-top: 100rpx;
  82. }
  83. </style>