This commit is contained in:
commit
93f04d365f
|
@ -40,7 +40,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="arealist">
|
<view class="arealist" v-if="dataInfo.areas.length > 0">
|
||||||
<view class="block-info" v-for="item in dataInfo.areas" :key="item.id">
|
<view class="block-info" v-for="item in dataInfo.areas" :key="item.id">
|
||||||
<view v-if="!item.isCompleted" class="schedule schedule-wait"
|
<view v-if="!item.isCompleted" class="schedule schedule-wait"
|
||||||
>待保洁</view
|
>待保洁</view
|
||||||
|
@ -67,9 +67,8 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<button @click="nfcResFn">
|
<button @click="nfcResFn(true)">刷卡成功</button>
|
||||||
{{errorShow}}
|
<button @click="nfcResFn(false)">刷卡失败</button>
|
||||||
</button>
|
|
||||||
<!-- nfc刷卡成功弹窗 -->
|
<!-- nfc刷卡成功弹窗 -->
|
||||||
<u-popup v-model="successShow" mode="center" :round="30">
|
<u-popup v-model="successShow" mode="center" :round="30">
|
||||||
<view class="success-box">
|
<view class="success-box">
|
||||||
|
@ -150,6 +149,7 @@ export default {
|
||||||
errorShow: false,
|
errorShow: false,
|
||||||
dataInfo: {
|
dataInfo: {
|
||||||
planName: "",
|
planName: "",
|
||||||
|
areas: [],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
@ -183,20 +183,23 @@ export default {
|
||||||
console.log('%c%s', 'color:red', 'nfc刷卡成功');
|
console.log('%c%s', 'color:red', 'nfc刷卡成功');
|
||||||
this.successShow = true;
|
this.successShow = true;
|
||||||
} else {
|
} else {
|
||||||
console.log('%c%s', 'color:red', '刷卡失败');
|
console.log("%c%s", "color:red", "刷卡失败");
|
||||||
this.errorShow = true;
|
this.errorShow = true;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 上传图片
|
// 上传图片
|
||||||
uploadFn() {
|
uploadFn() {
|
||||||
console.log('%c%s', 'color:red', '上传图片');
|
console.log("%c%s", "color:red", "上传图片");
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: "/pages/index/uploadPhoto",
|
url: "/pages/index/uploadPhoto",
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 异常上报
|
// 异常上报
|
||||||
exceptionReportFn() {
|
exceptionReportFn() {
|
||||||
console.log('%c%s', 'color:red', '异常上报');
|
console.log("%c%s", "color:red", "异常上报");
|
||||||
|
uni.navigateTo({
|
||||||
|
url: "/pages/index/list",
|
||||||
|
});
|
||||||
},
|
},
|
||||||
openFn() {},
|
openFn() {},
|
||||||
closeFn() {},
|
closeFn() {},
|
||||||
|
@ -375,7 +378,7 @@ export default {
|
||||||
.box-content {
|
.box-content {
|
||||||
height: 450rpx;
|
height: 450rpx;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
background: linear-gradient(to bottom, #A7DAFC, white 60%, white);
|
background: linear-gradient(to bottom, #a7dafc, white 60%, white);
|
||||||
border-radius: 30rpx;
|
border-radius: 30rpx;
|
||||||
// border:1px solid red;
|
// border:1px solid red;
|
||||||
position:relative;
|
position:relative;
|
||||||
|
@ -404,18 +407,18 @@ export default {
|
||||||
.btn-cancel {
|
.btn-cancel {
|
||||||
width: 200rpx;
|
width: 200rpx;
|
||||||
height: 70rpx;
|
height: 70rpx;
|
||||||
background-color:#F3F6F7;
|
background-color: #f3f6f7;
|
||||||
border-radius: 50rpx;
|
border-radius: 50rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
color:#32353B;
|
color: #32353b;
|
||||||
}
|
}
|
||||||
.btn-success {
|
.btn-success {
|
||||||
width: 200rpx;
|
width: 200rpx;
|
||||||
height: 70rpx;
|
height: 70rpx;
|
||||||
background-color:#4278F4;
|
background-color: #4278f4;
|
||||||
border-radius: 50rpx;
|
border-radius: 50rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -464,13 +467,13 @@ export default {
|
||||||
.btn-cancel {
|
.btn-cancel {
|
||||||
width: 200rpx;
|
width: 200rpx;
|
||||||
height: 70rpx;
|
height: 70rpx;
|
||||||
background-color:#F3F6F7;
|
background-color: #f3f6f7;
|
||||||
border-radius: 50rpx;
|
border-radius: 50rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
color:#32353B;
|
color: #32353b;
|
||||||
}
|
}
|
||||||
.btn-success{
|
.btn-success{
|
||||||
width:200rpx;
|
width:200rpx;
|
||||||
|
|
Loading…
Reference in New Issue