index.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <template>
  2. <view :data-theme="theme">
  3. <view class='personal-data borderPad'>
  4. <view class='list borRadius14' v-for="(item,index) in tabList" :key="index" @click="goMultiple(item.info)">
  5. <view class='item acea-row row-between-wrapper'>
  6. <view>{{item.title}}</view>
  7. <text class='iconfont icon-xiangyou'></text>
  8. </view>
  9. </view>
  10. </view>
  11. </view>
  12. </template>
  13. <script>
  14. // +----------------------------------------------------------------------
  15. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  16. // +----------------------------------------------------------------------
  17. // | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
  18. // +----------------------------------------------------------------------
  19. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  20. // +----------------------------------------------------------------------
  21. // | Author: CRMEB Team <admin@crmeb.com>
  22. // +----------------------------------------------------------------------
  23. import {
  24. mapGetters
  25. } from "vuex";
  26. import {goToAgreement} from "@/libs/order";
  27. let app = getApp();
  28. export default {
  29. data() {
  30. return {
  31. theme: app.globalData.theme,
  32. tabList: [{
  33. title: "用户协议",
  34. id: 1,
  35. info: 'userinfo',
  36. save: 'usersave'
  37. },
  38. {
  39. title: "隐私政策",
  40. id: 2,
  41. info: 'userprivacyinfo',
  42. save: 'userprivacysave'
  43. },
  44. {
  45. title: "商户入驻协议",
  46. id: 3,
  47. info: 'merincomminginfo',
  48. save: 'merincommingsave'
  49. },
  50. {
  51. title: "关于我们",
  52. id: 4,
  53. info: 'aboutusinfo',
  54. save: 'aboutussave'
  55. },
  56. {
  57. title: "资质证照",
  58. id: 5,
  59. info: 'intelligentinfo',
  60. save: 'intelligentsave'
  61. },
  62. {
  63. title: "平台规则",
  64. id: 6,
  65. info: 'platfromruleinfo',
  66. save: 'platfromrulesave'
  67. },
  68. {
  69. title: "优惠券协议",
  70. id: 7,
  71. info: 'coupon/agreement/info',
  72. save: 'platfromrulesave'
  73. },
  74. {
  75. title: "注销提示",
  76. id: 8,
  77. info: 'useraccountcancelinfo',
  78. save: 'useraccountcancelsave'
  79. },
  80. {
  81. title: "注销声明",
  82. id: 9,
  83. info: 'useraccountcancelnoticeinfo',
  84. save: 'useraccountcancelnoticesave'
  85. },
  86. ],
  87. }
  88. },
  89. onLoad() {
  90. },
  91. methods: {
  92. goMultiple(e){
  93. goToAgreement(e)
  94. }
  95. }
  96. }
  97. </script>
  98. <style scoped lang="scss">
  99. .personal-data{
  100. .list {
  101. margin-top: 30rpx;
  102. background-color: #fff;
  103. .item {
  104. border-bottom: 1rpx solid #f2f2f2;
  105. padding: 24rpx;
  106. font-size: 32rpx;
  107. color: #333333;
  108. .input {
  109. text-align: right;
  110. color: #BBBBBB;
  111. .iconfont {
  112. font-size: 35rpx;
  113. margin-left: 20rpx;
  114. }
  115. }
  116. .icon-xiangyou {
  117. color: #BBBBBB;
  118. }
  119. }
  120. }
  121. }
  122. </style>