|
@@ -2,32 +2,32 @@
|
|
|
<div class="app-container">
|
|
|
<el-table :data="list" v-loading.body="listLoading" element-loading-text="拼命加载中" border fit highlight-current-row>
|
|
|
<el-table-column align="center" label='ID' width="95">
|
|
|
- <template scope="scope">
|
|
|
+ <template slot-scope="scope">
|
|
|
{{scope.$index}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="Title">
|
|
|
- <template scope="scope">
|
|
|
+ <template slot-scope="scope">
|
|
|
{{scope.row.title}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="Author" width="110" align="center">
|
|
|
- <template scope="scope">
|
|
|
+ <template slot-scope="scope">
|
|
|
<span>{{scope.row.author}}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="Pageviews" width="110" align="center">
|
|
|
- <template scope="scope">
|
|
|
+ <template slot-scope="scope">
|
|
|
{{scope.row.pageviews}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column class-name="status-col" label="Status" width="110" align="center">
|
|
|
- <template scope="scope">
|
|
|
+ <template slot-scope="scope">
|
|
|
<el-tag :type="scope.row.status | statusFilter">{{scope.row.status}}</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="created_at" label="Display_time" width="200">
|
|
|
- <template scope="scope">
|
|
|
+ <template slot-scope="scope">
|
|
|
<i class="el-icon-time"></i>
|
|
|
<span>{{scope.row.display_time}}</span>
|
|
|
</template>
|