index.vue 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <template>
  2. <view :style="{ minHeight: sys.windowHeight + 'px' }"
  3. :class="[$tm.vx.state().tmVuetify.black ? 'black' : ' ']">
  4. <tm-menubars title="消息列表" :shadow="0" :showback="true"></tm-menubars>
  5. <div class="zhuti">
  6. <tm-sheet class="kuang" style="padding-bottom: 70px !important;">
  7. <view style="width: 94%;margin:0 auto;">
  8. <view class="mb-30 pt-20 text-white">全部关注</view>
  9. <tm-listitem
  10. class="liebiao"
  11. :left-icon-size="120"
  12. value="取消关注"
  13. title="默认用户1"
  14. label="用户暂无简介"
  15. left-icon="/static/img/53.png"
  16. show-left-icon
  17. :show-right-icon="false"
  18. ></tm-listitem>
  19. <tm-listitem
  20. class="liebiao"
  21. :left-icon-size="120"
  22. value="取消关注"
  23. title="默认用户1"
  24. label="用户暂无简介"
  25. left-icon="/static/img/53.png"
  26. show-left-icon
  27. :show-right-icon="false"
  28. ></tm-listitem>
  29. </view>
  30. </tm-sheet>
  31. </div>
  32. <!-- 弹出层消息 -->
  33. <tm-message ref="toast"></tm-message>
  34. </view>
  35. </template>
  36. <script>
  37. import{myRequest} from '@/api/request.js'
  38. export default {
  39. data() {
  40. return {
  41. checked1:false,
  42. checked2:false,
  43. checked3:false,
  44. beizu:''
  45. };
  46. },
  47. onLoad() {
  48. },
  49. created() {
  50. this.sys = uni.getSystemInfoSync();
  51. },
  52. methods: {
  53. aa(num){
  54. if(num==1){
  55. this.checked1=true;
  56. this.checked2=false;
  57. this.checked3=false;
  58. }else if(num==2){
  59. this.checked1=false;
  60. this.checked2=true;
  61. this.checked3=false;
  62. }else if(num==3){
  63. this.checked1=false;
  64. this.checked2=false;
  65. this.checked3=true;
  66. }
  67. },
  68. },
  69. }
  70. </script>
  71. <style lang="scss">
  72. /deep/ .tm-menubars .body{
  73. background-color: #1b1b1b !important;
  74. }
  75. /deep/ .zhuti{padding: 10px 10px;}
  76. /deep/ .kuang{margin:0 !important;padding: 0px !important;}
  77. /deep/ .liebiao .tm-content{margin-left:15px !important;}
  78. /deep/ .liebiao .mx-32{margin:0px !important;border-bottom: 1px solid #303030;}
  79. /deep/ .liebiao .pt-4{padding-top: 12px;}
  80. /deep/ .liebiao .d-inline-block{background: #303440;
  81. padding: 4px 14px 4px 14px;
  82. border-radius: 30px;}
  83. </style>