1
admin
2026-01-05 c8361f1a9080a9e52d0ac772bd59697ad318cfe9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<template>
  <div class="wrapper">
    <div class="header">
      <!-- <mt-header fixed title="充值记录">
        <router-link to="/user" slot="left">
          <mt-button icon="back">我的</mt-button>
        </router-link>
      </mt-header> -->
    </div>
    <!-- <div class="text-center">
      <div class="btn-group">
        <a href="#/recharge" class="with-draw-btn">充值</a>
        <a href="javascript:;" class="with-draw-detai-btn on">记录</a>
      </div>
    </div> -->
    <div>
      <div class="box page-part transaction">
        <div class="box-contain clearfix">
          <notifyList @messageRead="handleMessageRead"></notifyList>
        </div>
      </div>
    </div>
  </div>
</template>
 
<script>
import notifyList from './compontents/notify-list'
 
export default {
  components: {
    notifyList
  },
  props: {},
  data () {
    return {
      number: ''
    }
  },
  watch: {},
  computed: {},
  created () {},
  mounted () {},
  methods: {
    toSure () {
      // 确定
    },
    handleMessageRead() {
      // 消息已读,通知App组件更新未读数量
      if (this.$root && this.$root.$children && this.$root.$children[0]) {
        const appComponent = this.$root.$children[0]
        if (appComponent.getUnreadCount) {
          appComponent.getUnreadCount()
        }
      }
    }
  }
}
</script>
<style lang="less" scoped>
  .mint-header {
    // background: #f4f4f4;
    margin-bottom: 0.2rem;
  }
 
  .wrapper {
    // padding-top: 1.5rem;
    background-color: #16171d;
  }
 
  .btn-group {
    // background: #f4f4f4;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 0.5rem;
 
    a {
      display: inline-block;
      text-align: center;
      font-size: 0.29rem;
      height: 0.7rem;
      line-height: 0.6rem;
      width: 1.44rem;
      margin: 0;
      margin-top: 0;
      padding: 0;
    }
 
    .with-draw-btn {
      position: relative;
      right: -10px;
      width: 1.51rem;
      border-top-left-radius: 0.695rem;
      border-bottom-left-radius: 0.695rem;
    }
 
    .with-draw-detai-btn {
      border-top-right-radius: 0.695rem;
      border-bottom-right-radius: 0.695rem;
    }
 
    .on {
      color: #fff;
    }
  }
 
  .transaction {
    color: rgba(100, 100, 100, 0.78);
 
    .transaction-title {
      padding: 0.15rem 0.3rem;
    }
 
    .empty {
      height: 2.8rem;
      line-height: 2.8rem;
    }
  }
 
  .box.page-part.transaction {
    background-color: #16171d;
    .box-contain {
      background-color: #16171d;
    }
  }
  .red-theme {
    .wrapper{
      background-color: #E9E9E9;
    }
    .box.page-part.transaction {
      background-color: #E9E9E9;
      .box-contain {
      background-color: #E9E9E9;
        .list-body{
          background-color: #fff;
          .order-info-box {
            background-color: #fff;
          }
        }
      }
    }
    
  }
</style>