Browse Source

样式修改

10-plugin-task-start
aBin 4 years ago
parent
commit
ca8c0bf2ea
  1. 14
      index.html

14
index.html

@ -49,28 +49,28 @@
<div data-tname="分诊" data-pid="1402932548627206144" data-uid="1323567842540523520" data-rid="rid333" data-tid="tid444" data-did="did555" style="height:50px;width:100%">
<!-- 任务开始插件 -->
<div data-root="p1419895701453938688" class="flex flex-row items-center" style="height:100%;width:100%;">
<div data-root="p1419895659787722752" class="flex flex-row items-center" style="height:100%;width:100%;">
<div class="flex-1 title"></div>
<div class="flex flex-nowrap startBtn mr-2">
<button class="bg-green-500 text-xs rounded-full py-1 px-5 text-white" onclick="p1419895701453938688.chooseTime(this)">开始</button>
<button class="bg-green-500 text-xs rounded-full py-1 px-5 text-white" onclick="p1419895659787722752.chooseTime(this)">开始</button>
</div>
<div class="flex flex-nowrap statusBtn mr-2 font-bold" style="display:none" onclick="p1419895701453938688.jumpDetails(this)">
<div class="flex flex-nowrap statusBtn mr-2 font-bold" style="display:none" onclick="p1419895659787722752.jumpDetails(this)">
<span class="mr-3 startTime">10:02</span>
<span class="text-red-500 disparity">+0min</span>
</div>
<div class="flex flex-row-reverse items-center" onclick="p1419895701453938688.jumpDetails(this)">
<div class="flex flex-row-reverse items-center" onclick="p1419895659787722752.jumpDetails(this)">
<img style="height:16px" src="https://www.tall.wiki/staticrec/photos/right.png">
</div>
</div>
</div>
<script>
const p1419895701453938688 = {
const p1419895659787722752 = {
token: '',
dom: '',
init() {
this.dom = document.querySelector("div[data-root=p1419895701453938688]");
this.dom = document.querySelector("div[data-root=p1419895659787722752]");
var domBox = this.dom.parentNode;
var title = this.dom.querySelector('.title');
title.innerHTML = domBox.getAttribute('data-tname')
@ -206,7 +206,7 @@
location.href = 'https://www.baidu.com'
}
}
p1419895701453938688.init()
p1419895659787722752.init()
</script>
</div>
</div>

Loading…
Cancel
Save