index.vue 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <template>
  2. <view class="agreement-rules">
  3. <view class="list">
  4. <view class='item acea-row row-between-wrapper' v-for="(item,index) in listDta" @click="goMultiple(item.key)">
  5. <view>{{item.label}}</view>
  6. <text class='iconfont icon-you'></text>
  7. </view>
  8. </view>
  9. </view>
  10. </template>
  11. <script>
  12. // +----------------------------------------------------------------------
  13. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  14. // +----------------------------------------------------------------------
  15. // | Copyright (c) 2016~2024 https://www.crmeb.com All rights reserved.
  16. // +----------------------------------------------------------------------
  17. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  18. // +----------------------------------------------------------------------
  19. // | Author: CRMEB Team <admin@crmeb.com>
  20. // +----------------------------------------------------------------------
  21. import {cacheLst} from '@/api/user.js';
  22. export default{
  23. name:'agreement-rules',
  24. data(){
  25. return{
  26. listDta:''
  27. }
  28. },
  29. onLoad: function() {
  30. this.getInfo()
  31. },
  32. methods:{
  33. getInfo(){
  34. cacheLst().then(res=>{
  35. this.listDta = res.data
  36. })
  37. },
  38. goMultiple(e){
  39. uni.navigateTo({
  40. url: '/pages/users/user_about/index?from='+e
  41. })
  42. }
  43. }
  44. }
  45. </script>
  46. <style scoped lang="scss">
  47. .agreement-rules {
  48. .list {
  49. background-color: #fff;
  50. .item {
  51. padding: 30rpx 30rpx 30rpx 0;
  52. border-bottom: 1px solid #f2f2f2;
  53. margin-left: 30rpx;
  54. font-size: 32rpx;
  55. color: #242424;
  56. .iconfont {
  57. font-size: 30rpx;
  58. color: #8A8A8A;
  59. }
  60. }
  61. }
  62. }
  63. </style>