privacyProtection.vue 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <template>
  2. <view>
  3. <navbar :config="config" backColor="#999999"></navbar>
  4. <view class="list">
  5. <view class="item" @click="goAgreement('user_protocol')">
  6. <view class="item_l" >服务协议</view>
  7. <view class="item_r">
  8. <text class="iconfont_yige">&#xe65f;</text>
  9. </view>
  10. </view>
  11. <view class="item" @click="goAgreement('privacy_protocol')">
  12. <view class="item_l">隐私协议</view>
  13. <view class="item_r">
  14. <text class="iconfont_yige">&#xe65f;</text>
  15. </view>
  16. </view>
  17. <view class="item" @click="goAgreement('realname_auth_protocol')">
  18. <view class="item_l">实名认证协议</view>
  19. <view class="item_r">
  20. <text class="iconfont_yige">&#xe65f;</text>
  21. </view>
  22. </view>
  23. </view>
  24. </view>
  25. </template>
  26. <script>
  27. export default{
  28. data(){
  29. return{
  30. config: {
  31. back: true, //false是tolbar页面 是则不写
  32. title: '隐私保护',
  33. color: '#000',
  34. rightSlot: true,
  35. },
  36. }
  37. },
  38. methods:{
  39. goAgreement(val){
  40. uni.navigateTo({
  41. url:"/pages/user/agreement?type="+val
  42. })
  43. }
  44. }
  45. }
  46. </script>
  47. <style>
  48. page {
  49. background-color: #F8F8F8;
  50. }
  51. </style>
  52. <style lang="scss" scoped>
  53. .list{
  54. background: #fff;
  55. border-radius: 20rpx;
  56. margin: 30rpx;
  57. padding: 0 40rpx;
  58. min-height: 88vh;
  59. .item{
  60. display: flex;
  61. justify-content: space-between;
  62. align-items: center;
  63. padding:40rpx 0;
  64. border-bottom: 1rpx solid rgba(239, 239, 239,.6);
  65. .item_l{
  66. font-size: 30rpx;
  67. color: #333333;
  68. font-weight: 700;
  69. }
  70. .item_r{
  71. display: flex;
  72. .item_r_text{
  73. margin-right: 30rpx;
  74. }
  75. }
  76. }
  77. &:last-child{
  78. border-bottom:none;
  79. }
  80. }
  81. .iconfont_yige{
  82. color: #333333;
  83. opacity: 0.5;
  84. font-weight: 700;
  85. }
  86. </style>