index.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <template>
  2. <view class="user-setting">
  3. <view class="list">
  4. <view class='item acea-row row-between-wrapper' @click="gouser">
  5. <view>个人信息</view>
  6. <text class='iconfont icon-you'></text>
  7. </view>
  8. </view>
  9. <view class="list other">
  10. <view class='item acea-row row-between-wrapper' @click="goMultiple('sys_about_us')">
  11. <view>关于我们</view>
  12. <text class='iconfont icon-you'></text>
  13. </view>
  14. <view class='item acea-row row-between-wrapper' @click="goMultiple('sys_certificate')">
  15. <view>资质证明</view>
  16. <text class='iconfont icon-you'></text>
  17. </view>
  18. <view class='item acea-row row-between-wrapper' @click="gorules">
  19. <view>协议规则</view>
  20. <text class='iconfont icon-you'></text>
  21. </view>
  22. <!-- #ifdef MP -->
  23. <view class='item acea-row row-between-wrapper' @click="Setting">
  24. <view>隐私设置</view>
  25. <text class='iconfont icon-you'></text>
  26. </view>
  27. <!-- #endif -->
  28. </view>
  29. </view>
  30. </template>
  31. <script>
  32. // +----------------------------------------------------------------------
  33. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  34. // +----------------------------------------------------------------------
  35. // | Copyright (c) 2016~2024 https://www.crmeb.com All rights reserved.
  36. // +----------------------------------------------------------------------
  37. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  38. // +----------------------------------------------------------------------
  39. // | Author: CRMEB Team <admin@crmeb.com>
  40. // +----------------------------------------------------------------------
  41. export default{
  42. name:'user-setting',
  43. data(){
  44. return{
  45. }
  46. },
  47. methods:{
  48. /**
  49. * 小程序设置
  50. */
  51. Setting: function() {
  52. uni.openSetting({
  53. success: function(res) {}
  54. });
  55. },
  56. //个人信息
  57. gouser(){
  58. uni.navigateTo({
  59. url: '/pages/users/user_info/index'
  60. })
  61. },
  62. //关于我们 资质证明
  63. goMultiple(e){
  64. uni.navigateTo({
  65. url: '/pages/users/user_about/index?from='+e
  66. })
  67. },
  68. gorules(){
  69. uni.navigateTo({
  70. url: '/pages/users/agreement_rules/index'
  71. })
  72. }
  73. }
  74. }
  75. </script>
  76. <style scoped lang="scss">
  77. .user-setting {
  78. margin-top: 2rpx;
  79. .other {
  80. margin-top: 15rpx;
  81. }
  82. .list {
  83. background-color: #fff;
  84. .item {
  85. padding: 30rpx 30rpx 30rpx 0;
  86. border-bottom: 1px solid #f2f2f2;
  87. margin-left: 30rpx;
  88. font-size: 32rpx;
  89. color: #242424;
  90. .iconfont {
  91. font-size: 30rpx;
  92. color: #8A8A8A;
  93. }
  94. }
  95. }
  96. }
  97. </style>