|
@@ -68,7 +68,9 @@
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24" class="twoPage">
|
|
<el-col :span="24" class="twoPage">
|
|
- <page :total="total" :limit="limit" position="right" @query="search"></page>
|
|
|
|
|
|
+ <p>
|
|
|
|
+ <span> <page :limit="limit" :total="total" position="right" @query="search"></page></span>
|
|
|
|
+ </p>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24" class="twoInput">
|
|
<el-col :span="24" class="twoInput">
|
|
<el-col :span="3" class="left"> </el-col>
|
|
<el-col :span="3" class="left"> </el-col>
|
|
@@ -90,7 +92,7 @@
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import wangEditor from '@/components/wang-editor.vue';
|
|
import wangEditor from '@/components/wang-editor.vue';
|
|
-import page from '@/components/pagination.vue';
|
|
|
|
|
|
+import page from '@/components/pages.vue';
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
const { mapActions: comment } = createNamespacedHelpers('comment');
|
|
const { mapActions: comment } = createNamespacedHelpers('comment');
|
|
const { mapActions: news } = createNamespacedHelpers('news');
|
|
const { mapActions: news } = createNamespacedHelpers('news');
|
|
@@ -316,4 +318,8 @@ export default {
|
|
/deep/.main .two .twoInput .right .btn .el-button {
|
|
/deep/.main .two .twoInput .right .btn .el-button {
|
|
margin: 10px 0;
|
|
margin: 10px 0;
|
|
}
|
|
}
|
|
|
|
+.pages {
|
|
|
|
+ float: right;
|
|
|
|
+ width: 100px;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|