gaosp
2024-03-10 3cb45f5e261d22a4ee3e71dd5c588c95469f7d28
update
已修改2个文件
13 ■■■■ 文件已修改
src/container/list/index.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/container/workshop/device.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/container/list/index.vue
@@ -1,7 +1,7 @@
<!--
 * @Date: 2024-01-06 17:40:19
 * @LastEditors: Sneed
 * @LastEditTime: 2024-03-06 09:18:40
 * @LastEditTime: 2024-03-10 11:39:46
 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/container/list/index.vue
-->
<template>
@@ -224,8 +224,9 @@
    .pagination {
        position: absolute;
        bottom: 0;
        bottom: 50px;
        right: 40px;
        z-index: 99;
    }
}
src/container/workshop/device.vue
@@ -1,7 +1,7 @@
<!--
 * @Date: 2024-01-13 20:46:33
 * @LastEditors: Sneed
 * @LastEditTime: 2024-03-09 12:47:06
 * @LastEditTime: 2024-03-09 14:20:34
 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/container/workshop/device.vue
-->
<template>
@@ -141,9 +141,9 @@
        this.concern = !!this.info.concern
        console.log(this.$el.getBoundingClientRect().width,'/////',this.$el.getBoundingClientRect().width / 200)
        this.$nextTick(() => {
            if (this.$el.getBoundingClientRect().width <  400) {
                this.$el.querySelector('.device-item-box').style = `transform:scale(${this.$el.getBoundingClientRect().width / 400})`
            }
            //if (this.$el.getBoundingClientRect().width <  400) {
                this.$el.querySelector('.device-item-box').style = `transform:scale(${this.$el.getBoundingClientRect().width / 360})`
            //}
        })