mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-17 16:35:53 +08:00
滚动加载样式
This commit is contained in:
@@ -484,9 +484,8 @@ export default {
|
||||
records.length
|
||||
? (this.loadRecord.status = 1)
|
||||
: (this.loadRecord.status = 2);
|
||||
|
||||
this.$nextTick(() => {
|
||||
if (data.record_id == 0) {
|
||||
if (data.record_id == 0 || !data.record_id) {
|
||||
el.scrollTop = el.scrollHeight
|
||||
} else {
|
||||
el.scrollTop = el.scrollHeight - scrollHeight
|
||||
|
||||
@@ -48,7 +48,6 @@
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -187,6 +186,11 @@ export default {
|
||||
// margin-top: 4px;
|
||||
}
|
||||
|
||||
.price {
|
||||
color: red;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.image {
|
||||
height: 100px;
|
||||
margin-top: 3px;
|
||||
|
||||
Reference in New Issue
Block a user