数字步进器

master
zhizou 2019-07-26 10:14:23 +08:00
parent 1cb43af083
commit 3b859530e5
2 changed files with 9 additions and 10 deletions

View File

@ -38,7 +38,6 @@ layui.define(['jquery'], function (exports) {
argums.startVal = argums.startVal || 0;
argums.target = $(argums.target)[0];
argums.endVal = argums.endVal || $($(argums.target)[0]).text();
/*var {
target,
startVal,
@ -48,11 +47,11 @@ layui.define(['jquery'], function (exports) {
options
} = argums;// 这里是ES6语法*/
var target = argums.target,
startVal = target.startVal,
endVal = target.endVal,
decimals = target.decimals,
duration = target.duration,
options = target.options;
startVal = argums.startVal,
endVal = argums.endVal,
decimals = argums.decimals,
duration = argums.duration,
options = argums.options;
var self = this;
self.version = function () {
return "1.9.2"

View File

@ -4,10 +4,10 @@
<title>中国天气</title>
<style>
#weather-float-he {
position: fixed !important;
z-index: 99999 !important;
left: 0 !important;
top: 0 !important;
position: fixed!important;
z-index: 99999!important;
left: 0!important;
top: 0!important;
transform: scale(.9);
}
#weather-float-he div[data-v-0a6ec0b4]{