liangjin
2021-04-23 7759b52788c81e0724350642ed62d40b467c365b
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<template>
  <div class="orderlist">
    <v-navbar title="订单明细" fixed></v-navbar>
 
    <v-datacard class='info' :data="titledata"></v-datacard>
    <div class="height-20-g"></div>
 
 
 
 
    <v-order-item time='2019-08-13 11:59:09'  v-for="(i,k) in list" :list='i.list'
                  :key="k">
      <div slot="bottom-status" class="bottom-status">
          <div class="flex-between-g order-tips">
            <p class="time">2019-08-21 17:10:05</p>
            <p class="soures">渠道名称:渠道0</p>
          </div>
      </div>
    </v-order-item>
 
 
 
 
  </div>
</template>
 
<script>
  export default {
    name: "orderlist",
    data(){
      return {
        titledata:[
          {
            title:'今日成功交易金额(元)',
            num:6
          }
        ],
 
 
 
        list: [],
 
      }
    },
    created(){
      let a =[
        {
          type:'支付宝扫码收款',
          value:'订单超时',
          label:1
        },
        {
          type:'支付宝扫码收款',
          value:'订单超时',
          label:2
        },
        {
          type:'支付宝扫码收款',
          value:'订单超时',
          label:4
        },
        {
          type:'支付宝扫码收款',
          value:'订单超时',
          label:5
        },
        {
          type:'支付宝扫码收款',
          value:'订单超时',
          label:6
        }
      ];
 
      this.list = a.map(item=>{
        return {
          user:null,
          list:[
            {
              value: item.type,
              label: '',
            },
            {
              value: item.value,
              label:item.label,
              color:'error'
            }
          ]
        }
      })
    },
    methods:{
 
    }
  }
</script>
 
<style scoped lang="less">
.orderlist{
  padding-top: 44px;
  min-height: calc(100vh - 44px);
  background-color: @c-f5;
  .order-title{
    margin:10px 0 5px;
    .lh(44px);
    padding-left: 15px;
    font-weight: bold;
    font-size: @font-14;
  }
 
 
 
 
  .bottom-status{
    width: 100%;
    margin-top: 15px;
  }
 
 
 
 
 
  .label{
    font-size: @font-16;
  }
 
 
 
 
 
 
  .number{
    color: @c-default;
    font-size:@font-20;
  }
  .status{
    color: #f5222d;
    font-size: @font-16;
    font-weight: 400;
    margin-top: 5px;
  }
 
  .item{
    margin-bottom: 18px;
    .store-name{
      .lh(45px);
      background-color: @c-fff;
      margin-bottom: 1px;
      font-weight: 400;
      color:#c6c6c6;
      text-align: right;
      padding-right: 15px;
    }
 
    .order-status{
      background-color: @c-fff;
      min-height: 100px;
      padding: 0 15px;
      .flex(space-between,center);
    }
 
    .pay-type{
      text-align: center;
      color: #5a5a5a;
      font-weight: bold;
      font-size:@font-18;
    }
 
    .order-status-code{
        .flex(center,center,warp,column);
    }
 
    .order-tips{
        .lh(44px);
        background-color: #f8f5f1;
        .flex(space-between,center);
        padding: 0 15px;
        border-bottom: 1px solid #d9d9d9;
        font-size: @font-14;
    }
 
 
  }
 
 
}
</style>