Merge branch 'master' of https://gitee.com/virus010101/linfeng-community
This commit is contained in:
commit
d47c451584
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="container">
|
<view class="container">
|
||||||
<view class="title">选择圈子类目</view>
|
<view class="title">选择帖子类目</view>
|
||||||
<view class="class-wrap">
|
<view class="class-wrap">
|
||||||
<view class="class-item u-line-1" @click="chooseClass(item.cateId,item.cateName)"
|
<view class="class-item u-line-1" @click="chooseClass(item.cateId,item.cateName)"
|
||||||
v-for="(item, index) in classList" :key="index">{{ item.cateName }}</view>
|
v-for="(item, index) in classList" :key="index">{{ item.cateName }}</view>
|
||||||
@ -25,8 +25,6 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
chooseClass(id, name) {
|
chooseClass(id, name) {
|
||||||
console.log('id:', id)
|
|
||||||
console.log('name:', name)
|
|
||||||
let pages = getCurrentPages();
|
let pages = getCurrentPages();
|
||||||
let nowPage = pages[pages.length - 1];
|
let nowPage = pages[pages.length - 1];
|
||||||
let prevPage = pages[pages.length - 2];
|
let prevPage = pages[pages.length - 2];
|
||||||
|
Loading…
Reference in New Issue
Block a user