Commit 87e6c0c8 by BellCodeEditor

save project

parent 99a8ff30
Showing with 15 additions and 7 deletions
...@@ -2,11 +2,18 @@ import tkinter ...@@ -2,11 +2,18 @@ import tkinter
root = tkinter.Tk() root = tkinter.Tk()
root.title('注册') root.title('注册')
root.geometry('400x320+500+300') root.geometry('400x320+500+300')
e1 = tkinter.Entry(root,show=None,font = ('楷书',18),bg = 'light gray',width = 9) e1 = tkinter.Entry(root,show=None,font = ('楷书',18),bg = 'light gray',width = 18)
e2 = tkinter.Entry(root,show= '*',font = ('楷书',18),bg = 'light gray',width = 9) e2 = tkinter.Entry(root,show= '*',font = ('楷书',18),bg = 'light gray',width = 18)
e3 = tkinter.Entry(root,show= '*',font = ('楷书',18),bg = 'light gray',width = 9) e3 = tkinter.Entry(root,show= '*',font = ('楷书',18),bg = 'light gray',width = 18)
e1.place(x=140,y=80) e1.place(x=140,y=80)
e2.place(x=140,y=110) e2.place(x=140,y=140)
e3.place(x=140,y=140) e3.place(x=140,y=200)
root.mainloop() a = tkinter.Label(root,text = '您好!请填写注册账号信息',font = ('楷书',15),width = 40, height = 2,bg = 'blue')
b = tkinter.Label(root,text = '用户名',font = ('楷书',15),height = 2)
c = tkinter.Label(root,text = '密码',font = ('楷书',15),height = 2)
d = tkinter.Label(root,text = '确认密码',font = ('楷书',15),height = 2)
a.place(x = 0,y = 0)
b.place(x = 0,y = 80)
c.place(x = 0,y = 140)
d.place(x = 0,y = 200)
root.mainloop()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment