辛达科技-一个只分享技术的站
首页 壁纸 留言 友链 关于 统计
1 武汉理工刷课,武汉理工大学刷课,刷在线作业程序 913 阅读 2 Linux下Golang编译程序在后台运行及开机启动 740 阅读 3 抖音userid怎么获取 621 阅读 4 破解Typora1.1.5最新版 499 阅读 5 [必看]Go语言配置代理 388 阅读
技术
php Mysql wechat公众号 git
前端
前端大杂烩 vue2 vue3
Golang
gorm golang配置
韩昊杰的软件
工具
VMware
其他 docker kafka nginx openwrt
登录
侧边栏壁纸
博主昵称
韩昊杰

  • 累计撰写 65 篇文章
  • 累计收到 52 条评论
  • 首页
  • 栏目
    • 技术
      • php
      • Mysql
      • wechat公众号
      • git
    • 前端
      • 前端大杂烩
      • vue2
      • vue3
    • Golang
      • gorm
      • golang配置
    • 韩昊杰的软件
    • 工具
      • VMware
    • 其他
    • docker
    • kafka
    • nginx
    • openwrt
  • 页面
    • 壁纸
    • 留言
    • 友链
    • 关于
    • 统计
搜索到 16 篇与 的结果
  • display:flex 小程序简易使用方法 2022-04-24
    display:flex 小程序简易使用方法 display:flex 小程序简易使用方法开发微信小程序,遇到了图片的一些问题,比如在某些界面中要求图片水平居中、垂直居中,在某些界面中要求图片铺满全屏幕。.wxml文件<view class='imagebox'> <image src="/images/1.png" mode="widthFix"> </image> </view>图片水平居中.imagebox{ display:flex; /*设置为flex布局*/ justify-content: center; /*水平居中*/ } .imagebox image { width:300rpx; height:300rpx; }图片垂直居中.imagebox{ display:flex; height: 500px; justify-content: center;/*水平居中*/ align-items:center; /*垂直居中*/ } .imagebox image { width:300rpx; height:300rpx; }图片居中铺满全屏幕page{ height:100%; /*设置高度100%,达到满屏状态*/ } .imagebox{ display:flex; height: 100%;/*重点,铺满全屏*/ justify-content: center; align-items:center; } .imagebox image { width:300rpx; height:300rpx; }元素垂直居中 .data{ display: flex; justify-content: center; flex-direction:column; align-items:center; }
    • 2022年04月24日
    • 161 阅读
    • 0 评论
    • 0 点赞
  • 1
  • ...
  • 3
  • 4
博主栏壁纸
博主头像 韩昊杰

65 文章数
52 评论量
  • Typecho开启Gzip压缩加速网站
  • 微信公众号推送模板消息,向指定的openID群发
  • 微信公众号,用户消息接收与回复
  • PHP判断是否是微信打开,浏览器打开的方法
人生倒计时
舔狗日记
2019 - 2022 © 韩昊杰 吉ICP备19002717号-1
已运行 00 天 00 时 00 分 00 秒
RSS MAP