|
@@ -2,32 +2,32 @@
|
2
|
2
|
<div class="app-container">
|
3
|
3
|
<el-table :data="list" v-loading.body="listLoading" element-loading-text="拼命加载中" border fit highlight-current-row>
|
4
|
4
|
<el-table-column align="center" label='ID' width="95">
|
5
|
|
- <template scope="scope">
|
|
5
|
+ <template slot-scope="scope">
|
6
|
6
|
{{scope.$index}}
|
7
|
7
|
</template>
|
8
|
8
|
</el-table-column>
|
9
|
9
|
<el-table-column label="Title">
|
10
|
|
- <template scope="scope">
|
|
10
|
+ <template slot-scope="scope">
|
11
|
11
|
{{scope.row.title}}
|
12
|
12
|
</template>
|
13
|
13
|
</el-table-column>
|
14
|
14
|
<el-table-column label="Author" width="110" align="center">
|
15
|
|
- <template scope="scope">
|
|
15
|
+ <template slot-scope="scope">
|
16
|
16
|
<span>{{scope.row.author}}</span>
|
17
|
17
|
</template>
|
18
|
18
|
</el-table-column>
|
19
|
19
|
<el-table-column label="Pageviews" width="110" align="center">
|
20
|
|
- <template scope="scope">
|
|
20
|
+ <template slot-scope="scope">
|
21
|
21
|
{{scope.row.pageviews}}
|
22
|
22
|
</template>
|
23
|
23
|
</el-table-column>
|
24
|
24
|
<el-table-column class-name="status-col" label="Status" width="110" align="center">
|
25
|
|
- <template scope="scope">
|
|
25
|
+ <template slot-scope="scope">
|
26
|
26
|
<el-tag :type="scope.row.status | statusFilter">{{scope.row.status}}</el-tag>
|
27
|
27
|
</template>
|
28
|
28
|
</el-table-column>
|
29
|
29
|
<el-table-column align="center" prop="created_at" label="Display_time" width="200">
|
30
|
|
- <template scope="scope">
|
|
30
|
+ <template slot-scope="scope">
|
31
|
31
|
<i class="el-icon-time"></i>
|
32
|
32
|
<span>{{scope.row.display_time}}</span>
|
33
|
33
|
</template>
|