push-set.vue 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <template>
  2. <view class="push-set-box">
  3. <en-nav title="推送通知管理" :title-color="'#333'" ></en-nav>
  4. <view class="set-list">
  5. <view class="set-item">
  6. <view class="item-data">
  7. <view class="describe-title sys-color-black">免打扰模式</view>
  8. <view class="describe-text sys-color-gray-9">开启后,在设定时间段内不接受任何通知</view>
  9. </view>
  10. <view class="item-switch" >
  11. <switch color="#4BC285" style="transform:scale(0.9)" />
  12. </view>
  13. </view>
  14. </view>
  15. <view class="set-list">
  16. <view class="set-item">
  17. <view class="item-data">
  18. <view class="describe-title sys-color-black">消息详情</view>
  19. <view class="describe-text sys-color-gray-9">关闭后,新消息将不显示发送人和内容</view>
  20. </view>
  21. <view class="item-switch" >
  22. <switch color="#4BC285" style="transform:scale(0.9)" />
  23. </view>
  24. </view>
  25. </view>
  26. <view class="set-list">
  27. <view class="set-item">
  28. <view class="item-text sys-height-44 sys-color-black">新消息关注通知</view>
  29. <view class="item-switch" >
  30. <switch color="#4BC285" style="transform:scale(0.9)" />
  31. </view>
  32. </view>
  33. <view class="set-item">
  34. <view class="item-text sys-height-44 sys-color-black">评论通知</view>
  35. <view class="item-switch" >
  36. <switch color="#4BC285" style="transform:scale(0.9)" />
  37. </view>
  38. </view>
  39. <view class="set-item">
  40. <view class="item-text sys-height-44 sys-color-black">谁喜欢我通知</view>
  41. <view class="item-switch" >
  42. <switch color="#4BC285" style="transform:scale(0.9)" />
  43. </view>
  44. </view>
  45. </view>
  46. </view>
  47. </template>
  48. <script>
  49. import EnNav from "@/components/en-utils/en-nav/en-nav";
  50. export default {
  51. components: {EnNav},
  52. data() {
  53. return {
  54. }
  55. },
  56. methods: {
  57. }
  58. }
  59. </script>
  60. <style scoped lang="scss">
  61. .push-set-box{
  62. background-color: #F9F9F9;
  63. min-height: 100vh;
  64. padding-bottom: 50rpx;
  65. .set-list{
  66. margin: 20rpx 32rpx 0 32rpx;
  67. background-color: #fff;
  68. border-radius: 20rpx;
  69. padding: 0 32rpx;
  70. .set-item{
  71. padding: 32rpx 0;
  72. display: flex;
  73. justify-content: space-between;
  74. align-items: center;
  75. border-bottom: 1rpx solid #F2F2F2;
  76. .item-data{
  77. .describe-title{
  78. font-size: 30rpx;
  79. }
  80. .describe-text{
  81. margin-top: 4rpx;
  82. font-size: 24rpx;
  83. }
  84. }
  85. .item-text{
  86. font-size: 28rpx;
  87. }
  88. .item-icon{
  89. .iconfont{
  90. font-size: 28rpx;
  91. }
  92. }
  93. }
  94. .set-item:last-child{
  95. border-bottom: none;
  96. }
  97. }
  98. }
  99. </style>