Searched refs:progress (Results 1 - 1 of 1) sorted by relevance
/vendor/ohemu/qemu_riscv32_mini_system_demo/fs_data/data/data/panel/pages/air/ |
H A D | air.js | 144 module.exports = function (vm) { var _vm = vm || this; return _c('div', {'staticClass' : ["container"]} , [_c('div', {'staticClass' : ["header"],'on' : {'click' : _vm.back}} , [_c('text', {'attrs' : {'value' : function () {return _vm.title}},'staticClass' : ["title"]} )] ),_c('div', {'staticClass' : ["body"],'staticStyle' : {'flexDirection' : "column"}, } , [_c('div', {'staticClass' : ["row"],'staticStyle' : {'height' : "50%"}, } , [_c('progress', {'attrs' : {'type' : "arc",'percent' : function () {return _vm.temp_percent}},'staticClass' : ["circleProgress"]} )] ),_c('div', {'staticClass' : ["row"],'staticStyle' : {'height' : "10%"}, } , [_c('text', {'attrs' : {'value' : "16°C"},'staticClass' : ["col3"],'staticStyle' : {'width' : "30%"}, } ),_c('text', {'attrs' : {'value' : function () {return '当前' + (_vm.cur_temp) + '°C'}},'staticClass' : ["col3"],'staticStyle' : {'width' : "40%",'textAlign' : "center"}, } ),_c('text', {'attrs' : {'value' : "30°C"},'staticClass' : ["col3"],'staticStyle' : {'width' : "30%",'textAlign' : "right"}, } )] ),_c('div', {'staticClass' : ["row"],'staticStyle' : {'height' : "10%",'marginTop' : 10}, } , [_c('text', {'attrs' : {'value' : "设置温度:"},'staticClass' : ["col2"],'staticStyle' : {'height' : 32}, } ),_c('slider', {'attrs' : {'min' : 16,'max' : 30,'value' : function () {return _vm.cur_temp}},'staticClass' : ["col2","slider"],'on' : {'change' : _vm.changeTemp}} )] ),_c('div', {'staticClass' : ["row"],'staticStyle' : {'height' : "10%",'marginTop' : 10}, } , [_c('text', {'attrs' : {'value' : "工作模式:"},'staticClass' : ["col2"]} ),_c('picker-view', {'attrs' : {'type' : "text",'range' : function () {return _vm.textContent},'selected' : 1},'staticClass' : ["col2","picker-view"],'on' : {'change' : _vm.changeMode}} )] )] )] ) } 182 console.log("temp change to " + e.progress); 183 this.cur_temp = e.progress;
|
Completed in 1 milliseconds