琳琳冒险岛

琳琳冒险岛发布地址:http://www.mxdsf.cc

游戏已经巨变,但是冒险家的心没有变换,琳琳冒险发布站秉持着圣洁的冒险觉醒之心,帮助冒险家在繁忙工作之余回到多彩的冒险世界,畅谈大家的冒险经历与升级要诀,让冒险岛这个艺术品更加的熠熠生辉。开源PY版登录器部分源代码:

if __name__ == '__main__':
 
    root = tk.Tk()
    root.title('樱木冒险岛登录引导')
    width = 816
    height = 458
    # 增加背景图片
    photo = tk.PhotoImage(file="222.png")
    theLabel = tk.Label(root, image=photo, fg="white")  # 前景色
    theLabel.place(x=0,y=0)
    # 获取屏幕尺寸以计算布局参数,使窗口居屏幕中央
    screenwidth = root.winfo_screenwidth()
    screenheight = root.winfo_screenheight()
    alignstr = '%dx%d+%d+%d' % (width, height, (screenwidth - width) / 2, (screenheight - height) / 2)
    root.geometry(alignstr)
    # 设置窗口是否可变长、宽,True:可变,False:不可变
    root.resizable(width=False, height=False)
    # # ------------------------------------------
    #
    button1 = Button(root, text='注册账号', width=11, command=signin,bg = "#9393FF",fg="#FFFFFF",bd=0)
    button1.place(x=28, y=340)
 
    button2 = Button(root, text='修改密码', width=11, command=up_pwd,bg = "#9393FF",fg="#FFFFFF",bd=0)
    button2.place(x=122, y=340)
 
    button3 = Button(root, text='防爆内存', width=11, command=kefu,bg = "#9393FF",fg="#FFFFFF",bd=0)
    button3.place(x=215, y=340)
 
    button4 = Button(root, text='联系客服', width=11, command=kefu,bg = "#9393FF",fg="#FFFFFF",bd=0)
    button4.place(x=308, y=340)
 
    button5 = Button(root, text='卡号自救', width=11, command=kefu,bg = "#9393FF",fg="#FFFFFF",bd=0)
    button5.place(x=28, y=385)
 
    button6 = Button(root, text='礼包兑换', width=11, command=kefu,bg = "#9393FF",fg="#FFFFFF",bd=0)
    button6.place(x=122, y=385)
 
    button7 = Button(root, text='福利领取', width=11, command=kefu,bg = "#9393FF",fg="#FFFFFF",bd=0)
    button7.place(x=215, y=385)
 
    #-------------
 
    labe2 = Label(root, text='服务端IP+端口:', font=("", 11), bg="#FFFFFF",fg="#ADADAD",bd=0)
    labe2.place(x=530, y=340)
 
    sheet_text1 = StringVar()
    sheet1 = Entry(root, textvariable=sheet_text1,bd=0)
    sheet1.place(x=640, y=340)
    sheet_text1.set("221.10.118.241:3339")
 
    button8 = Button(root, text='一键进入游戏', width=20,height=2,fg="#FFFFFF", command=login, bg="#6A6AFF", bd=0,activebackground="#DDDDFF")
    button8.place(x=580, y=385)
 
    tk.mainloop()

效果图:

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

刘延林

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值