From d5f01537f8d8e7740723220881f1b45ff5882397 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Mon, 25 Oct 2021 04:55:08 +0800 Subject: [PATCH] =?UTF-8?q?iOS=E8=AE=BE=E5=A4=87=E4=B8=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=94=B6=E6=AC=BE=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/about.lua | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/parts/scenes/about.lua b/parts/scenes/about.lua index 4ad5cd64..7b92b234 100644 --- a/parts/scenes/about.lua +++ b/parts/scenes/about.lua @@ -44,20 +44,22 @@ function scene.draw() gc.draw(TEXTURE.title,280,610,.1,.4+.03*sin(t*2.6),nil,580,118) gc.setLineWidth(3) - --QR Code frame - gc.rectangle('line',18,18,263,263) - gc.rectangle('line',1012,18,250,250) + if SYSTEM~='iOS'then + --QR Code frame + gc.rectangle('line',18,18,263,263) + gc.rectangle('line',1012,18,250,250) - --Support text - gc.setColor(1,1,1,sin(t*20)*.3+.6) - setFont(30) - mStr(text.support,150+sin(t*4)*20,283) - mStr(text.support,1138-sin(t*4)*20,270) + --Support text + gc.setColor(1,1,1,sin(t*20)*.3+.6) + setFont(30) + mStr(text.support,150+sin(t*4)*20,283) + mStr(text.support,1138-sin(t*4)*20,270) + end end scene.widgetList={ - WIDGET.newImage{name="pay1", x=20, y=20}, - WIDGET.newImage{name="pay2", x=1014,y=20}, + WIDGET.newImage{name="pay1", x=20, y=20,hide=SYSTEM=='iOS'}, + WIDGET.newImage{name="pay2", x=1014,y=20,hide=SYSTEM=='iOS'}, WIDGET.newButton{name="staff", x=1140,y=400,w=220,h=80,font=35,code=goScene'staff'}, WIDGET.newButton{name="his", x=1140,y=500,w=220,h=80,font=35,code=goScene'history'}, WIDGET.newButton{name="qq", x=1140,y=600,w=220,h=80,font=35,code=function()love.system.openURL("tencent://message/?uin=1046101471&Site=&Menu=yes")end,hide=MOBILE},