滚动加载样式

master
2022-12-28 18:32:48 +08:00
commit 1135c1fbc3
3 changed files with 10 additions and 8 deletions

View File

@ -95,11 +95,10 @@ export default {
}, },
// im // im
async getIMDetailMethods () { async getIMDetailMethods () {
// let res = await getIMDetail(); let res = await getIMDetail();
// if (res.success) { if (res.success) {
// this.IMLink = res.result; this.IMLink = res.result;
// } }
this.IMLink = 'http://192.168.0.139:8000'
}, },
// //
targetClickSku (val) { targetClickSku (val) {

View File

@ -484,9 +484,8 @@ export default {
records.length records.length
? (this.loadRecord.status = 1) ? (this.loadRecord.status = 1)
: (this.loadRecord.status = 2); : (this.loadRecord.status = 2);
this.$nextTick(() => { this.$nextTick(() => {
if (data.record_id == 0) { if (data.record_id == 0 || !data.record_id) {
el.scrollTop = el.scrollHeight el.scrollTop = el.scrollHeight
} else { } else {
el.scrollTop = el.scrollHeight - scrollHeight el.scrollTop = el.scrollHeight - scrollHeight

View File

@ -48,7 +48,6 @@
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
</div> </div>
</template> </template>
@ -187,6 +186,11 @@ export default {
// margin-top: 4px; // margin-top: 4px;
} }
.price {
color: red;
margin-top: 15px;
}
.image { .image {
height: 100px; height: 100px;
margin-top: 3px; margin-top: 3px;