| | |
| | | event.target.scrollHeight - |
| | | event.target.scrollTop - |
| | | event.target.clientHeight; |
| | | if (scrollBottom < 40) { |
| | | if (scrollBottom < 1) { |
| | | this.pageswitch.size += 10; |
| | | this.getmessagelist(); |
| | | } |
| | |
| | | .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; |
| | | } |
| | |
| | | // 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": "/" |
| | | } |
| | | }, |
| | | }, |
| | | }, |