|
@@ -53,6 +53,9 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div v-if="bigcateco" style="margin: 10px; color: gray;">
|
|
|
|
+ {{bigcateco}}
|
|
|
|
+ </div>
|
|
<div v-if="subjectCate.length" id="nav" class="nav">
|
|
<div v-if="subjectCate.length" id="nav" class="nav">
|
|
<div class="scroller">
|
|
<div class="scroller">
|
|
<ul>
|
|
<ul>
|
|
@@ -65,6 +68,9 @@
|
|
</ul>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div v-if="bigcateco" style="margin: 10px; color: gray;">
|
|
|
|
+ {{smailcatco}}
|
|
|
|
+ </div>
|
|
<div class="public_list_big goodList">
|
|
<div class="public_list_big goodList">
|
|
<a v-for="item in updateSpecialList" :key="item.id" :href="item.is_light ? '{:url('special/single_details')}?id=' + item.id : '{:url('special/details')}?id=' + item.id" class="item acea-row">
|
|
<a v-for="item in updateSpecialList" :key="item.id" :href="item.is_light ? '{:url('special/single_details')}?id=' + item.id : '{:url('special/details')}?id=' + item.id" class="item acea-row">
|
|
<div class="pictrue">
|
|
<div class="pictrue">
|
|
@@ -118,7 +124,9 @@
|
|
limit: 10,
|
|
limit: 10,
|
|
loading: false,
|
|
loading: false,
|
|
loadend: false,
|
|
loadend: false,
|
|
- count: 0
|
|
|
|
|
|
+ count: 0,
|
|
|
|
+ bigcateco:'',
|
|
|
|
+ smailcatco:'',
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
updateSpecialList: function () {
|
|
updateSpecialList: function () {
|
|
@@ -254,8 +262,28 @@
|
|
if (this.loading || this.loadend) {
|
|
if (this.loading || this.loadend) {
|
|
return;
|
|
return;
|
|
};
|
|
};
|
|
|
|
+ that = this;
|
|
this.loading = true;
|
|
this.loading = true;
|
|
this.loadTitle = '';
|
|
this.loadTitle = '';
|
|
|
|
+ /* 获取主分类*/
|
|
|
|
+ if (this.gradeId) {
|
|
|
|
+ axios.get("{:url('special/get_subject_info')}", {
|
|
|
|
+ params: {
|
|
|
|
+ id: that.gradeId,
|
|
|
|
+ }
|
|
|
|
+ }).then(function(res) {
|
|
|
|
+ that.bigcateco = res.data.data.co;
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ if (this.subjectId) {
|
|
|
|
+ axios.get("{:url('special/get_subject_info')}", {
|
|
|
|
+ params: {
|
|
|
|
+ id: that.subjectId,
|
|
|
|
+ }
|
|
|
|
+ }).then(function(res) {
|
|
|
|
+ that.smailcatco = res.data.data.co;
|
|
|
|
+ });
|
|
|
|
+ }
|
|
axios.get("{:url('special/get_special_list')}", {
|
|
axios.get("{:url('special/get_special_list')}", {
|
|
params: {
|
|
params: {
|
|
grade_id: this.gradeId,
|
|
grade_id: this.gradeId,
|