|
|
@ -26,8 +26,8 @@ |
|
|
|
<!--绿道一键通知--> |
|
|
|
<div data-root="p1419895620596146176"> |
|
|
|
<!-- main --> |
|
|
|
<div style="position: relative;" class="h-9 overflow-hidden"> |
|
|
|
<div class="txt text-2xl"> |
|
|
|
<div style="position: relative;" class="h-7 overflow-hidden"> |
|
|
|
<div class="txt text-xl"> |
|
|
|
<!-- 请<span style="color: #f00">XXX</span>到<span style="color: #f00">XX号窗口</span>交费 --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -36,7 +36,7 @@ |
|
|
|
</view> |
|
|
|
|
|
|
|
<script id="p1419895620596146176"> |
|
|
|
const p1419895620596146176 = { |
|
|
|
var p1419895620596146176 = { |
|
|
|
token: '', |
|
|
|
projectId: '', |
|
|
|
dom: '', |
|
|
@ -121,7 +121,6 @@ |
|
|
|
if(this.divWidth === 0) { |
|
|
|
this.divWidth = oTxt.offsetWidth |
|
|
|
} |
|
|
|
// console.log(this.divWidth) |
|
|
|
oTxt.innerHTML = res |
|
|
|
var that = this |
|
|
|
clearInterval(this.timeId); |
|
|
@ -131,7 +130,6 @@ |
|
|
|
//通过定时器重复动作 |
|
|
|
oTxt.style.position = 'absolute'; |
|
|
|
if(-textLeft < that.divWidth + 30){ |
|
|
|
// console.log(that.divWidth) |
|
|
|
textLeft--; |
|
|
|
var leftPX = textLeft + 'px'; |
|
|
|
oTxt.style.transform = `translate3d(${leftPX},0,0)` |
|
|
|