Former-commit-id: 4c4574688ef25a690dc64041ec7013d5fc74b1b2
TangShanKaiPing
wanggang 6 years ago
parent 77f4d007a7
commit 20ab89394f

@ -64,14 +64,52 @@ img.shot.zoom {
.device-desktop.with-modal-dialog .page-content {
overflow: auto;
}
/*html5 input rang style*/
input[type='range']{
form{
width:100%;
}
input[type='range']::-webkit-slider-thumb {
border: 15px solid #fff;
border-radius: 15px;
label.button input {
display: none;
}
form{
input[type=range].ajax{
width:100%;
}
height:34px;
}
input.ajax{
margin:5px 0;
}
form.device label{
display:inline-block;
height:34px;
line-height:34px;
vertical-align:middle;
}
/*html5 input rang style*/
input[type=range] {
-webkit-appearance: none;
}
input[type=range]::-webkit-slider-runnable-track {
width: 300px;
height: 5px;
background: #ddd;
border: none;
border-radius: 3px;
}
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
border: none;
height: 16px;
width: 16px;
border-radius: 50%;
background-color:Highlight;
margin-top: -5px;
}
input[type=range]:focus {
outline: none;
}
input[type=range]:focus::-webkit-slider-runnable-track {
background: #ccc;
}

@ -571,7 +571,7 @@
<a class="button button-large button-raised button-fill" href="javascript: ;" v-on:click="call(device.GatewayNumber,device.Number,'/Ir/KeyCodeType1Off')" v-else>禁用空调</a>
</div>
<div class="row" v-if="getData(device,'空调')==='开'">
<form class="KeyCodeType1" method="get" :action="vm.IoTServer+'/App/Exec'">
<form class="device KeyCodeType1" method="get" :action="vm.IoTServer+'/App/Exec'">
<input type="hidden" name="ConnectionId" :value="vm.ConnectionId" />
<input type="hidden" name="Gateway" :value="device.GatewayNumber" />
<input type="hidden" name="Number" :value="device.Number" />
@ -582,21 +582,21 @@
<div class="col-20">
<label>电源:</label>
</div>
<div class="col-80">
<label><input class="ajax" name="power" type="radio" value="2" v-model="getCode1(getValue(device,'按键')).power" /></label>
<label><input class="ajax" name="power" type="radio" value="1" v-model="getCode1(getValue(device,'按键')).power" /></label>
<div class="col-80 row">
<label class="button button-raised button-round"><input class="ajax" name="power" type="radio" value="2" v-model="getCode1(getValue(device,'按键')).power" /></label>
<label class="button button-raised button-round"><input class="ajax" name="power" type="radio" value="1" v-model="getCode1(getValue(device,'按键')).power" /></label>
</div>
</div>
<div class="row">
<div class="col-20">
<label>模式:</label>
</div>
<div class="col-80">
<label><input class="ajax" name="pattern" type="radio" v-model="getCode1(getValue(device,'按键')).pattern" value="0" />制冷</label>
<label><input class="ajax" name="pattern" type="radio" v-model="getCode1(getValue(device,'按键')).pattern" value="120" />自动</label>
<label><input class="ajax" name="pattern" type="radio" v-model="getCode1(getValue(device,'按键')).pattern" value="240" />制热</label>
<label><input class="ajax" name="pattern" type="radio" v-model="getCode1(getValue(device,'按键')).pattern" value="360" />抽湿</label>
<label><input class="ajax" name="pattern" type="radio" v-model="getCode1(getValue(device,'按键')).pattern" value="480" />送风</label>
<div class="col-80 row">
<label class="button button-raised button-round"><input class="ajax" name="pattern" type="radio" v-model="getCode1(getValue(device,'按键')).pattern" value="0" />制冷</label>
<label class="button button-raised button-round"><input class="ajax" name="pattern" type="radio" v-model="getCode1(getValue(device,'按键')).pattern" value="120" />自动</label>
<label class="button button-raised button-round"><input class="ajax" name="pattern" type="radio" v-model="getCode1(getValue(device,'按键')).pattern" value="240" />制热</label>
<label class="button button-raised button-round"><input class="ajax" name="pattern" type="radio" v-model="getCode1(getValue(device,'按键')).pattern" value="360" />抽湿</label>
<label class="button button-raised button-round"><input class="ajax" name="pattern" type="radio" v-model="getCode1(getValue(device,'按键')).pattern" value="480" />送风</label>
</div>
</div>
<div class="row">
@ -611,21 +611,21 @@
<div class="col-20">
<label>风向:</label>
</div>
<div class="col-80">
<label><input name="direction" type="radio" v-model="getCode1(getValue(device,'按键')).direction" value="0" class="ajax" />任意</label>
<label><input name="direction" type="radio" v-model="getCode1(getValue(device,'按键')).direction" value="60" class="ajax" />手动</label>
<label><input name="direction" type="radio" v-model="getCode1(getValue(device,'按键')).direction" value="75" class="ajax" />自动</label>
<div class="col-80 row">
<label class="button button-raised button-round"><input name="direction" type="radio" v-model="getCode1(getValue(device,'按键')).direction" value="0" class="ajax" />任意</label>
<label class="button button-raised button-round"><input name="direction" type="radio" v-model="getCode1(getValue(device,'按键')).direction" value="60" class="ajax" />手动</label>
<label class="button button-raised button-round"><input name="direction" type="radio" v-model="getCode1(getValue(device,'按键')).direction" value="75" class="ajax" />自动</label>
</div>
</div>
<div class="row">
<div class="col-20">
<label>风量:</label>
</div>
<div class="col-80">
<label><input class="ajax" name="wind" type="radio" v-model="getCode1(getValue(device,'按键')).wind" value="0" />自动</label>
<label><input class="ajax" name="wind" type="radio" v-model="getCode1(getValue(device,'按键')).wind" value="15" /></label>
<label><input class="ajax" name="wind" type="radio" v-model="getCode1(getValue(device,'按键')).wind" value="30" /></label>
<label><input class="ajax" name="wind" type="radio" v-model="getCode1(getValue(device,'按键')).wind" value="45" /></label>
<div class="col-80 row">
<label class="button button-raised button-round"><input class="ajax" name="wind" type="radio" v-model="getCode1(getValue(device,'按键')).wind" value="0" />自动</label>
<label class="button button-raised button-round"><input class="ajax" name="wind" type="radio" v-model="getCode1(getValue(device,'按键')).wind" value="15" /></label>
<label class="button button-raised button-round"><input class="ajax" name="wind" type="radio" v-model="getCode1(getValue(device,'按键')).wind" value="30" /></label>
<label class="button button-raised button-round"><input class="ajax" name="wind" type="radio" v-model="getCode1(getValue(device,'按键')).wind" value="45" /></label>
</div>
</div>
</form>

Loading…
Cancel
Save