Commit 74c975be authored by Facius's avatar Facius

fix: 学练记录跳转的位置

parent ac9b0001
......@@ -9,11 +9,12 @@
title-bold
></u-navbar>
<!-- 标签列表 -->
<scroll-view
<!-- <scroll-view
class="select-category-content"
scroll-y
:scroll-into-view="scrollId"
>
> -->
<view class="select-category-content">
<view v-for="(items, key) in labels" :key="key" class="label-list">
<view
v-for="(list, index) in items"
......@@ -25,6 +26,11 @@
? minHeight + 'px'
: 0,
}"
>
<scroll-view
scroll-y
:scroll-into-view="scrollId"
class="select-category-content + key"
>
<view class="label-title" :id="key + index">
<!-- 品类title -->
......@@ -49,13 +55,15 @@
</view>
</view>
</view>
</scroll-view>
</view>
</view>
<!-- 标签加载中 -->
<view class="tag-loading-view" v-if="tapLoading">
<u-loading mode="flower"></u-loading>
</view>
</scroll-view>
<!-- </scroll-view> -->
</view>
</view>
</template>
......@@ -164,6 +172,22 @@ export default {
for (var item of res) {
if (item.parentId == data.id) {
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment