|
@@ -11,7 +11,8 @@ var app = new Vue({
|
|
|
pageNum: 1,
|
|
|
pageSize: 9,
|
|
|
title: '',
|
|
|
- order:'sortindex'
|
|
|
+ order:'sortindex',
|
|
|
+ articleid:0,
|
|
|
},
|
|
|
currentPath: '',
|
|
|
articalArray: [], //详情数组
|
|
@@ -74,6 +75,7 @@ var app = new Vue({
|
|
|
created: function () {
|
|
|
this.requestParams.categoryid = this.getQuery('id') ? this.getQuery('id') : ''
|
|
|
this.requestParams.title = this.getQuery('title') ? this.getQuery('title') : ''
|
|
|
+ this.requestParams.articleid = this.getQuery('articleid') ? this.getQuery('articleid') : ''
|
|
|
},
|
|
|
mounted: function () {
|
|
|
_this = this
|
|
@@ -194,7 +196,8 @@ var app = new Vue({
|
|
|
|
|
|
// 分页
|
|
|
oneInnerBox: function (param) {
|
|
|
- window.location = "./read.html?id=" + param.categoryid + "&title=" + param.title + "&isUrlId=1";
|
|
|
+
|
|
|
+ window.location = "./read.html?id=" + param.categoryid + "&title=" + param.title + "&articleid=" + param.id + "&isUrlId=1";
|
|
|
},
|
|
|
enterPage: function (res) {
|
|
|
if (this.goPage >= 1 && this.goPage <= this.totalPageNum) {
|