详情小程序
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.

157 lines
3.6 KiB

  1. <template>
  2. <view class="lf-w-100 lf-h-100">
  3. <view class="tag-list">
  4. <view class="switch-tag">
  5. <view class="lf-flex-column">
  6. <view class="lf-font-32 lf-color-222">
  7. 实名联系我
  8. </view>
  9. <view class="lf-font-26 lf-color-777 lf-m-t-10">
  10. 已实名用户才能联系你
  11. </view>
  12. </view>
  13. <view>
  14. <u-switch v-model="switchVal" active-color="#E21196" inactive-color="#CCCCCC"></u-switch>
  15. </view>
  16. </view>
  17. <view class="switch-tag">
  18. <view class="lf-flex-column">
  19. <view class="lf-font-32 lf-color-222">
  20. 资料显示
  21. </view>
  22. <view class="lf-font-26 lf-color-777 lf-m-t-10">
  23. 其他人可看你的资料关闭资料请联系客服
  24. </view>
  25. </view>
  26. <view>
  27. <u-switch v-model="switchVal1" active-color="#E21196" inactive-color="#CCCCCC"></u-switch>
  28. </view>
  29. </view>
  30. <view class="switch-tag">
  31. <view class="lf-flex-column">
  32. <view class="lf-font-32 lf-color-222">
  33. 动态同步
  34. </view>
  35. <view class="lf-font-26 lf-color-777 lf-m-t-10">
  36. 其他人可看你的资料关闭资料请联系客服
  37. </view>
  38. </view>
  39. <view>
  40. <u-switch v-model="switchVal2" active-color="#E21196" inactive-color="#CCCCCC"></u-switch>
  41. </view>
  42. </view>
  43. <view class="switch-tag">
  44. <view class="lf-flex-column">
  45. <view class="lf-font-32 lf-color-222">
  46. 联系通知
  47. </view>
  48. <view class="lf-font-26 lf-color-777 lf-m-t-10">
  49. 其他人可看你的资料关闭资料请联系客服
  50. </view>
  51. </view>
  52. <view>
  53. <u-switch v-model="switchVal3" active-color="#E21196" inactive-color="#CCCCCC"></u-switch>
  54. </view>
  55. </view>
  56. </view>
  57. <view class="flr-setting"></view>
  58. <view class="setting-list">
  59. <view class="setting-tag">
  60. <view class="lf-color-222 lf-font-32">
  61. 服务协议与隐私条款
  62. </view>
  63. <view>
  64. <u-icon name="arrow-right lf-color-777"></u-icon>
  65. </view>
  66. </view>
  67. <view class="setting-tag">
  68. <view class="lf-color-222 lf-font-32">
  69. 关于我们
  70. </view>
  71. <view>
  72. <u-icon name="arrow-right lf-color-777"></u-icon>
  73. </view>
  74. </view>
  75. <view class="setting-tag">
  76. <view class="lf-color-222 lf-font-32">
  77. 退出登录
  78. </view>
  79. <view>
  80. <u-icon name="arrow-right lf-color-777"></u-icon>
  81. </view>
  82. </view>
  83. </view>
  84. </view>
  85. </template>
  86. <script>
  87. export default {
  88. data() {
  89. return {
  90. switchVal: false,
  91. switchVal1: false,
  92. switchVal2: false,
  93. switchVal3: false,
  94. }
  95. }
  96. }
  97. </script>
  98. <style>
  99. page {
  100. background-color: #F5F5F5;
  101. }
  102. </style>
  103. <style lang="scss" scoped="scoped">
  104. .flr-setting {
  105. width: 100%;
  106. height: 20rpx;
  107. background: #F5F5F5;
  108. }
  109. .switch-tag:first-child {
  110. border-top: 1rpx solid rgba(0, 0, 0, 0.1);
  111. }
  112. .switch-tag:last-child::after {
  113. border:none;
  114. }
  115. .switch-tag {
  116. width: 100%;
  117. background-color: white;
  118. height: 152rpx;
  119. display: flex;
  120. justify-content: space-between;
  121. align-items: center;
  122. padding: 31rpx 32rpx;
  123. position: relative;
  124. /* border-bottom: 1rpx solid rgba(0, 0, 0, 0.1); */
  125. }
  126. .switch-tag::after {
  127. content: '';
  128. position: absolute;
  129. bottom: 0;
  130. width: 686rpx;
  131. border-bottom: 1rpx solid rgba(0, 0, 0, 0.1);
  132. }
  133. .setting-tag{
  134. height: 105rpx;
  135. width: 100%;
  136. background-color: white;
  137. display: flex;
  138. justify-content: space-between;
  139. padding: 30rpx 32rpx;
  140. align-items: center;
  141. position: relative;
  142. }
  143. .setting-tag::after {
  144. content: '';
  145. position: absolute;
  146. bottom: 0;
  147. width: 686rpx;
  148. border-bottom: 1rpx solid rgba(0, 0, 0, 0.1);
  149. }
  150. .setting-tag:last-child::after {
  151. border:none;
  152. }
  153. </style>