jiazhipeng 3 months ago
parent
commit
271548ea54
  1. 8
      subPackages/rim/rimList.vue
  2. 4
      subPackages/search/search.vue

8
subPackages/rim/rimList.vue

@ -26,9 +26,9 @@
return {
topImg: '',
typeList: [
{title: '景点', id: '616'},
{title: '线路', id: '617'},
{title: '特产', id: '618'},
{title: '景点', id: '105'},
{title: '线路', id: '106'},
{title: '特产', id: '107'},
],
typeIndex: 0,
list: [],
@ -60,7 +60,7 @@
tag_id: this.typeList[this.typeIndex].id,
offset: this.list.length,
limit: this.limit,
}, '/api/product/get_product_by_tag').then(res => {
}, '/api/product/get_product_by_tag_partners').then(res => {
if(res) {
if(res.data.list.length < this.limit) this.isLoading = true
this.list = this.list.concat(res.data.list)

4
subPackages/search/search.vue

@ -14,12 +14,12 @@
<div v-for="his,hisIndex in history.slice(0,10)" @click="gotoHot(his)" :key="hisIndex"
class="search-item textOver">{{his}}</div>
</div>
<div class="search-title">大家在搜</div>
<!-- <div class="search-title">大家在搜</div>
<div class="search-list">
<div @click="gotoHot(hot.name)" class="search-item textOver" v-for="hot,hotIndex in hot" :key="hotIndex">
{{hot.name}}
</div>
</div>
</div> -->
</div>
</template>

Loading…
Cancel
Save