数字步进器
parent
1cb43af083
commit
3b859530e5
|
|
@ -38,7 +38,6 @@ layui.define(['jquery'], function (exports) {
|
||||||
argums.startVal = argums.startVal || 0;
|
argums.startVal = argums.startVal || 0;
|
||||||
argums.target = $(argums.target)[0];
|
argums.target = $(argums.target)[0];
|
||||||
argums.endVal = argums.endVal || $($(argums.target)[0]).text();
|
argums.endVal = argums.endVal || $($(argums.target)[0]).text();
|
||||||
|
|
||||||
/*var {
|
/*var {
|
||||||
target,
|
target,
|
||||||
startVal,
|
startVal,
|
||||||
|
|
@ -48,11 +47,11 @@ layui.define(['jquery'], function (exports) {
|
||||||
options
|
options
|
||||||
} = argums;// 这里是ES6语法*/
|
} = argums;// 这里是ES6语法*/
|
||||||
var target = argums.target,
|
var target = argums.target,
|
||||||
startVal = target.startVal,
|
startVal = argums.startVal,
|
||||||
endVal = target.endVal,
|
endVal = argums.endVal,
|
||||||
decimals = target.decimals,
|
decimals = argums.decimals,
|
||||||
duration = target.duration,
|
duration = argums.duration,
|
||||||
options = target.options;
|
options = argums.options;
|
||||||
var self = this;
|
var self = this;
|
||||||
self.version = function () {
|
self.version = function () {
|
||||||
return "1.9.2"
|
return "1.9.2"
|
||||||
|
|
|
||||||
|
|
@ -4,10 +4,10 @@
|
||||||
<title>中国天气</title>
|
<title>中国天气</title>
|
||||||
<style>
|
<style>
|
||||||
#weather-float-he {
|
#weather-float-he {
|
||||||
position: fixed !important;
|
position: fixed!important;
|
||||||
z-index: 99999 !important;
|
z-index: 99999!important;
|
||||||
left: 0 !important;
|
left: 0!important;
|
||||||
top: 0 !important;
|
top: 0!important;
|
||||||
transform: scale(.9);
|
transform: scale(.9);
|
||||||
}
|
}
|
||||||
#weather-float-he div[data-v-0a6ec0b4]{
|
#weather-float-he div[data-v-0a6ec0b4]{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue