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

EP8 我的页面布局

文件路径: E:/homework/uniappv3tswallpaper/pages/user/user.vue

<template><view class="userLayout"><view class="userInfo"><view class="avatar"><image src="../../common/images/preview1.jpg" mode="aspectFill"></image></view><view class="ip">100.100.100.100</view><view class="from">中国山东</view></view><view class="section"><view class="list" v-for="item in 3"><view class="row"><view class="left"><uni-icons type="download-filled" size="20" color="#28b389"></uni-icons><view class="text">我的下载</view></view><view class="right"><view class="text">33</view><uni-icons type="right" size="15" color="#aaa"></uni-icons></view></view></view></view><view class="section"><view class="list" v-for="item in 2"><view class="row"><view class="left"><uni-icons type="download-filled" size="20" color="#28b389"></uni-icons><view class="text">我的下载</view></view><view class="right"><view class="text">33</view><uni-icons type="right" size="15" color="#aaa"></uni-icons></view></view></view></view></view>
</template><script setup></script><style lang="scss" scoped>.userLayout {.userInfo {display: flex;flex-direction: column;flex-wrap: nowrap;align-content: center;justify-content: center;align-items: center;padding: 50rpx 0;.avatar {height: 160rpx;width: 160rpx;border-radius: 50%;overflow: hidden;image {height: 100%;width: 100%;}}.ip {font-size: 44rpx;color: #333;padding: 20rpx 0 5rpx;}.from {font-size: 28rpx;color: #aaa;}}}.section {width: 690rpx;margin: 50rpx auto;border: 1rpx solid #eee;border-radius: 10rpx;border-shadow: 0 0 30rpx rgba(0, 0, 0, 0.2);.list {.row {display: flex;flex-direction: row;flex-wrap: nowrap;align-content: center;justify-content: space-between;align-items: center;padding: 0 30rpx;height: 100rpx;border-bottom: 1px solid #eee;:last-child {border-bottom: 0;}.left {display: flex;flex-direction: row;flex-wrap: nowrap;align-content: center;align-items: center;.text {padding-left: 20rpx;color: #666}}.right {display: flex;flex-direction: row;flex-wrap: nowrap;align-content: center;align-items: center;.text {padding-left: 20rpx;color: #666}}}}}
</style>

相关文章:

  • 北京网站建设多少钱?
  • 辽宁网页制作哪家好_网站建设
  • 高端品牌网站建设_汉中网站制作
  • Win10系统Legacy转UEFI
  • 红海云 × 紫光同芯 | 数字化驱动芯片领军企业人力资源管理新升级
  • Vue项目异常:has no default export.Vetur(1192)
  • 基于Flink的流式计算可视化开发实践之配置->任务生成->任务部署过程
  • 动手学深度学习(pytorch土堆)-04torchvision中数据集的使用
  • C++:类与对象——详解继承、多继承、虚继承
  • SQL进阶技巧:每年在校人数统计 | 区间重叠问题
  • Python网络爬虫:如何高效获取网络数据
  • Python 基本库用法:数学建模
  • 黄仁勋的思维世界:Nvidia的AI和游戏之王
  • 论文翻译:ICLR-2024 PROVING TEST SET CONTAMINATION IN BLACK BOX LANGUAGE MODELS
  • C++当中的多态(三)
  • pytorch对不同的可调参数,分配不同的学习率
  • xxl-job
  • [C++]spdlog学习
  • co.js - 让异步代码同步化
  • es的写入过程
  • Mac 鼠须管 Rime 输入法 安装五笔输入法 教程
  • nodejs实现webservice问题总结
  • October CMS - 快速入门 9 Images And Galleries
  • Three.js 再探 - 写一个跳一跳极简版游戏
  • vue2.0一起在懵逼的海洋里越陷越深(四)
  • 不上全站https的网站你们就等着被恶心死吧
  • 翻译:Hystrix - How To Use
  • 工作中总结前端开发流程--vue项目
  • 力扣(LeetCode)21
  • 码农张的Bug人生 - 初来乍到
  • 想使用 MongoDB ,你应该了解这8个方面!
  • 延迟脚本的方式
  • 一些基于React、Vue、Node.js、MongoDB技术栈的实践项目
  • 用jQuery怎么做到前后端分离
  • ​水经微图Web1.5.0版即将上线
  • $.ajax()方法详解
  • $LayoutParams cannot be cast to android.widget.RelativeLayout$LayoutParams
  • (1)安装hadoop之虚拟机准备(配置IP与主机名)
  • (11)工业界推荐系统-小红书推荐场景及内部实践【粗排三塔模型】
  • (14)目标检测_SSD训练代码基于pytorch搭建代码
  • (8)STL算法之替换
  • (CVPRW,2024)可学习的提示:遥感领域小样本语义分割
  • (libusb) usb口自动刷新
  • (zt)基于Facebook和Flash平台的应用架构解析
  • (安卓)跳转应用市场APP详情页的方式
  • (笔记)M1使用hombrew安装qemu
  • (纯JS)图片裁剪
  • (附源码)apringboot计算机专业大学生就业指南 毕业设计061355
  • (回溯) LeetCode 131. 分割回文串
  • (实战篇)如何缓存数据
  • (学习日记)2024.03.25:UCOSIII第二十二节:系统启动流程详解
  • (一)appium-desktop定位元素原理
  • (转) RFS+AutoItLibrary测试web对话框
  • (转) 深度模型优化性能 调参
  • (转)大型网站的系统架构
  • (自用)仿写程序
  • .a文件和.so文件
  • .NET Core中的时区转换问题