more-set.vue 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <template>
  2. <view class="more-set-box">
  3. <en-nav title="更多设置" :title-color="'#333'" ></en-nav>
  4. <view class="set-list">
  5. <view class="set-item" @click="goToUrl('push-set')">
  6. <view class="item-text sys-height-44 sys-color-black">推送通知管理</view>
  7. <view class="item-icon">
  8. <text class="iconfont sys-height-44 sys-color-gray-9"> &#xe62b;</text>
  9. </view>
  10. </view>
  11. <view class="set-item" @click="goToUrl('blacklist')">
  12. <view class="item-text sys-height-44 sys-color-black">黑名单</view>
  13. <view class="item-icon">
  14. <text class="iconfont sys-height-44 sys-color-gray-9"> &#xe62b;</text>
  15. </view>
  16. </view>
  17. <view class="set-item">
  18. <view class="item-data">
  19. <view class="describe-title sys-color-black">朋友圈互动后自动喜欢</view>
  20. <view class="describe-text sys-color-gray-9">打开后点赞/评论后将自动喜欢该用户</view>
  21. </view>
  22. <view class="item-switch" >
  23. <switch color="#4BC285" style="transform:scale(0.9)" />
  24. </view>
  25. </view>
  26. <view class="set-item">
  27. <view class="item-text sys-height-44 sys-color-black">账号注销</view>
  28. <view class="item-icon">
  29. <text class="iconfont sys-height-44 sys-color-gray-9"> &#xe62b;</text>
  30. </view>
  31. </view>
  32. <view class="set-item" @click="goToUrl('conversion')">
  33. <view class="item-text sys-height-44 sys-color-black">兑换码</view>
  34. <view class="item-icon">
  35. <text class="iconfont sys-height-44 sys-color-gray-9"> &#xe62b;</text>
  36. </view>
  37. </view>
  38. </view>
  39. </view>
  40. </template>
  41. <script>
  42. import EnNav from "@/components/en-utils/en-nav/en-nav";
  43. export default {
  44. components: {EnNav},
  45. data() {
  46. return {
  47. }
  48. },
  49. methods: {
  50. goToUrl(url){
  51. if(url===''){
  52. return;
  53. }
  54. uni.navigateTo({
  55. 'url':'./'+url
  56. })
  57. },
  58. }
  59. }
  60. </script>
  61. <style scoped lang="scss">
  62. .more-set-box{
  63. background-color: #F9F9F9;
  64. min-height: 100vh;
  65. padding-bottom: 50rpx;
  66. .set-list{
  67. margin: 20rpx 32rpx 0 32rpx;
  68. background-color: #fff;
  69. border-radius: 20rpx;
  70. padding: 0 32rpx;
  71. .set-item{
  72. padding: 32rpx 0;
  73. display: flex;
  74. justify-content: space-between;
  75. align-items: center;
  76. border-bottom: 1rpx solid #F2F2F2;
  77. .item-data{
  78. .describe-title{
  79. font-size: 30rpx;
  80. }
  81. .describe-text{
  82. margin-top: 4rpx;
  83. font-size: 24rpx;
  84. }
  85. }
  86. .item-text{
  87. font-size: 28rpx;
  88. }
  89. .item-icon{
  90. .iconfont{
  91. font-size: 28rpx;
  92. }
  93. }
  94. }
  95. .set-item:last-child{
  96. border-bottom: none;
  97. }
  98. }
  99. }
  100. </style>