229 lines
5.4 KiB
Vue
229 lines
5.4 KiB
Vue
<template>
|
||
<view class="page">
|
||
<u-navbar :title="title" :border-bottom="false" :background="bgc" title-color='#000' title-size='36'
|
||
:title-bold='true' height='45' id="navbar">
|
||
</u-navbar>
|
||
<view class="tit">
|
||
<image src="https://api.ccttiot.com/smartmeter/img/static/ufvwKG3vcJYtbkf0Oeij" mode=""></image>
|
||
除螨设置
|
||
</view>
|
||
<view class="tit1">
|
||
<image src="https://api.ccttiot.com/smartmeter/img/static/utZh1saVjZgOBz3orDkL" mode=""></image>
|
||
间隔时长
|
||
</view>
|
||
<view class="set_li">
|
||
每隔<view class="ipt_box"><input type="text" class="ips" v-model="code" placeholder=" "
|
||
placeholder-class="my-placeholder" /> </view>天/次 除螨工作
|
||
</view>
|
||
<view class="tit">
|
||
<image src="https://api.ccttiot.com/smartmeter/img/static/ufvwKG3vcJYtbkf0Oeij" mode=""></image>
|
||
保护设置
|
||
</view>
|
||
<view class="tit1">
|
||
<image src="https://api.ccttiot.com/smartmeter/img/static/utZh1saVjZgOBz3orDkL" mode=""></image>
|
||
电量保护(%)
|
||
</view>
|
||
<view class="set_li">
|
||
电量少于<view class="ipt_box"><input type="text" class="ips" v-model="code" placeholder=" "
|
||
placeholder-class="my-placeholder" /> </view>加热板/风扇停止工作
|
||
</view>
|
||
<view class="tit1">
|
||
<image src="https://api.ccttiot.com/smartmeter/img/static/utZh1saVjZgOBz3orDkL" mode=""></image>
|
||
加热(℃)
|
||
</view>
|
||
<view class="set_li">
|
||
箱外温度低于<view class="ipt_box"><input type="text" class="ips" v-model="code" placeholder=" "
|
||
placeholder-class="my-placeholder" /> </view>加热板工作
|
||
</view>
|
||
<view class="set_li">
|
||
箱内高于箱外<view class="ipt_box"><input type="text" class="ips" v-model="code" placeholder=" "
|
||
placeholder-class="my-placeholder" /> </view>加热板停止工作
|
||
</view>
|
||
<view class="tit1">
|
||
<image src="https://api.ccttiot.com/smartmeter/img/static/utZh1saVjZgOBz3orDkL" mode=""></image>
|
||
风扇(℃)
|
||
</view>
|
||
<view class="set_li">
|
||
箱内温度高于<view class="ipt_box"><input type="text" class="ips" v-model="code" placeholder=" "
|
||
placeholder-class="my-placeholder" /> </view>风扇工作
|
||
</view>
|
||
<view class="set_li">
|
||
箱内温度降到<view class="ipt_box"><input type="text" class="ips" v-model="code" placeholder=" "
|
||
placeholder-class="my-placeholder" /> </view>风扇停止工作
|
||
</view>
|
||
<view class="set_li">
|
||
CO₂浓度高于<view class="ipt_box"><input type="text" class="ips" v-model="code" placeholder=" "
|
||
placeholder-class="my-placeholder" /> </view>风扇工作
|
||
</view>
|
||
<view class="set_li">
|
||
CO₂浓度低于<view class="ipt_box"><input type="text" class="ips" v-model="code" placeholder=" "
|
||
placeholder-class="my-placeholder" /> </view>风扇停止工作
|
||
</view>
|
||
<view class="tit">
|
||
<image src="https://api.ccttiot.com/smartmeter/img/static/ufvwKG3vcJYtbkf0Oeij" mode=""></image>
|
||
震动通知
|
||
</view>
|
||
<view class="tit1">
|
||
<image src="https://api.ccttiot.com/smartmeter/img/static/utZh1saVjZgOBz3orDkL" mode=""></image>
|
||
单次震动
|
||
</view>
|
||
<view class="tit1">
|
||
<image src="https://api.ccttiot.com/smartmeter/img/static/utZh1saVjZgOBz3orDkL" mode=""></image>
|
||
持续震动
|
||
|
||
</view>
|
||
<view class="btn_box">
|
||
<view class="btns">
|
||
重置
|
||
</view>
|
||
<view class="btn1">
|
||
保存
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</template>
|
||
|
||
<script>
|
||
export default {
|
||
data() {
|
||
return {
|
||
bgc: {
|
||
backgroundColor: " #F4FAF8",
|
||
},
|
||
title: "设置",
|
||
code:''
|
||
|
||
}
|
||
},
|
||
onLoad() {
|
||
|
||
},
|
||
onShow() {
|
||
|
||
},
|
||
methods: {
|
||
|
||
|
||
}
|
||
}
|
||
</script>
|
||
|
||
<style lang="scss">
|
||
page {
|
||
background-color: #F4FAF8;
|
||
}
|
||
|
||
.page {
|
||
// position: relative;
|
||
width: 750rpx;
|
||
padding: 40rpx;
|
||
.btn_box{
|
||
margin-top: 136rpx;
|
||
display: flex;
|
||
flex-wrap: nowrap;
|
||
align-items: center;
|
||
.btns{
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 322rpx;
|
||
height: 88rpx;
|
||
background: #FFF5D6;
|
||
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
||
border: 2rpx solid #FFC107;
|
||
|
||
font-weight: 500;
|
||
font-size: 32rpx;
|
||
color: #FFC107;
|
||
}
|
||
.btn1{
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
margin-left: 30rpx;
|
||
width: 322rpx;
|
||
height: 88rpx;
|
||
background: #FFCC25;
|
||
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
||
|
||
font-weight: 500;
|
||
font-size: 32rpx;
|
||
color: #3D3D3D;
|
||
}
|
||
}
|
||
.tit {
|
||
display: flex;
|
||
flex-wrap: nowrap;
|
||
align-items: center;
|
||
|
||
image {
|
||
margin-right: 22rpx;
|
||
width: 52rpx;
|
||
height: 52rpx;
|
||
|
||
}
|
||
|
||
font-weight: 600;
|
||
font-size: 36rpx;
|
||
color: #3D3D3D;
|
||
}
|
||
|
||
.tit1 {
|
||
margin-top: 32rpx;
|
||
display: flex;
|
||
flex-wrap: nowrap;
|
||
align-items: center;
|
||
|
||
image {
|
||
margin-right: 18rpx;
|
||
width: 46rpx;
|
||
height: 46rpx;
|
||
|
||
}
|
||
|
||
font-weight: 400;
|
||
font-size: 32rpx;
|
||
color: #3D3D3D;
|
||
}
|
||
|
||
.set_li {
|
||
margin-top: 34rpx;
|
||
margin-left: 104rpx;
|
||
display: flex;
|
||
flex-wrap: nowrap;
|
||
align-items: center;
|
||
font-weight: 400;
|
||
font-size: 32rpx;
|
||
color: #808080;
|
||
|
||
.ipt_box {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
margin: 0 16rpx;
|
||
// width: 98rpx;
|
||
height: 88rpx;
|
||
background: #FFFFFF;
|
||
box-shadow: 0rpx 0rpx 8rpx 0rpx rgba(0, 0, 0, 0.15);
|
||
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
||
.ips {
|
||
margin-left: 15rpx;
|
||
width: 100rpx;
|
||
|
||
}
|
||
|
||
|
||
|
||
.my-placeholder {
|
||
font-weight: 400;
|
||
font-size: 32rpx;
|
||
color: #808080;
|
||
}
|
||
|
||
}
|
||
|
||
|
||
}
|
||
|
||
}
|
||
</style> |