@@ -24,13 +24,13 @@
<view
class="hand"
@click="changeClick('hand')"
- :class="{ active: dourceData.local_model == '0' }"
+ :class="{ active: dourceData.run_model == '0' }"
>手动</view
>
class="auto"
@click="changeClick('auto')"
- :class="{ active: dourceData.local_model == '1' }"
+ :class="{ active: dourceData.run_model == '1' }"
>自动</view
</view>
@@ -56,6 +56,8 @@ export default {
devUpdateddate: '-',
devProvincealign: '-',
},
+ page: 1,
+ size: 99999,
};
methods: {
@@ -106,7 +108,9 @@ export default {
icon: 'none',
duration: 3000,
});
- this.getDpdevicedpkzgjuanmoList();
+ setTimeout(() => {
+ this.getDpdevicedpkzgjuanmoList();
+ }, 1000);
async getDataSource() {
const res = await this.$myRequest({
@@ -226,7 +230,7 @@ uni-page-body {
#eff2fa 100%
),
linear-gradient(102deg, #bfeadd 6.77%, #b8f1e7 40.15%, #b9eef5 84.02%);
- height: 100%;
+ min-height: 100vh;
width: 100%;
overflow-x: hidden;
overflow-y: scroll;
@@ -870,6 +870,9 @@ page {
border-radius: 25rpx;
font-size: 24rpx;
line-height: 35rpx;
+ display: flex;
+ align-items: center;
+ justify-content: center;
position: absolute;
bottom: 15rpx;
right: 20rpx;