Commit 0ba3fa26 authored by jyx's avatar jyx

代码优化

parent 7f0ea379
......@@ -107,10 +107,9 @@
style="font-size: 30rpx;font-weight: 777;margin-top: 20rpx;margin-bottom: 10rpx;margin-left: 4rpx;">
推荐</view> -->
<u-sticky></u-sticky>
<!-- <u-sticky></u-sticky> -->
<view style="width: 100%;">
<!-- <u-sticky bgColor="#fff"> -->
<u-tabs :current="typeIndex" :list="typesList" @change="popHandleChange" lineWidth="30"
keyName='type' lineColor="#0faeff" :activeStyle="{
color: '#0faeff',
......@@ -120,7 +119,6 @@
color: '#808080',
transform: 'scale(1)'
}"></u-tabs>
<!-- </u-sticky> -->
</view>
<view style="column-count: 2;column-gap: 20rpx;margin-top: 20rpx;">
......@@ -367,6 +365,8 @@
if (data.list) {
this.typeId = data.list[0].typeId
this.typesList = data.list
this.$refs.paging.reload();
}
}
});
......@@ -389,8 +389,6 @@
success: ({
data
}) => {
// this.$refs.paging.complete(data.list);
this.$refs.paging.complete(data.list);
}
});
......
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