15179599649
2023-12-27 b60eec28c222cdac4bbb1eca2d311d7263875f08
'修改添加留言的位置'
2 files modified
15 ■■■■ changed files
src/views/message/index.vue 7 ●●●●● patch | view | raw | blame | history
vue.config.js 8 ●●●● patch | view | raw | blame | history
src/views/message/index.vue
@@ -96,7 +96,7 @@
        event.target.scrollHeight -
        event.target.scrollTop -
        event.target.clientHeight;
      if (scrollBottom < 40) {
      if (scrollBottom < 1) {
        this.pageswitch.size += 10;
        this.getmessagelist();
      }
@@ -216,18 +216,19 @@
.boxliuyan {
  height: 100%;
  overflow: auto;
  padding-bottom: 200px;
}
.Addmessage {
  position: absolute;
  right: 10px;
  bottom: 110px;
  bottom: 170px;
  width: 70px;
  height: 70px;
}
.Addmessage_out {
  position: absolute;
  right: 10px;
  bottom: 190px;
  bottom: 250px;
  width: 70px;
  height: 70px;
}
vue.config.js
@@ -129,11 +129,11 @@
        // target用于配置你允许访问数据的计算机名称,即是你的api接口的服务器地址
        // target: "http://127.0.0.1",
        // target: "https://132v69t077.yicp.fun",
        target: "http://139.196.94.172:8110",
        target: "http://139.196.94.172:8111",
        changeOrigin: true,
        // pathRewrite: {
        //   "^/api": "/"
        // }
        pathRewrite: {
          "^/api": "/"
        }
      },
    },
  },