当前位置: 首页 > news >正文

用vue-cli做的网站中山网站制作策划

用vue-cli做的网站,中山网站制作策划,wordpress文字轮播,免费访问国外网站的app目录 前言 爱心界面 无限弹窗 前言 人生苦短,我用Python!又是新的一周啦,本期博主给大家带来了一个全新的作品:满屏表白代码,无限弹窗版!快快收藏起来送给她吧~ 爱心界面 def Heart(): roottk.Tk…

目录

前言

爱心界面 

无限弹窗 


前言

人生苦短,我用Python!又是新的一周啦,本期博主给大家带来了一个全新的作品:满屏表白代码,无限弹窗版!快快收藏起来送给她吧~

爱心界面 

def Heart():
    root=tk.Tk()
    screenwidth=root.winfo_screenwidth()
    screenheight=root.winfo_screenheight()
    width=600
    height=400
    x=(screenwidth-width)//2
    y=(screenheight-height)//2
    root.title("❤")
    root.geometry("%dx%d+%d+%d"%(screenwidth,screenheight,0,0))
    tk.Label(root,text='❤',fg='pink',bg='white',font=("Comic Sans MS",500),width=300,height=20).pack()
    root.mainloop()    

无限弹窗 

def Love1():
    root=tk.Tk()
    width=200
    height=50
    screenwidth=root.winfo_screenwidth()
    screenheight=root.winfo_screenheight()
    x=ra.randint(0,screenwidth/2)
    y=ra.randint(0,screenheight/2)
    root.title("❤")
    root.geometry("%dx%d+%d+%d"%(width,height,x,y))
    tk.Label(root,text='I LOVE YOU!',fg='white',bg='pink',font=("Comic Sans MS",15),width=30,height=5).pack()
    root.mainloop()
def Love2():
    root=tk.Tk()
    width=200
    height=50
    screenwidth=root.winfo_screenwidth()
    screenheight=root.winfo_screenheight()
    screenheight-=2*width
    x=ra.randint(screenwidth/2,screenwidth)
    y=ra.randint(0,screenheight/2)
    root.title("❤")
    root.geometry("%dx%d+%d+%d"%(width,height,x,y))
    tk.Label(root,text='I LOVE YOU!',fg='white',bg='pink',font=("Comic Sans MS",15),width=30,height=5).pack()
    root.mainloop()
def Love3():
    root=tk.Tk()
    width=200
    height=50
    screenwidth=root.winfo_screenwidth()
    screenheight=root.winfo_screenheight()
    screenheight-=width
    x=ra.randint(screenwidth/2,screenwidth)
    y=ra.randint(screenheight/2,screenheight)
    root.title("❤")
    root.geometry("%dx%d+%d+%d"%(width,height,x,y))
    tk.Label(root,text='I LOVE YOU!',fg='white',bg='pink',font=("Comic Sans MS",15),width=30,height=5).pack()
    root.mainloop()
def Love4():
    root=tk.Tk()
    width=200
    height=50
    screenwidth=root.winfo_screenwidth()
    screenheight=root.winfo_screenheight()
    screenheight-=2*width
    x=ra.randint(0,screenwidth/2)
    y=ra.randint(screenheight/2,screenheight)
    root.title("❤")
    root.geometry("%dx%d+%d+%d"%(width,height,x,y))
    tk.Label(root,text='I LOVE YOU!',fg='white',bg='pink',font=("Comic Sans MS",15),width=30,height=5).pack()
    root.mainloop()

http://www.yayakq.cn/news/452521/

相关文章:

  • 公司网站网络营销是什么safari浏览器下载
  • 山东济南seo整站优化公司怎么做好网站开发 设计
  • 阿里云网站备案拍照点平顶山高端网站建设
  • 企业展示网站 价钱大型网站快速排名
  • 青岛做个网站多少钱北京公司网站建设价格
  • 电商网站对比表格广告设计图片简单
  • 如何查询网站备案翻译网站素材
  • 找人做辅助的网站已备案网站域名网
  • 用层做的网站宁波建设网站公众号关注
  • 陇南网站建设长沙市网页设计培训哪家好
  • 柳市网站设计推广做企业网站需要招标公告上面的技术参数写什么
  • 肥城做网站佛山市建设官方网站
  • 网站建设有哪些方法网站被做镜像什么意思
  • 出口网站建设方案wordpress中联系表
  • 吉林省科瑞建设项目管理有限公司网站爱的网站歌曲
  • 沈阳 网站建设成都房地产官网
  • 网站推广工具有啥智慧团建官网登录口入口
  • 网站如何进行网络推广wordpress外观选单分类添加不
  • 怎么做网站地图dw网页制作表格
  • 建设京东类的网站需要什么流程图陕西省建设网三类人员证书查询
  • 万网域名注册网站福安市教育局建设网站
  • 河北商城网站建设价格郑州网站建设招聘
  • 青岛网站建设 大公司网页制作培训价格
  • 山东网站seo公司wordpress 配置说明
  • wordpress导航网站怎样解析网站域名
  • 织梦做的网站后台登录品牌厂家网站建设
  • 织梦导航网站模板wordpress恢复网站
  • 宁波建站方案门户网站内容
  • 微信公众号做的网站.网站建设风险
  • 正规做兼职的网站网站搭建在线支付