浏览代码

Tag: 按钮文本位置

wudi 5 年之前
父节点
当前提交
4c8c493549
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      public/code/pp.js

+ 1 - 1
public/code/pp.js

@@ -7932,7 +7932,7 @@ S.arc(w,Y,Z/8,0,Math.PI*2);S.fill()};ft.prototype.fA=function(K){R.Or(window,thi
 this.y_(K)};ft.prototype.y_=function(K){var Z=R.jW(K,this.Ps),b=Math.max(0,Math.min(2,Math.floor(Z.x/(this._G/3)))),J=Math.max(0,Math.min(2,Math.floor(Z.y/(this._G/3))));
 this.A(J*3+b)};ft.prototype.R8=function(K){this.B(new n(R.E.L,!1));R.er(window,this.J0);R.hf(window,this.xU)};
 function d5(K,Z,b,J){fJ.call(this);this.j=R.w("button","fitem"+(Z?" spread":"")+(J?" bbtn":""));this.jg=K;
-this.LK=b;this.f();this.j.addEventListener("click",this.TE.bind(this),!1);/* if (J && !Z) debugger;加按钮*/}d5.prototype=new fJ;d5.prototype.f=function(){var K=this.j,Z=this.jg,b=this.LK,J=eh.get(Z);
+this.LK=b;this.f();this.j.addEventListener("click",this.TE.bind(this),!1);/* if (!J && !Z && this.j.innerText === 'About'){ debugger};加按钮*/}d5.prototype=new fJ;d5.prototype.f=function(){var K=this.j,Z=this.jg,b=this.LK,J=eh.get(Z);
 if(J.startsWith("<img")||J.startsWith("<svg"))K.innerHTML=J;else K.textContent=J;if(J.startsWith("<img")||J.startsWith("<svg"))K.setAttribute("style","padding:2px");
 if(b){K.setAttribute("title",eh.get(b))}};d5.prototype.aaW=function(K){this.j.setAttribute("title",K)};
 d5.prototype.TE=function(K){this.B(new n("click",!1))};d5.prototype.bz=function(){R.kG(this.j,"bactive")};